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();
1332 int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
1334 void wxApp_CleanUp() {
1339 wxPyApp
* wxGetApp() {
1340 return (wxPyApp
*)wxTheApp
;
1345 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1346 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1347 wxWindowList
& list
= self
->GetChildren();
1348 return wxPy_ConvertList(&list
);
1350 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1357 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1364 long wxWindow_GetHandle(wxWindow
*self
){
1365 return wxPyGetWinHandle(self
);
1368 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1369 return wxWindow::FindWindowById(id
, parent
);
1372 wxWindow
* wxFindWindowByName( const wxString
& name
,
1373 const wxWindow
*parent
= NULL
) {
1374 return wxWindow::FindWindowByName(name
, parent
);
1377 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1378 const wxWindow
*parent
= NULL
) {
1379 return wxWindow::FindWindowByLabel(label
, parent
);
1384 #include <wx/msw/private.h> // to get wxGetWindowId
1388 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
1390 WXHWND hWnd
= (WXHWND
)_hWnd
;
1391 long id
= wxGetWindowId(hWnd
);
1392 wxWindow
* win
= new wxWindow
;
1393 parent
->AddChild(win
);
1394 win
->SetEventHandler(win
);
1397 win
->SubclassWin(hWnd
);
1398 win
->AdoptAttributesFromHWND();
1399 win
->SetupColours();
1402 wxPyRaiseNotImplemented();
1408 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1409 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1410 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1412 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1414 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1415 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1416 wxMenuItemList
& list
= self
->GetMenuItems();
1417 return wxPy_ConvertList(&list
);
1419 int MenuItem_GetDefaultMarginWidth(){ return 0; }
1420 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1421 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1423 wxPyClientData
* data
= new wxPyClientData(clientData
);
1424 return self
->Append(item
, data
);
1426 return self
->Append(item
);
1428 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1430 wxPyClientData
* data
= new wxPyClientData(clientData
);
1431 return self
->Insert(item
, pos
, data
);
1433 return self
->Insert(item
, pos
);
1435 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1436 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1438 Py_INCREF(data
->m_obj
);
1445 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1446 wxPyClientData
* data
= new wxPyClientData(clientData
);
1447 self
->SetClientObject(n
, data
);
1455 SWIG_FloatCast(double value
)
1458 if (!PyErr_Occurred()) {
1459 if (value
< FLT_MIN
) {
1461 PyString_FromFormat("value %g is less than float minimum %g",
1463 PyErr_SetObject(PyExc_OverflowError
, err
);
1465 } else if (value
> FLT_MAX
) {
1467 PyString_FromFormat("value %g is greater than float maximum %g",
1469 PyErr_SetObject(PyExc_OverflowError
, err
);
1472 f
= swig_numeric_cast(float, value
);
1479 SWIGSTATICINLINE(float)
1480 SWIG_AsFloat(PyObject
*obj
)
1482 return SWIG_FloatCast(SWIG_AsDouble(obj
));
1486 SWIGSTATICINLINE(int)
1487 SWIG_CheckFloat(PyObject
* obj
)
1490 if (PyErr_Occurred()) {
1498 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1499 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1501 Py_INCREF(data
->m_obj
);
1509 // Figure out the type of the sizer item
1511 struct wxPySizerItemInfo
{
1513 : window(NULL
), sizer(NULL
), gotSize(False
),
1514 size(wxDefaultSize
), gotPos(False
), pos(-1)
1525 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1527 wxPySizerItemInfo info
;
1529 wxSize
* sizePtr
= &size
;
1531 // Find out what the type of the item is
1533 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1538 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1542 // try wxSize or (w,h)
1543 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1544 info
.size
= *sizePtr
;
1545 info
.gotSize
= True
;
1549 if (checkIdx
&& PyInt_Check(item
)) {
1550 info
.pos
= PyInt_AsLong(item
);
1556 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1557 // no expected type, figure out what kind of error message to generate
1558 if ( !checkSize
&& !checkIdx
)
1559 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1560 else if ( checkSize
&& !checkIdx
)
1561 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1562 else if ( !checkSize
&& checkIdx
)
1563 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1565 // can this one happen?
1566 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1572 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1573 self
->SetClientObject(new wxPyOORClientData(_self
));
1575 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1577 wxPyUserData
* data
= NULL
;
1578 bool blocked
= wxPyBeginBlockThreads();
1579 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1580 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1581 data
= new wxPyUserData(userData
);
1582 wxPyEndBlockThreads(blocked
);
1584 // Now call the real Add method if a valid item type was found
1586 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1587 else if ( info
.sizer
)
1588 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1589 else if (info
.gotSize
)
1590 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1591 proportion
, flag
, border
, data
);
1593 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1595 wxPyUserData
* data
= NULL
;
1596 bool blocked
= wxPyBeginBlockThreads();
1597 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1598 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1599 data
= new wxPyUserData(userData
);
1600 wxPyEndBlockThreads(blocked
);
1602 // Now call the real Insert method if a valid item type was found
1604 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1605 else if ( info
.sizer
)
1606 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1607 else if (info
.gotSize
)
1608 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1609 proportion
, flag
, border
, data
);
1611 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1613 wxPyUserData
* data
= NULL
;
1614 bool blocked
= wxPyBeginBlockThreads();
1615 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1616 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1617 data
= new wxPyUserData(userData
);
1618 wxPyEndBlockThreads(blocked
);
1620 // Now call the real Prepend method if a valid item type was found
1622 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1623 else if ( info
.sizer
)
1624 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1625 else if (info
.gotSize
)
1626 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1627 proportion
, flag
, border
, data
);
1629 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1630 bool blocked
= wxPyBeginBlockThreads();
1631 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1632 wxPyEndBlockThreads(blocked
);
1634 return self
->Remove(info
.window
);
1635 else if ( info
.sizer
)
1636 return self
->Remove(info
.sizer
);
1637 else if ( info
.gotPos
)
1638 return self
->Remove(info
.pos
);
1642 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1643 bool blocked
= wxPyBeginBlockThreads();
1644 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1645 wxPyEndBlockThreads(blocked
);
1647 self
->SetItemMinSize(info
.window
, size
);
1648 else if ( info
.sizer
)
1649 self
->SetItemMinSize(info
.sizer
, size
);
1650 else if ( info
.gotPos
)
1651 self
->SetItemMinSize(info
.pos
, size
);
1653 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1654 wxSizerItemList
& list
= self
->GetChildren();
1655 return wxPy_ConvertList(&list
);
1657 void wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
){
1658 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1660 self
->Show(info
.window
, show
);
1661 else if ( info
.sizer
)
1662 self
->Show(info
.sizer
, show
);
1664 void wxSizer_Hide(wxSizer
*self
,PyObject
*item
){
1665 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1667 self
->Hide(info
.window
);
1668 else if ( info
.sizer
)
1669 self
->Hide(info
.sizer
);
1671 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1672 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1674 return self
->IsShown(info
.window
);
1675 else if ( info
.sizer
)
1676 return self
->IsShown(info
.sizer
);
1682 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1683 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1684 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1689 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1691 if (source
== Py_None
) {
1692 **obj
= wxGBPosition(-1,-1);
1695 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1698 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1700 if (source
== Py_None
) {
1701 **obj
= wxGBSpan(-1,-1);
1704 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1708 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1712 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1713 bool blocked
= wxPyBeginBlockThreads();
1714 PyObject
* tup
= PyTuple_New(2);
1715 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1716 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1717 wxPyEndBlockThreads(blocked
);
1720 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1721 self
->SetRowspan(rowspan
);
1722 self
->SetColspan(colspan
);
1724 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1725 bool blocked
= wxPyBeginBlockThreads();
1726 PyObject
* tup
= PyTuple_New(2);
1727 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1728 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1729 wxPyEndBlockThreads(blocked
);
1732 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1734 wxPyUserData
* data
= NULL
;
1735 bool blocked
= wxPyBeginBlockThreads();
1736 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1737 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1738 data
= new wxPyUserData(userData
);
1739 wxPyEndBlockThreads(blocked
);
1741 // Now call the real Add method if a valid item type was found
1743 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1744 else if ( info
.sizer
)
1745 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1746 else if (info
.gotSize
)
1747 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1748 pos
, span
, flag
, border
, data
);
1756 static int _wrap_EmptyString_set(PyObject
*) {
1757 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
1762 static PyObject
*_wrap_EmptyString_get() {
1767 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1769 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1776 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1777 PyObject
*resultobj
;
1778 wxObject
*arg1
= (wxObject
*) 0 ;
1780 PyObject
* obj0
= 0 ;
1782 (char *) "self", NULL
1785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1790 result
= wxObject_GetClassName(arg1
);
1792 wxPyEndAllowThreads(__tstate
);
1793 if (PyErr_Occurred()) SWIG_fail
;
1797 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1799 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1808 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1809 PyObject
*resultobj
;
1810 wxObject
*arg1
= (wxObject
*) 0 ;
1811 PyObject
* obj0
= 0 ;
1813 (char *) "self", NULL
1816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1821 wxObject_Destroy(arg1
);
1823 wxPyEndAllowThreads(__tstate
);
1824 if (PyErr_Occurred()) SWIG_fail
;
1826 Py_INCREF(Py_None
); resultobj
= Py_None
;
1833 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
1835 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1836 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1838 return Py_BuildValue((char *)"");
1840 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1841 PyObject
*resultobj
;
1842 wxSize
*arg1
= (wxSize
*) 0 ;
1844 PyObject
* obj0
= 0 ;
1845 PyObject
* obj1
= 0 ;
1847 (char *) "self",(char *) "x", NULL
1850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1853 arg2
= (int) SWIG_AsInt(obj1
);
1854 if (PyErr_Occurred()) SWIG_fail
;
1855 if (arg1
) (arg1
)->x
= arg2
;
1857 Py_INCREF(Py_None
); resultobj
= Py_None
;
1864 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1865 PyObject
*resultobj
;
1866 wxSize
*arg1
= (wxSize
*) 0 ;
1868 PyObject
* obj0
= 0 ;
1870 (char *) "self", NULL
1873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1876 result
= (int) ((arg1
)->x
);
1878 resultobj
= SWIG_FromInt((int)result
);
1885 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1886 PyObject
*resultobj
;
1887 wxSize
*arg1
= (wxSize
*) 0 ;
1889 PyObject
* obj0
= 0 ;
1890 PyObject
* obj1
= 0 ;
1892 (char *) "self",(char *) "y", NULL
1895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1898 arg2
= (int) SWIG_AsInt(obj1
);
1899 if (PyErr_Occurred()) SWIG_fail
;
1900 if (arg1
) (arg1
)->y
= arg2
;
1902 Py_INCREF(Py_None
); resultobj
= Py_None
;
1909 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1910 PyObject
*resultobj
;
1911 wxSize
*arg1
= (wxSize
*) 0 ;
1913 PyObject
* obj0
= 0 ;
1915 (char *) "self", NULL
1918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
1919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1921 result
= (int) ((arg1
)->y
);
1923 resultobj
= SWIG_FromInt((int)result
);
1930 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1931 PyObject
*resultobj
;
1932 int arg1
= (int) 0 ;
1933 int arg2
= (int) 0 ;
1935 PyObject
* obj0
= 0 ;
1936 PyObject
* obj1
= 0 ;
1938 (char *) "w",(char *) "h", NULL
1941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
1943 arg1
= (int) SWIG_AsInt(obj0
);
1944 if (PyErr_Occurred()) SWIG_fail
;
1947 arg2
= (int) SWIG_AsInt(obj1
);
1948 if (PyErr_Occurred()) SWIG_fail
;
1951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1952 result
= (wxSize
*)new wxSize(arg1
,arg2
);
1954 wxPyEndAllowThreads(__tstate
);
1955 if (PyErr_Occurred()) SWIG_fail
;
1957 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
1964 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1965 PyObject
*resultobj
;
1966 wxSize
*arg1
= (wxSize
*) 0 ;
1967 PyObject
* obj0
= 0 ;
1969 (char *) "self", NULL
1972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
1973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1979 wxPyEndAllowThreads(__tstate
);
1980 if (PyErr_Occurred()) SWIG_fail
;
1982 Py_INCREF(Py_None
); resultobj
= Py_None
;
1989 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1990 PyObject
*resultobj
;
1991 wxSize
*arg1
= (wxSize
*) 0 ;
1995 PyObject
* obj0
= 0 ;
1996 PyObject
* obj1
= 0 ;
1998 (char *) "self",(char *) "sz", NULL
2001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2006 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2010 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2012 wxPyEndAllowThreads(__tstate
);
2013 if (PyErr_Occurred()) SWIG_fail
;
2016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2024 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2025 PyObject
*resultobj
;
2026 wxSize
*arg1
= (wxSize
*) 0 ;
2030 PyObject
* obj0
= 0 ;
2031 PyObject
* obj1
= 0 ;
2033 (char *) "self",(char *) "sz", NULL
2036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2041 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2045 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2047 wxPyEndAllowThreads(__tstate
);
2048 if (PyErr_Occurred()) SWIG_fail
;
2051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2059 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2060 PyObject
*resultobj
;
2061 wxSize
*arg1
= (wxSize
*) 0 ;
2065 PyObject
* obj0
= 0 ;
2066 PyObject
* obj1
= 0 ;
2068 (char *) "self",(char *) "sz", NULL
2071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2076 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2080 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2082 wxPyEndAllowThreads(__tstate
);
2083 if (PyErr_Occurred()) SWIG_fail
;
2087 resultptr
= new wxSize((wxSize
&) result
);
2088 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2096 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2097 PyObject
*resultobj
;
2098 wxSize
*arg1
= (wxSize
*) 0 ;
2102 PyObject
* obj0
= 0 ;
2103 PyObject
* obj1
= 0 ;
2105 (char *) "self",(char *) "sz", NULL
2108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2113 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2117 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2119 wxPyEndAllowThreads(__tstate
);
2120 if (PyErr_Occurred()) SWIG_fail
;
2124 resultptr
= new wxSize((wxSize
&) result
);
2125 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2133 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2134 PyObject
*resultobj
;
2135 wxSize
*arg1
= (wxSize
*) 0 ;
2138 PyObject
* obj0
= 0 ;
2139 PyObject
* obj1
= 0 ;
2141 (char *) "self",(char *) "sz", NULL
2144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2149 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2153 (arg1
)->IncTo((wxSize
const &)*arg2
);
2155 wxPyEndAllowThreads(__tstate
);
2156 if (PyErr_Occurred()) SWIG_fail
;
2158 Py_INCREF(Py_None
); resultobj
= Py_None
;
2165 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2166 PyObject
*resultobj
;
2167 wxSize
*arg1
= (wxSize
*) 0 ;
2170 PyObject
* obj0
= 0 ;
2171 PyObject
* obj1
= 0 ;
2173 (char *) "self",(char *) "sz", NULL
2176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2181 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2185 (arg1
)->DecTo((wxSize
const &)*arg2
);
2187 wxPyEndAllowThreads(__tstate
);
2188 if (PyErr_Occurred()) SWIG_fail
;
2190 Py_INCREF(Py_None
); resultobj
= Py_None
;
2197 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2198 PyObject
*resultobj
;
2199 wxSize
*arg1
= (wxSize
*) 0 ;
2202 PyObject
* obj0
= 0 ;
2203 PyObject
* obj1
= 0 ;
2204 PyObject
* obj2
= 0 ;
2206 (char *) "self",(char *) "w",(char *) "h", NULL
2209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2212 arg2
= (int) SWIG_AsInt(obj1
);
2213 if (PyErr_Occurred()) SWIG_fail
;
2214 arg3
= (int) SWIG_AsInt(obj2
);
2215 if (PyErr_Occurred()) SWIG_fail
;
2217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2218 (arg1
)->Set(arg2
,arg3
);
2220 wxPyEndAllowThreads(__tstate
);
2221 if (PyErr_Occurred()) SWIG_fail
;
2223 Py_INCREF(Py_None
); resultobj
= Py_None
;
2230 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2231 PyObject
*resultobj
;
2232 wxSize
*arg1
= (wxSize
*) 0 ;
2234 PyObject
* obj0
= 0 ;
2235 PyObject
* obj1
= 0 ;
2237 (char *) "self",(char *) "w", NULL
2240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2243 arg2
= (int) SWIG_AsInt(obj1
);
2244 if (PyErr_Occurred()) SWIG_fail
;
2246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2247 (arg1
)->SetWidth(arg2
);
2249 wxPyEndAllowThreads(__tstate
);
2250 if (PyErr_Occurred()) SWIG_fail
;
2252 Py_INCREF(Py_None
); resultobj
= Py_None
;
2259 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2260 PyObject
*resultobj
;
2261 wxSize
*arg1
= (wxSize
*) 0 ;
2263 PyObject
* obj0
= 0 ;
2264 PyObject
* obj1
= 0 ;
2266 (char *) "self",(char *) "h", NULL
2269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2272 arg2
= (int) SWIG_AsInt(obj1
);
2273 if (PyErr_Occurred()) SWIG_fail
;
2275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2276 (arg1
)->SetHeight(arg2
);
2278 wxPyEndAllowThreads(__tstate
);
2279 if (PyErr_Occurred()) SWIG_fail
;
2281 Py_INCREF(Py_None
); resultobj
= Py_None
;
2288 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2289 PyObject
*resultobj
;
2290 wxSize
*arg1
= (wxSize
*) 0 ;
2292 PyObject
* obj0
= 0 ;
2294 (char *) "self", NULL
2297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2302 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2304 wxPyEndAllowThreads(__tstate
);
2305 if (PyErr_Occurred()) SWIG_fail
;
2307 resultobj
= SWIG_FromInt((int)result
);
2314 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2315 PyObject
*resultobj
;
2316 wxSize
*arg1
= (wxSize
*) 0 ;
2318 PyObject
* obj0
= 0 ;
2320 (char *) "self", NULL
2323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2328 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2330 wxPyEndAllowThreads(__tstate
);
2331 if (PyErr_Occurred()) SWIG_fail
;
2333 resultobj
= SWIG_FromInt((int)result
);
2340 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2341 PyObject
*resultobj
;
2342 wxSize
*arg1
= (wxSize
*) 0 ;
2344 PyObject
* obj0
= 0 ;
2346 (char *) "self", NULL
2349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2354 result
= (PyObject
*)wxSize_Get(arg1
);
2356 wxPyEndAllowThreads(__tstate
);
2357 if (PyErr_Occurred()) SWIG_fail
;
2366 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
2368 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2369 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2371 return Py_BuildValue((char *)"");
2373 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2374 PyObject
*resultobj
;
2375 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2377 PyObject
* obj0
= 0 ;
2378 PyObject
* obj1
= 0 ;
2380 (char *) "self",(char *) "x", NULL
2383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2386 arg2
= (double) SWIG_AsDouble(obj1
);
2387 if (PyErr_Occurred()) SWIG_fail
;
2388 if (arg1
) (arg1
)->x
= arg2
;
2390 Py_INCREF(Py_None
); resultobj
= Py_None
;
2397 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2398 PyObject
*resultobj
;
2399 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2401 PyObject
* obj0
= 0 ;
2403 (char *) "self", NULL
2406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2409 result
= (double) ((arg1
)->x
);
2411 resultobj
= SWIG_FromDouble((double)result
);
2418 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2419 PyObject
*resultobj
;
2420 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2422 PyObject
* obj0
= 0 ;
2423 PyObject
* obj1
= 0 ;
2425 (char *) "self",(char *) "y", NULL
2428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2431 arg2
= (double) SWIG_AsDouble(obj1
);
2432 if (PyErr_Occurred()) SWIG_fail
;
2433 if (arg1
) (arg1
)->y
= arg2
;
2435 Py_INCREF(Py_None
); resultobj
= Py_None
;
2442 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2443 PyObject
*resultobj
;
2444 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2446 PyObject
* obj0
= 0 ;
2448 (char *) "self", NULL
2451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2454 result
= (double) ((arg1
)->y
);
2456 resultobj
= SWIG_FromDouble((double)result
);
2463 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2464 PyObject
*resultobj
;
2465 double arg1
= (double) 0.0 ;
2466 double arg2
= (double) 0.0 ;
2467 wxRealPoint
*result
;
2468 PyObject
* obj0
= 0 ;
2469 PyObject
* obj1
= 0 ;
2471 (char *) "x",(char *) "y", NULL
2474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2476 arg1
= (double) SWIG_AsDouble(obj0
);
2477 if (PyErr_Occurred()) SWIG_fail
;
2480 arg2
= (double) SWIG_AsDouble(obj1
);
2481 if (PyErr_Occurred()) SWIG_fail
;
2484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2485 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2487 wxPyEndAllowThreads(__tstate
);
2488 if (PyErr_Occurred()) SWIG_fail
;
2490 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2497 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2498 PyObject
*resultobj
;
2499 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2500 PyObject
* obj0
= 0 ;
2502 (char *) "self", NULL
2505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2512 wxPyEndAllowThreads(__tstate
);
2513 if (PyErr_Occurred()) SWIG_fail
;
2515 Py_INCREF(Py_None
); resultobj
= Py_None
;
2522 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2523 PyObject
*resultobj
;
2524 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2525 wxRealPoint
*arg2
= 0 ;
2528 PyObject
* obj0
= 0 ;
2529 PyObject
* obj1
= 0 ;
2531 (char *) "self",(char *) "pt", NULL
2534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2539 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2543 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2545 wxPyEndAllowThreads(__tstate
);
2546 if (PyErr_Occurred()) SWIG_fail
;
2549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2557 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2558 PyObject
*resultobj
;
2559 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2560 wxRealPoint
*arg2
= 0 ;
2563 PyObject
* obj0
= 0 ;
2564 PyObject
* obj1
= 0 ;
2566 (char *) "self",(char *) "pt", NULL
2569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2574 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2578 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2580 wxPyEndAllowThreads(__tstate
);
2581 if (PyErr_Occurred()) SWIG_fail
;
2584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2592 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2593 PyObject
*resultobj
;
2594 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2595 wxRealPoint
*arg2
= 0 ;
2598 PyObject
* obj0
= 0 ;
2599 PyObject
* obj1
= 0 ;
2601 (char *) "self",(char *) "pt", NULL
2604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2609 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2613 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2615 wxPyEndAllowThreads(__tstate
);
2616 if (PyErr_Occurred()) SWIG_fail
;
2619 wxRealPoint
* resultptr
;
2620 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2621 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2629 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2630 PyObject
*resultobj
;
2631 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2632 wxRealPoint
*arg2
= 0 ;
2635 PyObject
* obj0
= 0 ;
2636 PyObject
* obj1
= 0 ;
2638 (char *) "self",(char *) "pt", NULL
2641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2646 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2650 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2652 wxPyEndAllowThreads(__tstate
);
2653 if (PyErr_Occurred()) SWIG_fail
;
2656 wxRealPoint
* resultptr
;
2657 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2658 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2666 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2667 PyObject
*resultobj
;
2668 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2671 PyObject
* obj0
= 0 ;
2672 PyObject
* obj1
= 0 ;
2673 PyObject
* obj2
= 0 ;
2675 (char *) "self",(char *) "x",(char *) "y", NULL
2678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2681 arg2
= (double) SWIG_AsDouble(obj1
);
2682 if (PyErr_Occurred()) SWIG_fail
;
2683 arg3
= (double) SWIG_AsDouble(obj2
);
2684 if (PyErr_Occurred()) SWIG_fail
;
2686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2687 wxRealPoint_Set(arg1
,arg2
,arg3
);
2689 wxPyEndAllowThreads(__tstate
);
2690 if (PyErr_Occurred()) SWIG_fail
;
2692 Py_INCREF(Py_None
); resultobj
= Py_None
;
2699 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2700 PyObject
*resultobj
;
2701 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2703 PyObject
* obj0
= 0 ;
2705 (char *) "self", NULL
2708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
2709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2713 result
= (PyObject
*)wxRealPoint_Get(arg1
);
2715 wxPyEndAllowThreads(__tstate
);
2716 if (PyErr_Occurred()) SWIG_fail
;
2725 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
2727 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2728 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2730 return Py_BuildValue((char *)"");
2732 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2733 PyObject
*resultobj
;
2734 wxPoint
*arg1
= (wxPoint
*) 0 ;
2736 PyObject
* obj0
= 0 ;
2737 PyObject
* obj1
= 0 ;
2739 (char *) "self",(char *) "x", NULL
2742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2745 arg2
= (int) SWIG_AsInt(obj1
);
2746 if (PyErr_Occurred()) SWIG_fail
;
2747 if (arg1
) (arg1
)->x
= arg2
;
2749 Py_INCREF(Py_None
); resultobj
= Py_None
;
2756 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2757 PyObject
*resultobj
;
2758 wxPoint
*arg1
= (wxPoint
*) 0 ;
2760 PyObject
* obj0
= 0 ;
2762 (char *) "self", NULL
2765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2768 result
= (int) ((arg1
)->x
);
2770 resultobj
= SWIG_FromInt((int)result
);
2777 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2778 PyObject
*resultobj
;
2779 wxPoint
*arg1
= (wxPoint
*) 0 ;
2781 PyObject
* obj0
= 0 ;
2782 PyObject
* obj1
= 0 ;
2784 (char *) "self",(char *) "y", NULL
2787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2790 arg2
= (int) SWIG_AsInt(obj1
);
2791 if (PyErr_Occurred()) SWIG_fail
;
2792 if (arg1
) (arg1
)->y
= arg2
;
2794 Py_INCREF(Py_None
); resultobj
= Py_None
;
2801 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2802 PyObject
*resultobj
;
2803 wxPoint
*arg1
= (wxPoint
*) 0 ;
2805 PyObject
* obj0
= 0 ;
2807 (char *) "self", NULL
2810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2813 result
= (int) ((arg1
)->y
);
2815 resultobj
= SWIG_FromInt((int)result
);
2822 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2823 PyObject
*resultobj
;
2824 int arg1
= (int) 0 ;
2825 int arg2
= (int) 0 ;
2827 PyObject
* obj0
= 0 ;
2828 PyObject
* obj1
= 0 ;
2830 (char *) "x",(char *) "y", NULL
2833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
2835 arg1
= (int) SWIG_AsInt(obj0
);
2836 if (PyErr_Occurred()) SWIG_fail
;
2839 arg2
= (int) SWIG_AsInt(obj1
);
2840 if (PyErr_Occurred()) SWIG_fail
;
2843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2844 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2846 wxPyEndAllowThreads(__tstate
);
2847 if (PyErr_Occurred()) SWIG_fail
;
2849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
2856 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2857 PyObject
*resultobj
;
2858 wxPoint
*arg1
= (wxPoint
*) 0 ;
2859 PyObject
* obj0
= 0 ;
2861 (char *) "self", NULL
2864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
2865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2871 wxPyEndAllowThreads(__tstate
);
2872 if (PyErr_Occurred()) SWIG_fail
;
2874 Py_INCREF(Py_None
); resultobj
= Py_None
;
2881 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2882 PyObject
*resultobj
;
2883 wxPoint
*arg1
= (wxPoint
*) 0 ;
2887 PyObject
* obj0
= 0 ;
2888 PyObject
* obj1
= 0 ;
2890 (char *) "self",(char *) "pt", NULL
2893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2898 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2902 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
2904 wxPyEndAllowThreads(__tstate
);
2905 if (PyErr_Occurred()) SWIG_fail
;
2908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2916 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2917 PyObject
*resultobj
;
2918 wxPoint
*arg1
= (wxPoint
*) 0 ;
2922 PyObject
* obj0
= 0 ;
2923 PyObject
* obj1
= 0 ;
2925 (char *) "self",(char *) "pt", NULL
2928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2933 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2937 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
2939 wxPyEndAllowThreads(__tstate
);
2940 if (PyErr_Occurred()) SWIG_fail
;
2943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2951 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2952 PyObject
*resultobj
;
2953 wxPoint
*arg1
= (wxPoint
*) 0 ;
2957 PyObject
* obj0
= 0 ;
2958 PyObject
* obj1
= 0 ;
2960 (char *) "self",(char *) "pt", NULL
2963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2968 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2972 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
2974 wxPyEndAllowThreads(__tstate
);
2975 if (PyErr_Occurred()) SWIG_fail
;
2978 wxPoint
* resultptr
;
2979 resultptr
= new wxPoint((wxPoint
&) result
);
2980 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2988 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2989 PyObject
*resultobj
;
2990 wxPoint
*arg1
= (wxPoint
*) 0 ;
2994 PyObject
* obj0
= 0 ;
2995 PyObject
* obj1
= 0 ;
2997 (char *) "self",(char *) "pt", NULL
3000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3005 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3009 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
3011 wxPyEndAllowThreads(__tstate
);
3012 if (PyErr_Occurred()) SWIG_fail
;
3015 wxPoint
* resultptr
;
3016 resultptr
= new wxPoint((wxPoint
&) result
);
3017 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3025 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3026 PyObject
*resultobj
;
3027 wxPoint
*arg1
= (wxPoint
*) 0 ;
3031 PyObject
* obj0
= 0 ;
3032 PyObject
* obj1
= 0 ;
3034 (char *) "self",(char *) "pt", NULL
3037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3042 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3047 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3048 result
= (wxPoint
*) &_result_ref
;
3051 wxPyEndAllowThreads(__tstate
);
3052 if (PyErr_Occurred()) SWIG_fail
;
3054 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3061 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3062 PyObject
*resultobj
;
3063 wxPoint
*arg1
= (wxPoint
*) 0 ;
3067 PyObject
* obj0
= 0 ;
3068 PyObject
* obj1
= 0 ;
3070 (char *) "self",(char *) "pt", NULL
3073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3078 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3083 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3084 result
= (wxPoint
*) &_result_ref
;
3087 wxPyEndAllowThreads(__tstate
);
3088 if (PyErr_Occurred()) SWIG_fail
;
3090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3097 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3098 PyObject
*resultobj
;
3099 wxPoint
*arg1
= (wxPoint
*) 0 ;
3102 PyObject
* obj0
= 0 ;
3103 PyObject
* obj1
= 0 ;
3104 PyObject
* obj2
= 0 ;
3106 (char *) "self",(char *) "x",(char *) "y", NULL
3109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3112 arg2
= (long) SWIG_AsLong(obj1
);
3113 if (PyErr_Occurred()) SWIG_fail
;
3114 arg3
= (long) SWIG_AsLong(obj2
);
3115 if (PyErr_Occurred()) SWIG_fail
;
3117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3118 wxPoint_Set(arg1
,arg2
,arg3
);
3120 wxPyEndAllowThreads(__tstate
);
3121 if (PyErr_Occurred()) SWIG_fail
;
3123 Py_INCREF(Py_None
); resultobj
= Py_None
;
3130 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3131 PyObject
*resultobj
;
3132 wxPoint
*arg1
= (wxPoint
*) 0 ;
3134 PyObject
* obj0
= 0 ;
3136 (char *) "self", NULL
3139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3144 result
= (PyObject
*)wxPoint_Get(arg1
);
3146 wxPyEndAllowThreads(__tstate
);
3147 if (PyErr_Occurred()) SWIG_fail
;
3156 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
3158 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3159 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3161 return Py_BuildValue((char *)"");
3163 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3164 PyObject
*resultobj
;
3165 int arg1
= (int) 0 ;
3166 int arg2
= (int) 0 ;
3167 int arg3
= (int) 0 ;
3168 int arg4
= (int) 0 ;
3170 PyObject
* obj0
= 0 ;
3171 PyObject
* obj1
= 0 ;
3172 PyObject
* obj2
= 0 ;
3173 PyObject
* obj3
= 0 ;
3175 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3180 arg1
= (int) SWIG_AsInt(obj0
);
3181 if (PyErr_Occurred()) SWIG_fail
;
3184 arg2
= (int) SWIG_AsInt(obj1
);
3185 if (PyErr_Occurred()) SWIG_fail
;
3188 arg3
= (int) SWIG_AsInt(obj2
);
3189 if (PyErr_Occurred()) SWIG_fail
;
3192 arg4
= (int) SWIG_AsInt(obj3
);
3193 if (PyErr_Occurred()) SWIG_fail
;
3196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3197 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3199 wxPyEndAllowThreads(__tstate
);
3200 if (PyErr_Occurred()) SWIG_fail
;
3202 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3209 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3210 PyObject
*resultobj
;
3216 PyObject
* obj0
= 0 ;
3217 PyObject
* obj1
= 0 ;
3219 (char *) "topLeft",(char *) "bottomRight", NULL
3222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3225 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3229 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3233 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3235 wxPyEndAllowThreads(__tstate
);
3236 if (PyErr_Occurred()) SWIG_fail
;
3238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3245 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3246 PyObject
*resultobj
;
3252 PyObject
* obj0
= 0 ;
3253 PyObject
* obj1
= 0 ;
3255 (char *) "pos",(char *) "size", NULL
3258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3261 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3265 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3269 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3271 wxPyEndAllowThreads(__tstate
);
3272 if (PyErr_Occurred()) SWIG_fail
;
3274 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3281 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3282 PyObject
*resultobj
;
3283 wxRect
*arg1
= (wxRect
*) 0 ;
3284 PyObject
* obj0
= 0 ;
3286 (char *) "self", NULL
3289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3296 wxPyEndAllowThreads(__tstate
);
3297 if (PyErr_Occurred()) SWIG_fail
;
3299 Py_INCREF(Py_None
); resultobj
= Py_None
;
3306 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3307 PyObject
*resultobj
;
3308 wxRect
*arg1
= (wxRect
*) 0 ;
3310 PyObject
* obj0
= 0 ;
3312 (char *) "self", NULL
3315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3320 result
= (int)((wxRect
const *)arg1
)->GetX();
3322 wxPyEndAllowThreads(__tstate
);
3323 if (PyErr_Occurred()) SWIG_fail
;
3325 resultobj
= SWIG_FromInt((int)result
);
3332 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3333 PyObject
*resultobj
;
3334 wxRect
*arg1
= (wxRect
*) 0 ;
3336 PyObject
* obj0
= 0 ;
3337 PyObject
* obj1
= 0 ;
3339 (char *) "self",(char *) "x", NULL
3342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3345 arg2
= (int) SWIG_AsInt(obj1
);
3346 if (PyErr_Occurred()) SWIG_fail
;
3348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3351 wxPyEndAllowThreads(__tstate
);
3352 if (PyErr_Occurred()) SWIG_fail
;
3354 Py_INCREF(Py_None
); resultobj
= Py_None
;
3361 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3362 PyObject
*resultobj
;
3363 wxRect
*arg1
= (wxRect
*) 0 ;
3365 PyObject
* obj0
= 0 ;
3367 (char *) "self", NULL
3370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3375 result
= (int)(arg1
)->GetY();
3377 wxPyEndAllowThreads(__tstate
);
3378 if (PyErr_Occurred()) SWIG_fail
;
3380 resultobj
= SWIG_FromInt((int)result
);
3387 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3388 PyObject
*resultobj
;
3389 wxRect
*arg1
= (wxRect
*) 0 ;
3391 PyObject
* obj0
= 0 ;
3392 PyObject
* obj1
= 0 ;
3394 (char *) "self",(char *) "y", NULL
3397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3400 arg2
= (int) SWIG_AsInt(obj1
);
3401 if (PyErr_Occurred()) SWIG_fail
;
3403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3406 wxPyEndAllowThreads(__tstate
);
3407 if (PyErr_Occurred()) SWIG_fail
;
3409 Py_INCREF(Py_None
); resultobj
= Py_None
;
3416 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3417 PyObject
*resultobj
;
3418 wxRect
*arg1
= (wxRect
*) 0 ;
3420 PyObject
* obj0
= 0 ;
3422 (char *) "self", NULL
3425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3430 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3432 wxPyEndAllowThreads(__tstate
);
3433 if (PyErr_Occurred()) SWIG_fail
;
3435 resultobj
= SWIG_FromInt((int)result
);
3442 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3443 PyObject
*resultobj
;
3444 wxRect
*arg1
= (wxRect
*) 0 ;
3446 PyObject
* obj0
= 0 ;
3447 PyObject
* obj1
= 0 ;
3449 (char *) "self",(char *) "w", NULL
3452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3455 arg2
= (int) SWIG_AsInt(obj1
);
3456 if (PyErr_Occurred()) SWIG_fail
;
3458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3459 (arg1
)->SetWidth(arg2
);
3461 wxPyEndAllowThreads(__tstate
);
3462 if (PyErr_Occurred()) SWIG_fail
;
3464 Py_INCREF(Py_None
); resultobj
= Py_None
;
3471 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3472 PyObject
*resultobj
;
3473 wxRect
*arg1
= (wxRect
*) 0 ;
3475 PyObject
* obj0
= 0 ;
3477 (char *) "self", NULL
3480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3485 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3487 wxPyEndAllowThreads(__tstate
);
3488 if (PyErr_Occurred()) SWIG_fail
;
3490 resultobj
= SWIG_FromInt((int)result
);
3497 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3498 PyObject
*resultobj
;
3499 wxRect
*arg1
= (wxRect
*) 0 ;
3501 PyObject
* obj0
= 0 ;
3502 PyObject
* obj1
= 0 ;
3504 (char *) "self",(char *) "h", NULL
3507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3510 arg2
= (int) SWIG_AsInt(obj1
);
3511 if (PyErr_Occurred()) SWIG_fail
;
3513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3514 (arg1
)->SetHeight(arg2
);
3516 wxPyEndAllowThreads(__tstate
);
3517 if (PyErr_Occurred()) SWIG_fail
;
3519 Py_INCREF(Py_None
); resultobj
= Py_None
;
3526 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3527 PyObject
*resultobj
;
3528 wxRect
*arg1
= (wxRect
*) 0 ;
3530 PyObject
* obj0
= 0 ;
3532 (char *) "self", NULL
3535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3540 result
= ((wxRect
const *)arg1
)->GetPosition();
3542 wxPyEndAllowThreads(__tstate
);
3543 if (PyErr_Occurred()) SWIG_fail
;
3546 wxPoint
* resultptr
;
3547 resultptr
= new wxPoint((wxPoint
&) result
);
3548 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3556 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3557 PyObject
*resultobj
;
3558 wxRect
*arg1
= (wxRect
*) 0 ;
3561 PyObject
* obj0
= 0 ;
3562 PyObject
* obj1
= 0 ;
3564 (char *) "self",(char *) "p", NULL
3567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3572 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3576 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3578 wxPyEndAllowThreads(__tstate
);
3579 if (PyErr_Occurred()) SWIG_fail
;
3581 Py_INCREF(Py_None
); resultobj
= Py_None
;
3588 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3589 PyObject
*resultobj
;
3590 wxRect
*arg1
= (wxRect
*) 0 ;
3592 PyObject
* obj0
= 0 ;
3594 (char *) "self", NULL
3597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3602 result
= ((wxRect
const *)arg1
)->GetSize();
3604 wxPyEndAllowThreads(__tstate
);
3605 if (PyErr_Occurred()) SWIG_fail
;
3609 resultptr
= new wxSize((wxSize
&) result
);
3610 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3618 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3619 PyObject
*resultobj
;
3620 wxRect
*arg1
= (wxRect
*) 0 ;
3623 PyObject
* obj0
= 0 ;
3624 PyObject
* obj1
= 0 ;
3626 (char *) "self",(char *) "s", NULL
3629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3634 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3638 (arg1
)->SetSize((wxSize
const &)*arg2
);
3640 wxPyEndAllowThreads(__tstate
);
3641 if (PyErr_Occurred()) SWIG_fail
;
3643 Py_INCREF(Py_None
); resultobj
= Py_None
;
3650 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3651 PyObject
*resultobj
;
3652 wxRect
*arg1
= (wxRect
*) 0 ;
3654 PyObject
* obj0
= 0 ;
3656 (char *) "self", NULL
3659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
3660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3664 result
= ((wxRect
const *)arg1
)->GetTopLeft();
3666 wxPyEndAllowThreads(__tstate
);
3667 if (PyErr_Occurred()) SWIG_fail
;
3670 wxPoint
* resultptr
;
3671 resultptr
= new wxPoint((wxPoint
&) result
);
3672 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3680 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3681 PyObject
*resultobj
;
3682 wxRect
*arg1
= (wxRect
*) 0 ;
3685 PyObject
* obj0
= 0 ;
3686 PyObject
* obj1
= 0 ;
3688 (char *) "self",(char *) "p", NULL
3691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3696 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3700 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
3702 wxPyEndAllowThreads(__tstate
);
3703 if (PyErr_Occurred()) SWIG_fail
;
3705 Py_INCREF(Py_None
); resultobj
= Py_None
;
3712 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3713 PyObject
*resultobj
;
3714 wxRect
*arg1
= (wxRect
*) 0 ;
3716 PyObject
* obj0
= 0 ;
3718 (char *) "self", NULL
3721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
3722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3726 result
= ((wxRect
const *)arg1
)->GetBottomRight();
3728 wxPyEndAllowThreads(__tstate
);
3729 if (PyErr_Occurred()) SWIG_fail
;
3732 wxPoint
* resultptr
;
3733 resultptr
= new wxPoint((wxPoint
&) result
);
3734 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3742 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3743 PyObject
*resultobj
;
3744 wxRect
*arg1
= (wxRect
*) 0 ;
3747 PyObject
* obj0
= 0 ;
3748 PyObject
* obj1
= 0 ;
3750 (char *) "self",(char *) "p", NULL
3753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3758 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3762 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
3764 wxPyEndAllowThreads(__tstate
);
3765 if (PyErr_Occurred()) SWIG_fail
;
3767 Py_INCREF(Py_None
); resultobj
= Py_None
;
3774 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3775 PyObject
*resultobj
;
3776 wxRect
*arg1
= (wxRect
*) 0 ;
3778 PyObject
* obj0
= 0 ;
3780 (char *) "self", NULL
3783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3788 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3790 wxPyEndAllowThreads(__tstate
);
3791 if (PyErr_Occurred()) SWIG_fail
;
3793 resultobj
= SWIG_FromInt((int)result
);
3800 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3801 PyObject
*resultobj
;
3802 wxRect
*arg1
= (wxRect
*) 0 ;
3804 PyObject
* obj0
= 0 ;
3806 (char *) "self", NULL
3809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3814 result
= (int)((wxRect
const *)arg1
)->GetTop();
3816 wxPyEndAllowThreads(__tstate
);
3817 if (PyErr_Occurred()) SWIG_fail
;
3819 resultobj
= SWIG_FromInt((int)result
);
3826 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3827 PyObject
*resultobj
;
3828 wxRect
*arg1
= (wxRect
*) 0 ;
3830 PyObject
* obj0
= 0 ;
3832 (char *) "self", NULL
3835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3840 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3842 wxPyEndAllowThreads(__tstate
);
3843 if (PyErr_Occurred()) SWIG_fail
;
3845 resultobj
= SWIG_FromInt((int)result
);
3852 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3853 PyObject
*resultobj
;
3854 wxRect
*arg1
= (wxRect
*) 0 ;
3856 PyObject
* obj0
= 0 ;
3858 (char *) "self", NULL
3861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
3862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3866 result
= (int)((wxRect
const *)arg1
)->GetRight();
3868 wxPyEndAllowThreads(__tstate
);
3869 if (PyErr_Occurred()) SWIG_fail
;
3871 resultobj
= SWIG_FromInt((int)result
);
3878 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3879 PyObject
*resultobj
;
3880 wxRect
*arg1
= (wxRect
*) 0 ;
3882 PyObject
* obj0
= 0 ;
3883 PyObject
* obj1
= 0 ;
3885 (char *) "self",(char *) "left", NULL
3888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3891 arg2
= (int) SWIG_AsInt(obj1
);
3892 if (PyErr_Occurred()) SWIG_fail
;
3894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3895 (arg1
)->SetLeft(arg2
);
3897 wxPyEndAllowThreads(__tstate
);
3898 if (PyErr_Occurred()) SWIG_fail
;
3900 Py_INCREF(Py_None
); resultobj
= Py_None
;
3907 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3908 PyObject
*resultobj
;
3909 wxRect
*arg1
= (wxRect
*) 0 ;
3911 PyObject
* obj0
= 0 ;
3912 PyObject
* obj1
= 0 ;
3914 (char *) "self",(char *) "right", NULL
3917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3920 arg2
= (int) SWIG_AsInt(obj1
);
3921 if (PyErr_Occurred()) SWIG_fail
;
3923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3924 (arg1
)->SetRight(arg2
);
3926 wxPyEndAllowThreads(__tstate
);
3927 if (PyErr_Occurred()) SWIG_fail
;
3929 Py_INCREF(Py_None
); resultobj
= Py_None
;
3936 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3937 PyObject
*resultobj
;
3938 wxRect
*arg1
= (wxRect
*) 0 ;
3940 PyObject
* obj0
= 0 ;
3941 PyObject
* obj1
= 0 ;
3943 (char *) "self",(char *) "top", NULL
3946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
3947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3949 arg2
= (int) SWIG_AsInt(obj1
);
3950 if (PyErr_Occurred()) SWIG_fail
;
3952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3953 (arg1
)->SetTop(arg2
);
3955 wxPyEndAllowThreads(__tstate
);
3956 if (PyErr_Occurred()) SWIG_fail
;
3958 Py_INCREF(Py_None
); resultobj
= Py_None
;
3965 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3966 PyObject
*resultobj
;
3967 wxRect
*arg1
= (wxRect
*) 0 ;
3969 PyObject
* obj0
= 0 ;
3970 PyObject
* obj1
= 0 ;
3972 (char *) "self",(char *) "bottom", NULL
3975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
3976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3978 arg2
= (int) SWIG_AsInt(obj1
);
3979 if (PyErr_Occurred()) SWIG_fail
;
3981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3982 (arg1
)->SetBottom(arg2
);
3984 wxPyEndAllowThreads(__tstate
);
3985 if (PyErr_Occurred()) SWIG_fail
;
3987 Py_INCREF(Py_None
); resultobj
= Py_None
;
3994 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3995 PyObject
*resultobj
;
3996 wxRect
*arg1
= (wxRect
*) 0 ;
4000 PyObject
* obj0
= 0 ;
4001 PyObject
* obj1
= 0 ;
4002 PyObject
* obj2
= 0 ;
4004 (char *) "self",(char *) "dx",(char *) "dy", NULL
4007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4010 arg2
= (int) SWIG_AsInt(obj1
);
4011 if (PyErr_Occurred()) SWIG_fail
;
4012 arg3
= (int) SWIG_AsInt(obj2
);
4013 if (PyErr_Occurred()) SWIG_fail
;
4015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4017 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
4018 result
= (wxRect
*) &_result_ref
;
4021 wxPyEndAllowThreads(__tstate
);
4022 if (PyErr_Occurred()) SWIG_fail
;
4024 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4031 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4032 PyObject
*resultobj
;
4033 wxRect
*arg1
= (wxRect
*) 0 ;
4037 PyObject
* obj0
= 0 ;
4038 PyObject
* obj1
= 0 ;
4039 PyObject
* obj2
= 0 ;
4041 (char *) "self",(char *) "dx",(char *) "dy", NULL
4044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4047 arg2
= (int) SWIG_AsInt(obj1
);
4048 if (PyErr_Occurred()) SWIG_fail
;
4049 arg3
= (int) SWIG_AsInt(obj2
);
4050 if (PyErr_Occurred()) SWIG_fail
;
4052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4054 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4055 result
= (wxRect
*) &_result_ref
;
4058 wxPyEndAllowThreads(__tstate
);
4059 if (PyErr_Occurred()) SWIG_fail
;
4061 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4068 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4069 PyObject
*resultobj
;
4070 wxRect
*arg1
= (wxRect
*) 0 ;
4073 PyObject
* obj0
= 0 ;
4074 PyObject
* obj1
= 0 ;
4075 PyObject
* obj2
= 0 ;
4077 (char *) "self",(char *) "dx",(char *) "dy", NULL
4080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4083 arg2
= (int) SWIG_AsInt(obj1
);
4084 if (PyErr_Occurred()) SWIG_fail
;
4085 arg3
= (int) SWIG_AsInt(obj2
);
4086 if (PyErr_Occurred()) SWIG_fail
;
4088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4089 (arg1
)->Offset(arg2
,arg3
);
4091 wxPyEndAllowThreads(__tstate
);
4092 if (PyErr_Occurred()) SWIG_fail
;
4094 Py_INCREF(Py_None
); resultobj
= Py_None
;
4101 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4102 PyObject
*resultobj
;
4103 wxRect
*arg1
= (wxRect
*) 0 ;
4106 PyObject
* obj0
= 0 ;
4107 PyObject
* obj1
= 0 ;
4109 (char *) "self",(char *) "pt", NULL
4112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4117 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4121 (arg1
)->Offset((wxPoint
const &)*arg2
);
4123 wxPyEndAllowThreads(__tstate
);
4124 if (PyErr_Occurred()) SWIG_fail
;
4126 Py_INCREF(Py_None
); resultobj
= Py_None
;
4133 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4134 PyObject
*resultobj
;
4135 wxRect
*arg1
= (wxRect
*) 0 ;
4139 PyObject
* obj0
= 0 ;
4140 PyObject
* obj1
= 0 ;
4142 (char *) "self",(char *) "rect", NULL
4145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4150 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4155 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4156 result
= (wxRect
*) &_result_ref
;
4159 wxPyEndAllowThreads(__tstate
);
4160 if (PyErr_Occurred()) SWIG_fail
;
4162 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4169 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4170 PyObject
*resultobj
;
4171 wxRect
*arg1
= (wxRect
*) 0 ;
4175 PyObject
* obj0
= 0 ;
4176 PyObject
* obj1
= 0 ;
4178 (char *) "self",(char *) "rect", NULL
4181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4186 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4190 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4192 wxPyEndAllowThreads(__tstate
);
4193 if (PyErr_Occurred()) SWIG_fail
;
4197 resultptr
= new wxRect((wxRect
&) result
);
4198 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4206 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4207 PyObject
*resultobj
;
4208 wxRect
*arg1
= (wxRect
*) 0 ;
4212 PyObject
* obj0
= 0 ;
4213 PyObject
* obj1
= 0 ;
4215 (char *) "self",(char *) "rect", NULL
4218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4223 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4228 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4229 result
= (wxRect
*) &_result_ref
;
4232 wxPyEndAllowThreads(__tstate
);
4233 if (PyErr_Occurred()) SWIG_fail
;
4235 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4242 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4243 PyObject
*resultobj
;
4244 wxRect
*arg1
= (wxRect
*) 0 ;
4248 PyObject
* obj0
= 0 ;
4249 PyObject
* obj1
= 0 ;
4251 (char *) "self",(char *) "rect", NULL
4254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4259 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4263 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4265 wxPyEndAllowThreads(__tstate
);
4266 if (PyErr_Occurred()) SWIG_fail
;
4269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4277 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4278 PyObject
*resultobj
;
4279 wxRect
*arg1
= (wxRect
*) 0 ;
4283 PyObject
* obj0
= 0 ;
4284 PyObject
* obj1
= 0 ;
4286 (char *) "self",(char *) "rect", NULL
4289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4294 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4298 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4300 wxPyEndAllowThreads(__tstate
);
4301 if (PyErr_Occurred()) SWIG_fail
;
4304 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4312 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4313 PyObject
*resultobj
;
4314 wxRect
*arg1
= (wxRect
*) 0 ;
4318 PyObject
* obj0
= 0 ;
4319 PyObject
* obj1
= 0 ;
4320 PyObject
* obj2
= 0 ;
4322 (char *) "self",(char *) "x",(char *) "y", NULL
4325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4328 arg2
= (int) SWIG_AsInt(obj1
);
4329 if (PyErr_Occurred()) SWIG_fail
;
4330 arg3
= (int) SWIG_AsInt(obj2
);
4331 if (PyErr_Occurred()) SWIG_fail
;
4333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4334 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4336 wxPyEndAllowThreads(__tstate
);
4337 if (PyErr_Occurred()) SWIG_fail
;
4340 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4348 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4349 PyObject
*resultobj
;
4350 wxRect
*arg1
= (wxRect
*) 0 ;
4354 PyObject
* obj0
= 0 ;
4355 PyObject
* obj1
= 0 ;
4357 (char *) "self",(char *) "pt", NULL
4360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4365 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4369 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4371 wxPyEndAllowThreads(__tstate
);
4372 if (PyErr_Occurred()) SWIG_fail
;
4375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4383 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4384 PyObject
*resultobj
;
4385 wxRect
*arg1
= (wxRect
*) 0 ;
4389 PyObject
* obj0
= 0 ;
4390 PyObject
* obj1
= 0 ;
4392 (char *) "self",(char *) "rect", NULL
4395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4400 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4404 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4406 wxPyEndAllowThreads(__tstate
);
4407 if (PyErr_Occurred()) SWIG_fail
;
4410 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4418 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4419 PyObject
*resultobj
;
4420 wxRect
*arg1
= (wxRect
*) 0 ;
4422 PyObject
* obj0
= 0 ;
4423 PyObject
* obj1
= 0 ;
4425 (char *) "self",(char *) "x", NULL
4428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4431 arg2
= (int) SWIG_AsInt(obj1
);
4432 if (PyErr_Occurred()) SWIG_fail
;
4433 if (arg1
) (arg1
)->x
= arg2
;
4435 Py_INCREF(Py_None
); resultobj
= Py_None
;
4442 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4443 PyObject
*resultobj
;
4444 wxRect
*arg1
= (wxRect
*) 0 ;
4446 PyObject
* obj0
= 0 ;
4448 (char *) "self", NULL
4451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4454 result
= (int) ((arg1
)->x
);
4456 resultobj
= SWIG_FromInt((int)result
);
4463 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4464 PyObject
*resultobj
;
4465 wxRect
*arg1
= (wxRect
*) 0 ;
4467 PyObject
* obj0
= 0 ;
4468 PyObject
* obj1
= 0 ;
4470 (char *) "self",(char *) "y", NULL
4473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4476 arg2
= (int) SWIG_AsInt(obj1
);
4477 if (PyErr_Occurred()) SWIG_fail
;
4478 if (arg1
) (arg1
)->y
= arg2
;
4480 Py_INCREF(Py_None
); resultobj
= Py_None
;
4487 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4488 PyObject
*resultobj
;
4489 wxRect
*arg1
= (wxRect
*) 0 ;
4491 PyObject
* obj0
= 0 ;
4493 (char *) "self", NULL
4496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4499 result
= (int) ((arg1
)->y
);
4501 resultobj
= SWIG_FromInt((int)result
);
4508 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4509 PyObject
*resultobj
;
4510 wxRect
*arg1
= (wxRect
*) 0 ;
4512 PyObject
* obj0
= 0 ;
4513 PyObject
* obj1
= 0 ;
4515 (char *) "self",(char *) "width", NULL
4518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4521 arg2
= (int) SWIG_AsInt(obj1
);
4522 if (PyErr_Occurred()) SWIG_fail
;
4523 if (arg1
) (arg1
)->width
= arg2
;
4525 Py_INCREF(Py_None
); resultobj
= Py_None
;
4532 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4533 PyObject
*resultobj
;
4534 wxRect
*arg1
= (wxRect
*) 0 ;
4536 PyObject
* obj0
= 0 ;
4538 (char *) "self", NULL
4541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4544 result
= (int) ((arg1
)->width
);
4546 resultobj
= SWIG_FromInt((int)result
);
4553 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4554 PyObject
*resultobj
;
4555 wxRect
*arg1
= (wxRect
*) 0 ;
4557 PyObject
* obj0
= 0 ;
4558 PyObject
* obj1
= 0 ;
4560 (char *) "self",(char *) "height", NULL
4563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4566 arg2
= (int) SWIG_AsInt(obj1
);
4567 if (PyErr_Occurred()) SWIG_fail
;
4568 if (arg1
) (arg1
)->height
= arg2
;
4570 Py_INCREF(Py_None
); resultobj
= Py_None
;
4577 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4578 PyObject
*resultobj
;
4579 wxRect
*arg1
= (wxRect
*) 0 ;
4581 PyObject
* obj0
= 0 ;
4583 (char *) "self", NULL
4586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4589 result
= (int) ((arg1
)->height
);
4591 resultobj
= SWIG_FromInt((int)result
);
4598 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4599 PyObject
*resultobj
;
4600 wxRect
*arg1
= (wxRect
*) 0 ;
4601 int arg2
= (int) 0 ;
4602 int arg3
= (int) 0 ;
4603 int arg4
= (int) 0 ;
4604 int arg5
= (int) 0 ;
4605 PyObject
* obj0
= 0 ;
4606 PyObject
* obj1
= 0 ;
4607 PyObject
* obj2
= 0 ;
4608 PyObject
* obj3
= 0 ;
4609 PyObject
* obj4
= 0 ;
4611 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4618 arg2
= (int) SWIG_AsInt(obj1
);
4619 if (PyErr_Occurred()) SWIG_fail
;
4622 arg3
= (int) SWIG_AsInt(obj2
);
4623 if (PyErr_Occurred()) SWIG_fail
;
4626 arg4
= (int) SWIG_AsInt(obj3
);
4627 if (PyErr_Occurred()) SWIG_fail
;
4630 arg5
= (int) SWIG_AsInt(obj4
);
4631 if (PyErr_Occurred()) SWIG_fail
;
4634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4635 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
4637 wxPyEndAllowThreads(__tstate
);
4638 if (PyErr_Occurred()) SWIG_fail
;
4640 Py_INCREF(Py_None
); resultobj
= Py_None
;
4647 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4648 PyObject
*resultobj
;
4649 wxRect
*arg1
= (wxRect
*) 0 ;
4651 PyObject
* obj0
= 0 ;
4653 (char *) "self", NULL
4656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
4657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4661 result
= (PyObject
*)wxRect_Get(arg1
);
4663 wxPyEndAllowThreads(__tstate
);
4664 if (PyErr_Occurred()) SWIG_fail
;
4673 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
4675 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4676 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
4678 return Py_BuildValue((char *)"");
4680 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4681 PyObject
*resultobj
;
4682 wxRect
*arg1
= (wxRect
*) 0 ;
4683 wxRect
*arg2
= (wxRect
*) 0 ;
4685 PyObject
* obj0
= 0 ;
4686 PyObject
* obj1
= 0 ;
4688 (char *) "r1",(char *) "r2", NULL
4691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4694 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
4695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4698 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
4700 wxPyEndAllowThreads(__tstate
);
4701 if (PyErr_Occurred()) SWIG_fail
;
4710 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4711 PyObject
*resultobj
;
4712 double arg1
= (double) 0.0 ;
4713 double arg2
= (double) 0.0 ;
4715 PyObject
* obj0
= 0 ;
4716 PyObject
* obj1
= 0 ;
4718 (char *) "x",(char *) "y", NULL
4721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
4723 arg1
= (double) SWIG_AsDouble(obj0
);
4724 if (PyErr_Occurred()) SWIG_fail
;
4727 arg2
= (double) SWIG_AsDouble(obj1
);
4728 if (PyErr_Occurred()) SWIG_fail
;
4731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4732 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
4734 wxPyEndAllowThreads(__tstate
);
4735 if (PyErr_Occurred()) SWIG_fail
;
4737 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4744 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4745 PyObject
*resultobj
;
4746 wxPoint2D
*arg1
= 0 ;
4749 PyObject
* obj0
= 0 ;
4754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
4757 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
4760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4761 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
4763 wxPyEndAllowThreads(__tstate
);
4764 if (PyErr_Occurred()) SWIG_fail
;
4766 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4773 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4774 PyObject
*resultobj
;
4778 PyObject
* obj0
= 0 ;
4783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
4786 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4790 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
4792 wxPyEndAllowThreads(__tstate
);
4793 if (PyErr_Occurred()) SWIG_fail
;
4795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4802 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4803 PyObject
*resultobj
;
4804 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4805 int *arg2
= (int *) 0 ;
4806 int *arg3
= (int *) 0 ;
4809 PyObject
* obj0
= 0 ;
4811 (char *) "self", NULL
4816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
4817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4821 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
4823 wxPyEndAllowThreads(__tstate
);
4824 if (PyErr_Occurred()) SWIG_fail
;
4826 Py_INCREF(Py_None
); resultobj
= Py_None
;
4828 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4829 resultobj
= t_output_helper(resultobj
,o
);
4832 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4833 resultobj
= t_output_helper(resultobj
,o
);
4841 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4842 PyObject
*resultobj
;
4843 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4844 int *arg2
= (int *) 0 ;
4845 int *arg3
= (int *) 0 ;
4848 PyObject
* obj0
= 0 ;
4850 (char *) "self", NULL
4855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
4856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4860 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
4862 wxPyEndAllowThreads(__tstate
);
4863 if (PyErr_Occurred()) SWIG_fail
;
4865 Py_INCREF(Py_None
); resultobj
= Py_None
;
4867 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4868 resultobj
= t_output_helper(resultobj
,o
);
4871 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4872 resultobj
= t_output_helper(resultobj
,o
);
4880 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4881 PyObject
*resultobj
;
4882 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4884 PyObject
* obj0
= 0 ;
4886 (char *) "self", NULL
4889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
4890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4894 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
4896 wxPyEndAllowThreads(__tstate
);
4897 if (PyErr_Occurred()) SWIG_fail
;
4899 resultobj
= SWIG_FromDouble((double)result
);
4906 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4907 PyObject
*resultobj
;
4908 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4910 PyObject
* obj0
= 0 ;
4912 (char *) "self", NULL
4915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
4916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4920 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
4922 wxPyEndAllowThreads(__tstate
);
4923 if (PyErr_Occurred()) SWIG_fail
;
4925 resultobj
= SWIG_FromDouble((double)result
);
4932 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4933 PyObject
*resultobj
;
4934 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4936 PyObject
* obj0
= 0 ;
4937 PyObject
* obj1
= 0 ;
4939 (char *) "self",(char *) "length", NULL
4942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
4943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4945 arg2
= (double) SWIG_AsDouble(obj1
);
4946 if (PyErr_Occurred()) SWIG_fail
;
4948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4949 (arg1
)->SetVectorLength(arg2
);
4951 wxPyEndAllowThreads(__tstate
);
4952 if (PyErr_Occurred()) SWIG_fail
;
4954 Py_INCREF(Py_None
); resultobj
= Py_None
;
4961 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4962 PyObject
*resultobj
;
4963 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4965 PyObject
* obj0
= 0 ;
4966 PyObject
* obj1
= 0 ;
4968 (char *) "self",(char *) "degrees", NULL
4971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
4972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4974 arg2
= (double) SWIG_AsDouble(obj1
);
4975 if (PyErr_Occurred()) SWIG_fail
;
4977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4978 (arg1
)->SetVectorAngle(arg2
);
4980 wxPyEndAllowThreads(__tstate
);
4981 if (PyErr_Occurred()) SWIG_fail
;
4983 Py_INCREF(Py_None
); resultobj
= Py_None
;
4990 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4991 PyObject
*resultobj
;
4992 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4993 wxPoint2D
*arg2
= 0 ;
4996 PyObject
* obj0
= 0 ;
4997 PyObject
* obj1
= 0 ;
4999 (char *) "self",(char *) "pt", NULL
5002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
5003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5007 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5011 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
5013 wxPyEndAllowThreads(__tstate
);
5014 if (PyErr_Occurred()) SWIG_fail
;
5016 resultobj
= SWIG_FromDouble((double)result
);
5023 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5024 PyObject
*resultobj
;
5025 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5026 wxPoint2D
*arg2
= 0 ;
5029 PyObject
* obj0
= 0 ;
5030 PyObject
* obj1
= 0 ;
5032 (char *) "self",(char *) "pt", NULL
5035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5040 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5044 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5046 wxPyEndAllowThreads(__tstate
);
5047 if (PyErr_Occurred()) SWIG_fail
;
5049 resultobj
= SWIG_FromDouble((double)result
);
5056 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5057 PyObject
*resultobj
;
5058 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5059 wxPoint2D
*arg2
= 0 ;
5062 PyObject
* obj0
= 0 ;
5063 PyObject
* obj1
= 0 ;
5065 (char *) "self",(char *) "vec", NULL
5068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5073 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5077 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5079 wxPyEndAllowThreads(__tstate
);
5080 if (PyErr_Occurred()) SWIG_fail
;
5082 resultobj
= SWIG_FromDouble((double)result
);
5089 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5090 PyObject
*resultobj
;
5091 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5092 wxPoint2D
*arg2
= 0 ;
5095 PyObject
* obj0
= 0 ;
5096 PyObject
* obj1
= 0 ;
5098 (char *) "self",(char *) "vec", NULL
5101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5106 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5110 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5112 wxPyEndAllowThreads(__tstate
);
5113 if (PyErr_Occurred()) SWIG_fail
;
5115 resultobj
= SWIG_FromDouble((double)result
);
5122 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5123 PyObject
*resultobj
;
5124 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5126 PyObject
* obj0
= 0 ;
5128 (char *) "self", NULL
5131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5136 result
= (arg1
)->operator -();
5138 wxPyEndAllowThreads(__tstate
);
5139 if (PyErr_Occurred()) SWIG_fail
;
5142 wxPoint2D
* resultptr
;
5143 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5144 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5152 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5153 PyObject
*resultobj
;
5154 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5155 wxPoint2D
*arg2
= 0 ;
5158 PyObject
* obj0
= 0 ;
5159 PyObject
* obj1
= 0 ;
5161 (char *) "self",(char *) "pt", NULL
5164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5169 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5174 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5175 result
= (wxPoint2D
*) &_result_ref
;
5178 wxPyEndAllowThreads(__tstate
);
5179 if (PyErr_Occurred()) SWIG_fail
;
5181 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5188 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5189 PyObject
*resultobj
;
5190 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5191 wxPoint2D
*arg2
= 0 ;
5194 PyObject
* obj0
= 0 ;
5195 PyObject
* obj1
= 0 ;
5197 (char *) "self",(char *) "pt", NULL
5200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5205 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5210 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5211 result
= (wxPoint2D
*) &_result_ref
;
5214 wxPyEndAllowThreads(__tstate
);
5215 if (PyErr_Occurred()) SWIG_fail
;
5217 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5224 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5225 PyObject
*resultobj
;
5226 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5227 wxPoint2D
*arg2
= 0 ;
5230 PyObject
* obj0
= 0 ;
5231 PyObject
* obj1
= 0 ;
5233 (char *) "self",(char *) "pt", NULL
5236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5241 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5246 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5247 result
= (wxPoint2D
*) &_result_ref
;
5250 wxPyEndAllowThreads(__tstate
);
5251 if (PyErr_Occurred()) SWIG_fail
;
5253 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5260 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5261 PyObject
*resultobj
;
5262 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5263 wxPoint2D
*arg2
= 0 ;
5266 PyObject
* obj0
= 0 ;
5267 PyObject
* obj1
= 0 ;
5269 (char *) "self",(char *) "pt", NULL
5272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5277 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5282 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5283 result
= (wxPoint2D
*) &_result_ref
;
5286 wxPyEndAllowThreads(__tstate
);
5287 if (PyErr_Occurred()) SWIG_fail
;
5289 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5296 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5297 PyObject
*resultobj
;
5298 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5299 wxPoint2D
*arg2
= 0 ;
5302 PyObject
* obj0
= 0 ;
5303 PyObject
* obj1
= 0 ;
5305 (char *) "self",(char *) "pt", NULL
5308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5313 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5317 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5319 wxPyEndAllowThreads(__tstate
);
5320 if (PyErr_Occurred()) SWIG_fail
;
5323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5331 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5332 PyObject
*resultobj
;
5333 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5334 wxPoint2D
*arg2
= 0 ;
5337 PyObject
* obj0
= 0 ;
5338 PyObject
* obj1
= 0 ;
5340 (char *) "self",(char *) "pt", NULL
5343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5348 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5352 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5354 wxPyEndAllowThreads(__tstate
);
5355 if (PyErr_Occurred()) SWIG_fail
;
5358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5366 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5367 PyObject
*resultobj
;
5368 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5370 PyObject
* obj0
= 0 ;
5371 PyObject
* obj1
= 0 ;
5373 (char *) "self",(char *) "m_x", NULL
5376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5379 arg2
= (double) SWIG_AsDouble(obj1
);
5380 if (PyErr_Occurred()) SWIG_fail
;
5381 if (arg1
) (arg1
)->m_x
= arg2
;
5383 Py_INCREF(Py_None
); resultobj
= Py_None
;
5390 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5391 PyObject
*resultobj
;
5392 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5394 PyObject
* obj0
= 0 ;
5396 (char *) "self", NULL
5399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5402 result
= (double) ((arg1
)->m_x
);
5404 resultobj
= SWIG_FromDouble((double)result
);
5411 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5412 PyObject
*resultobj
;
5413 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5415 PyObject
* obj0
= 0 ;
5416 PyObject
* obj1
= 0 ;
5418 (char *) "self",(char *) "m_y", NULL
5421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5424 arg2
= (double) SWIG_AsDouble(obj1
);
5425 if (PyErr_Occurred()) SWIG_fail
;
5426 if (arg1
) (arg1
)->m_y
= arg2
;
5428 Py_INCREF(Py_None
); resultobj
= Py_None
;
5435 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5436 PyObject
*resultobj
;
5437 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5439 PyObject
* obj0
= 0 ;
5441 (char *) "self", NULL
5444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5447 result
= (double) ((arg1
)->m_y
);
5449 resultobj
= SWIG_FromDouble((double)result
);
5456 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5457 PyObject
*resultobj
;
5458 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5459 double arg2
= (double) 0 ;
5460 double arg3
= (double) 0 ;
5461 PyObject
* obj0
= 0 ;
5462 PyObject
* obj1
= 0 ;
5463 PyObject
* obj2
= 0 ;
5465 (char *) "self",(char *) "x",(char *) "y", NULL
5468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5472 arg2
= (double) SWIG_AsDouble(obj1
);
5473 if (PyErr_Occurred()) SWIG_fail
;
5476 arg3
= (double) SWIG_AsDouble(obj2
);
5477 if (PyErr_Occurred()) SWIG_fail
;
5480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5481 wxPoint2D_Set(arg1
,arg2
,arg3
);
5483 wxPyEndAllowThreads(__tstate
);
5484 if (PyErr_Occurred()) SWIG_fail
;
5486 Py_INCREF(Py_None
); resultobj
= Py_None
;
5493 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5494 PyObject
*resultobj
;
5495 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5497 PyObject
* obj0
= 0 ;
5499 (char *) "self", NULL
5502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5507 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5509 wxPyEndAllowThreads(__tstate
);
5510 if (PyErr_Occurred()) SWIG_fail
;
5519 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
5521 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5522 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5524 return Py_BuildValue((char *)"");
5526 static int _wrap_DefaultPosition_set(PyObject
*) {
5527 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5532 static PyObject
*_wrap_DefaultPosition_get() {
5535 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
5540 static int _wrap_DefaultSize_set(PyObject
*) {
5541 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5546 static PyObject
*_wrap_DefaultSize_get() {
5549 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
5554 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5555 PyObject
*resultobj
;
5556 PyObject
*arg1
= (PyObject
*) 0 ;
5557 wxPyInputStream
*result
;
5558 PyObject
* obj0
= 0 ;
5563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5567 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5569 wxPyEndAllowThreads(__tstate
);
5570 if (PyErr_Occurred()) SWIG_fail
;
5572 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
5579 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5580 PyObject
*resultobj
;
5581 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5582 PyObject
* obj0
= 0 ;
5584 (char *) "self", NULL
5587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
5588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5594 wxPyEndAllowThreads(__tstate
);
5595 if (PyErr_Occurred()) SWIG_fail
;
5597 Py_INCREF(Py_None
); resultobj
= Py_None
;
5604 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5605 PyObject
*resultobj
;
5606 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5607 PyObject
* obj0
= 0 ;
5609 (char *) "self", NULL
5612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
5613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5619 wxPyEndAllowThreads(__tstate
);
5620 if (PyErr_Occurred()) SWIG_fail
;
5622 Py_INCREF(Py_None
); resultobj
= Py_None
;
5629 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5630 PyObject
*resultobj
;
5631 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5633 PyObject
* obj0
= 0 ;
5635 (char *) "self", NULL
5638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
5639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5643 result
= (bool)(arg1
)->eof();
5645 wxPyEndAllowThreads(__tstate
);
5646 if (PyErr_Occurred()) SWIG_fail
;
5649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5657 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5658 PyObject
*resultobj
;
5659 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5660 int arg2
= (int) -1 ;
5662 PyObject
* obj0
= 0 ;
5663 PyObject
* obj1
= 0 ;
5665 (char *) "self",(char *) "size", NULL
5668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
5669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5672 arg2
= (int) SWIG_AsInt(obj1
);
5673 if (PyErr_Occurred()) SWIG_fail
;
5676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5677 result
= (PyObject
*)(arg1
)->read(arg2
);
5679 wxPyEndAllowThreads(__tstate
);
5680 if (PyErr_Occurred()) SWIG_fail
;
5689 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5690 PyObject
*resultobj
;
5691 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5692 int arg2
= (int) -1 ;
5694 PyObject
* obj0
= 0 ;
5695 PyObject
* obj1
= 0 ;
5697 (char *) "self",(char *) "size", NULL
5700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
5701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5704 arg2
= (int) SWIG_AsInt(obj1
);
5705 if (PyErr_Occurred()) SWIG_fail
;
5708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5709 result
= (PyObject
*)(arg1
)->readline(arg2
);
5711 wxPyEndAllowThreads(__tstate
);
5712 if (PyErr_Occurred()) SWIG_fail
;
5721 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5722 PyObject
*resultobj
;
5723 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5724 int arg2
= (int) -1 ;
5726 PyObject
* obj0
= 0 ;
5727 PyObject
* obj1
= 0 ;
5729 (char *) "self",(char *) "sizehint", NULL
5732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
5733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5736 arg2
= (int) SWIG_AsInt(obj1
);
5737 if (PyErr_Occurred()) SWIG_fail
;
5740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5741 result
= (PyObject
*)(arg1
)->readlines(arg2
);
5743 wxPyEndAllowThreads(__tstate
);
5744 if (PyErr_Occurred()) SWIG_fail
;
5753 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5754 PyObject
*resultobj
;
5755 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5757 int arg3
= (int) 0 ;
5758 PyObject
* obj0
= 0 ;
5759 PyObject
* obj1
= 0 ;
5760 PyObject
* obj2
= 0 ;
5762 (char *) "self",(char *) "offset",(char *) "whence", NULL
5765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5768 arg2
= (int) SWIG_AsInt(obj1
);
5769 if (PyErr_Occurred()) SWIG_fail
;
5771 arg3
= (int) SWIG_AsInt(obj2
);
5772 if (PyErr_Occurred()) SWIG_fail
;
5775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5776 (arg1
)->seek(arg2
,arg3
);
5778 wxPyEndAllowThreads(__tstate
);
5779 if (PyErr_Occurred()) SWIG_fail
;
5781 Py_INCREF(Py_None
); resultobj
= Py_None
;
5788 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5789 PyObject
*resultobj
;
5790 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5792 PyObject
* obj0
= 0 ;
5794 (char *) "self", NULL
5797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
5798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5802 result
= (int)(arg1
)->tell();
5804 wxPyEndAllowThreads(__tstate
);
5805 if (PyErr_Occurred()) SWIG_fail
;
5807 resultobj
= SWIG_FromInt((int)result
);
5814 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5815 PyObject
*resultobj
;
5816 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5818 PyObject
* obj0
= 0 ;
5820 (char *) "self", NULL
5823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
5824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5828 result
= (char)(arg1
)->Peek();
5830 wxPyEndAllowThreads(__tstate
);
5831 if (PyErr_Occurred()) SWIG_fail
;
5833 resultobj
= SWIG_FromChar((char)result
);
5840 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5841 PyObject
*resultobj
;
5842 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5844 PyObject
* obj0
= 0 ;
5846 (char *) "self", NULL
5849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
5850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5854 result
= (char)(arg1
)->GetC();
5856 wxPyEndAllowThreads(__tstate
);
5857 if (PyErr_Occurred()) SWIG_fail
;
5859 resultobj
= SWIG_FromChar((char)result
);
5866 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5867 PyObject
*resultobj
;
5868 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5870 PyObject
* obj0
= 0 ;
5872 (char *) "self", NULL
5875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
5876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5880 result
= (size_t)(arg1
)->LastRead();
5882 wxPyEndAllowThreads(__tstate
);
5883 if (PyErr_Occurred()) SWIG_fail
;
5885 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
5892 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5893 PyObject
*resultobj
;
5894 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5896 PyObject
* obj0
= 0 ;
5898 (char *) "self", NULL
5901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
5902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5906 result
= (bool)(arg1
)->CanRead();
5908 wxPyEndAllowThreads(__tstate
);
5909 if (PyErr_Occurred()) SWIG_fail
;
5912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5920 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5921 PyObject
*resultobj
;
5922 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5924 PyObject
* obj0
= 0 ;
5926 (char *) "self", NULL
5929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
5930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5934 result
= (bool)(arg1
)->Eof();
5936 wxPyEndAllowThreads(__tstate
);
5937 if (PyErr_Occurred()) SWIG_fail
;
5940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5948 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5949 PyObject
*resultobj
;
5950 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5953 PyObject
* obj0
= 0 ;
5954 PyObject
* obj1
= 0 ;
5956 (char *) "self",(char *) "c", NULL
5959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
5960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5962 arg2
= (char) SWIG_AsChar(obj1
);
5963 if (PyErr_Occurred()) SWIG_fail
;
5965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5966 result
= (bool)(arg1
)->Ungetch(arg2
);
5968 wxPyEndAllowThreads(__tstate
);
5969 if (PyErr_Occurred()) SWIG_fail
;
5972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5980 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5981 PyObject
*resultobj
;
5982 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5984 int arg3
= (int) wxFromStart
;
5986 PyObject
* obj0
= 0 ;
5987 PyObject
* obj1
= 0 ;
5988 PyObject
* obj2
= 0 ;
5990 (char *) "self",(char *) "pos",(char *) "mode", NULL
5993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5996 arg2
= (long) SWIG_AsLong(obj1
);
5997 if (PyErr_Occurred()) SWIG_fail
;
5999 arg3
= (wxSeekMode
) SWIG_AsInt(obj2
);
6000 if (PyErr_Occurred()) SWIG_fail
;
6003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6004 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
6006 wxPyEndAllowThreads(__tstate
);
6007 if (PyErr_Occurred()) SWIG_fail
;
6009 resultobj
= SWIG_FromLong((long)result
);
6016 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6017 PyObject
*resultobj
;
6018 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6020 PyObject
* obj0
= 0 ;
6022 (char *) "self", NULL
6025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
6026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6030 result
= (long)(arg1
)->TellI();
6032 wxPyEndAllowThreads(__tstate
);
6033 if (PyErr_Occurred()) SWIG_fail
;
6035 resultobj
= SWIG_FromLong((long)result
);
6042 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
6044 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6045 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6047 return Py_BuildValue((char *)"");
6049 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6050 PyObject
*resultobj
;
6051 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6052 PyObject
*arg2
= (PyObject
*) 0 ;
6053 PyObject
* obj0
= 0 ;
6054 PyObject
* obj1
= 0 ;
6056 (char *) "self",(char *) "obj", NULL
6059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6065 wxOutputStream_write(arg1
,arg2
);
6067 wxPyEndAllowThreads(__tstate
);
6068 if (PyErr_Occurred()) SWIG_fail
;
6070 Py_INCREF(Py_None
); resultobj
= Py_None
;
6077 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
6079 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6080 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6082 return Py_BuildValue((char *)"");
6084 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6085 PyObject
*resultobj
;
6086 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6087 wxString
*arg2
= 0 ;
6088 wxString
*arg3
= 0 ;
6089 wxString
*arg4
= 0 ;
6092 wxPyInputStream
*temp1
;
6094 bool temp2
= False
;
6095 bool temp3
= False
;
6096 bool temp4
= False
;
6098 PyObject
* obj0
= 0 ;
6099 PyObject
* obj1
= 0 ;
6100 PyObject
* obj2
= 0 ;
6101 PyObject
* obj3
= 0 ;
6102 PyObject
* obj4
= 0 ;
6104 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6109 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6110 arg1
= temp1
->m_wxis
;
6113 PyErr_Clear(); // clear the failure of the wxPyConvert above
6114 arg1
= wxPyCBInputStream_create(obj0
, False
);
6116 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6123 arg2
= wxString_in_helper(obj1
);
6124 if (arg2
== NULL
) SWIG_fail
;
6128 arg3
= wxString_in_helper(obj2
);
6129 if (arg3
== NULL
) SWIG_fail
;
6133 arg4
= wxString_in_helper(obj3
);
6134 if (arg4
== NULL
) SWIG_fail
;
6137 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6138 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6142 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6144 wxPyEndAllowThreads(__tstate
);
6145 if (PyErr_Occurred()) SWIG_fail
;
6148 resultobj
= wxPyMake_wxObject(result
);
6188 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6189 PyObject
*resultobj
;
6190 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6191 PyObject
* obj0
= 0 ;
6193 (char *) "self", NULL
6196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6203 wxPyEndAllowThreads(__tstate
);
6204 if (PyErr_Occurred()) SWIG_fail
;
6206 Py_INCREF(Py_None
); resultobj
= Py_None
;
6213 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6214 PyObject
*resultobj
;
6215 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6216 wxInputStream
*result
;
6217 PyObject
* obj0
= 0 ;
6219 (char *) "self", NULL
6222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6227 result
= (wxInputStream
*)(arg1
)->GetStream();
6229 wxPyEndAllowThreads(__tstate
);
6230 if (PyErr_Occurred()) SWIG_fail
;
6233 wxPyInputStream
* _ptr
= NULL
;
6236 _ptr
= new wxPyInputStream(result
);
6238 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
6246 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6247 PyObject
*resultobj
;
6248 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6250 PyObject
* obj0
= 0 ;
6252 (char *) "self", NULL
6255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6261 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6262 result
= (wxString
*) &_result_ref
;
6265 wxPyEndAllowThreads(__tstate
);
6266 if (PyErr_Occurred()) SWIG_fail
;
6270 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6272 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6281 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6282 PyObject
*resultobj
;
6283 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6285 PyObject
* obj0
= 0 ;
6287 (char *) "self", NULL
6290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6296 wxString
const &_result_ref
= (arg1
)->GetLocation();
6297 result
= (wxString
*) &_result_ref
;
6300 wxPyEndAllowThreads(__tstate
);
6301 if (PyErr_Occurred()) SWIG_fail
;
6305 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6307 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6316 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6317 PyObject
*resultobj
;
6318 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6320 PyObject
* obj0
= 0 ;
6322 (char *) "self", NULL
6325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6331 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6332 result
= (wxString
*) &_result_ref
;
6335 wxPyEndAllowThreads(__tstate
);
6336 if (PyErr_Occurred()) SWIG_fail
;
6340 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6342 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6351 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6352 PyObject
*resultobj
;
6353 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6355 PyObject
* obj0
= 0 ;
6357 (char *) "self", NULL
6360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6365 result
= (arg1
)->GetModificationTime();
6367 wxPyEndAllowThreads(__tstate
);
6368 if (PyErr_Occurred()) SWIG_fail
;
6371 wxDateTime
* resultptr
;
6372 resultptr
= new wxDateTime((wxDateTime
&) result
);
6373 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6381 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
6383 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6384 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6386 return Py_BuildValue((char *)"");
6388 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
6390 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6391 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6393 return Py_BuildValue((char *)"");
6395 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6396 PyObject
*resultobj
;
6397 wxPyFileSystemHandler
*result
;
6402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6405 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6407 wxPyEndAllowThreads(__tstate
);
6408 if (PyErr_Occurred()) SWIG_fail
;
6410 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6417 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6418 PyObject
*resultobj
;
6419 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6420 PyObject
*arg2
= (PyObject
*) 0 ;
6421 PyObject
*arg3
= (PyObject
*) 0 ;
6422 PyObject
* obj0
= 0 ;
6423 PyObject
* obj1
= 0 ;
6424 PyObject
* obj2
= 0 ;
6426 (char *) "self",(char *) "self",(char *) "_class", NULL
6429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6436 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6438 wxPyEndAllowThreads(__tstate
);
6439 if (PyErr_Occurred()) SWIG_fail
;
6441 Py_INCREF(Py_None
); resultobj
= Py_None
;
6448 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6449 PyObject
*resultobj
;
6450 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6451 wxString
*arg2
= 0 ;
6453 bool temp2
= False
;
6454 PyObject
* obj0
= 0 ;
6455 PyObject
* obj1
= 0 ;
6457 (char *) "self",(char *) "location", NULL
6460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6464 arg2
= wxString_in_helper(obj1
);
6465 if (arg2
== NULL
) SWIG_fail
;
6469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6470 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6472 wxPyEndAllowThreads(__tstate
);
6473 if (PyErr_Occurred()) SWIG_fail
;
6476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6492 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6493 PyObject
*resultobj
;
6494 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6495 wxFileSystem
*arg2
= 0 ;
6496 wxString
*arg3
= 0 ;
6498 bool temp3
= False
;
6499 PyObject
* obj0
= 0 ;
6500 PyObject
* obj1
= 0 ;
6501 PyObject
* obj2
= 0 ;
6503 (char *) "self",(char *) "fs",(char *) "location", NULL
6506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6509 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
6510 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6513 PyErr_SetString(PyExc_TypeError
,"null reference");
6517 arg3
= wxString_in_helper(obj2
);
6518 if (arg3
== NULL
) SWIG_fail
;
6522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6523 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6525 wxPyEndAllowThreads(__tstate
);
6526 if (PyErr_Occurred()) SWIG_fail
;
6529 resultobj
= wxPyMake_wxObject(result
);
6545 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6546 PyObject
*resultobj
;
6547 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6548 wxString
*arg2
= 0 ;
6549 int arg3
= (int) 0 ;
6551 bool temp2
= False
;
6552 PyObject
* obj0
= 0 ;
6553 PyObject
* obj1
= 0 ;
6554 PyObject
* obj2
= 0 ;
6556 (char *) "self",(char *) "spec",(char *) "flags", NULL
6559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6563 arg2
= wxString_in_helper(obj1
);
6564 if (arg2
== NULL
) SWIG_fail
;
6568 arg3
= (int) SWIG_AsInt(obj2
);
6569 if (PyErr_Occurred()) SWIG_fail
;
6572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6573 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6575 wxPyEndAllowThreads(__tstate
);
6576 if (PyErr_Occurred()) SWIG_fail
;
6580 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6582 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6599 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6600 PyObject
*resultobj
;
6601 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6603 PyObject
* obj0
= 0 ;
6605 (char *) "self", NULL
6608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6613 result
= (arg1
)->FindNext();
6615 wxPyEndAllowThreads(__tstate
);
6616 if (PyErr_Occurred()) SWIG_fail
;
6620 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6622 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6631 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6632 PyObject
*resultobj
;
6633 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6634 wxString
*arg2
= 0 ;
6636 bool temp2
= False
;
6637 PyObject
* obj0
= 0 ;
6638 PyObject
* obj1
= 0 ;
6640 (char *) "self",(char *) "location", NULL
6643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
6644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6647 arg2
= wxString_in_helper(obj1
);
6648 if (arg2
== NULL
) SWIG_fail
;
6652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6653 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
6655 wxPyEndAllowThreads(__tstate
);
6656 if (PyErr_Occurred()) SWIG_fail
;
6660 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6662 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6679 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6680 PyObject
*resultobj
;
6681 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6682 wxString
*arg2
= 0 ;
6684 bool temp2
= False
;
6685 PyObject
* obj0
= 0 ;
6686 PyObject
* obj1
= 0 ;
6688 (char *) "self",(char *) "location", NULL
6691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6695 arg2
= wxString_in_helper(obj1
);
6696 if (arg2
== NULL
) SWIG_fail
;
6700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6701 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
6703 wxPyEndAllowThreads(__tstate
);
6704 if (PyErr_Occurred()) SWIG_fail
;
6708 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6710 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6727 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6728 PyObject
*resultobj
;
6729 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6730 wxString
*arg2
= 0 ;
6732 bool temp2
= False
;
6733 PyObject
* obj0
= 0 ;
6734 PyObject
* obj1
= 0 ;
6736 (char *) "self",(char *) "location", NULL
6739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
6740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6743 arg2
= wxString_in_helper(obj1
);
6744 if (arg2
== NULL
) SWIG_fail
;
6748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6749 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
6751 wxPyEndAllowThreads(__tstate
);
6752 if (PyErr_Occurred()) SWIG_fail
;
6756 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6758 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6775 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6776 PyObject
*resultobj
;
6777 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6778 wxString
*arg2
= 0 ;
6780 bool temp2
= False
;
6781 PyObject
* obj0
= 0 ;
6782 PyObject
* obj1
= 0 ;
6784 (char *) "self",(char *) "location", NULL
6787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6791 arg2
= wxString_in_helper(obj1
);
6792 if (arg2
== NULL
) SWIG_fail
;
6796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6797 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
6799 wxPyEndAllowThreads(__tstate
);
6800 if (PyErr_Occurred()) SWIG_fail
;
6804 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6806 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6823 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6824 PyObject
*resultobj
;
6825 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6826 wxString
*arg2
= 0 ;
6828 bool temp2
= False
;
6829 PyObject
* obj0
= 0 ;
6830 PyObject
* obj1
= 0 ;
6832 (char *) "self",(char *) "location", NULL
6835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
6836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6839 arg2
= wxString_in_helper(obj1
);
6840 if (arg2
== NULL
) SWIG_fail
;
6844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6845 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
6847 wxPyEndAllowThreads(__tstate
);
6848 if (PyErr_Occurred()) SWIG_fail
;
6852 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6854 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6871 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
6873 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6874 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
6876 return Py_BuildValue((char *)"");
6878 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6879 PyObject
*resultobj
;
6880 wxFileSystem
*result
;
6885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
6887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6888 result
= (wxFileSystem
*)new wxFileSystem();
6890 wxPyEndAllowThreads(__tstate
);
6891 if (PyErr_Occurred()) SWIG_fail
;
6894 resultobj
= wxPyMake_wxObject(result
);
6902 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6903 PyObject
*resultobj
;
6904 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6905 PyObject
* obj0
= 0 ;
6907 (char *) "self", NULL
6910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
6911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
6912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6917 wxPyEndAllowThreads(__tstate
);
6918 if (PyErr_Occurred()) SWIG_fail
;
6920 Py_INCREF(Py_None
); resultobj
= Py_None
;
6927 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6928 PyObject
*resultobj
;
6929 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6930 wxString
*arg2
= 0 ;
6931 bool arg3
= (bool) False
;
6932 bool temp2
= False
;
6933 PyObject
* obj0
= 0 ;
6934 PyObject
* obj1
= 0 ;
6935 PyObject
* obj2
= 0 ;
6937 (char *) "self",(char *) "location",(char *) "is_dir", NULL
6940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
6942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6944 arg2
= wxString_in_helper(obj1
);
6945 if (arg2
== NULL
) SWIG_fail
;
6949 arg3
= (bool) SWIG_AsBool(obj2
);
6950 if (PyErr_Occurred()) SWIG_fail
;
6953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6954 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
6956 wxPyEndAllowThreads(__tstate
);
6957 if (PyErr_Occurred()) SWIG_fail
;
6959 Py_INCREF(Py_None
); resultobj
= Py_None
;
6974 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6975 PyObject
*resultobj
;
6976 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6978 PyObject
* obj0
= 0 ;
6980 (char *) "self", NULL
6983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
6984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
6985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6988 result
= (arg1
)->GetPath();
6990 wxPyEndAllowThreads(__tstate
);
6991 if (PyErr_Occurred()) SWIG_fail
;
6995 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6997 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7006 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7007 PyObject
*resultobj
;
7008 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7009 wxString
*arg2
= 0 ;
7011 bool temp2
= False
;
7012 PyObject
* obj0
= 0 ;
7013 PyObject
* obj1
= 0 ;
7015 (char *) "self",(char *) "location", NULL
7018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7022 arg2
= wxString_in_helper(obj1
);
7023 if (arg2
== NULL
) SWIG_fail
;
7027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7028 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
7030 wxPyEndAllowThreads(__tstate
);
7031 if (PyErr_Occurred()) SWIG_fail
;
7034 resultobj
= wxPyMake_wxObject(result
);
7050 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7051 PyObject
*resultobj
;
7052 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7053 wxString
*arg2
= 0 ;
7054 int arg3
= (int) 0 ;
7056 bool temp2
= False
;
7057 PyObject
* obj0
= 0 ;
7058 PyObject
* obj1
= 0 ;
7059 PyObject
* obj2
= 0 ;
7061 (char *) "self",(char *) "spec",(char *) "flags", NULL
7064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7068 arg2
= wxString_in_helper(obj1
);
7069 if (arg2
== NULL
) SWIG_fail
;
7073 arg3
= (int) SWIG_AsInt(obj2
);
7074 if (PyErr_Occurred()) SWIG_fail
;
7077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7078 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7080 wxPyEndAllowThreads(__tstate
);
7081 if (PyErr_Occurred()) SWIG_fail
;
7085 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7087 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7104 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7105 PyObject
*resultobj
;
7106 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7108 PyObject
* obj0
= 0 ;
7110 (char *) "self", NULL
7113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7118 result
= (arg1
)->FindNext();
7120 wxPyEndAllowThreads(__tstate
);
7121 if (PyErr_Occurred()) SWIG_fail
;
7125 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7127 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7136 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7137 PyObject
*resultobj
;
7138 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7139 PyObject
* obj0
= 0 ;
7141 (char *) "handler", NULL
7144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7149 wxFileSystem::AddHandler(arg1
);
7151 wxPyEndAllowThreads(__tstate
);
7152 if (PyErr_Occurred()) SWIG_fail
;
7154 Py_INCREF(Py_None
); resultobj
= Py_None
;
7161 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7162 PyObject
*resultobj
;
7167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7170 wxFileSystem::CleanUpHandlers();
7172 wxPyEndAllowThreads(__tstate
);
7173 if (PyErr_Occurred()) SWIG_fail
;
7175 Py_INCREF(Py_None
); resultobj
= Py_None
;
7182 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7183 PyObject
*resultobj
;
7184 wxString
*arg1
= 0 ;
7186 bool temp1
= False
;
7187 PyObject
* obj0
= 0 ;
7189 (char *) "filename", NULL
7192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7194 arg1
= wxString_in_helper(obj0
);
7195 if (arg1
== NULL
) SWIG_fail
;
7199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7200 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7202 wxPyEndAllowThreads(__tstate
);
7203 if (PyErr_Occurred()) SWIG_fail
;
7207 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7209 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7226 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
7228 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7229 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7231 return Py_BuildValue((char *)"");
7233 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7234 PyObject
*resultobj
;
7235 wxString
*arg1
= 0 ;
7237 bool temp1
= False
;
7238 PyObject
* obj0
= 0 ;
7240 (char *) "url", NULL
7243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7245 arg1
= wxString_in_helper(obj0
);
7246 if (arg1
== NULL
) SWIG_fail
;
7250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7251 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
7253 wxPyEndAllowThreads(__tstate
);
7254 if (PyErr_Occurred()) SWIG_fail
;
7258 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7260 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7277 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7278 PyObject
*resultobj
;
7279 wxInternetFSHandler
*result
;
7284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7287 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7289 wxPyEndAllowThreads(__tstate
);
7290 if (PyErr_Occurred()) SWIG_fail
;
7292 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7299 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7300 PyObject
*resultobj
;
7301 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7302 wxString
*arg2
= 0 ;
7304 bool temp2
= False
;
7305 PyObject
* obj0
= 0 ;
7306 PyObject
* obj1
= 0 ;
7308 (char *) "self",(char *) "location", NULL
7311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7315 arg2
= wxString_in_helper(obj1
);
7316 if (arg2
== NULL
) SWIG_fail
;
7320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7321 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7323 wxPyEndAllowThreads(__tstate
);
7324 if (PyErr_Occurred()) SWIG_fail
;
7327 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7343 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7344 PyObject
*resultobj
;
7345 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7346 wxFileSystem
*arg2
= 0 ;
7347 wxString
*arg3
= 0 ;
7349 bool temp3
= False
;
7350 PyObject
* obj0
= 0 ;
7351 PyObject
* obj1
= 0 ;
7352 PyObject
* obj2
= 0 ;
7354 (char *) "self",(char *) "fs",(char *) "location", NULL
7357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7360 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7361 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7364 PyErr_SetString(PyExc_TypeError
,"null reference");
7368 arg3
= wxString_in_helper(obj2
);
7369 if (arg3
== NULL
) SWIG_fail
;
7373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7374 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7376 wxPyEndAllowThreads(__tstate
);
7377 if (PyErr_Occurred()) SWIG_fail
;
7380 resultobj
= wxPyMake_wxObject(result
);
7396 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
7398 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7399 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7401 return Py_BuildValue((char *)"");
7403 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7404 PyObject
*resultobj
;
7405 wxZipFSHandler
*result
;
7410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7413 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7415 wxPyEndAllowThreads(__tstate
);
7416 if (PyErr_Occurred()) SWIG_fail
;
7418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7425 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7426 PyObject
*resultobj
;
7427 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7428 wxString
*arg2
= 0 ;
7430 bool temp2
= False
;
7431 PyObject
* obj0
= 0 ;
7432 PyObject
* obj1
= 0 ;
7434 (char *) "self",(char *) "location", NULL
7437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7441 arg2
= wxString_in_helper(obj1
);
7442 if (arg2
== NULL
) SWIG_fail
;
7446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7447 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7449 wxPyEndAllowThreads(__tstate
);
7450 if (PyErr_Occurred()) SWIG_fail
;
7453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7469 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7470 PyObject
*resultobj
;
7471 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7472 wxFileSystem
*arg2
= 0 ;
7473 wxString
*arg3
= 0 ;
7475 bool temp3
= False
;
7476 PyObject
* obj0
= 0 ;
7477 PyObject
* obj1
= 0 ;
7478 PyObject
* obj2
= 0 ;
7480 (char *) "self",(char *) "fs",(char *) "location", NULL
7483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7486 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7487 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7490 PyErr_SetString(PyExc_TypeError
,"null reference");
7494 arg3
= wxString_in_helper(obj2
);
7495 if (arg3
== NULL
) SWIG_fail
;
7499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7500 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7502 wxPyEndAllowThreads(__tstate
);
7503 if (PyErr_Occurred()) SWIG_fail
;
7506 resultobj
= wxPyMake_wxObject(result
);
7522 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7523 PyObject
*resultobj
;
7524 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7525 wxString
*arg2
= 0 ;
7526 int arg3
= (int) 0 ;
7528 bool temp2
= False
;
7529 PyObject
* obj0
= 0 ;
7530 PyObject
* obj1
= 0 ;
7531 PyObject
* obj2
= 0 ;
7533 (char *) "self",(char *) "spec",(char *) "flags", NULL
7536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7540 arg2
= wxString_in_helper(obj1
);
7541 if (arg2
== NULL
) SWIG_fail
;
7545 arg3
= (int) SWIG_AsInt(obj2
);
7546 if (PyErr_Occurred()) SWIG_fail
;
7549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7550 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7552 wxPyEndAllowThreads(__tstate
);
7553 if (PyErr_Occurred()) SWIG_fail
;
7557 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7559 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7576 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7577 PyObject
*resultobj
;
7578 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7580 PyObject
* obj0
= 0 ;
7582 (char *) "self", NULL
7585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7590 result
= (arg1
)->FindNext();
7592 wxPyEndAllowThreads(__tstate
);
7593 if (PyErr_Occurred()) SWIG_fail
;
7597 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7599 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7608 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
7610 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7611 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
7613 return Py_BuildValue((char *)"");
7615 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7616 PyObject
*resultobj
;
7617 wxString
*arg1
= 0 ;
7620 bool temp1
= False
;
7621 PyObject
* obj0
= 0 ;
7622 PyObject
* obj1
= 0 ;
7623 PyObject
* obj2
= 0 ;
7625 (char *) "filename",(char *) "image",(char *) "type", NULL
7628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7630 arg1
= wxString_in_helper(obj0
);
7631 if (arg1
== NULL
) SWIG_fail
;
7634 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
7635 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7638 PyErr_SetString(PyExc_TypeError
,"null reference");
7641 arg3
= (long) SWIG_AsLong(obj2
);
7642 if (PyErr_Occurred()) SWIG_fail
;
7644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7645 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
7647 wxPyEndAllowThreads(__tstate
);
7648 if (PyErr_Occurred()) SWIG_fail
;
7650 Py_INCREF(Py_None
); resultobj
= Py_None
;
7665 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7666 PyObject
*resultobj
;
7667 wxString
*arg1
= 0 ;
7668 wxBitmap
*arg2
= 0 ;
7670 bool temp1
= False
;
7671 PyObject
* obj0
= 0 ;
7672 PyObject
* obj1
= 0 ;
7673 PyObject
* obj2
= 0 ;
7675 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7680 arg1
= wxString_in_helper(obj0
);
7681 if (arg1
== NULL
) SWIG_fail
;
7684 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
7685 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7688 PyErr_SetString(PyExc_TypeError
,"null reference");
7691 arg3
= (long) SWIG_AsLong(obj2
);
7692 if (PyErr_Occurred()) SWIG_fail
;
7694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7695 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
7697 wxPyEndAllowThreads(__tstate
);
7698 if (PyErr_Occurred()) SWIG_fail
;
7700 Py_INCREF(Py_None
); resultobj
= Py_None
;
7715 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7716 PyObject
*resultobj
;
7717 wxString
*arg1
= 0 ;
7718 PyObject
*arg2
= (PyObject
*) 0 ;
7719 bool temp1
= False
;
7720 PyObject
* obj0
= 0 ;
7721 PyObject
* obj1
= 0 ;
7723 (char *) "filename",(char *) "data", NULL
7726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
7728 arg1
= wxString_in_helper(obj0
);
7729 if (arg1
== NULL
) SWIG_fail
;
7734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7735 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
7737 wxPyEndAllowThreads(__tstate
);
7738 if (PyErr_Occurred()) SWIG_fail
;
7740 Py_INCREF(Py_None
); resultobj
= Py_None
;
7755 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7756 PyObject
*resultobj
;
7757 wxMemoryFSHandler
*result
;
7762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
7764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7765 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
7767 wxPyEndAllowThreads(__tstate
);
7768 if (PyErr_Occurred()) SWIG_fail
;
7770 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
7777 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7778 PyObject
*resultobj
;
7779 wxString
*arg1
= 0 ;
7780 bool temp1
= False
;
7781 PyObject
* obj0
= 0 ;
7783 (char *) "filename", NULL
7786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
7788 arg1
= wxString_in_helper(obj0
);
7789 if (arg1
== NULL
) SWIG_fail
;
7793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7794 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
7796 wxPyEndAllowThreads(__tstate
);
7797 if (PyErr_Occurred()) SWIG_fail
;
7799 Py_INCREF(Py_None
); resultobj
= Py_None
;
7814 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7815 PyObject
*resultobj
;
7816 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7817 wxString
*arg2
= 0 ;
7819 bool temp2
= False
;
7820 PyObject
* obj0
= 0 ;
7821 PyObject
* obj1
= 0 ;
7823 (char *) "self",(char *) "location", NULL
7826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7830 arg2
= wxString_in_helper(obj1
);
7831 if (arg2
== NULL
) SWIG_fail
;
7835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7836 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7838 wxPyEndAllowThreads(__tstate
);
7839 if (PyErr_Occurred()) SWIG_fail
;
7842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7858 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7859 PyObject
*resultobj
;
7860 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7861 wxFileSystem
*arg2
= 0 ;
7862 wxString
*arg3
= 0 ;
7864 bool temp3
= False
;
7865 PyObject
* obj0
= 0 ;
7866 PyObject
* obj1
= 0 ;
7867 PyObject
* obj2
= 0 ;
7869 (char *) "self",(char *) "fs",(char *) "location", NULL
7872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7875 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7876 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7879 PyErr_SetString(PyExc_TypeError
,"null reference");
7883 arg3
= wxString_in_helper(obj2
);
7884 if (arg3
== NULL
) SWIG_fail
;
7888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7889 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7891 wxPyEndAllowThreads(__tstate
);
7892 if (PyErr_Occurred()) SWIG_fail
;
7895 resultobj
= wxPyMake_wxObject(result
);
7911 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7912 PyObject
*resultobj
;
7913 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7914 wxString
*arg2
= 0 ;
7915 int arg3
= (int) 0 ;
7917 bool temp2
= False
;
7918 PyObject
* obj0
= 0 ;
7919 PyObject
* obj1
= 0 ;
7920 PyObject
* obj2
= 0 ;
7922 (char *) "self",(char *) "spec",(char *) "flags", NULL
7925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7929 arg2
= wxString_in_helper(obj1
);
7930 if (arg2
== NULL
) SWIG_fail
;
7934 arg3
= (int) SWIG_AsInt(obj2
);
7935 if (PyErr_Occurred()) SWIG_fail
;
7938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7939 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7941 wxPyEndAllowThreads(__tstate
);
7942 if (PyErr_Occurred()) SWIG_fail
;
7946 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7948 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7965 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7966 PyObject
*resultobj
;
7967 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7969 PyObject
* obj0
= 0 ;
7971 (char *) "self", NULL
7974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7979 result
= (arg1
)->FindNext();
7981 wxPyEndAllowThreads(__tstate
);
7982 if (PyErr_Occurred()) SWIG_fail
;
7986 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7988 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7997 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
7999 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8000 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
8002 return Py_BuildValue((char *)"");
8004 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8005 PyObject
*resultobj
;
8006 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8008 PyObject
* obj0
= 0 ;
8010 (char *) "self", NULL
8013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
8014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8018 result
= (arg1
)->GetName();
8020 wxPyEndAllowThreads(__tstate
);
8021 if (PyErr_Occurred()) SWIG_fail
;
8025 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8027 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8036 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8037 PyObject
*resultobj
;
8038 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8040 PyObject
* obj0
= 0 ;
8042 (char *) "self", NULL
8045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
8046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8050 result
= (arg1
)->GetExtension();
8052 wxPyEndAllowThreads(__tstate
);
8053 if (PyErr_Occurred()) SWIG_fail
;
8057 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8059 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8068 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8069 PyObject
*resultobj
;
8070 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8072 PyObject
* obj0
= 0 ;
8074 (char *) "self", NULL
8077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8082 result
= (long)(arg1
)->GetType();
8084 wxPyEndAllowThreads(__tstate
);
8085 if (PyErr_Occurred()) SWIG_fail
;
8087 resultobj
= SWIG_FromLong((long)result
);
8094 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8095 PyObject
*resultobj
;
8096 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8098 PyObject
* obj0
= 0 ;
8100 (char *) "self", NULL
8103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8108 result
= (arg1
)->GetMimeType();
8110 wxPyEndAllowThreads(__tstate
);
8111 if (PyErr_Occurred()) SWIG_fail
;
8115 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8117 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8126 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8127 PyObject
*resultobj
;
8128 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8129 wxString
*arg2
= 0 ;
8131 bool temp2
= False
;
8132 PyObject
* obj0
= 0 ;
8133 PyObject
* obj1
= 0 ;
8135 (char *) "self",(char *) "name", NULL
8138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8142 arg2
= wxString_in_helper(obj1
);
8143 if (arg2
== NULL
) SWIG_fail
;
8147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8148 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8150 wxPyEndAllowThreads(__tstate
);
8151 if (PyErr_Occurred()) SWIG_fail
;
8154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8170 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8171 PyObject
*resultobj
;
8172 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8173 wxString
*arg2
= 0 ;
8174 bool temp2
= False
;
8175 PyObject
* obj0
= 0 ;
8176 PyObject
* obj1
= 0 ;
8178 (char *) "self",(char *) "name", NULL
8181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8185 arg2
= wxString_in_helper(obj1
);
8186 if (arg2
== NULL
) SWIG_fail
;
8190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8191 (arg1
)->SetName((wxString
const &)*arg2
);
8193 wxPyEndAllowThreads(__tstate
);
8194 if (PyErr_Occurred()) SWIG_fail
;
8196 Py_INCREF(Py_None
); resultobj
= Py_None
;
8211 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8212 PyObject
*resultobj
;
8213 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8214 wxString
*arg2
= 0 ;
8215 bool temp2
= False
;
8216 PyObject
* obj0
= 0 ;
8217 PyObject
* obj1
= 0 ;
8219 (char *) "self",(char *) "extension", NULL
8222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8226 arg2
= wxString_in_helper(obj1
);
8227 if (arg2
== NULL
) SWIG_fail
;
8231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8232 (arg1
)->SetExtension((wxString
const &)*arg2
);
8234 wxPyEndAllowThreads(__tstate
);
8235 if (PyErr_Occurred()) SWIG_fail
;
8237 Py_INCREF(Py_None
); resultobj
= Py_None
;
8252 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8253 PyObject
*resultobj
;
8254 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8256 PyObject
* obj0
= 0 ;
8257 PyObject
* obj1
= 0 ;
8259 (char *) "self",(char *) "type", NULL
8262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8265 arg2
= (long) SWIG_AsLong(obj1
);
8266 if (PyErr_Occurred()) SWIG_fail
;
8268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8269 (arg1
)->SetType(arg2
);
8271 wxPyEndAllowThreads(__tstate
);
8272 if (PyErr_Occurred()) SWIG_fail
;
8274 Py_INCREF(Py_None
); resultobj
= Py_None
;
8281 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8282 PyObject
*resultobj
;
8283 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8284 wxString
*arg2
= 0 ;
8285 bool temp2
= False
;
8286 PyObject
* obj0
= 0 ;
8287 PyObject
* obj1
= 0 ;
8289 (char *) "self",(char *) "mimetype", NULL
8292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8296 arg2
= wxString_in_helper(obj1
);
8297 if (arg2
== NULL
) SWIG_fail
;
8301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8302 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8304 wxPyEndAllowThreads(__tstate
);
8305 if (PyErr_Occurred()) SWIG_fail
;
8307 Py_INCREF(Py_None
); resultobj
= Py_None
;
8322 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
8324 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8325 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8327 return Py_BuildValue((char *)"");
8329 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8330 PyObject
*resultobj
;
8331 wxImageHistogram
*result
;
8336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8339 result
= (wxImageHistogram
*)new wxImageHistogram();
8341 wxPyEndAllowThreads(__tstate
);
8342 if (PyErr_Occurred()) SWIG_fail
;
8344 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8351 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8352 PyObject
*resultobj
;
8353 unsigned char arg1
;
8354 unsigned char arg2
;
8355 unsigned char arg3
;
8356 unsigned long result
;
8357 PyObject
* obj0
= 0 ;
8358 PyObject
* obj1
= 0 ;
8359 PyObject
* obj2
= 0 ;
8361 (char *) "r",(char *) "g",(char *) "b", NULL
8364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8365 arg1
= (unsigned char) SWIG_AsUnsignedChar(obj0
);
8366 if (PyErr_Occurred()) SWIG_fail
;
8367 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8368 if (PyErr_Occurred()) SWIG_fail
;
8369 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8370 if (PyErr_Occurred()) SWIG_fail
;
8372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8373 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8375 wxPyEndAllowThreads(__tstate
);
8376 if (PyErr_Occurred()) SWIG_fail
;
8378 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8385 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8386 PyObject
*resultobj
;
8387 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8388 unsigned char *arg2
= (unsigned char *) 0 ;
8389 unsigned char *arg3
= (unsigned char *) 0 ;
8390 unsigned char *arg4
= (unsigned char *) 0 ;
8391 unsigned char arg5
= (unsigned char) 1 ;
8392 unsigned char arg6
= (unsigned char) 0 ;
8393 unsigned char arg7
= (unsigned char) 0 ;
8395 unsigned char temp2
;
8396 unsigned char temp3
;
8397 unsigned char temp4
;
8398 PyObject
* obj0
= 0 ;
8399 PyObject
* obj1
= 0 ;
8400 PyObject
* obj2
= 0 ;
8401 PyObject
* obj3
= 0 ;
8403 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8413 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8414 if (PyErr_Occurred()) SWIG_fail
;
8417 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8418 if (PyErr_Occurred()) SWIG_fail
;
8421 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
8422 if (PyErr_Occurred()) SWIG_fail
;
8425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8426 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8428 wxPyEndAllowThreads(__tstate
);
8429 if (PyErr_Occurred()) SWIG_fail
;
8432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8435 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8436 resultobj
= t_output_helper(resultobj
,o
);
8439 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8440 resultobj
= t_output_helper(resultobj
,o
);
8443 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8444 resultobj
= t_output_helper(resultobj
,o
);
8452 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
8454 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8455 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8457 return Py_BuildValue((char *)"");
8459 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8460 PyObject
*resultobj
;
8461 wxString
*arg1
= 0 ;
8462 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8463 int arg3
= (int) -1 ;
8465 bool temp1
= False
;
8466 PyObject
* obj0
= 0 ;
8467 PyObject
* obj1
= 0 ;
8468 PyObject
* obj2
= 0 ;
8470 (char *) "name",(char *) "type",(char *) "index", NULL
8473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8475 arg1
= wxString_in_helper(obj0
);
8476 if (arg1
== NULL
) SWIG_fail
;
8480 arg2
= (long) SWIG_AsLong(obj1
);
8481 if (PyErr_Occurred()) SWIG_fail
;
8484 arg3
= (int) SWIG_AsInt(obj2
);
8485 if (PyErr_Occurred()) SWIG_fail
;
8488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8489 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8491 wxPyEndAllowThreads(__tstate
);
8492 if (PyErr_Occurred()) SWIG_fail
;
8494 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8509 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8510 PyObject
*resultobj
;
8511 wxImage
*arg1
= (wxImage
*) 0 ;
8512 PyObject
* obj0
= 0 ;
8514 (char *) "self", NULL
8517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8524 wxPyEndAllowThreads(__tstate
);
8525 if (PyErr_Occurred()) SWIG_fail
;
8527 Py_INCREF(Py_None
); resultobj
= Py_None
;
8534 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8535 PyObject
*resultobj
;
8536 wxString
*arg1
= 0 ;
8537 wxString
*arg2
= 0 ;
8538 int arg3
= (int) -1 ;
8540 bool temp1
= False
;
8541 bool temp2
= False
;
8542 PyObject
* obj0
= 0 ;
8543 PyObject
* obj1
= 0 ;
8544 PyObject
* obj2
= 0 ;
8546 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8551 arg1
= wxString_in_helper(obj0
);
8552 if (arg1
== NULL
) SWIG_fail
;
8556 arg2
= wxString_in_helper(obj1
);
8557 if (arg2
== NULL
) SWIG_fail
;
8561 arg3
= (int) SWIG_AsInt(obj2
);
8562 if (PyErr_Occurred()) SWIG_fail
;
8565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8566 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8568 wxPyEndAllowThreads(__tstate
);
8569 if (PyErr_Occurred()) SWIG_fail
;
8571 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8594 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8595 PyObject
*resultobj
;
8596 wxInputStream
*arg1
= 0 ;
8597 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8598 int arg3
= (int) -1 ;
8600 wxPyInputStream
*temp1
;
8602 PyObject
* obj0
= 0 ;
8603 PyObject
* obj1
= 0 ;
8604 PyObject
* obj2
= 0 ;
8606 (char *) "stream",(char *) "type",(char *) "index", NULL
8609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8611 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8612 arg1
= temp1
->m_wxis
;
8615 PyErr_Clear(); // clear the failure of the wxPyConvert above
8616 arg1
= wxPyCBInputStream_create(obj0
, False
);
8618 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8625 arg2
= (long) SWIG_AsLong(obj1
);
8626 if (PyErr_Occurred()) SWIG_fail
;
8629 arg3
= (int) SWIG_AsInt(obj2
);
8630 if (PyErr_Occurred()) SWIG_fail
;
8633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8634 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
8636 wxPyEndAllowThreads(__tstate
);
8637 if (PyErr_Occurred()) SWIG_fail
;
8639 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8654 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8655 PyObject
*resultobj
;
8656 wxInputStream
*arg1
= 0 ;
8657 wxString
*arg2
= 0 ;
8658 int arg3
= (int) -1 ;
8660 wxPyInputStream
*temp1
;
8662 bool temp2
= False
;
8663 PyObject
* obj0
= 0 ;
8664 PyObject
* obj1
= 0 ;
8665 PyObject
* obj2
= 0 ;
8667 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8672 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8673 arg1
= temp1
->m_wxis
;
8676 PyErr_Clear(); // clear the failure of the wxPyConvert above
8677 arg1
= wxPyCBInputStream_create(obj0
, False
);
8679 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8686 arg2
= wxString_in_helper(obj1
);
8687 if (arg2
== NULL
) SWIG_fail
;
8691 arg3
= (int) SWIG_AsInt(obj2
);
8692 if (PyErr_Occurred()) SWIG_fail
;
8695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8696 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
8698 wxPyEndAllowThreads(__tstate
);
8699 if (PyErr_Occurred()) SWIG_fail
;
8701 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8724 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8725 PyObject
*resultobj
;
8726 int arg1
= (int) 0 ;
8727 int arg2
= (int) 0 ;
8728 bool arg3
= (bool) True
;
8730 PyObject
* obj0
= 0 ;
8731 PyObject
* obj1
= 0 ;
8732 PyObject
* obj2
= 0 ;
8734 (char *) "width",(char *) "height",(char *) "clear", NULL
8737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8739 arg1
= (int) SWIG_AsInt(obj0
);
8740 if (PyErr_Occurred()) SWIG_fail
;
8743 arg2
= (int) SWIG_AsInt(obj1
);
8744 if (PyErr_Occurred()) SWIG_fail
;
8747 arg3
= (bool) SWIG_AsBool(obj2
);
8748 if (PyErr_Occurred()) SWIG_fail
;
8751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8752 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8754 wxPyEndAllowThreads(__tstate
);
8755 if (PyErr_Occurred()) SWIG_fail
;
8757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8764 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8765 PyObject
*resultobj
;
8766 wxBitmap
*arg1
= 0 ;
8768 PyObject
* obj0
= 0 ;
8770 (char *) "bitmap", NULL
8773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
8774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
8775 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8778 PyErr_SetString(PyExc_TypeError
,"null reference");
8782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8783 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
8785 wxPyEndAllowThreads(__tstate
);
8786 if (PyErr_Occurred()) SWIG_fail
;
8788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8795 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8796 PyObject
*resultobj
;
8799 unsigned char *arg3
= (unsigned char *) 0 ;
8801 PyObject
* obj0
= 0 ;
8802 PyObject
* obj1
= 0 ;
8803 PyObject
* obj2
= 0 ;
8805 (char *) "width",(char *) "height",(char *) "data", NULL
8808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8809 arg1
= (int) SWIG_AsInt(obj0
);
8810 if (PyErr_Occurred()) SWIG_fail
;
8811 arg2
= (int) SWIG_AsInt(obj1
);
8812 if (PyErr_Occurred()) SWIG_fail
;
8813 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
8814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8817 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8819 wxPyEndAllowThreads(__tstate
);
8820 if (PyErr_Occurred()) SWIG_fail
;
8822 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8829 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8830 PyObject
*resultobj
;
8831 wxImage
*arg1
= (wxImage
*) 0 ;
8834 PyObject
* obj0
= 0 ;
8835 PyObject
* obj1
= 0 ;
8836 PyObject
* obj2
= 0 ;
8838 (char *) "self",(char *) "width",(char *) "height", NULL
8841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8844 arg2
= (int) SWIG_AsInt(obj1
);
8845 if (PyErr_Occurred()) SWIG_fail
;
8846 arg3
= (int) SWIG_AsInt(obj2
);
8847 if (PyErr_Occurred()) SWIG_fail
;
8849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8850 (arg1
)->Create(arg2
,arg3
);
8852 wxPyEndAllowThreads(__tstate
);
8853 if (PyErr_Occurred()) SWIG_fail
;
8855 Py_INCREF(Py_None
); resultobj
= Py_None
;
8862 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8863 PyObject
*resultobj
;
8864 wxImage
*arg1
= (wxImage
*) 0 ;
8865 PyObject
* obj0
= 0 ;
8867 (char *) "self", NULL
8870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
8871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8877 wxPyEndAllowThreads(__tstate
);
8878 if (PyErr_Occurred()) SWIG_fail
;
8880 Py_INCREF(Py_None
); resultobj
= Py_None
;
8887 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8888 PyObject
*resultobj
;
8889 wxImage
*arg1
= (wxImage
*) 0 ;
8892 SwigValueWrapper
< wxImage
> result
;
8893 PyObject
* obj0
= 0 ;
8894 PyObject
* obj1
= 0 ;
8895 PyObject
* obj2
= 0 ;
8897 (char *) "self",(char *) "width",(char *) "height", NULL
8900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8903 arg2
= (int) SWIG_AsInt(obj1
);
8904 if (PyErr_Occurred()) SWIG_fail
;
8905 arg3
= (int) SWIG_AsInt(obj2
);
8906 if (PyErr_Occurred()) SWIG_fail
;
8908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8909 result
= (arg1
)->Scale(arg2
,arg3
);
8911 wxPyEndAllowThreads(__tstate
);
8912 if (PyErr_Occurred()) SWIG_fail
;
8915 wxImage
* resultptr
;
8916 resultptr
= new wxImage((wxImage
&) result
);
8917 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
8925 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8926 PyObject
*resultobj
;
8927 wxImage
*arg1
= (wxImage
*) 0 ;
8930 SwigValueWrapper
< wxImage
> result
;
8931 PyObject
* obj0
= 0 ;
8932 PyObject
* obj1
= 0 ;
8933 PyObject
* obj2
= 0 ;
8935 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
8938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8941 arg2
= (int) SWIG_AsInt(obj1
);
8942 if (PyErr_Occurred()) SWIG_fail
;
8943 arg3
= (int) SWIG_AsInt(obj2
);
8944 if (PyErr_Occurred()) SWIG_fail
;
8946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8947 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
8949 wxPyEndAllowThreads(__tstate
);
8950 if (PyErr_Occurred()) SWIG_fail
;
8953 wxImage
* resultptr
;
8954 resultptr
= new wxImage((wxImage
&) result
);
8955 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
8963 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8964 PyObject
*resultobj
;
8965 wxImage
*arg1
= (wxImage
*) 0 ;
8969 PyObject
* obj0
= 0 ;
8970 PyObject
* obj1
= 0 ;
8971 PyObject
* obj2
= 0 ;
8973 (char *) "self",(char *) "width",(char *) "height", NULL
8976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8979 arg2
= (int) SWIG_AsInt(obj1
);
8980 if (PyErr_Occurred()) SWIG_fail
;
8981 arg3
= (int) SWIG_AsInt(obj2
);
8982 if (PyErr_Occurred()) SWIG_fail
;
8984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8986 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
8987 result
= (wxImage
*) &_result_ref
;
8990 wxPyEndAllowThreads(__tstate
);
8991 if (PyErr_Occurred()) SWIG_fail
;
8993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
9000 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9001 PyObject
*resultobj
;
9002 wxImage
*arg1
= (wxImage
*) 0 ;
9005 unsigned char arg4
;
9006 unsigned char arg5
;
9007 unsigned char arg6
;
9008 PyObject
* obj0
= 0 ;
9009 PyObject
* obj1
= 0 ;
9010 PyObject
* obj2
= 0 ;
9011 PyObject
* obj3
= 0 ;
9012 PyObject
* obj4
= 0 ;
9013 PyObject
* obj5
= 0 ;
9015 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9021 arg2
= (int) SWIG_AsInt(obj1
);
9022 if (PyErr_Occurred()) SWIG_fail
;
9023 arg3
= (int) SWIG_AsInt(obj2
);
9024 if (PyErr_Occurred()) SWIG_fail
;
9025 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9026 if (PyErr_Occurred()) SWIG_fail
;
9027 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
9028 if (PyErr_Occurred()) SWIG_fail
;
9029 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
9030 if (PyErr_Occurred()) SWIG_fail
;
9032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9033 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
9035 wxPyEndAllowThreads(__tstate
);
9036 if (PyErr_Occurred()) SWIG_fail
;
9038 Py_INCREF(Py_None
); resultobj
= Py_None
;
9045 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9046 PyObject
*resultobj
;
9047 wxImage
*arg1
= (wxImage
*) 0 ;
9050 unsigned char result
;
9051 PyObject
* obj0
= 0 ;
9052 PyObject
* obj1
= 0 ;
9053 PyObject
* obj2
= 0 ;
9055 (char *) "self",(char *) "x",(char *) "y", NULL
9058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9061 arg2
= (int) SWIG_AsInt(obj1
);
9062 if (PyErr_Occurred()) SWIG_fail
;
9063 arg3
= (int) SWIG_AsInt(obj2
);
9064 if (PyErr_Occurred()) SWIG_fail
;
9066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9067 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9069 wxPyEndAllowThreads(__tstate
);
9070 if (PyErr_Occurred()) SWIG_fail
;
9072 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9079 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9080 PyObject
*resultobj
;
9081 wxImage
*arg1
= (wxImage
*) 0 ;
9084 unsigned char result
;
9085 PyObject
* obj0
= 0 ;
9086 PyObject
* obj1
= 0 ;
9087 PyObject
* obj2
= 0 ;
9089 (char *) "self",(char *) "x",(char *) "y", NULL
9092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9095 arg2
= (int) SWIG_AsInt(obj1
);
9096 if (PyErr_Occurred()) SWIG_fail
;
9097 arg3
= (int) SWIG_AsInt(obj2
);
9098 if (PyErr_Occurred()) SWIG_fail
;
9100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9101 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9103 wxPyEndAllowThreads(__tstate
);
9104 if (PyErr_Occurred()) SWIG_fail
;
9106 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9113 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9114 PyObject
*resultobj
;
9115 wxImage
*arg1
= (wxImage
*) 0 ;
9118 unsigned char result
;
9119 PyObject
* obj0
= 0 ;
9120 PyObject
* obj1
= 0 ;
9121 PyObject
* obj2
= 0 ;
9123 (char *) "self",(char *) "x",(char *) "y", NULL
9126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9129 arg2
= (int) SWIG_AsInt(obj1
);
9130 if (PyErr_Occurred()) SWIG_fail
;
9131 arg3
= (int) SWIG_AsInt(obj2
);
9132 if (PyErr_Occurred()) SWIG_fail
;
9134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9135 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9137 wxPyEndAllowThreads(__tstate
);
9138 if (PyErr_Occurred()) SWIG_fail
;
9140 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9147 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9148 PyObject
*resultobj
;
9149 wxImage
*arg1
= (wxImage
*) 0 ;
9152 unsigned char arg4
;
9153 PyObject
* obj0
= 0 ;
9154 PyObject
* obj1
= 0 ;
9155 PyObject
* obj2
= 0 ;
9156 PyObject
* obj3
= 0 ;
9158 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9164 arg2
= (int) SWIG_AsInt(obj1
);
9165 if (PyErr_Occurred()) SWIG_fail
;
9166 arg3
= (int) SWIG_AsInt(obj2
);
9167 if (PyErr_Occurred()) SWIG_fail
;
9168 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9169 if (PyErr_Occurred()) SWIG_fail
;
9171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9172 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9174 wxPyEndAllowThreads(__tstate
);
9175 if (PyErr_Occurred()) SWIG_fail
;
9177 Py_INCREF(Py_None
); resultobj
= Py_None
;
9184 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9185 PyObject
*resultobj
;
9186 wxImage
*arg1
= (wxImage
*) 0 ;
9189 unsigned char result
;
9190 PyObject
* obj0
= 0 ;
9191 PyObject
* obj1
= 0 ;
9192 PyObject
* obj2
= 0 ;
9194 (char *) "self",(char *) "x",(char *) "y", NULL
9197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9200 arg2
= (int) SWIG_AsInt(obj1
);
9201 if (PyErr_Occurred()) SWIG_fail
;
9202 arg3
= (int) SWIG_AsInt(obj2
);
9203 if (PyErr_Occurred()) SWIG_fail
;
9205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9206 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9208 wxPyEndAllowThreads(__tstate
);
9209 if (PyErr_Occurred()) SWIG_fail
;
9211 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9218 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9219 PyObject
*resultobj
;
9220 wxImage
*arg1
= (wxImage
*) 0 ;
9222 PyObject
* obj0
= 0 ;
9224 (char *) "self", NULL
9227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9232 result
= (bool)(arg1
)->HasAlpha();
9234 wxPyEndAllowThreads(__tstate
);
9235 if (PyErr_Occurred()) SWIG_fail
;
9238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9246 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9247 PyObject
*resultobj
;
9248 wxImage
*arg1
= (wxImage
*) 0 ;
9249 byte
*arg2
= (byte
*) 0 ;
9250 byte
*arg3
= (byte
*) 0 ;
9251 byte
*arg4
= (byte
*) 0 ;
9252 byte arg5
= (byte
) 0 ;
9253 byte arg6
= (byte
) 0 ;
9254 byte arg7
= (byte
) 0 ;
9259 PyObject
* obj0
= 0 ;
9260 PyObject
* obj1
= 0 ;
9261 PyObject
* obj2
= 0 ;
9262 PyObject
* obj3
= 0 ;
9264 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9274 arg5
= (byte
) SWIG_AsUnsignedChar(obj1
);
9275 if (PyErr_Occurred()) SWIG_fail
;
9278 arg6
= (byte
) SWIG_AsUnsignedChar(obj2
);
9279 if (PyErr_Occurred()) SWIG_fail
;
9282 arg7
= (byte
) SWIG_AsUnsignedChar(obj3
);
9283 if (PyErr_Occurred()) SWIG_fail
;
9286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9287 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9289 wxPyEndAllowThreads(__tstate
);
9290 if (PyErr_Occurred()) SWIG_fail
;
9293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9296 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
9297 resultobj
= t_output_helper(resultobj
,o
);
9300 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9301 resultobj
= t_output_helper(resultobj
,o
);
9304 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9305 resultobj
= t_output_helper(resultobj
,o
);
9313 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9314 PyObject
*resultobj
;
9315 wxImage
*arg1
= (wxImage
*) 0 ;
9321 PyObject
* obj0
= 0 ;
9322 PyObject
* obj1
= 0 ;
9323 PyObject
* obj2
= 0 ;
9324 PyObject
* obj3
= 0 ;
9325 PyObject
* obj4
= 0 ;
9327 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9333 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9334 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9337 PyErr_SetString(PyExc_TypeError
,"null reference");
9340 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
9341 if (PyErr_Occurred()) SWIG_fail
;
9342 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
9343 if (PyErr_Occurred()) SWIG_fail
;
9344 arg5
= (byte
) SWIG_AsUnsignedChar(obj4
);
9345 if (PyErr_Occurred()) SWIG_fail
;
9347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9348 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9350 wxPyEndAllowThreads(__tstate
);
9351 if (PyErr_Occurred()) SWIG_fail
;
9354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9362 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9363 PyObject
*resultobj
;
9364 wxString
*arg1
= 0 ;
9366 bool temp1
= False
;
9367 PyObject
* obj0
= 0 ;
9369 (char *) "name", NULL
9372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9374 arg1
= wxString_in_helper(obj0
);
9375 if (arg1
== NULL
) SWIG_fail
;
9379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9380 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9382 wxPyEndAllowThreads(__tstate
);
9383 if (PyErr_Occurred()) SWIG_fail
;
9386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9402 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9403 PyObject
*resultobj
;
9404 wxString
*arg1
= 0 ;
9405 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9407 bool temp1
= False
;
9408 PyObject
* obj0
= 0 ;
9409 PyObject
* obj1
= 0 ;
9411 (char *) "name",(char *) "type", NULL
9414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9416 arg1
= wxString_in_helper(obj0
);
9417 if (arg1
== NULL
) SWIG_fail
;
9421 arg2
= (long) SWIG_AsLong(obj1
);
9422 if (PyErr_Occurred()) SWIG_fail
;
9425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9426 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9428 wxPyEndAllowThreads(__tstate
);
9429 if (PyErr_Occurred()) SWIG_fail
;
9431 resultobj
= SWIG_FromInt((int)result
);
9446 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9447 PyObject
*resultobj
;
9448 wxImage
*arg1
= (wxImage
*) 0 ;
9449 wxString
*arg2
= 0 ;
9450 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9451 int arg4
= (int) -1 ;
9453 bool temp2
= False
;
9454 PyObject
* obj0
= 0 ;
9455 PyObject
* obj1
= 0 ;
9456 PyObject
* obj2
= 0 ;
9457 PyObject
* obj3
= 0 ;
9459 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9466 arg2
= wxString_in_helper(obj1
);
9467 if (arg2
== NULL
) SWIG_fail
;
9471 arg3
= (long) SWIG_AsLong(obj2
);
9472 if (PyErr_Occurred()) SWIG_fail
;
9475 arg4
= (int) SWIG_AsInt(obj3
);
9476 if (PyErr_Occurred()) SWIG_fail
;
9479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9480 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9482 wxPyEndAllowThreads(__tstate
);
9483 if (PyErr_Occurred()) SWIG_fail
;
9486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9502 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9503 PyObject
*resultobj
;
9504 wxImage
*arg1
= (wxImage
*) 0 ;
9505 wxString
*arg2
= 0 ;
9506 wxString
*arg3
= 0 ;
9507 int arg4
= (int) -1 ;
9509 bool temp2
= False
;
9510 bool temp3
= False
;
9511 PyObject
* obj0
= 0 ;
9512 PyObject
* obj1
= 0 ;
9513 PyObject
* obj2
= 0 ;
9514 PyObject
* obj3
= 0 ;
9516 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9523 arg2
= wxString_in_helper(obj1
);
9524 if (arg2
== NULL
) SWIG_fail
;
9528 arg3
= wxString_in_helper(obj2
);
9529 if (arg3
== NULL
) SWIG_fail
;
9533 arg4
= (int) SWIG_AsInt(obj3
);
9534 if (PyErr_Occurred()) SWIG_fail
;
9537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9538 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9540 wxPyEndAllowThreads(__tstate
);
9541 if (PyErr_Occurred()) SWIG_fail
;
9544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9568 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9569 PyObject
*resultobj
;
9570 wxImage
*arg1
= (wxImage
*) 0 ;
9571 wxString
*arg2
= 0 ;
9574 bool temp2
= False
;
9575 PyObject
* obj0
= 0 ;
9576 PyObject
* obj1
= 0 ;
9577 PyObject
* obj2
= 0 ;
9579 (char *) "self",(char *) "name",(char *) "type", NULL
9582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9586 arg2
= wxString_in_helper(obj1
);
9587 if (arg2
== NULL
) SWIG_fail
;
9590 arg3
= (int) SWIG_AsInt(obj2
);
9591 if (PyErr_Occurred()) SWIG_fail
;
9593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9594 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
9596 wxPyEndAllowThreads(__tstate
);
9597 if (PyErr_Occurred()) SWIG_fail
;
9600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9616 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9617 PyObject
*resultobj
;
9618 wxImage
*arg1
= (wxImage
*) 0 ;
9619 wxString
*arg2
= 0 ;
9620 wxString
*arg3
= 0 ;
9622 bool temp2
= False
;
9623 bool temp3
= False
;
9624 PyObject
* obj0
= 0 ;
9625 PyObject
* obj1
= 0 ;
9626 PyObject
* obj2
= 0 ;
9628 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9635 arg2
= wxString_in_helper(obj1
);
9636 if (arg2
== NULL
) SWIG_fail
;
9640 arg3
= wxString_in_helper(obj2
);
9641 if (arg3
== NULL
) SWIG_fail
;
9645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9646 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9648 wxPyEndAllowThreads(__tstate
);
9649 if (PyErr_Occurred()) SWIG_fail
;
9652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9676 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9677 PyObject
*resultobj
;
9678 wxInputStream
*arg1
= 0 ;
9680 wxPyInputStream
*temp1
;
9682 PyObject
* obj0
= 0 ;
9684 (char *) "stream", NULL
9687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
9689 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9690 arg1
= temp1
->m_wxis
;
9693 PyErr_Clear(); // clear the failure of the wxPyConvert above
9694 arg1
= wxPyCBInputStream_create(obj0
, False
);
9696 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9704 result
= (bool)wxImage::CanRead(*arg1
);
9706 wxPyEndAllowThreads(__tstate
);
9707 if (PyErr_Occurred()) SWIG_fail
;
9710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9726 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9727 PyObject
*resultobj
;
9728 wxImage
*arg1
= (wxImage
*) 0 ;
9729 wxInputStream
*arg2
= 0 ;
9730 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9731 int arg4
= (int) -1 ;
9733 wxPyInputStream
*temp2
;
9735 PyObject
* obj0
= 0 ;
9736 PyObject
* obj1
= 0 ;
9737 PyObject
* obj2
= 0 ;
9738 PyObject
* obj3
= 0 ;
9740 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9747 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9748 arg2
= temp2
->m_wxis
;
9751 PyErr_Clear(); // clear the failure of the wxPyConvert above
9752 arg2
= wxPyCBInputStream_create(obj1
, False
);
9754 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9761 arg3
= (long) SWIG_AsLong(obj2
);
9762 if (PyErr_Occurred()) SWIG_fail
;
9765 arg4
= (int) SWIG_AsInt(obj3
);
9766 if (PyErr_Occurred()) SWIG_fail
;
9769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9770 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
9772 wxPyEndAllowThreads(__tstate
);
9773 if (PyErr_Occurred()) SWIG_fail
;
9776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9792 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9793 PyObject
*resultobj
;
9794 wxImage
*arg1
= (wxImage
*) 0 ;
9795 wxInputStream
*arg2
= 0 ;
9796 wxString
*arg3
= 0 ;
9797 int arg4
= (int) -1 ;
9799 wxPyInputStream
*temp2
;
9801 bool temp3
= False
;
9802 PyObject
* obj0
= 0 ;
9803 PyObject
* obj1
= 0 ;
9804 PyObject
* obj2
= 0 ;
9805 PyObject
* obj3
= 0 ;
9807 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9814 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9815 arg2
= temp2
->m_wxis
;
9818 PyErr_Clear(); // clear the failure of the wxPyConvert above
9819 arg2
= wxPyCBInputStream_create(obj1
, False
);
9821 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9828 arg3
= wxString_in_helper(obj2
);
9829 if (arg3
== NULL
) SWIG_fail
;
9833 arg4
= (int) SWIG_AsInt(obj3
);
9834 if (PyErr_Occurred()) SWIG_fail
;
9837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9838 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
9840 wxPyEndAllowThreads(__tstate
);
9841 if (PyErr_Occurred()) SWIG_fail
;
9844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9868 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9869 PyObject
*resultobj
;
9870 wxImage
*arg1
= (wxImage
*) 0 ;
9872 PyObject
* obj0
= 0 ;
9874 (char *) "self", NULL
9877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
9878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9882 result
= (bool)(arg1
)->Ok();
9884 wxPyEndAllowThreads(__tstate
);
9885 if (PyErr_Occurred()) SWIG_fail
;
9888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9896 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9897 PyObject
*resultobj
;
9898 wxImage
*arg1
= (wxImage
*) 0 ;
9900 PyObject
* obj0
= 0 ;
9902 (char *) "self", NULL
9905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
9906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9910 result
= (int)(arg1
)->GetWidth();
9912 wxPyEndAllowThreads(__tstate
);
9913 if (PyErr_Occurred()) SWIG_fail
;
9915 resultobj
= SWIG_FromInt((int)result
);
9922 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9923 PyObject
*resultobj
;
9924 wxImage
*arg1
= (wxImage
*) 0 ;
9926 PyObject
* obj0
= 0 ;
9928 (char *) "self", NULL
9931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
9932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9936 result
= (int)(arg1
)->GetHeight();
9938 wxPyEndAllowThreads(__tstate
);
9939 if (PyErr_Occurred()) SWIG_fail
;
9941 resultobj
= SWIG_FromInt((int)result
);
9948 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9949 PyObject
*resultobj
;
9950 wxImage
*arg1
= (wxImage
*) 0 ;
9952 SwigValueWrapper
< wxImage
> result
;
9954 PyObject
* obj0
= 0 ;
9955 PyObject
* obj1
= 0 ;
9957 (char *) "self",(char *) "rect", NULL
9960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
9961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9965 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9969 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
9971 wxPyEndAllowThreads(__tstate
);
9972 if (PyErr_Occurred()) SWIG_fail
;
9975 wxImage
* resultptr
;
9976 resultptr
= new wxImage((wxImage
&) result
);
9977 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9985 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9986 PyObject
*resultobj
;
9987 wxImage
*arg1
= (wxImage
*) 0 ;
9988 SwigValueWrapper
< wxImage
> result
;
9989 PyObject
* obj0
= 0 ;
9991 (char *) "self", NULL
9994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
9995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9999 result
= (arg1
)->Copy();
10001 wxPyEndAllowThreads(__tstate
);
10002 if (PyErr_Occurred()) SWIG_fail
;
10005 wxImage
* resultptr
;
10006 resultptr
= new wxImage((wxImage
&) result
);
10007 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10015 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10016 PyObject
*resultobj
;
10017 wxImage
*arg1
= (wxImage
*) 0 ;
10018 wxImage
*arg2
= 0 ;
10021 PyObject
* obj0
= 0 ;
10022 PyObject
* obj1
= 0 ;
10023 PyObject
* obj2
= 0 ;
10024 PyObject
* obj3
= 0 ;
10025 char *kwnames
[] = {
10026 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10032 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
10033 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10035 if (arg2
== NULL
) {
10036 PyErr_SetString(PyExc_TypeError
,"null reference");
10039 arg3
= (int) SWIG_AsInt(obj2
);
10040 if (PyErr_Occurred()) SWIG_fail
;
10041 arg4
= (int) SWIG_AsInt(obj3
);
10042 if (PyErr_Occurred()) SWIG_fail
;
10044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10045 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
10047 wxPyEndAllowThreads(__tstate
);
10048 if (PyErr_Occurred()) SWIG_fail
;
10050 Py_INCREF(Py_None
); resultobj
= Py_None
;
10057 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10058 PyObject
*resultobj
;
10059 wxImage
*arg1
= (wxImage
*) 0 ;
10061 PyObject
* obj0
= 0 ;
10062 char *kwnames
[] = {
10063 (char *) "self", NULL
10066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
10067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10071 result
= (PyObject
*)wxImage_GetData(arg1
);
10073 wxPyEndAllowThreads(__tstate
);
10074 if (PyErr_Occurred()) SWIG_fail
;
10076 resultobj
= result
;
10083 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10084 PyObject
*resultobj
;
10085 wxImage
*arg1
= (wxImage
*) 0 ;
10086 PyObject
*arg2
= (PyObject
*) 0 ;
10087 PyObject
* obj0
= 0 ;
10088 PyObject
* obj1
= 0 ;
10089 char *kwnames
[] = {
10090 (char *) "self",(char *) "data", NULL
10093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10099 wxImage_SetData(arg1
,arg2
);
10101 wxPyEndAllowThreads(__tstate
);
10102 if (PyErr_Occurred()) SWIG_fail
;
10104 Py_INCREF(Py_None
); resultobj
= Py_None
;
10111 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10112 PyObject
*resultobj
;
10113 wxImage
*arg1
= (wxImage
*) 0 ;
10115 PyObject
* obj0
= 0 ;
10116 char *kwnames
[] = {
10117 (char *) "self", NULL
10120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10125 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10127 wxPyEndAllowThreads(__tstate
);
10128 if (PyErr_Occurred()) SWIG_fail
;
10130 resultobj
= result
;
10137 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10138 PyObject
*resultobj
;
10139 wxImage
*arg1
= (wxImage
*) 0 ;
10140 PyObject
*arg2
= (PyObject
*) 0 ;
10141 PyObject
* obj0
= 0 ;
10142 PyObject
* obj1
= 0 ;
10143 char *kwnames
[] = {
10144 (char *) "self",(char *) "data", NULL
10147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10153 wxImage_SetDataBuffer(arg1
,arg2
);
10155 wxPyEndAllowThreads(__tstate
);
10156 if (PyErr_Occurred()) SWIG_fail
;
10158 Py_INCREF(Py_None
); resultobj
= Py_None
;
10165 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10166 PyObject
*resultobj
;
10167 wxImage
*arg1
= (wxImage
*) 0 ;
10169 PyObject
* obj0
= 0 ;
10170 char *kwnames
[] = {
10171 (char *) "self", NULL
10174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10179 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10181 wxPyEndAllowThreads(__tstate
);
10182 if (PyErr_Occurred()) SWIG_fail
;
10184 resultobj
= result
;
10191 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10192 PyObject
*resultobj
;
10193 wxImage
*arg1
= (wxImage
*) 0 ;
10194 PyObject
*arg2
= (PyObject
*) 0 ;
10195 PyObject
* obj0
= 0 ;
10196 PyObject
* obj1
= 0 ;
10197 char *kwnames
[] = {
10198 (char *) "self",(char *) "data", NULL
10201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10207 wxImage_SetAlphaData(arg1
,arg2
);
10209 wxPyEndAllowThreads(__tstate
);
10210 if (PyErr_Occurred()) SWIG_fail
;
10212 Py_INCREF(Py_None
); resultobj
= Py_None
;
10219 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10220 PyObject
*resultobj
;
10221 wxImage
*arg1
= (wxImage
*) 0 ;
10223 PyObject
* obj0
= 0 ;
10224 char *kwnames
[] = {
10225 (char *) "self", NULL
10228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10233 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10235 wxPyEndAllowThreads(__tstate
);
10236 if (PyErr_Occurred()) SWIG_fail
;
10238 resultobj
= result
;
10245 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10246 PyObject
*resultobj
;
10247 wxImage
*arg1
= (wxImage
*) 0 ;
10248 PyObject
*arg2
= (PyObject
*) 0 ;
10249 PyObject
* obj0
= 0 ;
10250 PyObject
* obj1
= 0 ;
10251 char *kwnames
[] = {
10252 (char *) "self",(char *) "data", NULL
10255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10261 wxImage_SetAlphaBuffer(arg1
,arg2
);
10263 wxPyEndAllowThreads(__tstate
);
10264 if (PyErr_Occurred()) SWIG_fail
;
10266 Py_INCREF(Py_None
); resultobj
= Py_None
;
10273 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10274 PyObject
*resultobj
;
10275 wxImage
*arg1
= (wxImage
*) 0 ;
10276 unsigned char arg2
;
10277 unsigned char arg3
;
10278 unsigned char arg4
;
10279 PyObject
* obj0
= 0 ;
10280 PyObject
* obj1
= 0 ;
10281 PyObject
* obj2
= 0 ;
10282 PyObject
* obj3
= 0 ;
10283 char *kwnames
[] = {
10284 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10290 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10291 if (PyErr_Occurred()) SWIG_fail
;
10292 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10293 if (PyErr_Occurred()) SWIG_fail
;
10294 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10295 if (PyErr_Occurred()) SWIG_fail
;
10297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10298 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10300 wxPyEndAllowThreads(__tstate
);
10301 if (PyErr_Occurred()) SWIG_fail
;
10303 Py_INCREF(Py_None
); resultobj
= Py_None
;
10310 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10311 PyObject
*resultobj
;
10312 wxImage
*arg1
= (wxImage
*) 0 ;
10313 unsigned char result
;
10314 PyObject
* obj0
= 0 ;
10315 char *kwnames
[] = {
10316 (char *) "self", NULL
10319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10324 result
= (unsigned char)(arg1
)->GetMaskRed();
10326 wxPyEndAllowThreads(__tstate
);
10327 if (PyErr_Occurred()) SWIG_fail
;
10329 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10336 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10337 PyObject
*resultobj
;
10338 wxImage
*arg1
= (wxImage
*) 0 ;
10339 unsigned char result
;
10340 PyObject
* obj0
= 0 ;
10341 char *kwnames
[] = {
10342 (char *) "self", NULL
10345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10350 result
= (unsigned char)(arg1
)->GetMaskGreen();
10352 wxPyEndAllowThreads(__tstate
);
10353 if (PyErr_Occurred()) SWIG_fail
;
10355 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10362 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10363 PyObject
*resultobj
;
10364 wxImage
*arg1
= (wxImage
*) 0 ;
10365 unsigned char result
;
10366 PyObject
* obj0
= 0 ;
10367 char *kwnames
[] = {
10368 (char *) "self", NULL
10371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10376 result
= (unsigned char)(arg1
)->GetMaskBlue();
10378 wxPyEndAllowThreads(__tstate
);
10379 if (PyErr_Occurred()) SWIG_fail
;
10381 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10388 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10389 PyObject
*resultobj
;
10390 wxImage
*arg1
= (wxImage
*) 0 ;
10391 bool arg2
= (bool) True
;
10392 PyObject
* obj0
= 0 ;
10393 PyObject
* obj1
= 0 ;
10394 char *kwnames
[] = {
10395 (char *) "self",(char *) "mask", NULL
10398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10402 arg2
= (bool) SWIG_AsBool(obj1
);
10403 if (PyErr_Occurred()) SWIG_fail
;
10406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10407 (arg1
)->SetMask(arg2
);
10409 wxPyEndAllowThreads(__tstate
);
10410 if (PyErr_Occurred()) SWIG_fail
;
10412 Py_INCREF(Py_None
); resultobj
= Py_None
;
10419 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10420 PyObject
*resultobj
;
10421 wxImage
*arg1
= (wxImage
*) 0 ;
10423 PyObject
* obj0
= 0 ;
10424 char *kwnames
[] = {
10425 (char *) "self", NULL
10428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10433 result
= (bool)(arg1
)->HasMask();
10435 wxPyEndAllowThreads(__tstate
);
10436 if (PyErr_Occurred()) SWIG_fail
;
10439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10447 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10448 PyObject
*resultobj
;
10449 wxImage
*arg1
= (wxImage
*) 0 ;
10451 wxPoint
*arg3
= 0 ;
10452 bool arg4
= (bool) True
;
10453 wxPoint
*arg5
= (wxPoint
*) NULL
;
10454 SwigValueWrapper
< wxImage
> result
;
10456 PyObject
* obj0
= 0 ;
10457 PyObject
* obj1
= 0 ;
10458 PyObject
* obj2
= 0 ;
10459 PyObject
* obj3
= 0 ;
10460 PyObject
* obj4
= 0 ;
10461 char *kwnames
[] = {
10462 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10468 arg2
= (double) SWIG_AsDouble(obj1
);
10469 if (PyErr_Occurred()) SWIG_fail
;
10472 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10475 arg4
= (bool) SWIG_AsBool(obj3
);
10476 if (PyErr_Occurred()) SWIG_fail
;
10479 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
10480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10484 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10486 wxPyEndAllowThreads(__tstate
);
10487 if (PyErr_Occurred()) SWIG_fail
;
10490 wxImage
* resultptr
;
10491 resultptr
= new wxImage((wxImage
&) result
);
10492 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10500 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10501 PyObject
*resultobj
;
10502 wxImage
*arg1
= (wxImage
*) 0 ;
10503 bool arg2
= (bool) True
;
10504 SwigValueWrapper
< wxImage
> result
;
10505 PyObject
* obj0
= 0 ;
10506 PyObject
* obj1
= 0 ;
10507 char *kwnames
[] = {
10508 (char *) "self",(char *) "clockwise", NULL
10511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10515 arg2
= (bool) SWIG_AsBool(obj1
);
10516 if (PyErr_Occurred()) SWIG_fail
;
10519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10520 result
= (arg1
)->Rotate90(arg2
);
10522 wxPyEndAllowThreads(__tstate
);
10523 if (PyErr_Occurred()) SWIG_fail
;
10526 wxImage
* resultptr
;
10527 resultptr
= new wxImage((wxImage
&) result
);
10528 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10536 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10537 PyObject
*resultobj
;
10538 wxImage
*arg1
= (wxImage
*) 0 ;
10539 bool arg2
= (bool) True
;
10540 SwigValueWrapper
< wxImage
> result
;
10541 PyObject
* obj0
= 0 ;
10542 PyObject
* obj1
= 0 ;
10543 char *kwnames
[] = {
10544 (char *) "self",(char *) "horizontally", NULL
10547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
10548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10551 arg2
= (bool) SWIG_AsBool(obj1
);
10552 if (PyErr_Occurred()) SWIG_fail
;
10555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10556 result
= (arg1
)->Mirror(arg2
);
10558 wxPyEndAllowThreads(__tstate
);
10559 if (PyErr_Occurred()) SWIG_fail
;
10562 wxImage
* resultptr
;
10563 resultptr
= new wxImage((wxImage
&) result
);
10564 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10572 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10573 PyObject
*resultobj
;
10574 wxImage
*arg1
= (wxImage
*) 0 ;
10575 unsigned char arg2
;
10576 unsigned char arg3
;
10577 unsigned char arg4
;
10578 unsigned char arg5
;
10579 unsigned char arg6
;
10580 unsigned char arg7
;
10581 PyObject
* obj0
= 0 ;
10582 PyObject
* obj1
= 0 ;
10583 PyObject
* obj2
= 0 ;
10584 PyObject
* obj3
= 0 ;
10585 PyObject
* obj4
= 0 ;
10586 PyObject
* obj5
= 0 ;
10587 PyObject
* obj6
= 0 ;
10588 char *kwnames
[] = {
10589 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10595 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10596 if (PyErr_Occurred()) SWIG_fail
;
10597 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10598 if (PyErr_Occurred()) SWIG_fail
;
10599 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10600 if (PyErr_Occurred()) SWIG_fail
;
10601 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
10602 if (PyErr_Occurred()) SWIG_fail
;
10603 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
10604 if (PyErr_Occurred()) SWIG_fail
;
10605 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj6
);
10606 if (PyErr_Occurred()) SWIG_fail
;
10608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10609 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10611 wxPyEndAllowThreads(__tstate
);
10612 if (PyErr_Occurred()) SWIG_fail
;
10614 Py_INCREF(Py_None
); resultobj
= Py_None
;
10621 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10622 PyObject
*resultobj
;
10623 wxImage
*arg1
= (wxImage
*) 0 ;
10624 unsigned char arg2
;
10625 unsigned char arg3
;
10626 unsigned char arg4
;
10627 SwigValueWrapper
< wxImage
> result
;
10628 PyObject
* obj0
= 0 ;
10629 PyObject
* obj1
= 0 ;
10630 PyObject
* obj2
= 0 ;
10631 PyObject
* obj3
= 0 ;
10632 char *kwnames
[] = {
10633 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10639 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10640 if (PyErr_Occurred()) SWIG_fail
;
10641 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10642 if (PyErr_Occurred()) SWIG_fail
;
10643 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10644 if (PyErr_Occurred()) SWIG_fail
;
10646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10647 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
10649 wxPyEndAllowThreads(__tstate
);
10650 if (PyErr_Occurred()) SWIG_fail
;
10653 wxImage
* resultptr
;
10654 resultptr
= new wxImage((wxImage
&) result
);
10655 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10663 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10664 PyObject
*resultobj
;
10665 wxImage
*arg1
= (wxImage
*) 0 ;
10666 wxString
*arg2
= 0 ;
10667 wxString
*arg3
= 0 ;
10668 bool temp2
= False
;
10669 bool temp3
= False
;
10670 PyObject
* obj0
= 0 ;
10671 PyObject
* obj1
= 0 ;
10672 PyObject
* obj2
= 0 ;
10673 char *kwnames
[] = {
10674 (char *) "self",(char *) "name",(char *) "value", NULL
10677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10681 arg2
= wxString_in_helper(obj1
);
10682 if (arg2
== NULL
) SWIG_fail
;
10686 arg3
= wxString_in_helper(obj2
);
10687 if (arg3
== NULL
) SWIG_fail
;
10691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10692 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10694 wxPyEndAllowThreads(__tstate
);
10695 if (PyErr_Occurred()) SWIG_fail
;
10697 Py_INCREF(Py_None
); resultobj
= Py_None
;
10720 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10721 PyObject
*resultobj
;
10722 wxImage
*arg1
= (wxImage
*) 0 ;
10723 wxString
*arg2
= 0 ;
10725 bool temp2
= False
;
10726 PyObject
* obj0
= 0 ;
10727 PyObject
* obj1
= 0 ;
10728 PyObject
* obj2
= 0 ;
10729 char *kwnames
[] = {
10730 (char *) "self",(char *) "name",(char *) "value", NULL
10733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10737 arg2
= wxString_in_helper(obj1
);
10738 if (arg2
== NULL
) SWIG_fail
;
10741 arg3
= (int) SWIG_AsInt(obj2
);
10742 if (PyErr_Occurred()) SWIG_fail
;
10744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10745 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
10747 wxPyEndAllowThreads(__tstate
);
10748 if (PyErr_Occurred()) SWIG_fail
;
10750 Py_INCREF(Py_None
); resultobj
= Py_None
;
10765 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10766 PyObject
*resultobj
;
10767 wxImage
*arg1
= (wxImage
*) 0 ;
10768 wxString
*arg2
= 0 ;
10770 bool temp2
= False
;
10771 PyObject
* obj0
= 0 ;
10772 PyObject
* obj1
= 0 ;
10773 char *kwnames
[] = {
10774 (char *) "self",(char *) "name", NULL
10777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10781 arg2
= wxString_in_helper(obj1
);
10782 if (arg2
== NULL
) SWIG_fail
;
10786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10787 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
10789 wxPyEndAllowThreads(__tstate
);
10790 if (PyErr_Occurred()) SWIG_fail
;
10794 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10796 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10813 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10814 PyObject
*resultobj
;
10815 wxImage
*arg1
= (wxImage
*) 0 ;
10816 wxString
*arg2
= 0 ;
10818 bool temp2
= False
;
10819 PyObject
* obj0
= 0 ;
10820 PyObject
* obj1
= 0 ;
10821 char *kwnames
[] = {
10822 (char *) "self",(char *) "name", NULL
10825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
10826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10829 arg2
= wxString_in_helper(obj1
);
10830 if (arg2
== NULL
) SWIG_fail
;
10834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10835 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
10837 wxPyEndAllowThreads(__tstate
);
10838 if (PyErr_Occurred()) SWIG_fail
;
10840 resultobj
= SWIG_FromInt((int)result
);
10855 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10856 PyObject
*resultobj
;
10857 wxImage
*arg1
= (wxImage
*) 0 ;
10858 wxString
*arg2
= 0 ;
10860 bool temp2
= False
;
10861 PyObject
* obj0
= 0 ;
10862 PyObject
* obj1
= 0 ;
10863 char *kwnames
[] = {
10864 (char *) "self",(char *) "name", NULL
10867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10871 arg2
= wxString_in_helper(obj1
);
10872 if (arg2
== NULL
) SWIG_fail
;
10876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10877 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
10879 wxPyEndAllowThreads(__tstate
);
10880 if (PyErr_Occurred()) SWIG_fail
;
10883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10899 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10900 PyObject
*resultobj
;
10901 wxImage
*arg1
= (wxImage
*) 0 ;
10902 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
10903 unsigned long result
;
10904 PyObject
* obj0
= 0 ;
10905 PyObject
* obj1
= 0 ;
10906 char *kwnames
[] = {
10907 (char *) "self",(char *) "stopafter", NULL
10910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
10911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10914 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
10915 if (PyErr_Occurred()) SWIG_fail
;
10918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10919 result
= (unsigned long)(arg1
)->CountColours(arg2
);
10921 wxPyEndAllowThreads(__tstate
);
10922 if (PyErr_Occurred()) SWIG_fail
;
10924 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
10931 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10932 PyObject
*resultobj
;
10933 wxImage
*arg1
= (wxImage
*) 0 ;
10934 wxImageHistogram
*arg2
= 0 ;
10935 unsigned long result
;
10936 PyObject
* obj0
= 0 ;
10937 PyObject
* obj1
= 0 ;
10938 char *kwnames
[] = {
10939 (char *) "self",(char *) "h", NULL
10942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
10943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10945 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
10946 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10948 if (arg2
== NULL
) {
10949 PyErr_SetString(PyExc_TypeError
,"null reference");
10953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10954 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
10956 wxPyEndAllowThreads(__tstate
);
10957 if (PyErr_Occurred()) SWIG_fail
;
10959 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
10966 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10967 PyObject
*resultobj
;
10968 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10969 PyObject
* obj0
= 0 ;
10970 char *kwnames
[] = {
10971 (char *) "handler", NULL
10974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
10975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
10976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10979 wxImage::AddHandler(arg1
);
10981 wxPyEndAllowThreads(__tstate
);
10982 if (PyErr_Occurred()) SWIG_fail
;
10984 Py_INCREF(Py_None
); resultobj
= Py_None
;
10991 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10992 PyObject
*resultobj
;
10993 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10994 PyObject
* obj0
= 0 ;
10995 char *kwnames
[] = {
10996 (char *) "handler", NULL
10999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
11000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11004 wxImage::InsertHandler(arg1
);
11006 wxPyEndAllowThreads(__tstate
);
11007 if (PyErr_Occurred()) SWIG_fail
;
11009 Py_INCREF(Py_None
); resultobj
= Py_None
;
11016 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11017 PyObject
*resultobj
;
11018 wxString
*arg1
= 0 ;
11020 bool temp1
= False
;
11021 PyObject
* obj0
= 0 ;
11022 char *kwnames
[] = {
11023 (char *) "name", NULL
11026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
11028 arg1
= wxString_in_helper(obj0
);
11029 if (arg1
== NULL
) SWIG_fail
;
11033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11034 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
11036 wxPyEndAllowThreads(__tstate
);
11037 if (PyErr_Occurred()) SWIG_fail
;
11040 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11056 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11057 PyObject
*resultobj
;
11059 char *kwnames
[] = {
11063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
11065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11066 result
= wxImage::GetImageExtWildcard();
11068 wxPyEndAllowThreads(__tstate
);
11069 if (PyErr_Occurred()) SWIG_fail
;
11073 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11075 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11084 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11085 PyObject
*resultobj
;
11086 wxImage
*arg1
= (wxImage
*) 0 ;
11088 PyObject
* obj0
= 0 ;
11089 char *kwnames
[] = {
11090 (char *) "self", NULL
11093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
11094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11098 result
= wxImage_ConvertToBitmap(arg1
);
11100 wxPyEndAllowThreads(__tstate
);
11101 if (PyErr_Occurred()) SWIG_fail
;
11104 wxBitmap
* resultptr
;
11105 resultptr
= new wxBitmap((wxBitmap
&) result
);
11106 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11114 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11115 PyObject
*resultobj
;
11116 wxImage
*arg1
= (wxImage
*) 0 ;
11117 unsigned char arg2
;
11118 unsigned char arg3
;
11119 unsigned char arg4
;
11121 PyObject
* obj0
= 0 ;
11122 PyObject
* obj1
= 0 ;
11123 PyObject
* obj2
= 0 ;
11124 PyObject
* obj3
= 0 ;
11125 char *kwnames
[] = {
11126 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11132 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
11133 if (PyErr_Occurred()) SWIG_fail
;
11134 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
11135 if (PyErr_Occurred()) SWIG_fail
;
11136 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
11137 if (PyErr_Occurred()) SWIG_fail
;
11139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11140 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11142 wxPyEndAllowThreads(__tstate
);
11143 if (PyErr_Occurred()) SWIG_fail
;
11146 wxBitmap
* resultptr
;
11147 resultptr
= new wxBitmap((wxBitmap
&) result
);
11148 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11156 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
11158 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11159 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11161 return Py_BuildValue((char *)"");
11163 static PyObject
*_wrap_InitAllImageHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11164 PyObject
*resultobj
;
11165 char *kwnames
[] = {
11169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":InitAllImageHandlers",kwnames
)) goto fail
;
11171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11172 wxInitAllImageHandlers();
11174 wxPyEndAllowThreads(__tstate
);
11175 if (PyErr_Occurred()) SWIG_fail
;
11177 Py_INCREF(Py_None
); resultobj
= Py_None
;
11184 static int _wrap_NullImage_set(PyObject
*) {
11185 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11190 static PyObject
*_wrap_NullImage_get() {
11193 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11198 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
11199 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11204 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11209 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11211 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11218 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
11219 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11224 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11229 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11231 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11238 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
11239 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11244 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11249 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11251 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11258 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
11259 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11264 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11269 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11271 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11278 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
11279 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11284 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11289 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11291 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11298 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11299 PyObject
*resultobj
;
11300 wxBMPHandler
*result
;
11301 char *kwnames
[] = {
11305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11308 result
= (wxBMPHandler
*)new wxBMPHandler();
11310 wxPyEndAllowThreads(__tstate
);
11311 if (PyErr_Occurred()) SWIG_fail
;
11313 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11320 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
11322 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11323 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11325 return Py_BuildValue((char *)"");
11327 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11328 PyObject
*resultobj
;
11329 wxICOHandler
*result
;
11330 char *kwnames
[] = {
11334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11337 result
= (wxICOHandler
*)new wxICOHandler();
11339 wxPyEndAllowThreads(__tstate
);
11340 if (PyErr_Occurred()) SWIG_fail
;
11342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11349 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
11351 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11352 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11354 return Py_BuildValue((char *)"");
11356 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11357 PyObject
*resultobj
;
11358 wxCURHandler
*result
;
11359 char *kwnames
[] = {
11363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11366 result
= (wxCURHandler
*)new wxCURHandler();
11368 wxPyEndAllowThreads(__tstate
);
11369 if (PyErr_Occurred()) SWIG_fail
;
11371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11378 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
11380 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11381 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11383 return Py_BuildValue((char *)"");
11385 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11386 PyObject
*resultobj
;
11387 wxANIHandler
*result
;
11388 char *kwnames
[] = {
11392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11395 result
= (wxANIHandler
*)new wxANIHandler();
11397 wxPyEndAllowThreads(__tstate
);
11398 if (PyErr_Occurred()) SWIG_fail
;
11400 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11407 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
11409 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11410 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11412 return Py_BuildValue((char *)"");
11414 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11415 PyObject
*resultobj
;
11416 wxPNGHandler
*result
;
11417 char *kwnames
[] = {
11421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11424 result
= (wxPNGHandler
*)new wxPNGHandler();
11426 wxPyEndAllowThreads(__tstate
);
11427 if (PyErr_Occurred()) SWIG_fail
;
11429 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11436 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
11438 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11439 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11441 return Py_BuildValue((char *)"");
11443 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11444 PyObject
*resultobj
;
11445 wxGIFHandler
*result
;
11446 char *kwnames
[] = {
11450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11453 result
= (wxGIFHandler
*)new wxGIFHandler();
11455 wxPyEndAllowThreads(__tstate
);
11456 if (PyErr_Occurred()) SWIG_fail
;
11458 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
11465 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
11467 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11468 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11470 return Py_BuildValue((char *)"");
11472 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11473 PyObject
*resultobj
;
11474 wxPCXHandler
*result
;
11475 char *kwnames
[] = {
11479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11482 result
= (wxPCXHandler
*)new wxPCXHandler();
11484 wxPyEndAllowThreads(__tstate
);
11485 if (PyErr_Occurred()) SWIG_fail
;
11487 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
11494 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
11496 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11497 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11499 return Py_BuildValue((char *)"");
11501 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11502 PyObject
*resultobj
;
11503 wxJPEGHandler
*result
;
11504 char *kwnames
[] = {
11508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11511 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11513 wxPyEndAllowThreads(__tstate
);
11514 if (PyErr_Occurred()) SWIG_fail
;
11516 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
11523 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
11525 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11526 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11528 return Py_BuildValue((char *)"");
11530 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11531 PyObject
*resultobj
;
11532 wxPNMHandler
*result
;
11533 char *kwnames
[] = {
11537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11540 result
= (wxPNMHandler
*)new wxPNMHandler();
11542 wxPyEndAllowThreads(__tstate
);
11543 if (PyErr_Occurred()) SWIG_fail
;
11545 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
11552 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
11554 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11555 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11557 return Py_BuildValue((char *)"");
11559 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11560 PyObject
*resultobj
;
11561 wxXPMHandler
*result
;
11562 char *kwnames
[] = {
11566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11569 result
= (wxXPMHandler
*)new wxXPMHandler();
11571 wxPyEndAllowThreads(__tstate
);
11572 if (PyErr_Occurred()) SWIG_fail
;
11574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
11581 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
11583 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11584 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
11586 return Py_BuildValue((char *)"");
11588 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11589 PyObject
*resultobj
;
11590 wxTIFFHandler
*result
;
11591 char *kwnames
[] = {
11595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
11597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11598 result
= (wxTIFFHandler
*)new wxTIFFHandler();
11600 wxPyEndAllowThreads(__tstate
);
11601 if (PyErr_Occurred()) SWIG_fail
;
11603 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
11610 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
11612 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11613 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
11615 return Py_BuildValue((char *)"");
11617 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11618 PyObject
*resultobj
;
11619 wxEvtHandler
*result
;
11620 char *kwnames
[] = {
11624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
11626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11627 result
= (wxEvtHandler
*)new wxEvtHandler();
11629 wxPyEndAllowThreads(__tstate
);
11630 if (PyErr_Occurred()) SWIG_fail
;
11633 resultobj
= wxPyMake_wxObject(result
);
11641 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11642 PyObject
*resultobj
;
11643 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11644 wxEvtHandler
*result
;
11645 PyObject
* obj0
= 0 ;
11646 char *kwnames
[] = {
11647 (char *) "self", NULL
11650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
11651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11655 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
11657 wxPyEndAllowThreads(__tstate
);
11658 if (PyErr_Occurred()) SWIG_fail
;
11661 resultobj
= wxPyMake_wxObject(result
);
11669 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11670 PyObject
*resultobj
;
11671 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11672 wxEvtHandler
*result
;
11673 PyObject
* obj0
= 0 ;
11674 char *kwnames
[] = {
11675 (char *) "self", NULL
11678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
11679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11683 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
11685 wxPyEndAllowThreads(__tstate
);
11686 if (PyErr_Occurred()) SWIG_fail
;
11689 resultobj
= wxPyMake_wxObject(result
);
11697 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11698 PyObject
*resultobj
;
11699 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11700 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11701 PyObject
* obj0
= 0 ;
11702 PyObject
* obj1
= 0 ;
11703 char *kwnames
[] = {
11704 (char *) "self",(char *) "handler", NULL
11707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11710 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11714 (arg1
)->SetNextHandler(arg2
);
11716 wxPyEndAllowThreads(__tstate
);
11717 if (PyErr_Occurred()) SWIG_fail
;
11719 Py_INCREF(Py_None
); resultobj
= Py_None
;
11726 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11727 PyObject
*resultobj
;
11728 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11729 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11730 PyObject
* obj0
= 0 ;
11731 PyObject
* obj1
= 0 ;
11732 char *kwnames
[] = {
11733 (char *) "self",(char *) "handler", NULL
11736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11739 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11743 (arg1
)->SetPreviousHandler(arg2
);
11745 wxPyEndAllowThreads(__tstate
);
11746 if (PyErr_Occurred()) SWIG_fail
;
11748 Py_INCREF(Py_None
); resultobj
= Py_None
;
11755 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11756 PyObject
*resultobj
;
11757 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11759 PyObject
* obj0
= 0 ;
11760 char *kwnames
[] = {
11761 (char *) "self", NULL
11764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
11765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11769 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
11771 wxPyEndAllowThreads(__tstate
);
11772 if (PyErr_Occurred()) SWIG_fail
;
11775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11783 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11784 PyObject
*resultobj
;
11785 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11787 PyObject
* obj0
= 0 ;
11788 PyObject
* obj1
= 0 ;
11789 char *kwnames
[] = {
11790 (char *) "self",(char *) "enabled", NULL
11793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
11794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11796 arg2
= (bool) SWIG_AsBool(obj1
);
11797 if (PyErr_Occurred()) SWIG_fail
;
11799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11800 (arg1
)->SetEvtHandlerEnabled(arg2
);
11802 wxPyEndAllowThreads(__tstate
);
11803 if (PyErr_Occurred()) SWIG_fail
;
11805 Py_INCREF(Py_None
); resultobj
= Py_None
;
11812 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11813 PyObject
*resultobj
;
11814 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11815 wxEvent
*arg2
= 0 ;
11817 PyObject
* obj0
= 0 ;
11818 PyObject
* obj1
= 0 ;
11819 char *kwnames
[] = {
11820 (char *) "self",(char *) "event", NULL
11823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11826 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
11827 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11829 if (arg2
== NULL
) {
11830 PyErr_SetString(PyExc_TypeError
,"null reference");
11834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11835 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
11837 wxPyEndAllowThreads(__tstate
);
11838 if (PyErr_Occurred()) SWIG_fail
;
11841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11849 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11850 PyObject
*resultobj
;
11851 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11852 wxEvent
*arg2
= 0 ;
11853 PyObject
* obj0
= 0 ;
11854 PyObject
* obj1
= 0 ;
11855 char *kwnames
[] = {
11856 (char *) "self",(char *) "event", NULL
11859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11862 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
11863 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11865 if (arg2
== NULL
) {
11866 PyErr_SetString(PyExc_TypeError
,"null reference");
11870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11871 (arg1
)->AddPendingEvent(*arg2
);
11873 wxPyEndAllowThreads(__tstate
);
11874 if (PyErr_Occurred()) SWIG_fail
;
11876 Py_INCREF(Py_None
); resultobj
= Py_None
;
11883 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11884 PyObject
*resultobj
;
11885 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11886 PyObject
* obj0
= 0 ;
11887 char *kwnames
[] = {
11888 (char *) "self", NULL
11891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
11892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11896 (arg1
)->ProcessPendingEvents();
11898 wxPyEndAllowThreads(__tstate
);
11899 if (PyErr_Occurred()) SWIG_fail
;
11901 Py_INCREF(Py_None
); resultobj
= Py_None
;
11908 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11909 PyObject
*resultobj
;
11910 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11914 PyObject
*arg5
= (PyObject
*) 0 ;
11915 PyObject
* obj0
= 0 ;
11916 PyObject
* obj1
= 0 ;
11917 PyObject
* obj2
= 0 ;
11918 PyObject
* obj3
= 0 ;
11919 PyObject
* obj4
= 0 ;
11920 char *kwnames
[] = {
11921 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
11924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11927 arg2
= (int) SWIG_AsInt(obj1
);
11928 if (PyErr_Occurred()) SWIG_fail
;
11929 arg3
= (int) SWIG_AsInt(obj2
);
11930 if (PyErr_Occurred()) SWIG_fail
;
11931 arg4
= (int) SWIG_AsInt(obj3
);
11932 if (PyErr_Occurred()) SWIG_fail
;
11935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11936 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
11938 wxPyEndAllowThreads(__tstate
);
11939 if (PyErr_Occurred()) SWIG_fail
;
11941 Py_INCREF(Py_None
); resultobj
= Py_None
;
11948 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11949 PyObject
*resultobj
;
11950 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11952 int arg3
= (int) -1 ;
11953 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
11955 PyObject
* obj0
= 0 ;
11956 PyObject
* obj1
= 0 ;
11957 PyObject
* obj2
= 0 ;
11958 PyObject
* obj3
= 0 ;
11959 char *kwnames
[] = {
11960 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
11963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11966 arg2
= (int) SWIG_AsInt(obj1
);
11967 if (PyErr_Occurred()) SWIG_fail
;
11969 arg3
= (int) SWIG_AsInt(obj2
);
11970 if (PyErr_Occurred()) SWIG_fail
;
11973 arg4
= (wxEventType
) SWIG_AsInt(obj3
);
11974 if (PyErr_Occurred()) SWIG_fail
;
11977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11978 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
11980 wxPyEndAllowThreads(__tstate
);
11981 if (PyErr_Occurred()) SWIG_fail
;
11984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11992 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11993 PyObject
*resultobj
;
11994 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11995 PyObject
*arg2
= (PyObject
*) 0 ;
11996 PyObject
* obj0
= 0 ;
11997 PyObject
* obj1
= 0 ;
11998 char *kwnames
[] = {
11999 (char *) "self",(char *) "_self", NULL
12002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
12003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12008 wxEvtHandler__setOORInfo(arg1
,arg2
);
12010 wxPyEndAllowThreads(__tstate
);
12011 if (PyErr_Occurred()) SWIG_fail
;
12013 Py_INCREF(Py_None
); resultobj
= Py_None
;
12020 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
12022 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12023 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12025 return Py_BuildValue((char *)"");
12027 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12028 PyObject
*resultobj
;
12029 wxEventType result
;
12030 char *kwnames
[] = {
12034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12037 result
= (wxEventType
)wxNewEventType();
12039 wxPyEndAllowThreads(__tstate
);
12040 if (PyErr_Occurred()) SWIG_fail
;
12042 resultobj
= SWIG_FromInt((int)result
);
12049 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12050 PyObject
*resultobj
;
12051 wxEvent
*arg1
= (wxEvent
*) 0 ;
12052 PyObject
* obj0
= 0 ;
12053 char *kwnames
[] = {
12054 (char *) "self", NULL
12057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12064 wxPyEndAllowThreads(__tstate
);
12065 if (PyErr_Occurred()) SWIG_fail
;
12067 Py_INCREF(Py_None
); resultobj
= Py_None
;
12074 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12075 PyObject
*resultobj
;
12076 wxEvent
*arg1
= (wxEvent
*) 0 ;
12078 PyObject
* obj0
= 0 ;
12079 PyObject
* obj1
= 0 ;
12080 char *kwnames
[] = {
12081 (char *) "self",(char *) "typ", NULL
12084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12087 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
12088 if (PyErr_Occurred()) SWIG_fail
;
12090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12091 (arg1
)->SetEventType(arg2
);
12093 wxPyEndAllowThreads(__tstate
);
12094 if (PyErr_Occurred()) SWIG_fail
;
12096 Py_INCREF(Py_None
); resultobj
= Py_None
;
12103 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12104 PyObject
*resultobj
;
12105 wxEvent
*arg1
= (wxEvent
*) 0 ;
12106 wxEventType result
;
12107 PyObject
* obj0
= 0 ;
12108 char *kwnames
[] = {
12109 (char *) "self", NULL
12112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12117 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12119 wxPyEndAllowThreads(__tstate
);
12120 if (PyErr_Occurred()) SWIG_fail
;
12122 resultobj
= SWIG_FromInt((int)result
);
12129 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12130 PyObject
*resultobj
;
12131 wxEvent
*arg1
= (wxEvent
*) 0 ;
12133 PyObject
* obj0
= 0 ;
12134 char *kwnames
[] = {
12135 (char *) "self", NULL
12138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12143 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12145 wxPyEndAllowThreads(__tstate
);
12146 if (PyErr_Occurred()) SWIG_fail
;
12149 resultobj
= wxPyMake_wxObject(result
);
12157 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12158 PyObject
*resultobj
;
12159 wxEvent
*arg1
= (wxEvent
*) 0 ;
12160 wxObject
*arg2
= (wxObject
*) 0 ;
12161 PyObject
* obj0
= 0 ;
12162 PyObject
* obj1
= 0 ;
12163 char *kwnames
[] = {
12164 (char *) "self",(char *) "obj", NULL
12167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12170 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12174 (arg1
)->SetEventObject(arg2
);
12176 wxPyEndAllowThreads(__tstate
);
12177 if (PyErr_Occurred()) SWIG_fail
;
12179 Py_INCREF(Py_None
); resultobj
= Py_None
;
12186 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12187 PyObject
*resultobj
;
12188 wxEvent
*arg1
= (wxEvent
*) 0 ;
12190 PyObject
* obj0
= 0 ;
12191 char *kwnames
[] = {
12192 (char *) "self", NULL
12195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12200 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12202 wxPyEndAllowThreads(__tstate
);
12203 if (PyErr_Occurred()) SWIG_fail
;
12205 resultobj
= SWIG_FromLong((long)result
);
12212 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12213 PyObject
*resultobj
;
12214 wxEvent
*arg1
= (wxEvent
*) 0 ;
12215 long arg2
= (long) 0 ;
12216 PyObject
* obj0
= 0 ;
12217 PyObject
* obj1
= 0 ;
12218 char *kwnames
[] = {
12219 (char *) "self",(char *) "ts", NULL
12222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12226 arg2
= (long) SWIG_AsLong(obj1
);
12227 if (PyErr_Occurred()) SWIG_fail
;
12230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12231 (arg1
)->SetTimestamp(arg2
);
12233 wxPyEndAllowThreads(__tstate
);
12234 if (PyErr_Occurred()) SWIG_fail
;
12236 Py_INCREF(Py_None
); resultobj
= Py_None
;
12243 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12244 PyObject
*resultobj
;
12245 wxEvent
*arg1
= (wxEvent
*) 0 ;
12247 PyObject
* obj0
= 0 ;
12248 char *kwnames
[] = {
12249 (char *) "self", NULL
12252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12257 result
= (int)((wxEvent
const *)arg1
)->GetId();
12259 wxPyEndAllowThreads(__tstate
);
12260 if (PyErr_Occurred()) SWIG_fail
;
12262 resultobj
= SWIG_FromInt((int)result
);
12269 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12270 PyObject
*resultobj
;
12271 wxEvent
*arg1
= (wxEvent
*) 0 ;
12273 PyObject
* obj0
= 0 ;
12274 PyObject
* obj1
= 0 ;
12275 char *kwnames
[] = {
12276 (char *) "self",(char *) "Id", NULL
12279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12282 arg2
= (int) SWIG_AsInt(obj1
);
12283 if (PyErr_Occurred()) SWIG_fail
;
12285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12286 (arg1
)->SetId(arg2
);
12288 wxPyEndAllowThreads(__tstate
);
12289 if (PyErr_Occurred()) SWIG_fail
;
12291 Py_INCREF(Py_None
); resultobj
= Py_None
;
12298 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12299 PyObject
*resultobj
;
12300 wxEvent
*arg1
= (wxEvent
*) 0 ;
12302 PyObject
* obj0
= 0 ;
12303 char *kwnames
[] = {
12304 (char *) "self", NULL
12307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12312 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12314 wxPyEndAllowThreads(__tstate
);
12315 if (PyErr_Occurred()) SWIG_fail
;
12318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12326 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12327 PyObject
*resultobj
;
12328 wxEvent
*arg1
= (wxEvent
*) 0 ;
12329 bool arg2
= (bool) True
;
12330 PyObject
* obj0
= 0 ;
12331 PyObject
* obj1
= 0 ;
12332 char *kwnames
[] = {
12333 (char *) "self",(char *) "skip", NULL
12336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12340 arg2
= (bool) SWIG_AsBool(obj1
);
12341 if (PyErr_Occurred()) SWIG_fail
;
12344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12345 (arg1
)->Skip(arg2
);
12347 wxPyEndAllowThreads(__tstate
);
12348 if (PyErr_Occurred()) SWIG_fail
;
12350 Py_INCREF(Py_None
); resultobj
= Py_None
;
12357 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12358 PyObject
*resultobj
;
12359 wxEvent
*arg1
= (wxEvent
*) 0 ;
12361 PyObject
* obj0
= 0 ;
12362 char *kwnames
[] = {
12363 (char *) "self", NULL
12366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12371 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12373 wxPyEndAllowThreads(__tstate
);
12374 if (PyErr_Occurred()) SWIG_fail
;
12377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12385 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12386 PyObject
*resultobj
;
12387 wxEvent
*arg1
= (wxEvent
*) 0 ;
12389 PyObject
* obj0
= 0 ;
12390 char *kwnames
[] = {
12391 (char *) "self", NULL
12394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12399 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12401 wxPyEndAllowThreads(__tstate
);
12402 if (PyErr_Occurred()) SWIG_fail
;
12405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12413 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12414 PyObject
*resultobj
;
12415 wxEvent
*arg1
= (wxEvent
*) 0 ;
12417 PyObject
* obj0
= 0 ;
12418 char *kwnames
[] = {
12419 (char *) "self", NULL
12422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12427 result
= (int)(arg1
)->StopPropagation();
12429 wxPyEndAllowThreads(__tstate
);
12430 if (PyErr_Occurred()) SWIG_fail
;
12432 resultobj
= SWIG_FromInt((int)result
);
12439 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12440 PyObject
*resultobj
;
12441 wxEvent
*arg1
= (wxEvent
*) 0 ;
12443 PyObject
* obj0
= 0 ;
12444 PyObject
* obj1
= 0 ;
12445 char *kwnames
[] = {
12446 (char *) "self",(char *) "propagationLevel", NULL
12449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12452 arg2
= (int) SWIG_AsInt(obj1
);
12453 if (PyErr_Occurred()) SWIG_fail
;
12455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12456 (arg1
)->ResumePropagation(arg2
);
12458 wxPyEndAllowThreads(__tstate
);
12459 if (PyErr_Occurred()) SWIG_fail
;
12461 Py_INCREF(Py_None
); resultobj
= Py_None
;
12468 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12469 PyObject
*resultobj
;
12470 wxEvent
*arg1
= (wxEvent
*) 0 ;
12472 PyObject
* obj0
= 0 ;
12473 char *kwnames
[] = {
12474 (char *) "self", NULL
12477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12482 result
= (wxEvent
*)(arg1
)->Clone();
12484 wxPyEndAllowThreads(__tstate
);
12485 if (PyErr_Occurred()) SWIG_fail
;
12487 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12494 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
12496 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12497 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12499 return Py_BuildValue((char *)"");
12501 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12502 PyObject
*resultobj
;
12503 wxEvent
*arg1
= 0 ;
12504 wxPropagationDisabler
*result
;
12505 PyObject
* obj0
= 0 ;
12506 char *kwnames
[] = {
12507 (char *) "event", NULL
12510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12512 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12514 if (arg1
== NULL
) {
12515 PyErr_SetString(PyExc_TypeError
,"null reference");
12519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12520 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
12522 wxPyEndAllowThreads(__tstate
);
12523 if (PyErr_Occurred()) SWIG_fail
;
12525 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
12532 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12533 PyObject
*resultobj
;
12534 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
12535 PyObject
* obj0
= 0 ;
12536 char *kwnames
[] = {
12537 (char *) "self", NULL
12540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
12542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12547 wxPyEndAllowThreads(__tstate
);
12548 if (PyErr_Occurred()) SWIG_fail
;
12550 Py_INCREF(Py_None
); resultobj
= Py_None
;
12557 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
12559 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12560 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
12562 return Py_BuildValue((char *)"");
12564 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12565 PyObject
*resultobj
;
12566 wxEvent
*arg1
= 0 ;
12567 wxPropagateOnce
*result
;
12568 PyObject
* obj0
= 0 ;
12569 char *kwnames
[] = {
12570 (char *) "event", NULL
12573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12575 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12577 if (arg1
== NULL
) {
12578 PyErr_SetString(PyExc_TypeError
,"null reference");
12582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12583 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
12585 wxPyEndAllowThreads(__tstate
);
12586 if (PyErr_Occurred()) SWIG_fail
;
12588 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
12595 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12596 PyObject
*resultobj
;
12597 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
12598 PyObject
* obj0
= 0 ;
12599 char *kwnames
[] = {
12600 (char *) "self", NULL
12603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
12605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12610 wxPyEndAllowThreads(__tstate
);
12611 if (PyErr_Occurred()) SWIG_fail
;
12613 Py_INCREF(Py_None
); resultobj
= Py_None
;
12620 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
12622 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12623 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
12625 return Py_BuildValue((char *)"");
12627 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12628 PyObject
*resultobj
;
12629 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12630 int arg2
= (int) 0 ;
12631 wxCommandEvent
*result
;
12632 PyObject
* obj0
= 0 ;
12633 PyObject
* obj1
= 0 ;
12634 char *kwnames
[] = {
12635 (char *) "commandType",(char *) "winid", NULL
12638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12640 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
12641 if (PyErr_Occurred()) SWIG_fail
;
12644 arg2
= (int) SWIG_AsInt(obj1
);
12645 if (PyErr_Occurred()) SWIG_fail
;
12648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12649 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
12651 wxPyEndAllowThreads(__tstate
);
12652 if (PyErr_Occurred()) SWIG_fail
;
12654 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
12661 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12662 PyObject
*resultobj
;
12663 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12665 PyObject
* obj0
= 0 ;
12666 char *kwnames
[] = {
12667 (char *) "self", NULL
12670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
12671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12675 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
12677 wxPyEndAllowThreads(__tstate
);
12678 if (PyErr_Occurred()) SWIG_fail
;
12680 resultobj
= SWIG_FromInt((int)result
);
12687 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12688 PyObject
*resultobj
;
12689 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12690 wxString
*arg2
= 0 ;
12691 bool temp2
= False
;
12692 PyObject
* obj0
= 0 ;
12693 PyObject
* obj1
= 0 ;
12694 char *kwnames
[] = {
12695 (char *) "self",(char *) "s", NULL
12698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12702 arg2
= wxString_in_helper(obj1
);
12703 if (arg2
== NULL
) SWIG_fail
;
12707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12708 (arg1
)->SetString((wxString
const &)*arg2
);
12710 wxPyEndAllowThreads(__tstate
);
12711 if (PyErr_Occurred()) SWIG_fail
;
12713 Py_INCREF(Py_None
); resultobj
= Py_None
;
12728 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12729 PyObject
*resultobj
;
12730 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12732 PyObject
* obj0
= 0 ;
12733 char *kwnames
[] = {
12734 (char *) "self", NULL
12737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
12738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12742 result
= ((wxCommandEvent
const *)arg1
)->GetString();
12744 wxPyEndAllowThreads(__tstate
);
12745 if (PyErr_Occurred()) SWIG_fail
;
12749 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12751 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12760 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12761 PyObject
*resultobj
;
12762 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12764 PyObject
* obj0
= 0 ;
12765 char *kwnames
[] = {
12766 (char *) "self", NULL
12769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
12770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12774 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
12776 wxPyEndAllowThreads(__tstate
);
12777 if (PyErr_Occurred()) SWIG_fail
;
12780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12788 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12789 PyObject
*resultobj
;
12790 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12792 PyObject
* obj0
= 0 ;
12793 char *kwnames
[] = {
12794 (char *) "self", NULL
12797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
12798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12802 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
12804 wxPyEndAllowThreads(__tstate
);
12805 if (PyErr_Occurred()) SWIG_fail
;
12808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12816 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12817 PyObject
*resultobj
;
12818 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12820 PyObject
* obj0
= 0 ;
12821 PyObject
* obj1
= 0 ;
12822 char *kwnames
[] = {
12823 (char *) "self",(char *) "extraLong", NULL
12826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
12827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12829 arg2
= (long) SWIG_AsLong(obj1
);
12830 if (PyErr_Occurred()) SWIG_fail
;
12832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12833 (arg1
)->SetExtraLong(arg2
);
12835 wxPyEndAllowThreads(__tstate
);
12836 if (PyErr_Occurred()) SWIG_fail
;
12838 Py_INCREF(Py_None
); resultobj
= Py_None
;
12845 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12846 PyObject
*resultobj
;
12847 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12849 PyObject
* obj0
= 0 ;
12850 char *kwnames
[] = {
12851 (char *) "self", NULL
12854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
12855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12859 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
12861 wxPyEndAllowThreads(__tstate
);
12862 if (PyErr_Occurred()) SWIG_fail
;
12864 resultobj
= SWIG_FromLong((long)result
);
12871 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12872 PyObject
*resultobj
;
12873 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12875 PyObject
* obj0
= 0 ;
12876 PyObject
* obj1
= 0 ;
12877 char *kwnames
[] = {
12878 (char *) "self",(char *) "i", NULL
12881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
12882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12884 arg2
= (int) SWIG_AsInt(obj1
);
12885 if (PyErr_Occurred()) SWIG_fail
;
12887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12888 (arg1
)->SetInt(arg2
);
12890 wxPyEndAllowThreads(__tstate
);
12891 if (PyErr_Occurred()) SWIG_fail
;
12893 Py_INCREF(Py_None
); resultobj
= Py_None
;
12900 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12901 PyObject
*resultobj
;
12902 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12904 PyObject
* obj0
= 0 ;
12905 char *kwnames
[] = {
12906 (char *) "self", NULL
12909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
12910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12914 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
12916 wxPyEndAllowThreads(__tstate
);
12917 if (PyErr_Occurred()) SWIG_fail
;
12919 resultobj
= SWIG_FromLong((long)result
);
12926 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12927 PyObject
*resultobj
;
12928 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12930 PyObject
* obj0
= 0 ;
12931 char *kwnames
[] = {
12932 (char *) "self", NULL
12935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
12936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12940 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
12942 wxPyEndAllowThreads(__tstate
);
12943 if (PyErr_Occurred()) SWIG_fail
;
12945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12952 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
12954 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12955 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
12957 return Py_BuildValue((char *)"");
12959 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12960 PyObject
*resultobj
;
12961 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12962 int arg2
= (int) 0 ;
12963 wxNotifyEvent
*result
;
12964 PyObject
* obj0
= 0 ;
12965 PyObject
* obj1
= 0 ;
12966 char *kwnames
[] = {
12967 (char *) "commandType",(char *) "winid", NULL
12970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12972 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
12973 if (PyErr_Occurred()) SWIG_fail
;
12976 arg2
= (int) SWIG_AsInt(obj1
);
12977 if (PyErr_Occurred()) SWIG_fail
;
12980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12981 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
12983 wxPyEndAllowThreads(__tstate
);
12984 if (PyErr_Occurred()) SWIG_fail
;
12986 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
12993 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12994 PyObject
*resultobj
;
12995 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
12996 PyObject
* obj0
= 0 ;
12997 char *kwnames
[] = {
12998 (char *) "self", NULL
13001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13008 wxPyEndAllowThreads(__tstate
);
13009 if (PyErr_Occurred()) SWIG_fail
;
13011 Py_INCREF(Py_None
); resultobj
= Py_None
;
13018 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13019 PyObject
*resultobj
;
13020 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13021 PyObject
* obj0
= 0 ;
13022 char *kwnames
[] = {
13023 (char *) "self", NULL
13026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13033 wxPyEndAllowThreads(__tstate
);
13034 if (PyErr_Occurred()) SWIG_fail
;
13036 Py_INCREF(Py_None
); resultobj
= Py_None
;
13043 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13044 PyObject
*resultobj
;
13045 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13047 PyObject
* obj0
= 0 ;
13048 char *kwnames
[] = {
13049 (char *) "self", NULL
13052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13057 result
= (bool)(arg1
)->IsAllowed();
13059 wxPyEndAllowThreads(__tstate
);
13060 if (PyErr_Occurred()) SWIG_fail
;
13063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13071 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
13073 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13074 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13076 return Py_BuildValue((char *)"");
13078 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13079 PyObject
*resultobj
;
13080 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13081 int arg2
= (int) 0 ;
13082 int arg3
= (int) 0 ;
13083 int arg4
= (int) 0 ;
13084 wxScrollEvent
*result
;
13085 PyObject
* obj0
= 0 ;
13086 PyObject
* obj1
= 0 ;
13087 PyObject
* obj2
= 0 ;
13088 PyObject
* obj3
= 0 ;
13089 char *kwnames
[] = {
13090 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13095 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13096 if (PyErr_Occurred()) SWIG_fail
;
13099 arg2
= (int) SWIG_AsInt(obj1
);
13100 if (PyErr_Occurred()) SWIG_fail
;
13103 arg3
= (int) SWIG_AsInt(obj2
);
13104 if (PyErr_Occurred()) SWIG_fail
;
13107 arg4
= (int) SWIG_AsInt(obj3
);
13108 if (PyErr_Occurred()) SWIG_fail
;
13111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13112 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13114 wxPyEndAllowThreads(__tstate
);
13115 if (PyErr_Occurred()) SWIG_fail
;
13117 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13124 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13125 PyObject
*resultobj
;
13126 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13128 PyObject
* obj0
= 0 ;
13129 char *kwnames
[] = {
13130 (char *) "self", NULL
13133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13138 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13140 wxPyEndAllowThreads(__tstate
);
13141 if (PyErr_Occurred()) SWIG_fail
;
13143 resultobj
= SWIG_FromInt((int)result
);
13150 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13151 PyObject
*resultobj
;
13152 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13154 PyObject
* obj0
= 0 ;
13155 char *kwnames
[] = {
13156 (char *) "self", NULL
13159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13164 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13166 wxPyEndAllowThreads(__tstate
);
13167 if (PyErr_Occurred()) SWIG_fail
;
13169 resultobj
= SWIG_FromInt((int)result
);
13176 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13177 PyObject
*resultobj
;
13178 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13180 PyObject
* obj0
= 0 ;
13181 PyObject
* obj1
= 0 ;
13182 char *kwnames
[] = {
13183 (char *) "self",(char *) "orient", NULL
13186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13189 arg2
= (int) SWIG_AsInt(obj1
);
13190 if (PyErr_Occurred()) SWIG_fail
;
13192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13193 (arg1
)->SetOrientation(arg2
);
13195 wxPyEndAllowThreads(__tstate
);
13196 if (PyErr_Occurred()) SWIG_fail
;
13198 Py_INCREF(Py_None
); resultobj
= Py_None
;
13205 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13206 PyObject
*resultobj
;
13207 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13209 PyObject
* obj0
= 0 ;
13210 PyObject
* obj1
= 0 ;
13211 char *kwnames
[] = {
13212 (char *) "self",(char *) "pos", NULL
13215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13218 arg2
= (int) SWIG_AsInt(obj1
);
13219 if (PyErr_Occurred()) SWIG_fail
;
13221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13222 (arg1
)->SetPosition(arg2
);
13224 wxPyEndAllowThreads(__tstate
);
13225 if (PyErr_Occurred()) SWIG_fail
;
13227 Py_INCREF(Py_None
); resultobj
= Py_None
;
13234 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
13236 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13237 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13239 return Py_BuildValue((char *)"");
13241 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13242 PyObject
*resultobj
;
13243 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13244 int arg2
= (int) 0 ;
13245 int arg3
= (int) 0 ;
13246 wxScrollWinEvent
*result
;
13247 PyObject
* obj0
= 0 ;
13248 PyObject
* obj1
= 0 ;
13249 PyObject
* obj2
= 0 ;
13250 char *kwnames
[] = {
13251 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13256 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13257 if (PyErr_Occurred()) SWIG_fail
;
13260 arg2
= (int) SWIG_AsInt(obj1
);
13261 if (PyErr_Occurred()) SWIG_fail
;
13264 arg3
= (int) SWIG_AsInt(obj2
);
13265 if (PyErr_Occurred()) SWIG_fail
;
13268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13269 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13271 wxPyEndAllowThreads(__tstate
);
13272 if (PyErr_Occurred()) SWIG_fail
;
13274 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13281 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13282 PyObject
*resultobj
;
13283 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13285 PyObject
* obj0
= 0 ;
13286 char *kwnames
[] = {
13287 (char *) "self", NULL
13290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13295 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13297 wxPyEndAllowThreads(__tstate
);
13298 if (PyErr_Occurred()) SWIG_fail
;
13300 resultobj
= SWIG_FromInt((int)result
);
13307 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13308 PyObject
*resultobj
;
13309 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13311 PyObject
* obj0
= 0 ;
13312 char *kwnames
[] = {
13313 (char *) "self", NULL
13316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13321 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13323 wxPyEndAllowThreads(__tstate
);
13324 if (PyErr_Occurred()) SWIG_fail
;
13326 resultobj
= SWIG_FromInt((int)result
);
13333 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13334 PyObject
*resultobj
;
13335 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13337 PyObject
* obj0
= 0 ;
13338 PyObject
* obj1
= 0 ;
13339 char *kwnames
[] = {
13340 (char *) "self",(char *) "orient", NULL
13343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13346 arg2
= (int) SWIG_AsInt(obj1
);
13347 if (PyErr_Occurred()) SWIG_fail
;
13349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13350 (arg1
)->SetOrientation(arg2
);
13352 wxPyEndAllowThreads(__tstate
);
13353 if (PyErr_Occurred()) SWIG_fail
;
13355 Py_INCREF(Py_None
); resultobj
= Py_None
;
13362 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13363 PyObject
*resultobj
;
13364 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13366 PyObject
* obj0
= 0 ;
13367 PyObject
* obj1
= 0 ;
13368 char *kwnames
[] = {
13369 (char *) "self",(char *) "pos", NULL
13372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13375 arg2
= (int) SWIG_AsInt(obj1
);
13376 if (PyErr_Occurred()) SWIG_fail
;
13378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13379 (arg1
)->SetPosition(arg2
);
13381 wxPyEndAllowThreads(__tstate
);
13382 if (PyErr_Occurred()) SWIG_fail
;
13384 Py_INCREF(Py_None
); resultobj
= Py_None
;
13391 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
13393 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13394 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13396 return Py_BuildValue((char *)"");
13398 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13399 PyObject
*resultobj
;
13400 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13401 wxMouseEvent
*result
;
13402 PyObject
* obj0
= 0 ;
13403 char *kwnames
[] = {
13404 (char *) "mouseType", NULL
13407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13409 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13410 if (PyErr_Occurred()) SWIG_fail
;
13413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13414 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13416 wxPyEndAllowThreads(__tstate
);
13417 if (PyErr_Occurred()) SWIG_fail
;
13420 resultobj
= wxPyMake_wxObject(result
);
13428 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13429 PyObject
*resultobj
;
13430 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13432 PyObject
* obj0
= 0 ;
13433 char *kwnames
[] = {
13434 (char *) "self", NULL
13437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13442 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13444 wxPyEndAllowThreads(__tstate
);
13445 if (PyErr_Occurred()) SWIG_fail
;
13448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13456 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13457 PyObject
*resultobj
;
13458 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13459 int arg2
= (int) wxMOUSE_BTN_ANY
;
13461 PyObject
* obj0
= 0 ;
13462 PyObject
* obj1
= 0 ;
13463 char *kwnames
[] = {
13464 (char *) "self",(char *) "but", NULL
13467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13471 arg2
= (int) SWIG_AsInt(obj1
);
13472 if (PyErr_Occurred()) SWIG_fail
;
13475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13476 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13478 wxPyEndAllowThreads(__tstate
);
13479 if (PyErr_Occurred()) SWIG_fail
;
13482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13490 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13491 PyObject
*resultobj
;
13492 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13493 int arg2
= (int) wxMOUSE_BTN_ANY
;
13495 PyObject
* obj0
= 0 ;
13496 PyObject
* obj1
= 0 ;
13497 char *kwnames
[] = {
13498 (char *) "self",(char *) "but", NULL
13501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13505 arg2
= (int) SWIG_AsInt(obj1
);
13506 if (PyErr_Occurred()) SWIG_fail
;
13509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13510 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13512 wxPyEndAllowThreads(__tstate
);
13513 if (PyErr_Occurred()) SWIG_fail
;
13516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13524 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13525 PyObject
*resultobj
;
13526 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13527 int arg2
= (int) wxMOUSE_BTN_ANY
;
13529 PyObject
* obj0
= 0 ;
13530 PyObject
* obj1
= 0 ;
13531 char *kwnames
[] = {
13532 (char *) "self",(char *) "but", NULL
13535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13539 arg2
= (int) SWIG_AsInt(obj1
);
13540 if (PyErr_Occurred()) SWIG_fail
;
13543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13544 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
13546 wxPyEndAllowThreads(__tstate
);
13547 if (PyErr_Occurred()) SWIG_fail
;
13550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13558 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13559 PyObject
*resultobj
;
13560 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13563 PyObject
* obj0
= 0 ;
13564 PyObject
* obj1
= 0 ;
13565 char *kwnames
[] = {
13566 (char *) "self",(char *) "but", NULL
13569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
13570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13572 arg2
= (int) SWIG_AsInt(obj1
);
13573 if (PyErr_Occurred()) SWIG_fail
;
13575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13576 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
13578 wxPyEndAllowThreads(__tstate
);
13579 if (PyErr_Occurred()) SWIG_fail
;
13582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13590 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13591 PyObject
*resultobj
;
13592 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13595 PyObject
* obj0
= 0 ;
13596 PyObject
* obj1
= 0 ;
13597 char *kwnames
[] = {
13598 (char *) "self",(char *) "but", NULL
13601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13604 arg2
= (int) SWIG_AsInt(obj1
);
13605 if (PyErr_Occurred()) SWIG_fail
;
13607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13608 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
13610 wxPyEndAllowThreads(__tstate
);
13611 if (PyErr_Occurred()) SWIG_fail
;
13614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13622 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13623 PyObject
*resultobj
;
13624 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13626 PyObject
* obj0
= 0 ;
13627 char *kwnames
[] = {
13628 (char *) "self", NULL
13631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
13632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13636 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
13638 wxPyEndAllowThreads(__tstate
);
13639 if (PyErr_Occurred()) SWIG_fail
;
13641 resultobj
= SWIG_FromInt((int)result
);
13648 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13649 PyObject
*resultobj
;
13650 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13652 PyObject
* obj0
= 0 ;
13653 char *kwnames
[] = {
13654 (char *) "self", NULL
13657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13662 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
13664 wxPyEndAllowThreads(__tstate
);
13665 if (PyErr_Occurred()) SWIG_fail
;
13668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13676 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13677 PyObject
*resultobj
;
13678 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13680 PyObject
* obj0
= 0 ;
13681 char *kwnames
[] = {
13682 (char *) "self", NULL
13685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13690 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
13692 wxPyEndAllowThreads(__tstate
);
13693 if (PyErr_Occurred()) SWIG_fail
;
13696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13704 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13705 PyObject
*resultobj
;
13706 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13708 PyObject
* obj0
= 0 ;
13709 char *kwnames
[] = {
13710 (char *) "self", NULL
13713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13718 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
13720 wxPyEndAllowThreads(__tstate
);
13721 if (PyErr_Occurred()) SWIG_fail
;
13724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13732 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13733 PyObject
*resultobj
;
13734 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13736 PyObject
* obj0
= 0 ;
13737 char *kwnames
[] = {
13738 (char *) "self", NULL
13741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13746 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
13748 wxPyEndAllowThreads(__tstate
);
13749 if (PyErr_Occurred()) SWIG_fail
;
13752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13760 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13761 PyObject
*resultobj
;
13762 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13764 PyObject
* obj0
= 0 ;
13765 char *kwnames
[] = {
13766 (char *) "self", NULL
13769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
13770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13774 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
13776 wxPyEndAllowThreads(__tstate
);
13777 if (PyErr_Occurred()) SWIG_fail
;
13780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13788 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13789 PyObject
*resultobj
;
13790 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13792 PyObject
* obj0
= 0 ;
13793 char *kwnames
[] = {
13794 (char *) "self", NULL
13797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
13798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13802 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
13804 wxPyEndAllowThreads(__tstate
);
13805 if (PyErr_Occurred()) SWIG_fail
;
13808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13816 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13817 PyObject
*resultobj
;
13818 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13820 PyObject
* obj0
= 0 ;
13821 char *kwnames
[] = {
13822 (char *) "self", NULL
13825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
13826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13830 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
13832 wxPyEndAllowThreads(__tstate
);
13833 if (PyErr_Occurred()) SWIG_fail
;
13836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13844 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13845 PyObject
*resultobj
;
13846 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13848 PyObject
* obj0
= 0 ;
13849 char *kwnames
[] = {
13850 (char *) "self", NULL
13853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
13854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13858 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
13860 wxPyEndAllowThreads(__tstate
);
13861 if (PyErr_Occurred()) SWIG_fail
;
13864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13872 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13873 PyObject
*resultobj
;
13874 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13876 PyObject
* obj0
= 0 ;
13877 char *kwnames
[] = {
13878 (char *) "self", NULL
13881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
13882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13886 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
13888 wxPyEndAllowThreads(__tstate
);
13889 if (PyErr_Occurred()) SWIG_fail
;
13892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13900 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13901 PyObject
*resultobj
;
13902 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13904 PyObject
* obj0
= 0 ;
13905 char *kwnames
[] = {
13906 (char *) "self", NULL
13909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
13910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13914 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
13916 wxPyEndAllowThreads(__tstate
);
13917 if (PyErr_Occurred()) SWIG_fail
;
13920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13928 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13929 PyObject
*resultobj
;
13930 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13932 PyObject
* obj0
= 0 ;
13933 char *kwnames
[] = {
13934 (char *) "self", NULL
13937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
13938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13942 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
13944 wxPyEndAllowThreads(__tstate
);
13945 if (PyErr_Occurred()) SWIG_fail
;
13948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13956 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13957 PyObject
*resultobj
;
13958 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13960 PyObject
* obj0
= 0 ;
13961 char *kwnames
[] = {
13962 (char *) "self", NULL
13965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
13966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13970 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
13972 wxPyEndAllowThreads(__tstate
);
13973 if (PyErr_Occurred()) SWIG_fail
;
13976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13984 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13985 PyObject
*resultobj
;
13986 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13988 PyObject
* obj0
= 0 ;
13989 char *kwnames
[] = {
13990 (char *) "self", NULL
13993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
13994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13998 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
14000 wxPyEndAllowThreads(__tstate
);
14001 if (PyErr_Occurred()) SWIG_fail
;
14004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14012 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14013 PyObject
*resultobj
;
14014 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14016 PyObject
* obj0
= 0 ;
14017 char *kwnames
[] = {
14018 (char *) "self", NULL
14021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14026 result
= (bool)(arg1
)->LeftIsDown();
14028 wxPyEndAllowThreads(__tstate
);
14029 if (PyErr_Occurred()) SWIG_fail
;
14032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14040 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14041 PyObject
*resultobj
;
14042 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14044 PyObject
* obj0
= 0 ;
14045 char *kwnames
[] = {
14046 (char *) "self", NULL
14049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14054 result
= (bool)(arg1
)->MiddleIsDown();
14056 wxPyEndAllowThreads(__tstate
);
14057 if (PyErr_Occurred()) SWIG_fail
;
14060 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14068 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14069 PyObject
*resultobj
;
14070 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14072 PyObject
* obj0
= 0 ;
14073 char *kwnames
[] = {
14074 (char *) "self", NULL
14077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14082 result
= (bool)(arg1
)->RightIsDown();
14084 wxPyEndAllowThreads(__tstate
);
14085 if (PyErr_Occurred()) SWIG_fail
;
14088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14096 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14097 PyObject
*resultobj
;
14098 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14100 PyObject
* obj0
= 0 ;
14101 char *kwnames
[] = {
14102 (char *) "self", NULL
14105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14110 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14112 wxPyEndAllowThreads(__tstate
);
14113 if (PyErr_Occurred()) SWIG_fail
;
14116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14124 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14125 PyObject
*resultobj
;
14126 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14128 PyObject
* obj0
= 0 ;
14129 char *kwnames
[] = {
14130 (char *) "self", NULL
14133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14138 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14140 wxPyEndAllowThreads(__tstate
);
14141 if (PyErr_Occurred()) SWIG_fail
;
14144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14152 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14153 PyObject
*resultobj
;
14154 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14156 PyObject
* obj0
= 0 ;
14157 char *kwnames
[] = {
14158 (char *) "self", NULL
14161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14166 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14168 wxPyEndAllowThreads(__tstate
);
14169 if (PyErr_Occurred()) SWIG_fail
;
14172 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14180 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14181 PyObject
*resultobj
;
14182 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14184 PyObject
* obj0
= 0 ;
14185 char *kwnames
[] = {
14186 (char *) "self", NULL
14189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14194 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14196 wxPyEndAllowThreads(__tstate
);
14197 if (PyErr_Occurred()) SWIG_fail
;
14200 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14208 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14209 PyObject
*resultobj
;
14210 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14212 PyObject
* obj0
= 0 ;
14213 char *kwnames
[] = {
14214 (char *) "self", NULL
14217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14222 result
= (arg1
)->GetPosition();
14224 wxPyEndAllowThreads(__tstate
);
14225 if (PyErr_Occurred()) SWIG_fail
;
14228 wxPoint
* resultptr
;
14229 resultptr
= new wxPoint((wxPoint
&) result
);
14230 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14238 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14239 PyObject
*resultobj
;
14240 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14241 long *arg2
= (long *) 0 ;
14242 long *arg3
= (long *) 0 ;
14245 PyObject
* obj0
= 0 ;
14246 char *kwnames
[] = {
14247 (char *) "self", NULL
14252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14257 (arg1
)->GetPosition(arg2
,arg3
);
14259 wxPyEndAllowThreads(__tstate
);
14260 if (PyErr_Occurred()) SWIG_fail
;
14262 Py_INCREF(Py_None
); resultobj
= Py_None
;
14264 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14265 resultobj
= t_output_helper(resultobj
,o
);
14268 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14269 resultobj
= t_output_helper(resultobj
,o
);
14277 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14278 PyObject
*resultobj
;
14279 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14282 PyObject
* obj0
= 0 ;
14283 PyObject
* obj1
= 0 ;
14284 char *kwnames
[] = {
14285 (char *) "self",(char *) "dc", NULL
14288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14291 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14292 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14294 if (arg2
== NULL
) {
14295 PyErr_SetString(PyExc_TypeError
,"null reference");
14299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14300 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14302 wxPyEndAllowThreads(__tstate
);
14303 if (PyErr_Occurred()) SWIG_fail
;
14306 wxPoint
* resultptr
;
14307 resultptr
= new wxPoint((wxPoint
&) result
);
14308 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14316 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14317 PyObject
*resultobj
;
14318 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14320 PyObject
* obj0
= 0 ;
14321 char *kwnames
[] = {
14322 (char *) "self", NULL
14325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
14326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14330 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14332 wxPyEndAllowThreads(__tstate
);
14333 if (PyErr_Occurred()) SWIG_fail
;
14335 resultobj
= SWIG_FromInt((int)result
);
14342 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14343 PyObject
*resultobj
;
14344 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14346 PyObject
* obj0
= 0 ;
14347 char *kwnames
[] = {
14348 (char *) "self", NULL
14351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14356 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14358 wxPyEndAllowThreads(__tstate
);
14359 if (PyErr_Occurred()) SWIG_fail
;
14361 resultobj
= SWIG_FromInt((int)result
);
14368 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14369 PyObject
*resultobj
;
14370 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14372 PyObject
* obj0
= 0 ;
14373 char *kwnames
[] = {
14374 (char *) "self", NULL
14377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
14378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14382 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
14384 wxPyEndAllowThreads(__tstate
);
14385 if (PyErr_Occurred()) SWIG_fail
;
14387 resultobj
= SWIG_FromInt((int)result
);
14394 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14395 PyObject
*resultobj
;
14396 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14398 PyObject
* obj0
= 0 ;
14399 char *kwnames
[] = {
14400 (char *) "self", NULL
14403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
14404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14408 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14410 wxPyEndAllowThreads(__tstate
);
14411 if (PyErr_Occurred()) SWIG_fail
;
14413 resultobj
= SWIG_FromInt((int)result
);
14420 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14421 PyObject
*resultobj
;
14422 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14424 PyObject
* obj0
= 0 ;
14425 char *kwnames
[] = {
14426 (char *) "self", NULL
14429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14434 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14436 wxPyEndAllowThreads(__tstate
);
14437 if (PyErr_Occurred()) SWIG_fail
;
14439 resultobj
= SWIG_FromInt((int)result
);
14446 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14447 PyObject
*resultobj
;
14448 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14450 PyObject
* obj0
= 0 ;
14451 char *kwnames
[] = {
14452 (char *) "self", NULL
14455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14460 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14462 wxPyEndAllowThreads(__tstate
);
14463 if (PyErr_Occurred()) SWIG_fail
;
14466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14474 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14475 PyObject
*resultobj
;
14476 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14478 PyObject
* obj0
= 0 ;
14479 PyObject
* obj1
= 0 ;
14480 char *kwnames
[] = {
14481 (char *) "self",(char *) "m_x", NULL
14484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14487 arg2
= (int) SWIG_AsInt(obj1
);
14488 if (PyErr_Occurred()) SWIG_fail
;
14489 if (arg1
) (arg1
)->m_x
= arg2
;
14491 Py_INCREF(Py_None
); resultobj
= Py_None
;
14498 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14499 PyObject
*resultobj
;
14500 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14502 PyObject
* obj0
= 0 ;
14503 char *kwnames
[] = {
14504 (char *) "self", NULL
14507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14510 result
= (int) ((arg1
)->m_x
);
14512 resultobj
= SWIG_FromInt((int)result
);
14519 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14520 PyObject
*resultobj
;
14521 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14523 PyObject
* obj0
= 0 ;
14524 PyObject
* obj1
= 0 ;
14525 char *kwnames
[] = {
14526 (char *) "self",(char *) "m_y", NULL
14529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14532 arg2
= (int) SWIG_AsInt(obj1
);
14533 if (PyErr_Occurred()) SWIG_fail
;
14534 if (arg1
) (arg1
)->m_y
= arg2
;
14536 Py_INCREF(Py_None
); resultobj
= Py_None
;
14543 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14544 PyObject
*resultobj
;
14545 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14547 PyObject
* obj0
= 0 ;
14548 char *kwnames
[] = {
14549 (char *) "self", NULL
14552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
14553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14555 result
= (int) ((arg1
)->m_y
);
14557 resultobj
= SWIG_FromInt((int)result
);
14564 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14565 PyObject
*resultobj
;
14566 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14568 PyObject
* obj0
= 0 ;
14569 PyObject
* obj1
= 0 ;
14570 char *kwnames
[] = {
14571 (char *) "self",(char *) "m_leftDown", NULL
14574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14577 arg2
= (bool) SWIG_AsBool(obj1
);
14578 if (PyErr_Occurred()) SWIG_fail
;
14579 if (arg1
) (arg1
)->m_leftDown
= arg2
;
14581 Py_INCREF(Py_None
); resultobj
= Py_None
;
14588 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14589 PyObject
*resultobj
;
14590 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14592 PyObject
* obj0
= 0 ;
14593 char *kwnames
[] = {
14594 (char *) "self", NULL
14597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
14598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14600 result
= (bool) ((arg1
)->m_leftDown
);
14603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14611 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14612 PyObject
*resultobj
;
14613 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14615 PyObject
* obj0
= 0 ;
14616 PyObject
* obj1
= 0 ;
14617 char *kwnames
[] = {
14618 (char *) "self",(char *) "m_middleDown", NULL
14621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14624 arg2
= (bool) SWIG_AsBool(obj1
);
14625 if (PyErr_Occurred()) SWIG_fail
;
14626 if (arg1
) (arg1
)->m_middleDown
= arg2
;
14628 Py_INCREF(Py_None
); resultobj
= Py_None
;
14635 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14636 PyObject
*resultobj
;
14637 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14639 PyObject
* obj0
= 0 ;
14640 char *kwnames
[] = {
14641 (char *) "self", NULL
14644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
14645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14647 result
= (bool) ((arg1
)->m_middleDown
);
14650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14658 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14659 PyObject
*resultobj
;
14660 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14662 PyObject
* obj0
= 0 ;
14663 PyObject
* obj1
= 0 ;
14664 char *kwnames
[] = {
14665 (char *) "self",(char *) "m_rightDown", NULL
14668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14671 arg2
= (bool) SWIG_AsBool(obj1
);
14672 if (PyErr_Occurred()) SWIG_fail
;
14673 if (arg1
) (arg1
)->m_rightDown
= arg2
;
14675 Py_INCREF(Py_None
); resultobj
= Py_None
;
14682 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14683 PyObject
*resultobj
;
14684 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14686 PyObject
* obj0
= 0 ;
14687 char *kwnames
[] = {
14688 (char *) "self", NULL
14691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
14692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14694 result
= (bool) ((arg1
)->m_rightDown
);
14697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14705 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14706 PyObject
*resultobj
;
14707 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14709 PyObject
* obj0
= 0 ;
14710 PyObject
* obj1
= 0 ;
14711 char *kwnames
[] = {
14712 (char *) "self",(char *) "m_controlDown", NULL
14715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14718 arg2
= (bool) SWIG_AsBool(obj1
);
14719 if (PyErr_Occurred()) SWIG_fail
;
14720 if (arg1
) (arg1
)->m_controlDown
= arg2
;
14722 Py_INCREF(Py_None
); resultobj
= Py_None
;
14729 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14730 PyObject
*resultobj
;
14731 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14733 PyObject
* obj0
= 0 ;
14734 char *kwnames
[] = {
14735 (char *) "self", NULL
14738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
14739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14741 result
= (bool) ((arg1
)->m_controlDown
);
14744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14752 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14753 PyObject
*resultobj
;
14754 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14756 PyObject
* obj0
= 0 ;
14757 PyObject
* obj1
= 0 ;
14758 char *kwnames
[] = {
14759 (char *) "self",(char *) "m_shiftDown", NULL
14762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14765 arg2
= (bool) SWIG_AsBool(obj1
);
14766 if (PyErr_Occurred()) SWIG_fail
;
14767 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
14769 Py_INCREF(Py_None
); resultobj
= Py_None
;
14776 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14777 PyObject
*resultobj
;
14778 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14780 PyObject
* obj0
= 0 ;
14781 char *kwnames
[] = {
14782 (char *) "self", NULL
14785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
14786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14788 result
= (bool) ((arg1
)->m_shiftDown
);
14791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14799 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14800 PyObject
*resultobj
;
14801 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14803 PyObject
* obj0
= 0 ;
14804 PyObject
* obj1
= 0 ;
14805 char *kwnames
[] = {
14806 (char *) "self",(char *) "m_altDown", NULL
14809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14812 arg2
= (bool) SWIG_AsBool(obj1
);
14813 if (PyErr_Occurred()) SWIG_fail
;
14814 if (arg1
) (arg1
)->m_altDown
= arg2
;
14816 Py_INCREF(Py_None
); resultobj
= Py_None
;
14823 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14824 PyObject
*resultobj
;
14825 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14827 PyObject
* obj0
= 0 ;
14828 char *kwnames
[] = {
14829 (char *) "self", NULL
14832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
14833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14835 result
= (bool) ((arg1
)->m_altDown
);
14838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14846 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14847 PyObject
*resultobj
;
14848 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14850 PyObject
* obj0
= 0 ;
14851 PyObject
* obj1
= 0 ;
14852 char *kwnames
[] = {
14853 (char *) "self",(char *) "m_metaDown", NULL
14856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14859 arg2
= (bool) SWIG_AsBool(obj1
);
14860 if (PyErr_Occurred()) SWIG_fail
;
14861 if (arg1
) (arg1
)->m_metaDown
= arg2
;
14863 Py_INCREF(Py_None
); resultobj
= Py_None
;
14870 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14871 PyObject
*resultobj
;
14872 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14874 PyObject
* obj0
= 0 ;
14875 char *kwnames
[] = {
14876 (char *) "self", NULL
14879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
14880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14882 result
= (bool) ((arg1
)->m_metaDown
);
14885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14893 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14894 PyObject
*resultobj
;
14895 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14897 PyObject
* obj0
= 0 ;
14898 PyObject
* obj1
= 0 ;
14899 char *kwnames
[] = {
14900 (char *) "self",(char *) "m_wheelRotation", NULL
14903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14906 arg2
= (int) SWIG_AsInt(obj1
);
14907 if (PyErr_Occurred()) SWIG_fail
;
14908 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
14910 Py_INCREF(Py_None
); resultobj
= Py_None
;
14917 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14918 PyObject
*resultobj
;
14919 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14921 PyObject
* obj0
= 0 ;
14922 char *kwnames
[] = {
14923 (char *) "self", NULL
14926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
14927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14929 result
= (int) ((arg1
)->m_wheelRotation
);
14931 resultobj
= SWIG_FromInt((int)result
);
14938 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14939 PyObject
*resultobj
;
14940 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14942 PyObject
* obj0
= 0 ;
14943 PyObject
* obj1
= 0 ;
14944 char *kwnames
[] = {
14945 (char *) "self",(char *) "m_wheelDelta", NULL
14948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14951 arg2
= (int) SWIG_AsInt(obj1
);
14952 if (PyErr_Occurred()) SWIG_fail
;
14953 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
14955 Py_INCREF(Py_None
); resultobj
= Py_None
;
14962 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14963 PyObject
*resultobj
;
14964 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14966 PyObject
* obj0
= 0 ;
14967 char *kwnames
[] = {
14968 (char *) "self", NULL
14971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
14972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14974 result
= (int) ((arg1
)->m_wheelDelta
);
14976 resultobj
= SWIG_FromInt((int)result
);
14983 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14984 PyObject
*resultobj
;
14985 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14987 PyObject
* obj0
= 0 ;
14988 PyObject
* obj1
= 0 ;
14989 char *kwnames
[] = {
14990 (char *) "self",(char *) "m_linesPerAction", NULL
14993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14996 arg2
= (int) SWIG_AsInt(obj1
);
14997 if (PyErr_Occurred()) SWIG_fail
;
14998 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
15000 Py_INCREF(Py_None
); resultobj
= Py_None
;
15007 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15008 PyObject
*resultobj
;
15009 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15011 PyObject
* obj0
= 0 ;
15012 char *kwnames
[] = {
15013 (char *) "self", NULL
15016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15019 result
= (int) ((arg1
)->m_linesPerAction
);
15021 resultobj
= SWIG_FromInt((int)result
);
15028 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
15030 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15031 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15033 return Py_BuildValue((char *)"");
15035 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15036 PyObject
*resultobj
;
15037 int arg1
= (int) 0 ;
15038 int arg2
= (int) 0 ;
15039 wxSetCursorEvent
*result
;
15040 PyObject
* obj0
= 0 ;
15041 PyObject
* obj1
= 0 ;
15042 char *kwnames
[] = {
15043 (char *) "x",(char *) "y", NULL
15046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15048 arg1
= (int) SWIG_AsInt(obj0
);
15049 if (PyErr_Occurred()) SWIG_fail
;
15052 arg2
= (int) SWIG_AsInt(obj1
);
15053 if (PyErr_Occurred()) SWIG_fail
;
15056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15057 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15059 wxPyEndAllowThreads(__tstate
);
15060 if (PyErr_Occurred()) SWIG_fail
;
15062 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15069 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15070 PyObject
*resultobj
;
15071 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15073 PyObject
* obj0
= 0 ;
15074 char *kwnames
[] = {
15075 (char *) "self", NULL
15078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15083 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15085 wxPyEndAllowThreads(__tstate
);
15086 if (PyErr_Occurred()) SWIG_fail
;
15088 resultobj
= SWIG_FromInt((int)result
);
15095 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15096 PyObject
*resultobj
;
15097 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15099 PyObject
* obj0
= 0 ;
15100 char *kwnames
[] = {
15101 (char *) "self", NULL
15104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15109 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15111 wxPyEndAllowThreads(__tstate
);
15112 if (PyErr_Occurred()) SWIG_fail
;
15114 resultobj
= SWIG_FromInt((int)result
);
15121 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15122 PyObject
*resultobj
;
15123 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15124 wxCursor
*arg2
= 0 ;
15125 PyObject
* obj0
= 0 ;
15126 PyObject
* obj1
= 0 ;
15127 char *kwnames
[] = {
15128 (char *) "self",(char *) "cursor", NULL
15131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15134 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15135 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15137 if (arg2
== NULL
) {
15138 PyErr_SetString(PyExc_TypeError
,"null reference");
15142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15143 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15145 wxPyEndAllowThreads(__tstate
);
15146 if (PyErr_Occurred()) SWIG_fail
;
15148 Py_INCREF(Py_None
); resultobj
= Py_None
;
15155 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15156 PyObject
*resultobj
;
15157 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15159 PyObject
* obj0
= 0 ;
15160 char *kwnames
[] = {
15161 (char *) "self", NULL
15164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15170 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15171 result
= (wxCursor
*) &_result_ref
;
15174 wxPyEndAllowThreads(__tstate
);
15175 if (PyErr_Occurred()) SWIG_fail
;
15178 wxCursor
* resultptr
= new wxCursor(*result
);
15179 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15187 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15188 PyObject
*resultobj
;
15189 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15191 PyObject
* obj0
= 0 ;
15192 char *kwnames
[] = {
15193 (char *) "self", NULL
15196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15201 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15203 wxPyEndAllowThreads(__tstate
);
15204 if (PyErr_Occurred()) SWIG_fail
;
15207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15215 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
15217 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15218 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15220 return Py_BuildValue((char *)"");
15222 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15223 PyObject
*resultobj
;
15224 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15225 wxKeyEvent
*result
;
15226 PyObject
* obj0
= 0 ;
15227 char *kwnames
[] = {
15228 (char *) "keyType", NULL
15231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15233 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15234 if (PyErr_Occurred()) SWIG_fail
;
15237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15238 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15240 wxPyEndAllowThreads(__tstate
);
15241 if (PyErr_Occurred()) SWIG_fail
;
15243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15250 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15251 PyObject
*resultobj
;
15252 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15254 PyObject
* obj0
= 0 ;
15255 char *kwnames
[] = {
15256 (char *) "self", NULL
15259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15264 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15266 wxPyEndAllowThreads(__tstate
);
15267 if (PyErr_Occurred()) SWIG_fail
;
15270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15278 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15279 PyObject
*resultobj
;
15280 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15282 PyObject
* obj0
= 0 ;
15283 char *kwnames
[] = {
15284 (char *) "self", NULL
15287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15292 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15294 wxPyEndAllowThreads(__tstate
);
15295 if (PyErr_Occurred()) SWIG_fail
;
15298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15306 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15307 PyObject
*resultobj
;
15308 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15310 PyObject
* obj0
= 0 ;
15311 char *kwnames
[] = {
15312 (char *) "self", NULL
15315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15320 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15322 wxPyEndAllowThreads(__tstate
);
15323 if (PyErr_Occurred()) SWIG_fail
;
15326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15334 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15335 PyObject
*resultobj
;
15336 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15338 PyObject
* obj0
= 0 ;
15339 char *kwnames
[] = {
15340 (char *) "self", NULL
15343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15348 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15350 wxPyEndAllowThreads(__tstate
);
15351 if (PyErr_Occurred()) SWIG_fail
;
15354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15362 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15363 PyObject
*resultobj
;
15364 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15366 PyObject
* obj0
= 0 ;
15367 char *kwnames
[] = {
15368 (char *) "self", NULL
15371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
15372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15376 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
15378 wxPyEndAllowThreads(__tstate
);
15379 if (PyErr_Occurred()) SWIG_fail
;
15382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15390 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15391 PyObject
*resultobj
;
15392 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15394 PyObject
* obj0
= 0 ;
15395 char *kwnames
[] = {
15396 (char *) "self", NULL
15399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
15400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15404 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
15406 wxPyEndAllowThreads(__tstate
);
15407 if (PyErr_Occurred()) SWIG_fail
;
15409 resultobj
= SWIG_FromInt((int)result
);
15416 static PyObject
*_wrap_KeyEvent_GetUniChar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15417 PyObject
*resultobj
;
15418 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15420 PyObject
* obj0
= 0 ;
15421 char *kwnames
[] = {
15422 (char *) "self", NULL
15425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUniChar",kwnames
,&obj0
)) goto fail
;
15426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15430 result
= (int)wxKeyEvent_GetUniChar(arg1
);
15432 wxPyEndAllowThreads(__tstate
);
15433 if (PyErr_Occurred()) SWIG_fail
;
15435 resultobj
= SWIG_FromInt((int)result
);
15442 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15443 PyObject
*resultobj
;
15444 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15445 unsigned int result
;
15446 PyObject
* obj0
= 0 ;
15447 char *kwnames
[] = {
15448 (char *) "self", NULL
15451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
15452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15456 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15458 wxPyEndAllowThreads(__tstate
);
15459 if (PyErr_Occurred()) SWIG_fail
;
15461 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15468 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15469 PyObject
*resultobj
;
15470 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15471 unsigned int result
;
15472 PyObject
* obj0
= 0 ;
15473 char *kwnames
[] = {
15474 (char *) "self", NULL
15477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
15478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15482 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
15484 wxPyEndAllowThreads(__tstate
);
15485 if (PyErr_Occurred()) SWIG_fail
;
15487 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15494 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15495 PyObject
*resultobj
;
15496 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15498 PyObject
* obj0
= 0 ;
15499 char *kwnames
[] = {
15500 (char *) "self", NULL
15503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15508 result
= (arg1
)->GetPosition();
15510 wxPyEndAllowThreads(__tstate
);
15511 if (PyErr_Occurred()) SWIG_fail
;
15514 wxPoint
* resultptr
;
15515 resultptr
= new wxPoint((wxPoint
&) result
);
15516 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15524 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15525 PyObject
*resultobj
;
15526 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15527 long *arg2
= (long *) 0 ;
15528 long *arg3
= (long *) 0 ;
15531 PyObject
* obj0
= 0 ;
15532 char *kwnames
[] = {
15533 (char *) "self", NULL
15538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
15539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15543 (arg1
)->GetPosition(arg2
,arg3
);
15545 wxPyEndAllowThreads(__tstate
);
15546 if (PyErr_Occurred()) SWIG_fail
;
15548 Py_INCREF(Py_None
); resultobj
= Py_None
;
15550 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15551 resultobj
= t_output_helper(resultobj
,o
);
15554 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15555 resultobj
= t_output_helper(resultobj
,o
);
15563 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15564 PyObject
*resultobj
;
15565 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15567 PyObject
* obj0
= 0 ;
15568 char *kwnames
[] = {
15569 (char *) "self", NULL
15572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
15573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15577 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
15579 wxPyEndAllowThreads(__tstate
);
15580 if (PyErr_Occurred()) SWIG_fail
;
15582 resultobj
= SWIG_FromInt((int)result
);
15589 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15590 PyObject
*resultobj
;
15591 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15593 PyObject
* obj0
= 0 ;
15594 char *kwnames
[] = {
15595 (char *) "self", NULL
15598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
15599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15603 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
15605 wxPyEndAllowThreads(__tstate
);
15606 if (PyErr_Occurred()) SWIG_fail
;
15608 resultobj
= SWIG_FromInt((int)result
);
15615 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15616 PyObject
*resultobj
;
15617 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15619 PyObject
* obj0
= 0 ;
15620 PyObject
* obj1
= 0 ;
15621 char *kwnames
[] = {
15622 (char *) "self",(char *) "m_x", NULL
15625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15628 arg2
= (int) SWIG_AsInt(obj1
);
15629 if (PyErr_Occurred()) SWIG_fail
;
15630 if (arg1
) (arg1
)->m_x
= arg2
;
15632 Py_INCREF(Py_None
); resultobj
= Py_None
;
15639 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15640 PyObject
*resultobj
;
15641 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15643 PyObject
* obj0
= 0 ;
15644 char *kwnames
[] = {
15645 (char *) "self", NULL
15648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15651 result
= (int) ((arg1
)->m_x
);
15653 resultobj
= SWIG_FromInt((int)result
);
15660 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15661 PyObject
*resultobj
;
15662 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15664 PyObject
* obj0
= 0 ;
15665 PyObject
* obj1
= 0 ;
15666 char *kwnames
[] = {
15667 (char *) "self",(char *) "m_y", NULL
15670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15673 arg2
= (int) SWIG_AsInt(obj1
);
15674 if (PyErr_Occurred()) SWIG_fail
;
15675 if (arg1
) (arg1
)->m_y
= arg2
;
15677 Py_INCREF(Py_None
); resultobj
= Py_None
;
15684 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15685 PyObject
*resultobj
;
15686 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15688 PyObject
* obj0
= 0 ;
15689 char *kwnames
[] = {
15690 (char *) "self", NULL
15693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15696 result
= (int) ((arg1
)->m_y
);
15698 resultobj
= SWIG_FromInt((int)result
);
15705 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15706 PyObject
*resultobj
;
15707 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15709 PyObject
* obj0
= 0 ;
15710 PyObject
* obj1
= 0 ;
15711 char *kwnames
[] = {
15712 (char *) "self",(char *) "m_keyCode", NULL
15715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15718 arg2
= (long) SWIG_AsLong(obj1
);
15719 if (PyErr_Occurred()) SWIG_fail
;
15720 if (arg1
) (arg1
)->m_keyCode
= arg2
;
15722 Py_INCREF(Py_None
); resultobj
= Py_None
;
15729 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15730 PyObject
*resultobj
;
15731 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15733 PyObject
* obj0
= 0 ;
15734 char *kwnames
[] = {
15735 (char *) "self", NULL
15738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
15739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15741 result
= (long) ((arg1
)->m_keyCode
);
15743 resultobj
= SWIG_FromLong((long)result
);
15750 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15751 PyObject
*resultobj
;
15752 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15754 PyObject
* obj0
= 0 ;
15755 PyObject
* obj1
= 0 ;
15756 char *kwnames
[] = {
15757 (char *) "self",(char *) "m_controlDown", NULL
15760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15763 arg2
= (bool) SWIG_AsBool(obj1
);
15764 if (PyErr_Occurred()) SWIG_fail
;
15765 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15767 Py_INCREF(Py_None
); resultobj
= Py_None
;
15774 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15775 PyObject
*resultobj
;
15776 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15778 PyObject
* obj0
= 0 ;
15779 char *kwnames
[] = {
15780 (char *) "self", NULL
15783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15786 result
= (bool) ((arg1
)->m_controlDown
);
15789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15797 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15798 PyObject
*resultobj
;
15799 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15801 PyObject
* obj0
= 0 ;
15802 PyObject
* obj1
= 0 ;
15803 char *kwnames
[] = {
15804 (char *) "self",(char *) "m_shiftDown", NULL
15807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15810 arg2
= (bool) SWIG_AsBool(obj1
);
15811 if (PyErr_Occurred()) SWIG_fail
;
15812 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15814 Py_INCREF(Py_None
); resultobj
= Py_None
;
15821 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15822 PyObject
*resultobj
;
15823 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15825 PyObject
* obj0
= 0 ;
15826 char *kwnames
[] = {
15827 (char *) "self", NULL
15830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15833 result
= (bool) ((arg1
)->m_shiftDown
);
15836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15844 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15845 PyObject
*resultobj
;
15846 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15848 PyObject
* obj0
= 0 ;
15849 PyObject
* obj1
= 0 ;
15850 char *kwnames
[] = {
15851 (char *) "self",(char *) "m_altDown", NULL
15854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15857 arg2
= (bool) SWIG_AsBool(obj1
);
15858 if (PyErr_Occurred()) SWIG_fail
;
15859 if (arg1
) (arg1
)->m_altDown
= arg2
;
15861 Py_INCREF(Py_None
); resultobj
= Py_None
;
15868 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15869 PyObject
*resultobj
;
15870 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15872 PyObject
* obj0
= 0 ;
15873 char *kwnames
[] = {
15874 (char *) "self", NULL
15877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15880 result
= (bool) ((arg1
)->m_altDown
);
15883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15891 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15892 PyObject
*resultobj
;
15893 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15895 PyObject
* obj0
= 0 ;
15896 PyObject
* obj1
= 0 ;
15897 char *kwnames
[] = {
15898 (char *) "self",(char *) "m_metaDown", NULL
15901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15904 arg2
= (bool) SWIG_AsBool(obj1
);
15905 if (PyErr_Occurred()) SWIG_fail
;
15906 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15908 Py_INCREF(Py_None
); resultobj
= Py_None
;
15915 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15916 PyObject
*resultobj
;
15917 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15919 PyObject
* obj0
= 0 ;
15920 char *kwnames
[] = {
15921 (char *) "self", NULL
15924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15927 result
= (bool) ((arg1
)->m_metaDown
);
15930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15938 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15939 PyObject
*resultobj
;
15940 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15942 PyObject
* obj0
= 0 ;
15943 PyObject
* obj1
= 0 ;
15944 char *kwnames
[] = {
15945 (char *) "self",(char *) "m_scanCode", NULL
15948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15951 arg2
= (bool) SWIG_AsBool(obj1
);
15952 if (PyErr_Occurred()) SWIG_fail
;
15953 if (arg1
) (arg1
)->m_scanCode
= arg2
;
15955 Py_INCREF(Py_None
); resultobj
= Py_None
;
15962 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15963 PyObject
*resultobj
;
15964 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15966 PyObject
* obj0
= 0 ;
15967 char *kwnames
[] = {
15968 (char *) "self", NULL
15971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
15972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15974 result
= (bool) ((arg1
)->m_scanCode
);
15977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15985 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15986 PyObject
*resultobj
;
15987 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15988 unsigned int arg2
;
15989 PyObject
* obj0
= 0 ;
15990 PyObject
* obj1
= 0 ;
15991 char *kwnames
[] = {
15992 (char *) "self",(char *) "m_rawCode", NULL
15995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15998 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
15999 if (PyErr_Occurred()) SWIG_fail
;
16000 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16002 Py_INCREF(Py_None
); resultobj
= Py_None
;
16009 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16010 PyObject
*resultobj
;
16011 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16012 unsigned int result
;
16013 PyObject
* obj0
= 0 ;
16014 char *kwnames
[] = {
16015 (char *) "self", NULL
16018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16021 result
= (unsigned int) ((arg1
)->m_rawCode
);
16023 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16030 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16031 PyObject
*resultobj
;
16032 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16033 unsigned int arg2
;
16034 PyObject
* obj0
= 0 ;
16035 PyObject
* obj1
= 0 ;
16036 char *kwnames
[] = {
16037 (char *) "self",(char *) "m_rawFlags", NULL
16040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16043 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16044 if (PyErr_Occurred()) SWIG_fail
;
16045 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16047 Py_INCREF(Py_None
); resultobj
= Py_None
;
16054 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16055 PyObject
*resultobj
;
16056 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16057 unsigned int result
;
16058 PyObject
* obj0
= 0 ;
16059 char *kwnames
[] = {
16060 (char *) "self", NULL
16063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16066 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16068 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16075 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
16077 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16078 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16080 return Py_BuildValue((char *)"");
16082 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16083 PyObject
*resultobj
;
16084 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16085 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16086 int arg2
= (int) 0 ;
16087 wxSizeEvent
*result
;
16089 PyObject
* obj0
= 0 ;
16090 PyObject
* obj1
= 0 ;
16091 char *kwnames
[] = {
16092 (char *) "sz",(char *) "winid", NULL
16095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16099 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16103 arg2
= (int) SWIG_AsInt(obj1
);
16104 if (PyErr_Occurred()) SWIG_fail
;
16107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16108 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16110 wxPyEndAllowThreads(__tstate
);
16111 if (PyErr_Occurred()) SWIG_fail
;
16113 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16120 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16121 PyObject
*resultobj
;
16122 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16124 PyObject
* obj0
= 0 ;
16125 char *kwnames
[] = {
16126 (char *) "self", NULL
16129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16134 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16136 wxPyEndAllowThreads(__tstate
);
16137 if (PyErr_Occurred()) SWIG_fail
;
16140 wxSize
* resultptr
;
16141 resultptr
= new wxSize((wxSize
&) result
);
16142 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16150 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16151 PyObject
*resultobj
;
16152 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16154 PyObject
* obj0
= 0 ;
16155 char *kwnames
[] = {
16156 (char *) "self", NULL
16159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16164 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16166 wxPyEndAllowThreads(__tstate
);
16167 if (PyErr_Occurred()) SWIG_fail
;
16170 wxRect
* resultptr
;
16171 resultptr
= new wxRect((wxRect
&) result
);
16172 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16180 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16181 PyObject
*resultobj
;
16182 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16185 PyObject
* obj0
= 0 ;
16186 PyObject
* obj1
= 0 ;
16187 char *kwnames
[] = {
16188 (char *) "self",(char *) "rect", NULL
16191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16194 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16195 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16199 (arg1
)->SetRect(arg2
);
16201 wxPyEndAllowThreads(__tstate
);
16202 if (PyErr_Occurred()) SWIG_fail
;
16204 Py_INCREF(Py_None
); resultobj
= Py_None
;
16211 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16212 PyObject
*resultobj
;
16213 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16216 PyObject
* obj0
= 0 ;
16217 PyObject
* obj1
= 0 ;
16218 char *kwnames
[] = {
16219 (char *) "self",(char *) "size", NULL
16222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16225 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16226 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16230 wxSizeEvent_SetSize(arg1
,arg2
);
16232 wxPyEndAllowThreads(__tstate
);
16233 if (PyErr_Occurred()) SWIG_fail
;
16235 Py_INCREF(Py_None
); resultobj
= Py_None
;
16242 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16243 PyObject
*resultobj
;
16244 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16245 wxSize
*arg2
= (wxSize
*) 0 ;
16246 PyObject
* obj0
= 0 ;
16247 PyObject
* obj1
= 0 ;
16248 char *kwnames
[] = {
16249 (char *) "self",(char *) "m_size", NULL
16252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16255 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16257 if (arg1
) (arg1
)->m_size
= *arg2
;
16259 Py_INCREF(Py_None
); resultobj
= Py_None
;
16266 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16267 PyObject
*resultobj
;
16268 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16270 PyObject
* obj0
= 0 ;
16271 char *kwnames
[] = {
16272 (char *) "self", NULL
16275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16278 result
= (wxSize
*)& ((arg1
)->m_size
);
16280 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16287 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16288 PyObject
*resultobj
;
16289 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16290 wxRect
*arg2
= (wxRect
*) 0 ;
16291 PyObject
* obj0
= 0 ;
16292 PyObject
* obj1
= 0 ;
16293 char *kwnames
[] = {
16294 (char *) "self",(char *) "m_rect", NULL
16297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16300 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16302 if (arg1
) (arg1
)->m_rect
= *arg2
;
16304 Py_INCREF(Py_None
); resultobj
= Py_None
;
16311 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16312 PyObject
*resultobj
;
16313 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16315 PyObject
* obj0
= 0 ;
16316 char *kwnames
[] = {
16317 (char *) "self", NULL
16320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16323 result
= (wxRect
*)& ((arg1
)->m_rect
);
16325 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16332 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
16334 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16335 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16337 return Py_BuildValue((char *)"");
16339 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16340 PyObject
*resultobj
;
16341 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16342 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16343 int arg2
= (int) 0 ;
16344 wxMoveEvent
*result
;
16346 PyObject
* obj0
= 0 ;
16347 PyObject
* obj1
= 0 ;
16348 char *kwnames
[] = {
16349 (char *) "pos",(char *) "winid", NULL
16352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16356 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
16360 arg2
= (int) SWIG_AsInt(obj1
);
16361 if (PyErr_Occurred()) SWIG_fail
;
16364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16365 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
16367 wxPyEndAllowThreads(__tstate
);
16368 if (PyErr_Occurred()) SWIG_fail
;
16370 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
16377 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16378 PyObject
*resultobj
;
16379 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16381 PyObject
* obj0
= 0 ;
16382 char *kwnames
[] = {
16383 (char *) "self", NULL
16386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16391 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
16393 wxPyEndAllowThreads(__tstate
);
16394 if (PyErr_Occurred()) SWIG_fail
;
16397 wxPoint
* resultptr
;
16398 resultptr
= new wxPoint((wxPoint
&) result
);
16399 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16407 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16408 PyObject
*resultobj
;
16409 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16411 PyObject
* obj0
= 0 ;
16412 char *kwnames
[] = {
16413 (char *) "self", NULL
16416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16421 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
16423 wxPyEndAllowThreads(__tstate
);
16424 if (PyErr_Occurred()) SWIG_fail
;
16427 wxRect
* resultptr
;
16428 resultptr
= new wxRect((wxRect
&) result
);
16429 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16437 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16438 PyObject
*resultobj
;
16439 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16442 PyObject
* obj0
= 0 ;
16443 PyObject
* obj1
= 0 ;
16444 char *kwnames
[] = {
16445 (char *) "self",(char *) "rect", NULL
16448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16451 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16452 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16456 (arg1
)->SetRect(arg2
);
16458 wxPyEndAllowThreads(__tstate
);
16459 if (PyErr_Occurred()) SWIG_fail
;
16461 Py_INCREF(Py_None
); resultobj
= Py_None
;
16468 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16469 PyObject
*resultobj
;
16470 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16473 PyObject
* obj0
= 0 ;
16474 PyObject
* obj1
= 0 ;
16475 char *kwnames
[] = {
16476 (char *) "self",(char *) "pos", NULL
16479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16482 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
16483 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16487 wxMoveEvent_SetPosition(arg1
,arg2
);
16489 wxPyEndAllowThreads(__tstate
);
16490 if (PyErr_Occurred()) SWIG_fail
;
16492 Py_INCREF(Py_None
); resultobj
= Py_None
;
16499 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16500 PyObject
*resultobj
;
16501 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16502 wxPoint
*arg2
= (wxPoint
*) 0 ;
16503 PyObject
* obj0
= 0 ;
16504 PyObject
* obj1
= 0 ;
16505 char *kwnames
[] = {
16506 (char *) "self",(char *) "m_pos", NULL
16509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16512 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
16513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16514 if (arg1
) (arg1
)->m_pos
= *arg2
;
16516 Py_INCREF(Py_None
); resultobj
= Py_None
;
16523 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16524 PyObject
*resultobj
;
16525 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16527 PyObject
* obj0
= 0 ;
16528 char *kwnames
[] = {
16529 (char *) "self", NULL
16532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
16533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16535 result
= (wxPoint
*)& ((arg1
)->m_pos
);
16537 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
16544 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16545 PyObject
*resultobj
;
16546 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16547 wxRect
*arg2
= (wxRect
*) 0 ;
16548 PyObject
* obj0
= 0 ;
16549 PyObject
* obj1
= 0 ;
16550 char *kwnames
[] = {
16551 (char *) "self",(char *) "m_rect", NULL
16554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16557 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16559 if (arg1
) (arg1
)->m_rect
= *arg2
;
16561 Py_INCREF(Py_None
); resultobj
= Py_None
;
16568 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16569 PyObject
*resultobj
;
16570 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16572 PyObject
* obj0
= 0 ;
16573 char *kwnames
[] = {
16574 (char *) "self", NULL
16577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16580 result
= (wxRect
*)& ((arg1
)->m_rect
);
16582 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16589 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
16591 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16592 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
16594 return Py_BuildValue((char *)"");
16596 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16597 PyObject
*resultobj
;
16598 int arg1
= (int) 0 ;
16599 wxPaintEvent
*result
;
16600 PyObject
* obj0
= 0 ;
16601 char *kwnames
[] = {
16602 (char *) "Id", NULL
16605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
16607 arg1
= (int) SWIG_AsInt(obj0
);
16608 if (PyErr_Occurred()) SWIG_fail
;
16611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16612 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
16614 wxPyEndAllowThreads(__tstate
);
16615 if (PyErr_Occurred()) SWIG_fail
;
16617 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
16624 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
16626 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16627 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
16629 return Py_BuildValue((char *)"");
16631 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16632 PyObject
*resultobj
;
16633 int arg1
= (int) 0 ;
16634 wxNcPaintEvent
*result
;
16635 PyObject
* obj0
= 0 ;
16636 char *kwnames
[] = {
16637 (char *) "winid", NULL
16640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
16642 arg1
= (int) SWIG_AsInt(obj0
);
16643 if (PyErr_Occurred()) SWIG_fail
;
16646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16647 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
16649 wxPyEndAllowThreads(__tstate
);
16650 if (PyErr_Occurred()) SWIG_fail
;
16652 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
16659 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
16661 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16662 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
16664 return Py_BuildValue((char *)"");
16666 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16667 PyObject
*resultobj
;
16668 int arg1
= (int) 0 ;
16669 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
16670 wxEraseEvent
*result
;
16671 PyObject
* obj0
= 0 ;
16672 PyObject
* obj1
= 0 ;
16673 char *kwnames
[] = {
16674 (char *) "Id",(char *) "dc", NULL
16677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16679 arg1
= (int) SWIG_AsInt(obj0
);
16680 if (PyErr_Occurred()) SWIG_fail
;
16683 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16688 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
16690 wxPyEndAllowThreads(__tstate
);
16691 if (PyErr_Occurred()) SWIG_fail
;
16693 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
16700 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16701 PyObject
*resultobj
;
16702 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
16704 PyObject
* obj0
= 0 ;
16705 char *kwnames
[] = {
16706 (char *) "self", NULL
16709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
16710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
16711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16714 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
16716 wxPyEndAllowThreads(__tstate
);
16717 if (PyErr_Occurred()) SWIG_fail
;
16720 resultobj
= wxPyMake_wxObject(result
);
16728 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
16730 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16731 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
16733 return Py_BuildValue((char *)"");
16735 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16736 PyObject
*resultobj
;
16737 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16738 int arg2
= (int) 0 ;
16739 wxFocusEvent
*result
;
16740 PyObject
* obj0
= 0 ;
16741 PyObject
* obj1
= 0 ;
16742 char *kwnames
[] = {
16743 (char *) "type",(char *) "winid", NULL
16746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16748 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16749 if (PyErr_Occurred()) SWIG_fail
;
16752 arg2
= (int) SWIG_AsInt(obj1
);
16753 if (PyErr_Occurred()) SWIG_fail
;
16756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16757 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
16759 wxPyEndAllowThreads(__tstate
);
16760 if (PyErr_Occurred()) SWIG_fail
;
16762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
16769 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16770 PyObject
*resultobj
;
16771 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16773 PyObject
* obj0
= 0 ;
16774 char *kwnames
[] = {
16775 (char *) "self", NULL
16778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16783 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
16785 wxPyEndAllowThreads(__tstate
);
16786 if (PyErr_Occurred()) SWIG_fail
;
16789 resultobj
= wxPyMake_wxObject(result
);
16797 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16798 PyObject
*resultobj
;
16799 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16800 wxWindow
*arg2
= (wxWindow
*) 0 ;
16801 PyObject
* obj0
= 0 ;
16802 PyObject
* obj1
= 0 ;
16803 char *kwnames
[] = {
16804 (char *) "self",(char *) "win", NULL
16807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
16808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16810 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16814 (arg1
)->SetWindow(arg2
);
16816 wxPyEndAllowThreads(__tstate
);
16817 if (PyErr_Occurred()) SWIG_fail
;
16819 Py_INCREF(Py_None
); resultobj
= Py_None
;
16826 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
16828 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16829 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
16831 return Py_BuildValue((char *)"");
16833 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16834 PyObject
*resultobj
;
16835 wxWindow
*arg1
= (wxWindow
*) NULL
;
16836 wxChildFocusEvent
*result
;
16837 PyObject
* obj0
= 0 ;
16838 char *kwnames
[] = {
16839 (char *) "win", NULL
16842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
16844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16849 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
16851 wxPyEndAllowThreads(__tstate
);
16852 if (PyErr_Occurred()) SWIG_fail
;
16854 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
16861 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16862 PyObject
*resultobj
;
16863 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
16865 PyObject
* obj0
= 0 ;
16866 char *kwnames
[] = {
16867 (char *) "self", NULL
16870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
16872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16875 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
16877 wxPyEndAllowThreads(__tstate
);
16878 if (PyErr_Occurred()) SWIG_fail
;
16881 resultobj
= wxPyMake_wxObject(result
);
16889 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
16891 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16892 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
16894 return Py_BuildValue((char *)"");
16896 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16897 PyObject
*resultobj
;
16898 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16899 bool arg2
= (bool) True
;
16900 int arg3
= (int) 0 ;
16901 wxActivateEvent
*result
;
16902 PyObject
* obj0
= 0 ;
16903 PyObject
* obj1
= 0 ;
16904 PyObject
* obj2
= 0 ;
16905 char *kwnames
[] = {
16906 (char *) "type",(char *) "active",(char *) "Id", NULL
16909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16911 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16912 if (PyErr_Occurred()) SWIG_fail
;
16915 arg2
= (bool) SWIG_AsBool(obj1
);
16916 if (PyErr_Occurred()) SWIG_fail
;
16919 arg3
= (int) SWIG_AsInt(obj2
);
16920 if (PyErr_Occurred()) SWIG_fail
;
16923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16924 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
16926 wxPyEndAllowThreads(__tstate
);
16927 if (PyErr_Occurred()) SWIG_fail
;
16929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
16936 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16937 PyObject
*resultobj
;
16938 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
16940 PyObject
* obj0
= 0 ;
16941 char *kwnames
[] = {
16942 (char *) "self", NULL
16945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
16946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
16947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16950 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
16952 wxPyEndAllowThreads(__tstate
);
16953 if (PyErr_Occurred()) SWIG_fail
;
16956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16964 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
16966 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16967 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
16969 return Py_BuildValue((char *)"");
16971 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16972 PyObject
*resultobj
;
16973 int arg1
= (int) 0 ;
16974 wxInitDialogEvent
*result
;
16975 PyObject
* obj0
= 0 ;
16976 char *kwnames
[] = {
16977 (char *) "Id", NULL
16980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
16982 arg1
= (int) SWIG_AsInt(obj0
);
16983 if (PyErr_Occurred()) SWIG_fail
;
16986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16987 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
16989 wxPyEndAllowThreads(__tstate
);
16990 if (PyErr_Occurred()) SWIG_fail
;
16992 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
16999 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
17001 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17002 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17004 return Py_BuildValue((char *)"");
17006 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17007 PyObject
*resultobj
;
17008 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17009 int arg2
= (int) 0 ;
17010 wxMenu
*arg3
= (wxMenu
*) NULL
;
17011 wxMenuEvent
*result
;
17012 PyObject
* obj0
= 0 ;
17013 PyObject
* obj1
= 0 ;
17014 PyObject
* obj2
= 0 ;
17015 char *kwnames
[] = {
17016 (char *) "type",(char *) "winid",(char *) "menu", NULL
17019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17021 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17022 if (PyErr_Occurred()) SWIG_fail
;
17025 arg2
= (int) SWIG_AsInt(obj1
);
17026 if (PyErr_Occurred()) SWIG_fail
;
17029 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17034 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17036 wxPyEndAllowThreads(__tstate
);
17037 if (PyErr_Occurred()) SWIG_fail
;
17039 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17046 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17047 PyObject
*resultobj
;
17048 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17050 PyObject
* obj0
= 0 ;
17051 char *kwnames
[] = {
17052 (char *) "self", NULL
17055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17060 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17062 wxPyEndAllowThreads(__tstate
);
17063 if (PyErr_Occurred()) SWIG_fail
;
17065 resultobj
= SWIG_FromInt((int)result
);
17072 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17073 PyObject
*resultobj
;
17074 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17076 PyObject
* obj0
= 0 ;
17077 char *kwnames
[] = {
17078 (char *) "self", NULL
17081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17086 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17088 wxPyEndAllowThreads(__tstate
);
17089 if (PyErr_Occurred()) SWIG_fail
;
17092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17100 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17101 PyObject
*resultobj
;
17102 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17104 PyObject
* obj0
= 0 ;
17105 char *kwnames
[] = {
17106 (char *) "self", NULL
17109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17114 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17116 wxPyEndAllowThreads(__tstate
);
17117 if (PyErr_Occurred()) SWIG_fail
;
17120 resultobj
= wxPyMake_wxObject(result
);
17128 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
17130 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17131 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17133 return Py_BuildValue((char *)"");
17135 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17136 PyObject
*resultobj
;
17137 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17138 int arg2
= (int) 0 ;
17139 wxCloseEvent
*result
;
17140 PyObject
* obj0
= 0 ;
17141 PyObject
* obj1
= 0 ;
17142 char *kwnames
[] = {
17143 (char *) "type",(char *) "winid", NULL
17146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17148 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17149 if (PyErr_Occurred()) SWIG_fail
;
17152 arg2
= (int) SWIG_AsInt(obj1
);
17153 if (PyErr_Occurred()) SWIG_fail
;
17156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17157 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17159 wxPyEndAllowThreads(__tstate
);
17160 if (PyErr_Occurred()) SWIG_fail
;
17162 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17169 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17170 PyObject
*resultobj
;
17171 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17173 PyObject
* obj0
= 0 ;
17174 PyObject
* obj1
= 0 ;
17175 char *kwnames
[] = {
17176 (char *) "self",(char *) "logOff", NULL
17179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17182 arg2
= (bool) SWIG_AsBool(obj1
);
17183 if (PyErr_Occurred()) SWIG_fail
;
17185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17186 (arg1
)->SetLoggingOff(arg2
);
17188 wxPyEndAllowThreads(__tstate
);
17189 if (PyErr_Occurred()) SWIG_fail
;
17191 Py_INCREF(Py_None
); resultobj
= Py_None
;
17198 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17199 PyObject
*resultobj
;
17200 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17202 PyObject
* obj0
= 0 ;
17203 char *kwnames
[] = {
17204 (char *) "self", NULL
17207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17212 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17214 wxPyEndAllowThreads(__tstate
);
17215 if (PyErr_Occurred()) SWIG_fail
;
17218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17226 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17227 PyObject
*resultobj
;
17228 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17229 bool arg2
= (bool) True
;
17230 PyObject
* obj0
= 0 ;
17231 PyObject
* obj1
= 0 ;
17232 char *kwnames
[] = {
17233 (char *) "self",(char *) "veto", NULL
17236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17240 arg2
= (bool) SWIG_AsBool(obj1
);
17241 if (PyErr_Occurred()) SWIG_fail
;
17244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17245 (arg1
)->Veto(arg2
);
17247 wxPyEndAllowThreads(__tstate
);
17248 if (PyErr_Occurred()) SWIG_fail
;
17250 Py_INCREF(Py_None
); resultobj
= Py_None
;
17257 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17258 PyObject
*resultobj
;
17259 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17261 PyObject
* obj0
= 0 ;
17262 PyObject
* obj1
= 0 ;
17263 char *kwnames
[] = {
17264 (char *) "self",(char *) "canVeto", NULL
17267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17270 arg2
= (bool) SWIG_AsBool(obj1
);
17271 if (PyErr_Occurred()) SWIG_fail
;
17273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17274 (arg1
)->SetCanVeto(arg2
);
17276 wxPyEndAllowThreads(__tstate
);
17277 if (PyErr_Occurred()) SWIG_fail
;
17279 Py_INCREF(Py_None
); resultobj
= Py_None
;
17286 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17287 PyObject
*resultobj
;
17288 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17290 PyObject
* obj0
= 0 ;
17291 char *kwnames
[] = {
17292 (char *) "self", NULL
17295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
17296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17300 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
17302 wxPyEndAllowThreads(__tstate
);
17303 if (PyErr_Occurred()) SWIG_fail
;
17306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17314 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17315 PyObject
*resultobj
;
17316 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17318 PyObject
* obj0
= 0 ;
17319 char *kwnames
[] = {
17320 (char *) "self", NULL
17323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17328 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17330 wxPyEndAllowThreads(__tstate
);
17331 if (PyErr_Occurred()) SWIG_fail
;
17334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17342 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
17344 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17345 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17347 return Py_BuildValue((char *)"");
17349 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17350 PyObject
*resultobj
;
17351 int arg1
= (int) 0 ;
17352 bool arg2
= (bool) False
;
17353 wxShowEvent
*result
;
17354 PyObject
* obj0
= 0 ;
17355 PyObject
* obj1
= 0 ;
17356 char *kwnames
[] = {
17357 (char *) "winid",(char *) "show", NULL
17360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17362 arg1
= (int) SWIG_AsInt(obj0
);
17363 if (PyErr_Occurred()) SWIG_fail
;
17366 arg2
= (bool) SWIG_AsBool(obj1
);
17367 if (PyErr_Occurred()) SWIG_fail
;
17370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17371 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
17373 wxPyEndAllowThreads(__tstate
);
17374 if (PyErr_Occurred()) SWIG_fail
;
17376 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
17383 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17384 PyObject
*resultobj
;
17385 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17387 PyObject
* obj0
= 0 ;
17388 PyObject
* obj1
= 0 ;
17389 char *kwnames
[] = {
17390 (char *) "self",(char *) "show", NULL
17393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
17394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17396 arg2
= (bool) SWIG_AsBool(obj1
);
17397 if (PyErr_Occurred()) SWIG_fail
;
17399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17400 (arg1
)->SetShow(arg2
);
17402 wxPyEndAllowThreads(__tstate
);
17403 if (PyErr_Occurred()) SWIG_fail
;
17405 Py_INCREF(Py_None
); resultobj
= Py_None
;
17412 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17413 PyObject
*resultobj
;
17414 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17416 PyObject
* obj0
= 0 ;
17417 char *kwnames
[] = {
17418 (char *) "self", NULL
17421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
17422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17426 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
17428 wxPyEndAllowThreads(__tstate
);
17429 if (PyErr_Occurred()) SWIG_fail
;
17432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17440 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
17442 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17443 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
17445 return Py_BuildValue((char *)"");
17447 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17448 PyObject
*resultobj
;
17449 int arg1
= (int) 0 ;
17450 bool arg2
= (bool) True
;
17451 wxIconizeEvent
*result
;
17452 PyObject
* obj0
= 0 ;
17453 PyObject
* obj1
= 0 ;
17454 char *kwnames
[] = {
17455 (char *) "id",(char *) "iconized", NULL
17458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17460 arg1
= (int) SWIG_AsInt(obj0
);
17461 if (PyErr_Occurred()) SWIG_fail
;
17464 arg2
= (bool) SWIG_AsBool(obj1
);
17465 if (PyErr_Occurred()) SWIG_fail
;
17468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17469 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
17471 wxPyEndAllowThreads(__tstate
);
17472 if (PyErr_Occurred()) SWIG_fail
;
17474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
17481 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17482 PyObject
*resultobj
;
17483 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
17485 PyObject
* obj0
= 0 ;
17486 char *kwnames
[] = {
17487 (char *) "self", NULL
17490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
17491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
17492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17495 result
= (bool)(arg1
)->Iconized();
17497 wxPyEndAllowThreads(__tstate
);
17498 if (PyErr_Occurred()) SWIG_fail
;
17501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17509 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
17511 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17512 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
17514 return Py_BuildValue((char *)"");
17516 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17517 PyObject
*resultobj
;
17518 int arg1
= (int) 0 ;
17519 wxMaximizeEvent
*result
;
17520 PyObject
* obj0
= 0 ;
17521 char *kwnames
[] = {
17522 (char *) "id", NULL
17525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
17527 arg1
= (int) SWIG_AsInt(obj0
);
17528 if (PyErr_Occurred()) SWIG_fail
;
17531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17532 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
17534 wxPyEndAllowThreads(__tstate
);
17535 if (PyErr_Occurred()) SWIG_fail
;
17537 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
17544 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
17546 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17547 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
17549 return Py_BuildValue((char *)"");
17551 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17552 PyObject
*resultobj
;
17553 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17555 PyObject
* obj0
= 0 ;
17556 char *kwnames
[] = {
17557 (char *) "self", NULL
17560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17565 result
= (arg1
)->GetPosition();
17567 wxPyEndAllowThreads(__tstate
);
17568 if (PyErr_Occurred()) SWIG_fail
;
17571 wxPoint
* resultptr
;
17572 resultptr
= new wxPoint((wxPoint
&) result
);
17573 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17581 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17582 PyObject
*resultobj
;
17583 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17585 PyObject
* obj0
= 0 ;
17586 char *kwnames
[] = {
17587 (char *) "self", NULL
17590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
17591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17595 result
= (int)(arg1
)->GetNumberOfFiles();
17597 wxPyEndAllowThreads(__tstate
);
17598 if (PyErr_Occurred()) SWIG_fail
;
17600 resultobj
= SWIG_FromInt((int)result
);
17607 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17608 PyObject
*resultobj
;
17609 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17611 PyObject
* obj0
= 0 ;
17612 char *kwnames
[] = {
17613 (char *) "self", NULL
17616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
17617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17621 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
17623 wxPyEndAllowThreads(__tstate
);
17624 if (PyErr_Occurred()) SWIG_fail
;
17626 resultobj
= result
;
17633 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
17635 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17636 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
17638 return Py_BuildValue((char *)"");
17640 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17641 PyObject
*resultobj
;
17642 int arg1
= (int) 0 ;
17643 wxUpdateUIEvent
*result
;
17644 PyObject
* obj0
= 0 ;
17645 char *kwnames
[] = {
17646 (char *) "commandId", NULL
17649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
17651 arg1
= (int) SWIG_AsInt(obj0
);
17652 if (PyErr_Occurred()) SWIG_fail
;
17655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17656 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
17658 wxPyEndAllowThreads(__tstate
);
17659 if (PyErr_Occurred()) SWIG_fail
;
17661 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
17668 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17669 PyObject
*resultobj
;
17670 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17672 PyObject
* obj0
= 0 ;
17673 char *kwnames
[] = {
17674 (char *) "self", NULL
17677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
17678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17682 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
17684 wxPyEndAllowThreads(__tstate
);
17685 if (PyErr_Occurred()) SWIG_fail
;
17688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17696 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17697 PyObject
*resultobj
;
17698 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17700 PyObject
* obj0
= 0 ;
17701 char *kwnames
[] = {
17702 (char *) "self", NULL
17705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
17706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17710 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
17712 wxPyEndAllowThreads(__tstate
);
17713 if (PyErr_Occurred()) SWIG_fail
;
17716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17724 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17725 PyObject
*resultobj
;
17726 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17728 PyObject
* obj0
= 0 ;
17729 char *kwnames
[] = {
17730 (char *) "self", NULL
17733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
17734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17738 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
17740 wxPyEndAllowThreads(__tstate
);
17741 if (PyErr_Occurred()) SWIG_fail
;
17745 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17747 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17756 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17757 PyObject
*resultobj
;
17758 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17760 PyObject
* obj0
= 0 ;
17761 char *kwnames
[] = {
17762 (char *) "self", NULL
17765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
17766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17770 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
17772 wxPyEndAllowThreads(__tstate
);
17773 if (PyErr_Occurred()) SWIG_fail
;
17776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17784 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17785 PyObject
*resultobj
;
17786 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17788 PyObject
* obj0
= 0 ;
17789 char *kwnames
[] = {
17790 (char *) "self", NULL
17793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
17794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17798 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
17800 wxPyEndAllowThreads(__tstate
);
17801 if (PyErr_Occurred()) SWIG_fail
;
17804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17812 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17813 PyObject
*resultobj
;
17814 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17816 PyObject
* obj0
= 0 ;
17817 char *kwnames
[] = {
17818 (char *) "self", NULL
17821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
17822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17826 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
17828 wxPyEndAllowThreads(__tstate
);
17829 if (PyErr_Occurred()) SWIG_fail
;
17832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17840 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17841 PyObject
*resultobj
;
17842 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17844 PyObject
* obj0
= 0 ;
17845 PyObject
* obj1
= 0 ;
17846 char *kwnames
[] = {
17847 (char *) "self",(char *) "check", NULL
17850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
17851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17853 arg2
= (bool) SWIG_AsBool(obj1
);
17854 if (PyErr_Occurred()) SWIG_fail
;
17856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17857 (arg1
)->Check(arg2
);
17859 wxPyEndAllowThreads(__tstate
);
17860 if (PyErr_Occurred()) SWIG_fail
;
17862 Py_INCREF(Py_None
); resultobj
= Py_None
;
17869 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17870 PyObject
*resultobj
;
17871 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17873 PyObject
* obj0
= 0 ;
17874 PyObject
* obj1
= 0 ;
17875 char *kwnames
[] = {
17876 (char *) "self",(char *) "enable", NULL
17879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
17880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17882 arg2
= (bool) SWIG_AsBool(obj1
);
17883 if (PyErr_Occurred()) SWIG_fail
;
17885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17886 (arg1
)->Enable(arg2
);
17888 wxPyEndAllowThreads(__tstate
);
17889 if (PyErr_Occurred()) SWIG_fail
;
17891 Py_INCREF(Py_None
); resultobj
= Py_None
;
17898 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17899 PyObject
*resultobj
;
17900 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17901 wxString
*arg2
= 0 ;
17902 bool temp2
= False
;
17903 PyObject
* obj0
= 0 ;
17904 PyObject
* obj1
= 0 ;
17905 char *kwnames
[] = {
17906 (char *) "self",(char *) "text", NULL
17909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
17910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17913 arg2
= wxString_in_helper(obj1
);
17914 if (arg2
== NULL
) SWIG_fail
;
17918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17919 (arg1
)->SetText((wxString
const &)*arg2
);
17921 wxPyEndAllowThreads(__tstate
);
17922 if (PyErr_Occurred()) SWIG_fail
;
17924 Py_INCREF(Py_None
); resultobj
= Py_None
;
17939 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17940 PyObject
*resultobj
;
17942 PyObject
* obj0
= 0 ;
17943 char *kwnames
[] = {
17944 (char *) "updateInterval", NULL
17947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
17948 arg1
= (long) SWIG_AsLong(obj0
);
17949 if (PyErr_Occurred()) SWIG_fail
;
17951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17952 wxUpdateUIEvent::SetUpdateInterval(arg1
);
17954 wxPyEndAllowThreads(__tstate
);
17955 if (PyErr_Occurred()) SWIG_fail
;
17957 Py_INCREF(Py_None
); resultobj
= Py_None
;
17964 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17965 PyObject
*resultobj
;
17967 char *kwnames
[] = {
17971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
17973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17974 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
17976 wxPyEndAllowThreads(__tstate
);
17977 if (PyErr_Occurred()) SWIG_fail
;
17979 resultobj
= SWIG_FromLong((long)result
);
17986 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17987 PyObject
*resultobj
;
17988 wxWindow
*arg1
= (wxWindow
*) 0 ;
17990 PyObject
* obj0
= 0 ;
17991 char *kwnames
[] = {
17992 (char *) "win", NULL
17995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
17996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18000 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18002 wxPyEndAllowThreads(__tstate
);
18003 if (PyErr_Occurred()) SWIG_fail
;
18006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18014 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18015 PyObject
*resultobj
;
18016 char *kwnames
[] = {
18020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18023 wxUpdateUIEvent::ResetUpdateTime();
18025 wxPyEndAllowThreads(__tstate
);
18026 if (PyErr_Occurred()) SWIG_fail
;
18028 Py_INCREF(Py_None
); resultobj
= Py_None
;
18035 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18036 PyObject
*resultobj
;
18038 PyObject
* obj0
= 0 ;
18039 char *kwnames
[] = {
18040 (char *) "mode", NULL
18043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18044 arg1
= (wxUpdateUIMode
) SWIG_AsInt(obj0
);
18045 if (PyErr_Occurred()) SWIG_fail
;
18047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18048 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18050 wxPyEndAllowThreads(__tstate
);
18051 if (PyErr_Occurred()) SWIG_fail
;
18053 Py_INCREF(Py_None
); resultobj
= Py_None
;
18060 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18061 PyObject
*resultobj
;
18063 char *kwnames
[] = {
18067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18070 result
= (int)wxUpdateUIEvent::GetMode();
18072 wxPyEndAllowThreads(__tstate
);
18073 if (PyErr_Occurred()) SWIG_fail
;
18075 resultobj
= SWIG_FromInt((int)result
);
18082 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
18084 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18085 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18087 return Py_BuildValue((char *)"");
18089 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18090 PyObject
*resultobj
;
18091 wxSysColourChangedEvent
*result
;
18092 char *kwnames
[] = {
18096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18099 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18101 wxPyEndAllowThreads(__tstate
);
18102 if (PyErr_Occurred()) SWIG_fail
;
18104 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18111 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18113 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18114 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18116 return Py_BuildValue((char *)"");
18118 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18119 PyObject
*resultobj
;
18120 int arg1
= (int) 0 ;
18121 wxWindow
*arg2
= (wxWindow
*) NULL
;
18122 wxMouseCaptureChangedEvent
*result
;
18123 PyObject
* obj0
= 0 ;
18124 PyObject
* obj1
= 0 ;
18125 char *kwnames
[] = {
18126 (char *) "winid",(char *) "gainedCapture", NULL
18129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18131 arg1
= (int) SWIG_AsInt(obj0
);
18132 if (PyErr_Occurred()) SWIG_fail
;
18135 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18140 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18142 wxPyEndAllowThreads(__tstate
);
18143 if (PyErr_Occurred()) SWIG_fail
;
18145 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18152 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18153 PyObject
*resultobj
;
18154 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18156 PyObject
* obj0
= 0 ;
18157 char *kwnames
[] = {
18158 (char *) "self", NULL
18161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18166 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18168 wxPyEndAllowThreads(__tstate
);
18169 if (PyErr_Occurred()) SWIG_fail
;
18172 resultobj
= wxPyMake_wxObject(result
);
18180 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18182 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18183 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18185 return Py_BuildValue((char *)"");
18187 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18188 PyObject
*resultobj
;
18189 wxDisplayChangedEvent
*result
;
18190 char *kwnames
[] = {
18194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18197 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18199 wxPyEndAllowThreads(__tstate
);
18200 if (PyErr_Occurred()) SWIG_fail
;
18202 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18209 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18211 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18212 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18214 return Py_BuildValue((char *)"");
18216 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18217 PyObject
*resultobj
;
18218 int arg1
= (int) 0 ;
18219 wxPaletteChangedEvent
*result
;
18220 PyObject
* obj0
= 0 ;
18221 char *kwnames
[] = {
18222 (char *) "id", NULL
18225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18227 arg1
= (int) SWIG_AsInt(obj0
);
18228 if (PyErr_Occurred()) SWIG_fail
;
18231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18232 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18234 wxPyEndAllowThreads(__tstate
);
18235 if (PyErr_Occurred()) SWIG_fail
;
18237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18244 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18245 PyObject
*resultobj
;
18246 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18247 wxWindow
*arg2
= (wxWindow
*) 0 ;
18248 PyObject
* obj0
= 0 ;
18249 PyObject
* obj1
= 0 ;
18250 char *kwnames
[] = {
18251 (char *) "self",(char *) "win", NULL
18254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18257 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18261 (arg1
)->SetChangedWindow(arg2
);
18263 wxPyEndAllowThreads(__tstate
);
18264 if (PyErr_Occurred()) SWIG_fail
;
18266 Py_INCREF(Py_None
); resultobj
= Py_None
;
18273 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18274 PyObject
*resultobj
;
18275 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18277 PyObject
* obj0
= 0 ;
18278 char *kwnames
[] = {
18279 (char *) "self", NULL
18282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18287 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18289 wxPyEndAllowThreads(__tstate
);
18290 if (PyErr_Occurred()) SWIG_fail
;
18293 resultobj
= wxPyMake_wxObject(result
);
18301 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18303 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18304 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18306 return Py_BuildValue((char *)"");
18308 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18309 PyObject
*resultobj
;
18310 int arg1
= (int) 0 ;
18311 wxQueryNewPaletteEvent
*result
;
18312 PyObject
* obj0
= 0 ;
18313 char *kwnames
[] = {
18314 (char *) "winid", NULL
18317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18319 arg1
= (int) SWIG_AsInt(obj0
);
18320 if (PyErr_Occurred()) SWIG_fail
;
18323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18324 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18326 wxPyEndAllowThreads(__tstate
);
18327 if (PyErr_Occurred()) SWIG_fail
;
18329 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18336 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18337 PyObject
*resultobj
;
18338 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18340 PyObject
* obj0
= 0 ;
18341 PyObject
* obj1
= 0 ;
18342 char *kwnames
[] = {
18343 (char *) "self",(char *) "realized", NULL
18346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18349 arg2
= (bool) SWIG_AsBool(obj1
);
18350 if (PyErr_Occurred()) SWIG_fail
;
18352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18353 (arg1
)->SetPaletteRealized(arg2
);
18355 wxPyEndAllowThreads(__tstate
);
18356 if (PyErr_Occurred()) SWIG_fail
;
18358 Py_INCREF(Py_None
); resultobj
= Py_None
;
18365 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18366 PyObject
*resultobj
;
18367 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18369 PyObject
* obj0
= 0 ;
18370 char *kwnames
[] = {
18371 (char *) "self", NULL
18374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
18375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18379 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
18381 wxPyEndAllowThreads(__tstate
);
18382 if (PyErr_Occurred()) SWIG_fail
;
18385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18393 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
18395 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18396 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
18398 return Py_BuildValue((char *)"");
18400 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18401 PyObject
*resultobj
;
18402 wxNavigationKeyEvent
*result
;
18403 char *kwnames
[] = {
18407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
18409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18410 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
18412 wxPyEndAllowThreads(__tstate
);
18413 if (PyErr_Occurred()) SWIG_fail
;
18415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
18422 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18423 PyObject
*resultobj
;
18424 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18426 PyObject
* obj0
= 0 ;
18427 char *kwnames
[] = {
18428 (char *) "self", NULL
18431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
18432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18436 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
18438 wxPyEndAllowThreads(__tstate
);
18439 if (PyErr_Occurred()) SWIG_fail
;
18442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18450 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18451 PyObject
*resultobj
;
18452 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18454 PyObject
* obj0
= 0 ;
18455 PyObject
* obj1
= 0 ;
18456 char *kwnames
[] = {
18457 (char *) "self",(char *) "bForward", NULL
18460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
18461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18463 arg2
= (bool) SWIG_AsBool(obj1
);
18464 if (PyErr_Occurred()) SWIG_fail
;
18466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18467 (arg1
)->SetDirection(arg2
);
18469 wxPyEndAllowThreads(__tstate
);
18470 if (PyErr_Occurred()) SWIG_fail
;
18472 Py_INCREF(Py_None
); resultobj
= Py_None
;
18479 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18480 PyObject
*resultobj
;
18481 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18483 PyObject
* obj0
= 0 ;
18484 char *kwnames
[] = {
18485 (char *) "self", NULL
18488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
18489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18493 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
18495 wxPyEndAllowThreads(__tstate
);
18496 if (PyErr_Occurred()) SWIG_fail
;
18499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18507 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18508 PyObject
*resultobj
;
18509 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18511 PyObject
* obj0
= 0 ;
18512 PyObject
* obj1
= 0 ;
18513 char *kwnames
[] = {
18514 (char *) "self",(char *) "bIs", NULL
18517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
18518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18520 arg2
= (bool) SWIG_AsBool(obj1
);
18521 if (PyErr_Occurred()) SWIG_fail
;
18523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18524 (arg1
)->SetWindowChange(arg2
);
18526 wxPyEndAllowThreads(__tstate
);
18527 if (PyErr_Occurred()) SWIG_fail
;
18529 Py_INCREF(Py_None
); resultobj
= Py_None
;
18536 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18537 PyObject
*resultobj
;
18538 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18540 PyObject
* obj0
= 0 ;
18541 char *kwnames
[] = {
18542 (char *) "self", NULL
18545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
18546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18550 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
18552 wxPyEndAllowThreads(__tstate
);
18553 if (PyErr_Occurred()) SWIG_fail
;
18556 resultobj
= wxPyMake_wxObject(result
);
18564 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18565 PyObject
*resultobj
;
18566 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18567 wxWindow
*arg2
= (wxWindow
*) 0 ;
18568 PyObject
* obj0
= 0 ;
18569 PyObject
* obj1
= 0 ;
18570 char *kwnames
[] = {
18571 (char *) "self",(char *) "win", NULL
18574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
18575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18577 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18581 (arg1
)->SetCurrentFocus(arg2
);
18583 wxPyEndAllowThreads(__tstate
);
18584 if (PyErr_Occurred()) SWIG_fail
;
18586 Py_INCREF(Py_None
); resultobj
= Py_None
;
18593 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
18595 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18596 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
18598 return Py_BuildValue((char *)"");
18600 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18601 PyObject
*resultobj
;
18602 wxWindow
*arg1
= (wxWindow
*) NULL
;
18603 wxWindowCreateEvent
*result
;
18604 PyObject
* obj0
= 0 ;
18605 char *kwnames
[] = {
18606 (char *) "win", NULL
18609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
18611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18616 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
18618 wxPyEndAllowThreads(__tstate
);
18619 if (PyErr_Occurred()) SWIG_fail
;
18621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
18628 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18629 PyObject
*resultobj
;
18630 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
18632 PyObject
* obj0
= 0 ;
18633 char *kwnames
[] = {
18634 (char *) "self", NULL
18637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
18639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18642 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
18644 wxPyEndAllowThreads(__tstate
);
18645 if (PyErr_Occurred()) SWIG_fail
;
18648 resultobj
= wxPyMake_wxObject(result
);
18656 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
18658 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18659 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
18661 return Py_BuildValue((char *)"");
18663 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18664 PyObject
*resultobj
;
18665 wxWindow
*arg1
= (wxWindow
*) NULL
;
18666 wxWindowDestroyEvent
*result
;
18667 PyObject
* obj0
= 0 ;
18668 char *kwnames
[] = {
18669 (char *) "win", NULL
18672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
18674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18679 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
18681 wxPyEndAllowThreads(__tstate
);
18682 if (PyErr_Occurred()) SWIG_fail
;
18684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
18691 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18692 PyObject
*resultobj
;
18693 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
18695 PyObject
* obj0
= 0 ;
18696 char *kwnames
[] = {
18697 (char *) "self", NULL
18700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
18702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18705 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
18707 wxPyEndAllowThreads(__tstate
);
18708 if (PyErr_Occurred()) SWIG_fail
;
18711 resultobj
= wxPyMake_wxObject(result
);
18719 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
18721 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18722 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
18724 return Py_BuildValue((char *)"");
18726 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18727 PyObject
*resultobj
;
18728 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18729 int arg2
= (int) 0 ;
18730 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18731 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18732 wxContextMenuEvent
*result
;
18734 PyObject
* obj0
= 0 ;
18735 PyObject
* obj1
= 0 ;
18736 PyObject
* obj2
= 0 ;
18737 char *kwnames
[] = {
18738 (char *) "type",(char *) "winid",(char *) "pt", NULL
18741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18743 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
18744 if (PyErr_Occurred()) SWIG_fail
;
18747 arg2
= (int) SWIG_AsInt(obj1
);
18748 if (PyErr_Occurred()) SWIG_fail
;
18753 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18758 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
18760 wxPyEndAllowThreads(__tstate
);
18761 if (PyErr_Occurred()) SWIG_fail
;
18763 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
18770 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18771 PyObject
*resultobj
;
18772 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18774 PyObject
* obj0
= 0 ;
18775 char *kwnames
[] = {
18776 (char *) "self", NULL
18779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18785 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
18786 result
= (wxPoint
*) &_result_ref
;
18789 wxPyEndAllowThreads(__tstate
);
18790 if (PyErr_Occurred()) SWIG_fail
;
18792 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
18799 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18800 PyObject
*resultobj
;
18801 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18802 wxPoint
*arg2
= 0 ;
18804 PyObject
* obj0
= 0 ;
18805 PyObject
* obj1
= 0 ;
18806 char *kwnames
[] = {
18807 (char *) "self",(char *) "pos", NULL
18810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
18811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18815 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18819 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
18821 wxPyEndAllowThreads(__tstate
);
18822 if (PyErr_Occurred()) SWIG_fail
;
18824 Py_INCREF(Py_None
); resultobj
= Py_None
;
18831 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
18833 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18834 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
18836 return Py_BuildValue((char *)"");
18838 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18839 PyObject
*resultobj
;
18840 wxIdleEvent
*result
;
18841 char *kwnames
[] = {
18845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
18847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18848 result
= (wxIdleEvent
*)new wxIdleEvent();
18850 wxPyEndAllowThreads(__tstate
);
18851 if (PyErr_Occurred()) SWIG_fail
;
18853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
18860 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18861 PyObject
*resultobj
;
18862 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18863 bool arg2
= (bool) True
;
18864 PyObject
* obj0
= 0 ;
18865 PyObject
* obj1
= 0 ;
18866 char *kwnames
[] = {
18867 (char *) "self",(char *) "needMore", NULL
18870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
18871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
18872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18874 arg2
= (bool) SWIG_AsBool(obj1
);
18875 if (PyErr_Occurred()) SWIG_fail
;
18878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18879 (arg1
)->RequestMore(arg2
);
18881 wxPyEndAllowThreads(__tstate
);
18882 if (PyErr_Occurred()) SWIG_fail
;
18884 Py_INCREF(Py_None
); resultobj
= Py_None
;
18891 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18892 PyObject
*resultobj
;
18893 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18895 PyObject
* obj0
= 0 ;
18896 char *kwnames
[] = {
18897 (char *) "self", NULL
18900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
18901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
18902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18905 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
18907 wxPyEndAllowThreads(__tstate
);
18908 if (PyErr_Occurred()) SWIG_fail
;
18911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18919 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18920 PyObject
*resultobj
;
18922 PyObject
* obj0
= 0 ;
18923 char *kwnames
[] = {
18924 (char *) "mode", NULL
18927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18928 arg1
= (wxIdleMode
) SWIG_AsInt(obj0
);
18929 if (PyErr_Occurred()) SWIG_fail
;
18931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18932 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
18934 wxPyEndAllowThreads(__tstate
);
18935 if (PyErr_Occurred()) SWIG_fail
;
18937 Py_INCREF(Py_None
); resultobj
= Py_None
;
18944 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18945 PyObject
*resultobj
;
18947 char *kwnames
[] = {
18951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
18953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18954 result
= (int)wxIdleEvent::GetMode();
18956 wxPyEndAllowThreads(__tstate
);
18957 if (PyErr_Occurred()) SWIG_fail
;
18959 resultobj
= SWIG_FromInt((int)result
);
18966 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18967 PyObject
*resultobj
;
18968 wxWindow
*arg1
= (wxWindow
*) 0 ;
18970 PyObject
* obj0
= 0 ;
18971 char *kwnames
[] = {
18972 (char *) "win", NULL
18975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
18976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18980 result
= (bool)wxIdleEvent::CanSend(arg1
);
18982 wxPyEndAllowThreads(__tstate
);
18983 if (PyErr_Occurred()) SWIG_fail
;
18986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18994 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
18996 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18997 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
18999 return Py_BuildValue((char *)"");
19001 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19002 PyObject
*resultobj
;
19003 int arg1
= (int) 0 ;
19004 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19006 PyObject
* obj0
= 0 ;
19007 PyObject
* obj1
= 0 ;
19008 char *kwnames
[] = {
19009 (char *) "winid",(char *) "commandType", NULL
19012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19014 arg1
= (int) SWIG_AsInt(obj0
);
19015 if (PyErr_Occurred()) SWIG_fail
;
19018 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
19019 if (PyErr_Occurred()) SWIG_fail
;
19022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19023 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19025 wxPyEndAllowThreads(__tstate
);
19026 if (PyErr_Occurred()) SWIG_fail
;
19028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19035 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19036 PyObject
*resultobj
;
19037 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19038 PyObject
* obj0
= 0 ;
19039 char *kwnames
[] = {
19040 (char *) "self", NULL
19043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19050 wxPyEndAllowThreads(__tstate
);
19051 if (PyErr_Occurred()) SWIG_fail
;
19053 Py_INCREF(Py_None
); resultobj
= Py_None
;
19060 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19061 PyObject
*resultobj
;
19062 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19063 PyObject
*arg2
= (PyObject
*) 0 ;
19064 PyObject
* obj0
= 0 ;
19065 PyObject
* obj1
= 0 ;
19066 char *kwnames
[] = {
19067 (char *) "self",(char *) "self", NULL
19070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19076 (arg1
)->SetSelf(arg2
);
19078 wxPyEndAllowThreads(__tstate
);
19079 if (PyErr_Occurred()) SWIG_fail
;
19081 Py_INCREF(Py_None
); resultobj
= Py_None
;
19088 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19089 PyObject
*resultobj
;
19090 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19092 PyObject
* obj0
= 0 ;
19093 char *kwnames
[] = {
19094 (char *) "self", NULL
19097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19102 result
= (PyObject
*)(arg1
)->GetSelf();
19104 wxPyEndAllowThreads(__tstate
);
19105 if (PyErr_Occurred()) SWIG_fail
;
19107 resultobj
= result
;
19114 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
19116 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19117 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19119 return Py_BuildValue((char *)"");
19121 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19122 PyObject
*resultobj
;
19123 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19124 int arg2
= (int) 0 ;
19125 wxPyCommandEvent
*result
;
19126 PyObject
* obj0
= 0 ;
19127 PyObject
* obj1
= 0 ;
19128 char *kwnames
[] = {
19129 (char *) "commandType",(char *) "id", NULL
19132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19134 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19135 if (PyErr_Occurred()) SWIG_fail
;
19138 arg2
= (int) SWIG_AsInt(obj1
);
19139 if (PyErr_Occurred()) SWIG_fail
;
19142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19143 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19145 wxPyEndAllowThreads(__tstate
);
19146 if (PyErr_Occurred()) SWIG_fail
;
19148 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19155 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19156 PyObject
*resultobj
;
19157 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19158 PyObject
* obj0
= 0 ;
19159 char *kwnames
[] = {
19160 (char *) "self", NULL
19163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19170 wxPyEndAllowThreads(__tstate
);
19171 if (PyErr_Occurred()) SWIG_fail
;
19173 Py_INCREF(Py_None
); resultobj
= Py_None
;
19180 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19181 PyObject
*resultobj
;
19182 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19183 PyObject
*arg2
= (PyObject
*) 0 ;
19184 PyObject
* obj0
= 0 ;
19185 PyObject
* obj1
= 0 ;
19186 char *kwnames
[] = {
19187 (char *) "self",(char *) "self", NULL
19190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19196 (arg1
)->SetSelf(arg2
);
19198 wxPyEndAllowThreads(__tstate
);
19199 if (PyErr_Occurred()) SWIG_fail
;
19201 Py_INCREF(Py_None
); resultobj
= Py_None
;
19208 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19209 PyObject
*resultobj
;
19210 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19212 PyObject
* obj0
= 0 ;
19213 char *kwnames
[] = {
19214 (char *) "self", NULL
19217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19222 result
= (PyObject
*)(arg1
)->GetSelf();
19224 wxPyEndAllowThreads(__tstate
);
19225 if (PyErr_Occurred()) SWIG_fail
;
19227 resultobj
= result
;
19234 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
19236 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19237 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19239 return Py_BuildValue((char *)"");
19241 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19242 PyObject
*resultobj
;
19244 char *kwnames
[] = {
19248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19251 result
= (wxPyApp
*)new_wxPyApp();
19253 wxPyEndAllowThreads(__tstate
);
19254 if (PyErr_Occurred()) SWIG_fail
;
19257 resultobj
= wxPyMake_wxObject(result
);
19265 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19266 PyObject
*resultobj
;
19267 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19268 PyObject
* obj0
= 0 ;
19269 char *kwnames
[] = {
19270 (char *) "self", NULL
19273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19280 wxPyEndAllowThreads(__tstate
);
19281 if (PyErr_Occurred()) SWIG_fail
;
19283 Py_INCREF(Py_None
); resultobj
= Py_None
;
19290 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19291 PyObject
*resultobj
;
19292 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19293 PyObject
*arg2
= (PyObject
*) 0 ;
19294 PyObject
*arg3
= (PyObject
*) 0 ;
19295 PyObject
* obj0
= 0 ;
19296 PyObject
* obj1
= 0 ;
19297 PyObject
* obj2
= 0 ;
19298 char *kwnames
[] = {
19299 (char *) "self",(char *) "self",(char *) "_class", NULL
19302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19309 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19311 wxPyEndAllowThreads(__tstate
);
19312 if (PyErr_Occurred()) SWIG_fail
;
19314 Py_INCREF(Py_None
); resultobj
= Py_None
;
19321 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19322 PyObject
*resultobj
;
19323 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19325 PyObject
* obj0
= 0 ;
19326 char *kwnames
[] = {
19327 (char *) "self", NULL
19330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
19331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19335 result
= ((wxPyApp
const *)arg1
)->GetAppName();
19337 wxPyEndAllowThreads(__tstate
);
19338 if (PyErr_Occurred()) SWIG_fail
;
19342 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19344 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19353 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19354 PyObject
*resultobj
;
19355 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19356 wxString
*arg2
= 0 ;
19357 bool temp2
= False
;
19358 PyObject
* obj0
= 0 ;
19359 PyObject
* obj1
= 0 ;
19360 char *kwnames
[] = {
19361 (char *) "self",(char *) "name", NULL
19364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19368 arg2
= wxString_in_helper(obj1
);
19369 if (arg2
== NULL
) SWIG_fail
;
19373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19374 (arg1
)->SetAppName((wxString
const &)*arg2
);
19376 wxPyEndAllowThreads(__tstate
);
19377 if (PyErr_Occurred()) SWIG_fail
;
19379 Py_INCREF(Py_None
); resultobj
= Py_None
;
19394 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19395 PyObject
*resultobj
;
19396 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19398 PyObject
* obj0
= 0 ;
19399 char *kwnames
[] = {
19400 (char *) "self", NULL
19403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
19404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19408 result
= ((wxPyApp
const *)arg1
)->GetClassName();
19410 wxPyEndAllowThreads(__tstate
);
19411 if (PyErr_Occurred()) SWIG_fail
;
19415 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19417 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19426 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19427 PyObject
*resultobj
;
19428 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19429 wxString
*arg2
= 0 ;
19430 bool temp2
= False
;
19431 PyObject
* obj0
= 0 ;
19432 PyObject
* obj1
= 0 ;
19433 char *kwnames
[] = {
19434 (char *) "self",(char *) "name", NULL
19437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
19438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19441 arg2
= wxString_in_helper(obj1
);
19442 if (arg2
== NULL
) SWIG_fail
;
19446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19447 (arg1
)->SetClassName((wxString
const &)*arg2
);
19449 wxPyEndAllowThreads(__tstate
);
19450 if (PyErr_Occurred()) SWIG_fail
;
19452 Py_INCREF(Py_None
); resultobj
= Py_None
;
19467 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19468 PyObject
*resultobj
;
19469 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19471 PyObject
* obj0
= 0 ;
19472 char *kwnames
[] = {
19473 (char *) "self", NULL
19476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
19477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19482 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
19483 result
= (wxString
*) &_result_ref
;
19486 wxPyEndAllowThreads(__tstate
);
19487 if (PyErr_Occurred()) SWIG_fail
;
19491 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19493 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19502 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19503 PyObject
*resultobj
;
19504 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19505 wxString
*arg2
= 0 ;
19506 bool temp2
= False
;
19507 PyObject
* obj0
= 0 ;
19508 PyObject
* obj1
= 0 ;
19509 char *kwnames
[] = {
19510 (char *) "self",(char *) "name", NULL
19513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
19514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19517 arg2
= wxString_in_helper(obj1
);
19518 if (arg2
== NULL
) SWIG_fail
;
19522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19523 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19525 wxPyEndAllowThreads(__tstate
);
19526 if (PyErr_Occurred()) SWIG_fail
;
19528 Py_INCREF(Py_None
); resultobj
= Py_None
;
19543 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19544 PyObject
*resultobj
;
19545 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19546 wxAppTraits
*result
;
19547 PyObject
* obj0
= 0 ;
19548 char *kwnames
[] = {
19549 (char *) "self", NULL
19552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
19553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19557 result
= (wxAppTraits
*)(arg1
)->GetTraits();
19559 wxPyEndAllowThreads(__tstate
);
19560 if (PyErr_Occurred()) SWIG_fail
;
19562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
19569 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19570 PyObject
*resultobj
;
19571 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19572 PyObject
* obj0
= 0 ;
19573 char *kwnames
[] = {
19574 (char *) "self", NULL
19577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
19578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19582 (arg1
)->ProcessPendingEvents();
19584 wxPyEndAllowThreads(__tstate
);
19585 if (PyErr_Occurred()) SWIG_fail
;
19587 Py_INCREF(Py_None
); resultobj
= Py_None
;
19594 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19595 PyObject
*resultobj
;
19596 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19597 bool arg2
= (bool) False
;
19599 PyObject
* obj0
= 0 ;
19600 PyObject
* obj1
= 0 ;
19601 char *kwnames
[] = {
19602 (char *) "self",(char *) "onlyIfNeeded", NULL
19605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
19606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19609 arg2
= (bool) SWIG_AsBool(obj1
);
19610 if (PyErr_Occurred()) SWIG_fail
;
19613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19614 result
= (bool)(arg1
)->Yield(arg2
);
19616 wxPyEndAllowThreads(__tstate
);
19617 if (PyErr_Occurred()) SWIG_fail
;
19620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19628 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19629 PyObject
*resultobj
;
19630 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19631 PyObject
* obj0
= 0 ;
19632 char *kwnames
[] = {
19633 (char *) "self", NULL
19636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
19637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19641 (arg1
)->WakeUpIdle();
19643 wxPyEndAllowThreads(__tstate
);
19644 if (PyErr_Occurred()) SWIG_fail
;
19646 Py_INCREF(Py_None
); resultobj
= Py_None
;
19653 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19654 PyObject
*resultobj
;
19655 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19657 PyObject
* obj0
= 0 ;
19658 char *kwnames
[] = {
19659 (char *) "self", NULL
19662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
19663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19667 result
= (int)(arg1
)->MainLoop();
19669 wxPyEndAllowThreads(__tstate
);
19670 if (PyErr_Occurred()) SWIG_fail
;
19672 resultobj
= SWIG_FromInt((int)result
);
19679 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19680 PyObject
*resultobj
;
19681 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19682 PyObject
* obj0
= 0 ;
19683 char *kwnames
[] = {
19684 (char *) "self", NULL
19687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
19688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19694 wxPyEndAllowThreads(__tstate
);
19695 if (PyErr_Occurred()) SWIG_fail
;
19697 Py_INCREF(Py_None
); resultobj
= Py_None
;
19704 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19705 PyObject
*resultobj
;
19706 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19707 PyObject
* obj0
= 0 ;
19708 char *kwnames
[] = {
19709 (char *) "self", NULL
19712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
19713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19717 (arg1
)->ExitMainLoop();
19719 wxPyEndAllowThreads(__tstate
);
19720 if (PyErr_Occurred()) SWIG_fail
;
19722 Py_INCREF(Py_None
); resultobj
= Py_None
;
19729 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19730 PyObject
*resultobj
;
19731 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19733 PyObject
* obj0
= 0 ;
19734 char *kwnames
[] = {
19735 (char *) "self", NULL
19738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
19739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19743 result
= (bool)(arg1
)->Pending();
19745 wxPyEndAllowThreads(__tstate
);
19746 if (PyErr_Occurred()) SWIG_fail
;
19749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19757 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19758 PyObject
*resultobj
;
19759 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19761 PyObject
* obj0
= 0 ;
19762 char *kwnames
[] = {
19763 (char *) "self", NULL
19766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
19767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19771 result
= (bool)(arg1
)->Dispatch();
19773 wxPyEndAllowThreads(__tstate
);
19774 if (PyErr_Occurred()) SWIG_fail
;
19777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19785 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19786 PyObject
*resultobj
;
19787 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19789 PyObject
* obj0
= 0 ;
19790 char *kwnames
[] = {
19791 (char *) "self", NULL
19794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
19795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19799 result
= (bool)(arg1
)->ProcessIdle();
19801 wxPyEndAllowThreads(__tstate
);
19802 if (PyErr_Occurred()) SWIG_fail
;
19805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19813 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19814 PyObject
*resultobj
;
19815 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19816 wxWindow
*arg2
= (wxWindow
*) 0 ;
19817 wxIdleEvent
*arg3
= 0 ;
19819 PyObject
* obj0
= 0 ;
19820 PyObject
* obj1
= 0 ;
19821 PyObject
* obj2
= 0 ;
19822 char *kwnames
[] = {
19823 (char *) "self",(char *) "win",(char *) "event", NULL
19826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19829 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19831 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
19832 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19834 if (arg3
== NULL
) {
19835 PyErr_SetString(PyExc_TypeError
,"null reference");
19839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19840 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
19842 wxPyEndAllowThreads(__tstate
);
19843 if (PyErr_Occurred()) SWIG_fail
;
19846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19854 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19855 PyObject
*resultobj
;
19856 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19858 PyObject
* obj0
= 0 ;
19859 char *kwnames
[] = {
19860 (char *) "self", NULL
19863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
19864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19868 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
19870 wxPyEndAllowThreads(__tstate
);
19871 if (PyErr_Occurred()) SWIG_fail
;
19874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19882 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19883 PyObject
*resultobj
;
19884 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19885 wxWindow
*arg2
= (wxWindow
*) 0 ;
19886 PyObject
* obj0
= 0 ;
19887 PyObject
* obj1
= 0 ;
19888 char *kwnames
[] = {
19889 (char *) "self",(char *) "win", NULL
19892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19895 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19899 (arg1
)->SetTopWindow(arg2
);
19901 wxPyEndAllowThreads(__tstate
);
19902 if (PyErr_Occurred()) SWIG_fail
;
19904 Py_INCREF(Py_None
); resultobj
= Py_None
;
19911 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19912 PyObject
*resultobj
;
19913 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19915 PyObject
* obj0
= 0 ;
19916 char *kwnames
[] = {
19917 (char *) "self", NULL
19920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
19921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19925 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
19927 wxPyEndAllowThreads(__tstate
);
19928 if (PyErr_Occurred()) SWIG_fail
;
19931 resultobj
= wxPyMake_wxObject(result
);
19939 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19940 PyObject
*resultobj
;
19941 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19943 PyObject
* obj0
= 0 ;
19944 PyObject
* obj1
= 0 ;
19945 char *kwnames
[] = {
19946 (char *) "self",(char *) "flag", NULL
19949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
19950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19952 arg2
= (bool) SWIG_AsBool(obj1
);
19953 if (PyErr_Occurred()) SWIG_fail
;
19955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19956 (arg1
)->SetExitOnFrameDelete(arg2
);
19958 wxPyEndAllowThreads(__tstate
);
19959 if (PyErr_Occurred()) SWIG_fail
;
19961 Py_INCREF(Py_None
); resultobj
= Py_None
;
19968 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19969 PyObject
*resultobj
;
19970 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19972 PyObject
* obj0
= 0 ;
19973 char *kwnames
[] = {
19974 (char *) "self", NULL
19977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
19978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19982 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
19984 wxPyEndAllowThreads(__tstate
);
19985 if (PyErr_Occurred()) SWIG_fail
;
19988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19996 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19997 PyObject
*resultobj
;
19998 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20000 PyObject
* obj0
= 0 ;
20001 PyObject
* obj1
= 0 ;
20002 char *kwnames
[] = {
20003 (char *) "self",(char *) "flag", NULL
20006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20009 arg2
= (bool) SWIG_AsBool(obj1
);
20010 if (PyErr_Occurred()) SWIG_fail
;
20012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20013 (arg1
)->SetUseBestVisual(arg2
);
20015 wxPyEndAllowThreads(__tstate
);
20016 if (PyErr_Occurred()) SWIG_fail
;
20018 Py_INCREF(Py_None
); resultobj
= Py_None
;
20025 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20026 PyObject
*resultobj
;
20027 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20029 PyObject
* obj0
= 0 ;
20030 char *kwnames
[] = {
20031 (char *) "self", NULL
20034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20039 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20041 wxPyEndAllowThreads(__tstate
);
20042 if (PyErr_Occurred()) SWIG_fail
;
20045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20053 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20054 PyObject
*resultobj
;
20055 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20057 PyObject
* obj0
= 0 ;
20058 PyObject
* obj1
= 0 ;
20059 char *kwnames
[] = {
20060 (char *) "self",(char *) "mode", NULL
20063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20066 arg2
= (int) SWIG_AsInt(obj1
);
20067 if (PyErr_Occurred()) SWIG_fail
;
20069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20070 (arg1
)->SetPrintMode(arg2
);
20072 wxPyEndAllowThreads(__tstate
);
20073 if (PyErr_Occurred()) SWIG_fail
;
20075 Py_INCREF(Py_None
); resultobj
= Py_None
;
20082 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20083 PyObject
*resultobj
;
20084 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20086 PyObject
* obj0
= 0 ;
20087 char *kwnames
[] = {
20088 (char *) "self", NULL
20091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20096 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20098 wxPyEndAllowThreads(__tstate
);
20099 if (PyErr_Occurred()) SWIG_fail
;
20101 resultobj
= SWIG_FromInt((int)result
);
20108 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20109 PyObject
*resultobj
;
20110 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20112 PyObject
* obj0
= 0 ;
20113 PyObject
* obj1
= 0 ;
20114 char *kwnames
[] = {
20115 (char *) "self",(char *) "mode", NULL
20118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20121 arg2
= (int) SWIG_AsInt(obj1
);
20122 if (PyErr_Occurred()) SWIG_fail
;
20124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20125 (arg1
)->SetAssertMode(arg2
);
20127 wxPyEndAllowThreads(__tstate
);
20128 if (PyErr_Occurred()) SWIG_fail
;
20130 Py_INCREF(Py_None
); resultobj
= Py_None
;
20137 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20138 PyObject
*resultobj
;
20139 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20141 PyObject
* obj0
= 0 ;
20142 char *kwnames
[] = {
20143 (char *) "self", NULL
20146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20151 result
= (int)(arg1
)->GetAssertMode();
20153 wxPyEndAllowThreads(__tstate
);
20154 if (PyErr_Occurred()) SWIG_fail
;
20156 resultobj
= SWIG_FromInt((int)result
);
20163 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20164 PyObject
*resultobj
;
20166 char *kwnames
[] = {
20170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
20172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20173 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20175 wxPyEndAllowThreads(__tstate
);
20176 if (PyErr_Occurred()) SWIG_fail
;
20179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20187 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20188 PyObject
*resultobj
;
20190 char *kwnames
[] = {
20194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
20196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20197 result
= (long)wxPyApp::GetMacAboutMenuItemId();
20199 wxPyEndAllowThreads(__tstate
);
20200 if (PyErr_Occurred()) SWIG_fail
;
20202 resultobj
= SWIG_FromLong((long)result
);
20209 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20210 PyObject
*resultobj
;
20212 char *kwnames
[] = {
20216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
20218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20219 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
20221 wxPyEndAllowThreads(__tstate
);
20222 if (PyErr_Occurred()) SWIG_fail
;
20224 resultobj
= SWIG_FromLong((long)result
);
20231 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20232 PyObject
*resultobj
;
20234 char *kwnames
[] = {
20238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
20240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20241 result
= (long)wxPyApp::GetMacExitMenuItemId();
20243 wxPyEndAllowThreads(__tstate
);
20244 if (PyErr_Occurred()) SWIG_fail
;
20246 resultobj
= SWIG_FromLong((long)result
);
20253 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20254 PyObject
*resultobj
;
20256 char *kwnames
[] = {
20260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
20262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20263 result
= wxPyApp::GetMacHelpMenuTitleName();
20265 wxPyEndAllowThreads(__tstate
);
20266 if (PyErr_Occurred()) SWIG_fail
;
20270 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20272 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20281 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20282 PyObject
*resultobj
;
20284 PyObject
* obj0
= 0 ;
20285 char *kwnames
[] = {
20286 (char *) "val", NULL
20289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20290 arg1
= (bool) SWIG_AsBool(obj0
);
20291 if (PyErr_Occurred()) SWIG_fail
;
20293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20294 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20296 wxPyEndAllowThreads(__tstate
);
20297 if (PyErr_Occurred()) SWIG_fail
;
20299 Py_INCREF(Py_None
); resultobj
= Py_None
;
20306 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20307 PyObject
*resultobj
;
20309 PyObject
* obj0
= 0 ;
20310 char *kwnames
[] = {
20311 (char *) "val", NULL
20314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
20315 arg1
= (long) SWIG_AsLong(obj0
);
20316 if (PyErr_Occurred()) SWIG_fail
;
20318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20319 wxPyApp::SetMacAboutMenuItemId(arg1
);
20321 wxPyEndAllowThreads(__tstate
);
20322 if (PyErr_Occurred()) SWIG_fail
;
20324 Py_INCREF(Py_None
); resultobj
= Py_None
;
20331 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20332 PyObject
*resultobj
;
20334 PyObject
* obj0
= 0 ;
20335 char *kwnames
[] = {
20336 (char *) "val", NULL
20339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
20340 arg1
= (long) SWIG_AsLong(obj0
);
20341 if (PyErr_Occurred()) SWIG_fail
;
20343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20344 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
20346 wxPyEndAllowThreads(__tstate
);
20347 if (PyErr_Occurred()) SWIG_fail
;
20349 Py_INCREF(Py_None
); resultobj
= Py_None
;
20356 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20357 PyObject
*resultobj
;
20359 PyObject
* obj0
= 0 ;
20360 char *kwnames
[] = {
20361 (char *) "val", NULL
20364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
20365 arg1
= (long) SWIG_AsLong(obj0
);
20366 if (PyErr_Occurred()) SWIG_fail
;
20368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20369 wxPyApp::SetMacExitMenuItemId(arg1
);
20371 wxPyEndAllowThreads(__tstate
);
20372 if (PyErr_Occurred()) SWIG_fail
;
20374 Py_INCREF(Py_None
); resultobj
= Py_None
;
20381 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20382 PyObject
*resultobj
;
20383 wxString
*arg1
= 0 ;
20384 bool temp1
= False
;
20385 PyObject
* obj0
= 0 ;
20386 char *kwnames
[] = {
20387 (char *) "val", NULL
20390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
20392 arg1
= wxString_in_helper(obj0
);
20393 if (arg1
== NULL
) SWIG_fail
;
20397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20398 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
20400 wxPyEndAllowThreads(__tstate
);
20401 if (PyErr_Occurred()) SWIG_fail
;
20403 Py_INCREF(Py_None
); resultobj
= Py_None
;
20418 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20419 PyObject
*resultobj
;
20420 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20421 PyObject
* obj0
= 0 ;
20422 char *kwnames
[] = {
20423 (char *) "self", NULL
20426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
20427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20431 (arg1
)->_BootstrapApp();
20433 wxPyEndAllowThreads(__tstate
);
20434 if (PyErr_Occurred()) SWIG_fail
;
20436 Py_INCREF(Py_None
); resultobj
= Py_None
;
20443 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20444 PyObject
*resultobj
;
20446 char *kwnames
[] = {
20450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
20452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20453 result
= (int)PyApp_GetComCtl32Version();
20455 wxPyEndAllowThreads(__tstate
);
20456 if (PyErr_Occurred()) SWIG_fail
;
20458 resultobj
= SWIG_FromInt((int)result
);
20465 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
20467 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20468 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
20470 return Py_BuildValue((char *)"");
20472 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20473 PyObject
*resultobj
;
20474 char *kwnames
[] = {
20478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
20480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20483 wxPyEndAllowThreads(__tstate
);
20484 if (PyErr_Occurred()) SWIG_fail
;
20486 Py_INCREF(Py_None
); resultobj
= Py_None
;
20493 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20494 PyObject
*resultobj
;
20496 char *kwnames
[] = {
20500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
20502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20503 result
= (bool)wxYield();
20505 wxPyEndAllowThreads(__tstate
);
20506 if (PyErr_Occurred()) SWIG_fail
;
20509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20517 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20518 PyObject
*resultobj
;
20520 char *kwnames
[] = {
20524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
20526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20527 result
= (bool)wxYieldIfNeeded();
20529 wxPyEndAllowThreads(__tstate
);
20530 if (PyErr_Occurred()) SWIG_fail
;
20533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20541 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20542 PyObject
*resultobj
;
20543 wxWindow
*arg1
= (wxWindow
*) NULL
;
20544 bool arg2
= (bool) False
;
20546 PyObject
* obj0
= 0 ;
20547 PyObject
* obj1
= 0 ;
20548 char *kwnames
[] = {
20549 (char *) "win",(char *) "onlyIfNeeded", NULL
20552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
20554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20558 arg2
= (bool) SWIG_AsBool(obj1
);
20559 if (PyErr_Occurred()) SWIG_fail
;
20562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20563 result
= (bool)wxSafeYield(arg1
,arg2
);
20565 wxPyEndAllowThreads(__tstate
);
20566 if (PyErr_Occurred()) SWIG_fail
;
20569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20577 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20578 PyObject
*resultobj
;
20579 char *kwnames
[] = {
20583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
20585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20588 wxPyEndAllowThreads(__tstate
);
20589 if (PyErr_Occurred()) SWIG_fail
;
20591 Py_INCREF(Py_None
); resultobj
= Py_None
;
20598 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20599 PyObject
*resultobj
;
20600 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20601 wxEvent
*arg2
= 0 ;
20602 PyObject
* obj0
= 0 ;
20603 PyObject
* obj1
= 0 ;
20604 char *kwnames
[] = {
20605 (char *) "dest",(char *) "event", NULL
20608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
20610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20611 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
20612 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20614 if (arg2
== NULL
) {
20615 PyErr_SetString(PyExc_TypeError
,"null reference");
20619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20620 wxPostEvent(arg1
,*arg2
);
20622 wxPyEndAllowThreads(__tstate
);
20623 if (PyErr_Occurred()) SWIG_fail
;
20625 Py_INCREF(Py_None
); resultobj
= Py_None
;
20632 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20633 PyObject
*resultobj
;
20634 char *kwnames
[] = {
20638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
20640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20643 wxPyEndAllowThreads(__tstate
);
20644 if (PyErr_Occurred()) SWIG_fail
;
20646 Py_INCREF(Py_None
); resultobj
= Py_None
;
20653 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20654 PyObject
*resultobj
;
20656 char *kwnames
[] = {
20660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
20662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20663 result
= (wxPyApp
*)wxGetApp();
20665 wxPyEndAllowThreads(__tstate
);
20666 if (PyErr_Occurred()) SWIG_fail
;
20669 resultobj
= wxPyMake_wxObject(result
);
20677 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20678 PyObject
*resultobj
;
20679 int arg1
= (int) 0 ;
20680 int arg2
= (int) 0 ;
20681 int arg3
= (int) 0 ;
20682 wxMenuItem
*arg4
= (wxMenuItem
*) NULL
;
20683 wxAcceleratorEntry
*result
;
20684 PyObject
* obj0
= 0 ;
20685 PyObject
* obj1
= 0 ;
20686 PyObject
* obj2
= 0 ;
20687 PyObject
* obj3
= 0 ;
20688 char *kwnames
[] = {
20689 (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20694 arg1
= (int) SWIG_AsInt(obj0
);
20695 if (PyErr_Occurred()) SWIG_fail
;
20698 arg2
= (int) SWIG_AsInt(obj1
);
20699 if (PyErr_Occurred()) SWIG_fail
;
20702 arg3
= (int) SWIG_AsInt(obj2
);
20703 if (PyErr_Occurred()) SWIG_fail
;
20706 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenuItem
,
20707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20711 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
,arg4
);
20713 wxPyEndAllowThreads(__tstate
);
20714 if (PyErr_Occurred()) SWIG_fail
;
20716 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
20723 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20724 PyObject
*resultobj
;
20725 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20726 PyObject
* obj0
= 0 ;
20727 char *kwnames
[] = {
20728 (char *) "self", NULL
20731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
20732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20738 wxPyEndAllowThreads(__tstate
);
20739 if (PyErr_Occurred()) SWIG_fail
;
20741 Py_INCREF(Py_None
); resultobj
= Py_None
;
20748 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20749 PyObject
*resultobj
;
20750 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20754 wxMenuItem
*arg5
= (wxMenuItem
*) NULL
;
20755 PyObject
* obj0
= 0 ;
20756 PyObject
* obj1
= 0 ;
20757 PyObject
* obj2
= 0 ;
20758 PyObject
* obj3
= 0 ;
20759 PyObject
* obj4
= 0 ;
20760 char *kwnames
[] = {
20761 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20767 arg2
= (int) SWIG_AsInt(obj1
);
20768 if (PyErr_Occurred()) SWIG_fail
;
20769 arg3
= (int) SWIG_AsInt(obj2
);
20770 if (PyErr_Occurred()) SWIG_fail
;
20771 arg4
= (int) SWIG_AsInt(obj3
);
20772 if (PyErr_Occurred()) SWIG_fail
;
20774 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenuItem
,
20775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20779 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
20781 wxPyEndAllowThreads(__tstate
);
20782 if (PyErr_Occurred()) SWIG_fail
;
20784 Py_INCREF(Py_None
); resultobj
= Py_None
;
20791 static PyObject
*_wrap_AcceleratorEntry_SetMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20792 PyObject
*resultobj
;
20793 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20794 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
20795 PyObject
* obj0
= 0 ;
20796 PyObject
* obj1
= 0 ;
20797 char *kwnames
[] = {
20798 (char *) "self",(char *) "item", NULL
20801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20804 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
20805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20808 (arg1
)->SetMenuItem(arg2
);
20810 wxPyEndAllowThreads(__tstate
);
20811 if (PyErr_Occurred()) SWIG_fail
;
20813 Py_INCREF(Py_None
); resultobj
= Py_None
;
20820 static PyObject
*_wrap_AcceleratorEntry_GetMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20821 PyObject
*resultobj
;
20822 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20823 wxMenuItem
*result
;
20824 PyObject
* obj0
= 0 ;
20825 char *kwnames
[] = {
20826 (char *) "self", NULL
20829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames
,&obj0
)) goto fail
;
20830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20834 result
= (wxMenuItem
*)((wxAcceleratorEntry
const *)arg1
)->GetMenuItem();
20836 wxPyEndAllowThreads(__tstate
);
20837 if (PyErr_Occurred()) SWIG_fail
;
20840 resultobj
= wxPyMake_wxObject(result
);
20848 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20849 PyObject
*resultobj
;
20850 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20852 PyObject
* obj0
= 0 ;
20853 char *kwnames
[] = {
20854 (char *) "self", NULL
20857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
20858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20862 result
= (int)(arg1
)->GetFlags();
20864 wxPyEndAllowThreads(__tstate
);
20865 if (PyErr_Occurred()) SWIG_fail
;
20867 resultobj
= SWIG_FromInt((int)result
);
20874 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20875 PyObject
*resultobj
;
20876 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20878 PyObject
* obj0
= 0 ;
20879 char *kwnames
[] = {
20880 (char *) "self", NULL
20883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20888 result
= (int)(arg1
)->GetKeyCode();
20890 wxPyEndAllowThreads(__tstate
);
20891 if (PyErr_Occurred()) SWIG_fail
;
20893 resultobj
= SWIG_FromInt((int)result
);
20900 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20901 PyObject
*resultobj
;
20902 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20904 PyObject
* obj0
= 0 ;
20905 char *kwnames
[] = {
20906 (char *) "self", NULL
20909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
20910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20914 result
= (int)(arg1
)->GetCommand();
20916 wxPyEndAllowThreads(__tstate
);
20917 if (PyErr_Occurred()) SWIG_fail
;
20919 resultobj
= SWIG_FromInt((int)result
);
20926 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
20928 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20929 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
20931 return Py_BuildValue((char *)"");
20933 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20934 PyObject
*resultobj
;
20936 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
20937 wxAcceleratorTable
*result
;
20938 PyObject
* obj0
= 0 ;
20939 char *kwnames
[] = {
20943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
20945 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
20946 if (arg2
) arg1
= PyList_Size(obj0
);
20950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20951 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
20953 wxPyEndAllowThreads(__tstate
);
20954 if (PyErr_Occurred()) SWIG_fail
;
20956 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
20969 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20970 PyObject
*resultobj
;
20971 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
20972 PyObject
* obj0
= 0 ;
20973 char *kwnames
[] = {
20974 (char *) "self", NULL
20977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
20978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
20979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20984 wxPyEndAllowThreads(__tstate
);
20985 if (PyErr_Occurred()) SWIG_fail
;
20987 Py_INCREF(Py_None
); resultobj
= Py_None
;
20994 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20995 PyObject
*resultobj
;
20996 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
20998 PyObject
* obj0
= 0 ;
20999 char *kwnames
[] = {
21000 (char *) "self", NULL
21003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
21004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21008 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
21010 wxPyEndAllowThreads(__tstate
);
21011 if (PyErr_Occurred()) SWIG_fail
;
21014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21022 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
21024 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21025 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
21027 return Py_BuildValue((char *)"");
21029 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
21030 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
21035 static PyObject
*_wrap_NullAcceleratorTable_get() {
21038 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
21043 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21044 PyObject
*resultobj
;
21045 wxString
*arg1
= 0 ;
21046 wxAcceleratorEntry
*result
;
21047 bool temp1
= False
;
21048 PyObject
* obj0
= 0 ;
21049 char *kwnames
[] = {
21050 (char *) "label", NULL
21053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
21055 arg1
= wxString_in_helper(obj0
);
21056 if (arg1
== NULL
) SWIG_fail
;
21060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21061 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
21063 wxPyEndAllowThreads(__tstate
);
21064 if (PyErr_Occurred()) SWIG_fail
;
21066 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
21081 static int _wrap_PanelNameStr_set(PyObject
*) {
21082 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
21087 static PyObject
*_wrap_PanelNameStr_get() {
21092 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21094 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21101 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21102 PyObject
*resultobj
;
21103 wxWindow
*arg1
= (wxWindow
*) 0 ;
21105 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21106 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21107 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21108 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21109 long arg5
= (long) 0 ;
21110 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21111 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21115 bool temp6
= False
;
21116 PyObject
* obj0
= 0 ;
21117 PyObject
* obj1
= 0 ;
21118 PyObject
* obj2
= 0 ;
21119 PyObject
* obj3
= 0 ;
21120 PyObject
* obj4
= 0 ;
21121 PyObject
* obj5
= 0 ;
21122 char *kwnames
[] = {
21123 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21129 arg2
= (int const) SWIG_AsInt(obj1
);
21130 if (PyErr_Occurred()) SWIG_fail
;
21134 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21140 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21144 arg5
= (long) SWIG_AsLong(obj4
);
21145 if (PyErr_Occurred()) SWIG_fail
;
21149 arg6
= wxString_in_helper(obj5
);
21150 if (arg6
== NULL
) SWIG_fail
;
21155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21156 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21158 wxPyEndAllowThreads(__tstate
);
21159 if (PyErr_Occurred()) SWIG_fail
;
21162 resultobj
= wxPyMake_wxObject(result
);
21178 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21179 PyObject
*resultobj
;
21181 char *kwnames
[] = {
21185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
21187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21188 result
= (wxWindow
*)new wxWindow();
21190 wxPyEndAllowThreads(__tstate
);
21191 if (PyErr_Occurred()) SWIG_fail
;
21194 resultobj
= wxPyMake_wxObject(result
);
21202 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21203 PyObject
*resultobj
;
21204 wxWindow
*arg1
= (wxWindow
*) 0 ;
21205 wxWindow
*arg2
= (wxWindow
*) 0 ;
21207 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21208 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21209 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21210 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21211 long arg6
= (long) 0 ;
21212 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
21213 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21217 bool temp7
= False
;
21218 PyObject
* obj0
= 0 ;
21219 PyObject
* obj1
= 0 ;
21220 PyObject
* obj2
= 0 ;
21221 PyObject
* obj3
= 0 ;
21222 PyObject
* obj4
= 0 ;
21223 PyObject
* obj5
= 0 ;
21224 PyObject
* obj6
= 0 ;
21225 char *kwnames
[] = {
21226 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21232 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21234 arg3
= (int const) SWIG_AsInt(obj2
);
21235 if (PyErr_Occurred()) SWIG_fail
;
21239 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21245 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21249 arg6
= (long) SWIG_AsLong(obj5
);
21250 if (PyErr_Occurred()) SWIG_fail
;
21254 arg7
= wxString_in_helper(obj6
);
21255 if (arg7
== NULL
) SWIG_fail
;
21260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21261 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21263 wxPyEndAllowThreads(__tstate
);
21264 if (PyErr_Occurred()) SWIG_fail
;
21267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21283 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21284 PyObject
*resultobj
;
21285 wxWindow
*arg1
= (wxWindow
*) 0 ;
21286 bool arg2
= (bool) False
;
21288 PyObject
* obj0
= 0 ;
21289 PyObject
* obj1
= 0 ;
21290 char *kwnames
[] = {
21291 (char *) "self",(char *) "force", NULL
21294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
21295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21298 arg2
= (bool) SWIG_AsBool(obj1
);
21299 if (PyErr_Occurred()) SWIG_fail
;
21302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21303 result
= (bool)(arg1
)->Close(arg2
);
21305 wxPyEndAllowThreads(__tstate
);
21306 if (PyErr_Occurred()) SWIG_fail
;
21309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21317 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21318 PyObject
*resultobj
;
21319 wxWindow
*arg1
= (wxWindow
*) 0 ;
21321 PyObject
* obj0
= 0 ;
21322 char *kwnames
[] = {
21323 (char *) "self", NULL
21326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
21327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21331 result
= (bool)(arg1
)->Destroy();
21333 wxPyEndAllowThreads(__tstate
);
21334 if (PyErr_Occurred()) SWIG_fail
;
21337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21345 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21346 PyObject
*resultobj
;
21347 wxWindow
*arg1
= (wxWindow
*) 0 ;
21349 PyObject
* obj0
= 0 ;
21350 char *kwnames
[] = {
21351 (char *) "self", NULL
21354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
21355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21359 result
= (bool)(arg1
)->DestroyChildren();
21361 wxPyEndAllowThreads(__tstate
);
21362 if (PyErr_Occurred()) SWIG_fail
;
21365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21373 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21374 PyObject
*resultobj
;
21375 wxWindow
*arg1
= (wxWindow
*) 0 ;
21377 PyObject
* obj0
= 0 ;
21378 char *kwnames
[] = {
21379 (char *) "self", NULL
21382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
21383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21387 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
21389 wxPyEndAllowThreads(__tstate
);
21390 if (PyErr_Occurred()) SWIG_fail
;
21393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21401 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21402 PyObject
*resultobj
;
21403 wxWindow
*arg1
= (wxWindow
*) 0 ;
21404 wxString
*arg2
= 0 ;
21405 bool temp2
= False
;
21406 PyObject
* obj0
= 0 ;
21407 PyObject
* obj1
= 0 ;
21408 char *kwnames
[] = {
21409 (char *) "self",(char *) "title", NULL
21412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
21413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21416 arg2
= wxString_in_helper(obj1
);
21417 if (arg2
== NULL
) SWIG_fail
;
21421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21422 (arg1
)->SetTitle((wxString
const &)*arg2
);
21424 wxPyEndAllowThreads(__tstate
);
21425 if (PyErr_Occurred()) SWIG_fail
;
21427 Py_INCREF(Py_None
); resultobj
= Py_None
;
21442 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21443 PyObject
*resultobj
;
21444 wxWindow
*arg1
= (wxWindow
*) 0 ;
21446 PyObject
* obj0
= 0 ;
21447 char *kwnames
[] = {
21448 (char *) "self", NULL
21451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
21452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21456 result
= ((wxWindow
const *)arg1
)->GetTitle();
21458 wxPyEndAllowThreads(__tstate
);
21459 if (PyErr_Occurred()) SWIG_fail
;
21463 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21465 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21474 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21475 PyObject
*resultobj
;
21476 wxWindow
*arg1
= (wxWindow
*) 0 ;
21477 wxString
*arg2
= 0 ;
21478 bool temp2
= False
;
21479 PyObject
* obj0
= 0 ;
21480 PyObject
* obj1
= 0 ;
21481 char *kwnames
[] = {
21482 (char *) "self",(char *) "label", NULL
21485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21489 arg2
= wxString_in_helper(obj1
);
21490 if (arg2
== NULL
) SWIG_fail
;
21494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21495 (arg1
)->SetLabel((wxString
const &)*arg2
);
21497 wxPyEndAllowThreads(__tstate
);
21498 if (PyErr_Occurred()) SWIG_fail
;
21500 Py_INCREF(Py_None
); resultobj
= Py_None
;
21515 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21516 PyObject
*resultobj
;
21517 wxWindow
*arg1
= (wxWindow
*) 0 ;
21519 PyObject
* obj0
= 0 ;
21520 char *kwnames
[] = {
21521 (char *) "self", NULL
21524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
21525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21529 result
= ((wxWindow
const *)arg1
)->GetLabel();
21531 wxPyEndAllowThreads(__tstate
);
21532 if (PyErr_Occurred()) SWIG_fail
;
21536 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21538 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21547 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21548 PyObject
*resultobj
;
21549 wxWindow
*arg1
= (wxWindow
*) 0 ;
21550 wxString
*arg2
= 0 ;
21551 bool temp2
= False
;
21552 PyObject
* obj0
= 0 ;
21553 PyObject
* obj1
= 0 ;
21554 char *kwnames
[] = {
21555 (char *) "self",(char *) "name", NULL
21558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
21559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21562 arg2
= wxString_in_helper(obj1
);
21563 if (arg2
== NULL
) SWIG_fail
;
21567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21568 (arg1
)->SetName((wxString
const &)*arg2
);
21570 wxPyEndAllowThreads(__tstate
);
21571 if (PyErr_Occurred()) SWIG_fail
;
21573 Py_INCREF(Py_None
); resultobj
= Py_None
;
21588 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21589 PyObject
*resultobj
;
21590 wxWindow
*arg1
= (wxWindow
*) 0 ;
21592 PyObject
* obj0
= 0 ;
21593 char *kwnames
[] = {
21594 (char *) "self", NULL
21597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
21598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21602 result
= ((wxWindow
const *)arg1
)->GetName();
21604 wxPyEndAllowThreads(__tstate
);
21605 if (PyErr_Occurred()) SWIG_fail
;
21609 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21611 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21620 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21621 PyObject
*resultobj
;
21622 wxWindow
*arg1
= (wxWindow
*) 0 ;
21624 PyObject
* obj0
= 0 ;
21625 PyObject
* obj1
= 0 ;
21626 char *kwnames
[] = {
21627 (char *) "self",(char *) "variant", NULL
21630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
21631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21633 arg2
= (wxWindowVariant
) SWIG_AsInt(obj1
);
21634 if (PyErr_Occurred()) SWIG_fail
;
21636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21637 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
21639 wxPyEndAllowThreads(__tstate
);
21640 if (PyErr_Occurred()) SWIG_fail
;
21642 Py_INCREF(Py_None
); resultobj
= Py_None
;
21649 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21650 PyObject
*resultobj
;
21651 wxWindow
*arg1
= (wxWindow
*) 0 ;
21653 PyObject
* obj0
= 0 ;
21654 char *kwnames
[] = {
21655 (char *) "self", NULL
21658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
21659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21663 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
21665 wxPyEndAllowThreads(__tstate
);
21666 if (PyErr_Occurred()) SWIG_fail
;
21668 resultobj
= SWIG_FromInt((int)result
);
21675 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21676 PyObject
*resultobj
;
21677 wxWindow
*arg1
= (wxWindow
*) 0 ;
21679 PyObject
* obj0
= 0 ;
21680 PyObject
* obj1
= 0 ;
21681 char *kwnames
[] = {
21682 (char *) "self",(char *) "winid", NULL
21685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21688 arg2
= (int) SWIG_AsInt(obj1
);
21689 if (PyErr_Occurred()) SWIG_fail
;
21691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21692 (arg1
)->SetId(arg2
);
21694 wxPyEndAllowThreads(__tstate
);
21695 if (PyErr_Occurred()) SWIG_fail
;
21697 Py_INCREF(Py_None
); resultobj
= Py_None
;
21704 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21705 PyObject
*resultobj
;
21706 wxWindow
*arg1
= (wxWindow
*) 0 ;
21708 PyObject
* obj0
= 0 ;
21709 char *kwnames
[] = {
21710 (char *) "self", NULL
21713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
21714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21718 result
= (int)((wxWindow
const *)arg1
)->GetId();
21720 wxPyEndAllowThreads(__tstate
);
21721 if (PyErr_Occurred()) SWIG_fail
;
21723 resultobj
= SWIG_FromInt((int)result
);
21730 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21731 PyObject
*resultobj
;
21733 char *kwnames
[] = {
21737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
21739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21740 result
= (int)wxWindow::NewControlId();
21742 wxPyEndAllowThreads(__tstate
);
21743 if (PyErr_Occurred()) SWIG_fail
;
21745 resultobj
= SWIG_FromInt((int)result
);
21752 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21753 PyObject
*resultobj
;
21756 PyObject
* obj0
= 0 ;
21757 char *kwnames
[] = {
21758 (char *) "winid", NULL
21761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
21762 arg1
= (int) SWIG_AsInt(obj0
);
21763 if (PyErr_Occurred()) SWIG_fail
;
21765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21766 result
= (int)wxWindow::NextControlId(arg1
);
21768 wxPyEndAllowThreads(__tstate
);
21769 if (PyErr_Occurred()) SWIG_fail
;
21771 resultobj
= SWIG_FromInt((int)result
);
21778 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21779 PyObject
*resultobj
;
21782 PyObject
* obj0
= 0 ;
21783 char *kwnames
[] = {
21784 (char *) "winid", NULL
21787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
21788 arg1
= (int) SWIG_AsInt(obj0
);
21789 if (PyErr_Occurred()) SWIG_fail
;
21791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21792 result
= (int)wxWindow::PrevControlId(arg1
);
21794 wxPyEndAllowThreads(__tstate
);
21795 if (PyErr_Occurred()) SWIG_fail
;
21797 resultobj
= SWIG_FromInt((int)result
);
21804 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21805 PyObject
*resultobj
;
21806 wxWindow
*arg1
= (wxWindow
*) 0 ;
21809 PyObject
* obj0
= 0 ;
21810 PyObject
* obj1
= 0 ;
21811 char *kwnames
[] = {
21812 (char *) "self",(char *) "size", NULL
21815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
21816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21820 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21824 (arg1
)->SetSize((wxSize
const &)*arg2
);
21826 wxPyEndAllowThreads(__tstate
);
21827 if (PyErr_Occurred()) SWIG_fail
;
21829 Py_INCREF(Py_None
); resultobj
= Py_None
;
21836 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21837 PyObject
*resultobj
;
21838 wxWindow
*arg1
= (wxWindow
*) 0 ;
21843 int arg6
= (int) wxSIZE_AUTO
;
21844 PyObject
* obj0
= 0 ;
21845 PyObject
* obj1
= 0 ;
21846 PyObject
* obj2
= 0 ;
21847 PyObject
* obj3
= 0 ;
21848 PyObject
* obj4
= 0 ;
21849 PyObject
* obj5
= 0 ;
21850 char *kwnames
[] = {
21851 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21857 arg2
= (int) SWIG_AsInt(obj1
);
21858 if (PyErr_Occurred()) SWIG_fail
;
21859 arg3
= (int) SWIG_AsInt(obj2
);
21860 if (PyErr_Occurred()) SWIG_fail
;
21861 arg4
= (int) SWIG_AsInt(obj3
);
21862 if (PyErr_Occurred()) SWIG_fail
;
21863 arg5
= (int) SWIG_AsInt(obj4
);
21864 if (PyErr_Occurred()) SWIG_fail
;
21866 arg6
= (int) SWIG_AsInt(obj5
);
21867 if (PyErr_Occurred()) SWIG_fail
;
21870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21871 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21873 wxPyEndAllowThreads(__tstate
);
21874 if (PyErr_Occurred()) SWIG_fail
;
21876 Py_INCREF(Py_None
); resultobj
= Py_None
;
21883 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21884 PyObject
*resultobj
;
21885 wxWindow
*arg1
= (wxWindow
*) 0 ;
21887 int arg3
= (int) wxSIZE_AUTO
;
21889 PyObject
* obj0
= 0 ;
21890 PyObject
* obj1
= 0 ;
21891 PyObject
* obj2
= 0 ;
21892 char *kwnames
[] = {
21893 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
21896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21901 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
21904 arg3
= (int) SWIG_AsInt(obj2
);
21905 if (PyErr_Occurred()) SWIG_fail
;
21908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21909 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
21911 wxPyEndAllowThreads(__tstate
);
21912 if (PyErr_Occurred()) SWIG_fail
;
21914 Py_INCREF(Py_None
); resultobj
= Py_None
;
21921 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21922 PyObject
*resultobj
;
21923 wxWindow
*arg1
= (wxWindow
*) 0 ;
21926 PyObject
* obj0
= 0 ;
21927 PyObject
* obj1
= 0 ;
21928 PyObject
* obj2
= 0 ;
21929 char *kwnames
[] = {
21930 (char *) "self",(char *) "width",(char *) "height", NULL
21933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21936 arg2
= (int) SWIG_AsInt(obj1
);
21937 if (PyErr_Occurred()) SWIG_fail
;
21938 arg3
= (int) SWIG_AsInt(obj2
);
21939 if (PyErr_Occurred()) SWIG_fail
;
21941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21942 (arg1
)->SetSize(arg2
,arg3
);
21944 wxPyEndAllowThreads(__tstate
);
21945 if (PyErr_Occurred()) SWIG_fail
;
21947 Py_INCREF(Py_None
); resultobj
= Py_None
;
21954 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21955 PyObject
*resultobj
;
21956 wxWindow
*arg1
= (wxWindow
*) 0 ;
21957 wxPoint
*arg2
= 0 ;
21958 int arg3
= (int) wxSIZE_USE_EXISTING
;
21960 PyObject
* obj0
= 0 ;
21961 PyObject
* obj1
= 0 ;
21962 PyObject
* obj2
= 0 ;
21963 char *kwnames
[] = {
21964 (char *) "self",(char *) "pt",(char *) "flags", NULL
21967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21972 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21975 arg3
= (int) SWIG_AsInt(obj2
);
21976 if (PyErr_Occurred()) SWIG_fail
;
21979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21980 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
21982 wxPyEndAllowThreads(__tstate
);
21983 if (PyErr_Occurred()) SWIG_fail
;
21985 Py_INCREF(Py_None
); resultobj
= Py_None
;
21992 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21993 PyObject
*resultobj
;
21994 wxWindow
*arg1
= (wxWindow
*) 0 ;
21997 int arg4
= (int) wxSIZE_USE_EXISTING
;
21998 PyObject
* obj0
= 0 ;
21999 PyObject
* obj1
= 0 ;
22000 PyObject
* obj2
= 0 ;
22001 PyObject
* obj3
= 0 ;
22002 char *kwnames
[] = {
22003 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22009 arg2
= (int) SWIG_AsInt(obj1
);
22010 if (PyErr_Occurred()) SWIG_fail
;
22011 arg3
= (int) SWIG_AsInt(obj2
);
22012 if (PyErr_Occurred()) SWIG_fail
;
22014 arg4
= (int) SWIG_AsInt(obj3
);
22015 if (PyErr_Occurred()) SWIG_fail
;
22018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22019 (arg1
)->Move(arg2
,arg3
,arg4
);
22021 wxPyEndAllowThreads(__tstate
);
22022 if (PyErr_Occurred()) SWIG_fail
;
22024 Py_INCREF(Py_None
); resultobj
= Py_None
;
22031 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22032 PyObject
*resultobj
;
22033 wxWindow
*arg1
= (wxWindow
*) 0 ;
22034 PyObject
* obj0
= 0 ;
22035 char *kwnames
[] = {
22036 (char *) "self", NULL
22039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
22040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22046 wxPyEndAllowThreads(__tstate
);
22047 if (PyErr_Occurred()) SWIG_fail
;
22049 Py_INCREF(Py_None
); resultobj
= Py_None
;
22056 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22057 PyObject
*resultobj
;
22058 wxWindow
*arg1
= (wxWindow
*) 0 ;
22059 PyObject
* obj0
= 0 ;
22060 char *kwnames
[] = {
22061 (char *) "self", NULL
22064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
22065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22071 wxPyEndAllowThreads(__tstate
);
22072 if (PyErr_Occurred()) SWIG_fail
;
22074 Py_INCREF(Py_None
); resultobj
= Py_None
;
22081 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22082 PyObject
*resultobj
;
22083 wxWindow
*arg1
= (wxWindow
*) 0 ;
22086 PyObject
* obj0
= 0 ;
22087 PyObject
* obj1
= 0 ;
22088 char *kwnames
[] = {
22089 (char *) "self",(char *) "size", NULL
22092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22097 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22101 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
22103 wxPyEndAllowThreads(__tstate
);
22104 if (PyErr_Occurred()) SWIG_fail
;
22106 Py_INCREF(Py_None
); resultobj
= Py_None
;
22113 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22114 PyObject
*resultobj
;
22115 wxWindow
*arg1
= (wxWindow
*) 0 ;
22118 PyObject
* obj0
= 0 ;
22119 PyObject
* obj1
= 0 ;
22120 PyObject
* obj2
= 0 ;
22121 char *kwnames
[] = {
22122 (char *) "self",(char *) "width",(char *) "height", NULL
22125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22128 arg2
= (int) SWIG_AsInt(obj1
);
22129 if (PyErr_Occurred()) SWIG_fail
;
22130 arg3
= (int) SWIG_AsInt(obj2
);
22131 if (PyErr_Occurred()) SWIG_fail
;
22133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22134 (arg1
)->SetClientSize(arg2
,arg3
);
22136 wxPyEndAllowThreads(__tstate
);
22137 if (PyErr_Occurred()) SWIG_fail
;
22139 Py_INCREF(Py_None
); resultobj
= Py_None
;
22146 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22147 PyObject
*resultobj
;
22148 wxWindow
*arg1
= (wxWindow
*) 0 ;
22151 PyObject
* obj0
= 0 ;
22152 PyObject
* obj1
= 0 ;
22153 char *kwnames
[] = {
22154 (char *) "self",(char *) "rect", NULL
22157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22162 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22166 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
22168 wxPyEndAllowThreads(__tstate
);
22169 if (PyErr_Occurred()) SWIG_fail
;
22171 Py_INCREF(Py_None
); resultobj
= Py_None
;
22178 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22179 PyObject
*resultobj
;
22180 wxWindow
*arg1
= (wxWindow
*) 0 ;
22182 PyObject
* obj0
= 0 ;
22183 char *kwnames
[] = {
22184 (char *) "self", NULL
22187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
22188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22192 result
= (arg1
)->GetPosition();
22194 wxPyEndAllowThreads(__tstate
);
22195 if (PyErr_Occurred()) SWIG_fail
;
22198 wxPoint
* resultptr
;
22199 resultptr
= new wxPoint((wxPoint
&) result
);
22200 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22208 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22209 PyObject
*resultobj
;
22210 wxWindow
*arg1
= (wxWindow
*) 0 ;
22211 int *arg2
= (int *) 0 ;
22212 int *arg3
= (int *) 0 ;
22215 PyObject
* obj0
= 0 ;
22216 char *kwnames
[] = {
22217 (char *) "self", NULL
22222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
22223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22227 (arg1
)->GetPosition(arg2
,arg3
);
22229 wxPyEndAllowThreads(__tstate
);
22230 if (PyErr_Occurred()) SWIG_fail
;
22232 Py_INCREF(Py_None
); resultobj
= Py_None
;
22234 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22235 resultobj
= t_output_helper(resultobj
,o
);
22238 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22239 resultobj
= t_output_helper(resultobj
,o
);
22247 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22248 PyObject
*resultobj
;
22249 wxWindow
*arg1
= (wxWindow
*) 0 ;
22251 PyObject
* obj0
= 0 ;
22252 char *kwnames
[] = {
22253 (char *) "self", NULL
22256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
22257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22261 result
= ((wxWindow
const *)arg1
)->GetSize();
22263 wxPyEndAllowThreads(__tstate
);
22264 if (PyErr_Occurred()) SWIG_fail
;
22267 wxSize
* resultptr
;
22268 resultptr
= new wxSize((wxSize
&) result
);
22269 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22277 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22278 PyObject
*resultobj
;
22279 wxWindow
*arg1
= (wxWindow
*) 0 ;
22280 int *arg2
= (int *) 0 ;
22281 int *arg3
= (int *) 0 ;
22284 PyObject
* obj0
= 0 ;
22285 char *kwnames
[] = {
22286 (char *) "self", NULL
22291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
22292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22296 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
22298 wxPyEndAllowThreads(__tstate
);
22299 if (PyErr_Occurred()) SWIG_fail
;
22301 Py_INCREF(Py_None
); resultobj
= Py_None
;
22303 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22304 resultobj
= t_output_helper(resultobj
,o
);
22307 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22308 resultobj
= t_output_helper(resultobj
,o
);
22316 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22317 PyObject
*resultobj
;
22318 wxWindow
*arg1
= (wxWindow
*) 0 ;
22320 PyObject
* obj0
= 0 ;
22321 char *kwnames
[] = {
22322 (char *) "self", NULL
22325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
22326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22330 result
= ((wxWindow
const *)arg1
)->GetRect();
22332 wxPyEndAllowThreads(__tstate
);
22333 if (PyErr_Occurred()) SWIG_fail
;
22336 wxRect
* resultptr
;
22337 resultptr
= new wxRect((wxRect
&) result
);
22338 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22346 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22347 PyObject
*resultobj
;
22348 wxWindow
*arg1
= (wxWindow
*) 0 ;
22350 PyObject
* obj0
= 0 ;
22351 char *kwnames
[] = {
22352 (char *) "self", NULL
22355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
22356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22360 result
= ((wxWindow
const *)arg1
)->GetClientSize();
22362 wxPyEndAllowThreads(__tstate
);
22363 if (PyErr_Occurred()) SWIG_fail
;
22366 wxSize
* resultptr
;
22367 resultptr
= new wxSize((wxSize
&) result
);
22368 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22376 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22377 PyObject
*resultobj
;
22378 wxWindow
*arg1
= (wxWindow
*) 0 ;
22379 int *arg2
= (int *) 0 ;
22380 int *arg3
= (int *) 0 ;
22383 PyObject
* obj0
= 0 ;
22384 char *kwnames
[] = {
22385 (char *) "self", NULL
22390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
22391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22395 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
22397 wxPyEndAllowThreads(__tstate
);
22398 if (PyErr_Occurred()) SWIG_fail
;
22400 Py_INCREF(Py_None
); resultobj
= Py_None
;
22402 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22403 resultobj
= t_output_helper(resultobj
,o
);
22406 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22407 resultobj
= t_output_helper(resultobj
,o
);
22415 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22416 PyObject
*resultobj
;
22417 wxWindow
*arg1
= (wxWindow
*) 0 ;
22419 PyObject
* obj0
= 0 ;
22420 char *kwnames
[] = {
22421 (char *) "self", NULL
22424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
22425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22429 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
22431 wxPyEndAllowThreads(__tstate
);
22432 if (PyErr_Occurred()) SWIG_fail
;
22435 wxPoint
* resultptr
;
22436 resultptr
= new wxPoint((wxPoint
&) result
);
22437 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22445 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22446 PyObject
*resultobj
;
22447 wxWindow
*arg1
= (wxWindow
*) 0 ;
22449 PyObject
* obj0
= 0 ;
22450 char *kwnames
[] = {
22451 (char *) "self", NULL
22454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
22455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22459 result
= ((wxWindow
const *)arg1
)->GetClientRect();
22461 wxPyEndAllowThreads(__tstate
);
22462 if (PyErr_Occurred()) SWIG_fail
;
22465 wxRect
* resultptr
;
22466 resultptr
= new wxRect((wxRect
&) result
);
22467 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22475 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22476 PyObject
*resultobj
;
22477 wxWindow
*arg1
= (wxWindow
*) 0 ;
22479 PyObject
* obj0
= 0 ;
22480 char *kwnames
[] = {
22481 (char *) "self", NULL
22484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
22485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22489 result
= ((wxWindow
const *)arg1
)->GetBestSize();
22491 wxPyEndAllowThreads(__tstate
);
22492 if (PyErr_Occurred()) SWIG_fail
;
22495 wxSize
* resultptr
;
22496 resultptr
= new wxSize((wxSize
&) result
);
22497 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22505 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22506 PyObject
*resultobj
;
22507 wxWindow
*arg1
= (wxWindow
*) 0 ;
22508 int *arg2
= (int *) 0 ;
22509 int *arg3
= (int *) 0 ;
22512 PyObject
* obj0
= 0 ;
22513 char *kwnames
[] = {
22514 (char *) "self", NULL
22519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
22520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22524 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
22526 wxPyEndAllowThreads(__tstate
);
22527 if (PyErr_Occurred()) SWIG_fail
;
22529 Py_INCREF(Py_None
); resultobj
= Py_None
;
22531 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22532 resultobj
= t_output_helper(resultobj
,o
);
22535 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22536 resultobj
= t_output_helper(resultobj
,o
);
22544 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22545 PyObject
*resultobj
;
22546 wxWindow
*arg1
= (wxWindow
*) 0 ;
22548 PyObject
* obj0
= 0 ;
22549 char *kwnames
[] = {
22550 (char *) "self", NULL
22553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
22554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22558 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
22560 wxPyEndAllowThreads(__tstate
);
22561 if (PyErr_Occurred()) SWIG_fail
;
22564 wxSize
* resultptr
;
22565 resultptr
= new wxSize((wxSize
&) result
);
22566 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22574 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22575 PyObject
*resultobj
;
22576 wxWindow
*arg1
= (wxWindow
*) 0 ;
22577 int arg2
= (int) wxBOTH
;
22578 PyObject
* obj0
= 0 ;
22579 PyObject
* obj1
= 0 ;
22580 char *kwnames
[] = {
22581 (char *) "self",(char *) "direction", NULL
22584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
22585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22588 arg2
= (int) SWIG_AsInt(obj1
);
22589 if (PyErr_Occurred()) SWIG_fail
;
22592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22593 (arg1
)->Center(arg2
);
22595 wxPyEndAllowThreads(__tstate
);
22596 if (PyErr_Occurred()) SWIG_fail
;
22598 Py_INCREF(Py_None
); resultobj
= Py_None
;
22605 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22606 PyObject
*resultobj
;
22607 wxWindow
*arg1
= (wxWindow
*) 0 ;
22608 int arg2
= (int) wxBOTH
;
22609 PyObject
* obj0
= 0 ;
22610 PyObject
* obj1
= 0 ;
22611 char *kwnames
[] = {
22612 (char *) "self",(char *) "dir", NULL
22615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
22616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22619 arg2
= (int) SWIG_AsInt(obj1
);
22620 if (PyErr_Occurred()) SWIG_fail
;
22623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22624 (arg1
)->CenterOnScreen(arg2
);
22626 wxPyEndAllowThreads(__tstate
);
22627 if (PyErr_Occurred()) SWIG_fail
;
22629 Py_INCREF(Py_None
); resultobj
= Py_None
;
22636 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22637 PyObject
*resultobj
;
22638 wxWindow
*arg1
= (wxWindow
*) 0 ;
22639 int arg2
= (int) wxBOTH
;
22640 PyObject
* obj0
= 0 ;
22641 PyObject
* obj1
= 0 ;
22642 char *kwnames
[] = {
22643 (char *) "self",(char *) "dir", NULL
22646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
22647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22650 arg2
= (int) SWIG_AsInt(obj1
);
22651 if (PyErr_Occurred()) SWIG_fail
;
22654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22655 (arg1
)->CenterOnParent(arg2
);
22657 wxPyEndAllowThreads(__tstate
);
22658 if (PyErr_Occurred()) SWIG_fail
;
22660 Py_INCREF(Py_None
); resultobj
= Py_None
;
22667 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22668 PyObject
*resultobj
;
22669 wxWindow
*arg1
= (wxWindow
*) 0 ;
22670 PyObject
* obj0
= 0 ;
22671 char *kwnames
[] = {
22672 (char *) "self", NULL
22675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
22676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22682 wxPyEndAllowThreads(__tstate
);
22683 if (PyErr_Occurred()) SWIG_fail
;
22685 Py_INCREF(Py_None
); resultobj
= Py_None
;
22692 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22693 PyObject
*resultobj
;
22694 wxWindow
*arg1
= (wxWindow
*) 0 ;
22695 PyObject
* obj0
= 0 ;
22696 char *kwnames
[] = {
22697 (char *) "self", NULL
22700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
22701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22705 (arg1
)->FitInside();
22707 wxPyEndAllowThreads(__tstate
);
22708 if (PyErr_Occurred()) SWIG_fail
;
22710 Py_INCREF(Py_None
); resultobj
= Py_None
;
22717 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22718 PyObject
*resultobj
;
22719 wxWindow
*arg1
= (wxWindow
*) 0 ;
22722 int arg4
= (int) -1 ;
22723 int arg5
= (int) -1 ;
22724 int arg6
= (int) -1 ;
22725 int arg7
= (int) -1 ;
22726 PyObject
* obj0
= 0 ;
22727 PyObject
* obj1
= 0 ;
22728 PyObject
* obj2
= 0 ;
22729 PyObject
* obj3
= 0 ;
22730 PyObject
* obj4
= 0 ;
22731 PyObject
* obj5
= 0 ;
22732 PyObject
* obj6
= 0 ;
22733 char *kwnames
[] = {
22734 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
22737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22740 arg2
= (int) SWIG_AsInt(obj1
);
22741 if (PyErr_Occurred()) SWIG_fail
;
22742 arg3
= (int) SWIG_AsInt(obj2
);
22743 if (PyErr_Occurred()) SWIG_fail
;
22745 arg4
= (int) SWIG_AsInt(obj3
);
22746 if (PyErr_Occurred()) SWIG_fail
;
22749 arg5
= (int) SWIG_AsInt(obj4
);
22750 if (PyErr_Occurred()) SWIG_fail
;
22753 arg6
= (int) SWIG_AsInt(obj5
);
22754 if (PyErr_Occurred()) SWIG_fail
;
22757 arg7
= (int) SWIG_AsInt(obj6
);
22758 if (PyErr_Occurred()) SWIG_fail
;
22761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22762 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22764 wxPyEndAllowThreads(__tstate
);
22765 if (PyErr_Occurred()) SWIG_fail
;
22767 Py_INCREF(Py_None
); resultobj
= Py_None
;
22774 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22775 PyObject
*resultobj
;
22776 wxWindow
*arg1
= (wxWindow
*) 0 ;
22779 int arg4
= (int) -1 ;
22780 int arg5
= (int) -1 ;
22781 PyObject
* obj0
= 0 ;
22782 PyObject
* obj1
= 0 ;
22783 PyObject
* obj2
= 0 ;
22784 PyObject
* obj3
= 0 ;
22785 PyObject
* obj4
= 0 ;
22786 char *kwnames
[] = {
22787 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
22790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22793 arg2
= (int) SWIG_AsInt(obj1
);
22794 if (PyErr_Occurred()) SWIG_fail
;
22795 arg3
= (int) SWIG_AsInt(obj2
);
22796 if (PyErr_Occurred()) SWIG_fail
;
22798 arg4
= (int) SWIG_AsInt(obj3
);
22799 if (PyErr_Occurred()) SWIG_fail
;
22802 arg5
= (int) SWIG_AsInt(obj4
);
22803 if (PyErr_Occurred()) SWIG_fail
;
22806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22807 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
22809 wxPyEndAllowThreads(__tstate
);
22810 if (PyErr_Occurred()) SWIG_fail
;
22812 Py_INCREF(Py_None
); resultobj
= Py_None
;
22819 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22820 PyObject
*resultobj
;
22821 wxWindow
*arg1
= (wxWindow
*) 0 ;
22823 PyObject
* obj0
= 0 ;
22824 char *kwnames
[] = {
22825 (char *) "self", NULL
22828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
22829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22833 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
22835 wxPyEndAllowThreads(__tstate
);
22836 if (PyErr_Occurred()) SWIG_fail
;
22838 resultobj
= SWIG_FromInt((int)result
);
22845 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22846 PyObject
*resultobj
;
22847 wxWindow
*arg1
= (wxWindow
*) 0 ;
22849 PyObject
* obj0
= 0 ;
22850 char *kwnames
[] = {
22851 (char *) "self", NULL
22854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
22855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22859 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
22861 wxPyEndAllowThreads(__tstate
);
22862 if (PyErr_Occurred()) SWIG_fail
;
22864 resultobj
= SWIG_FromInt((int)result
);
22871 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22872 PyObject
*resultobj
;
22873 wxWindow
*arg1
= (wxWindow
*) 0 ;
22875 PyObject
* obj0
= 0 ;
22876 char *kwnames
[] = {
22877 (char *) "self", NULL
22880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
22881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22885 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
22887 wxPyEndAllowThreads(__tstate
);
22888 if (PyErr_Occurred()) SWIG_fail
;
22890 resultobj
= SWIG_FromInt((int)result
);
22897 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22898 PyObject
*resultobj
;
22899 wxWindow
*arg1
= (wxWindow
*) 0 ;
22901 PyObject
* obj0
= 0 ;
22902 char *kwnames
[] = {
22903 (char *) "self", NULL
22906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
22907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22911 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
22913 wxPyEndAllowThreads(__tstate
);
22914 if (PyErr_Occurred()) SWIG_fail
;
22916 resultobj
= SWIG_FromInt((int)result
);
22923 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22924 PyObject
*resultobj
;
22925 wxWindow
*arg1
= (wxWindow
*) 0 ;
22927 PyObject
* obj0
= 0 ;
22928 char *kwnames
[] = {
22929 (char *) "self", NULL
22932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
22933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22937 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
22939 wxPyEndAllowThreads(__tstate
);
22940 if (PyErr_Occurred()) SWIG_fail
;
22943 wxSize
* resultptr
;
22944 resultptr
= new wxSize((wxSize
&) result
);
22945 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22953 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22954 PyObject
*resultobj
;
22955 wxWindow
*arg1
= (wxWindow
*) 0 ;
22958 PyObject
* obj0
= 0 ;
22959 PyObject
* obj1
= 0 ;
22960 char *kwnames
[] = {
22961 (char *) "self",(char *) "size", NULL
22964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22969 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22973 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
22975 wxPyEndAllowThreads(__tstate
);
22976 if (PyErr_Occurred()) SWIG_fail
;
22978 Py_INCREF(Py_None
); resultobj
= Py_None
;
22985 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22986 PyObject
*resultobj
;
22987 wxWindow
*arg1
= (wxWindow
*) 0 ;
22990 PyObject
* obj0
= 0 ;
22991 PyObject
* obj1
= 0 ;
22992 PyObject
* obj2
= 0 ;
22993 char *kwnames
[] = {
22994 (char *) "self",(char *) "w",(char *) "h", NULL
22997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23000 arg2
= (int) SWIG_AsInt(obj1
);
23001 if (PyErr_Occurred()) SWIG_fail
;
23002 arg3
= (int) SWIG_AsInt(obj2
);
23003 if (PyErr_Occurred()) SWIG_fail
;
23005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23006 (arg1
)->SetVirtualSize(arg2
,arg3
);
23008 wxPyEndAllowThreads(__tstate
);
23009 if (PyErr_Occurred()) SWIG_fail
;
23011 Py_INCREF(Py_None
); resultobj
= Py_None
;
23018 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23019 PyObject
*resultobj
;
23020 wxWindow
*arg1
= (wxWindow
*) 0 ;
23022 PyObject
* obj0
= 0 ;
23023 char *kwnames
[] = {
23024 (char *) "self", NULL
23027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
23028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23032 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
23034 wxPyEndAllowThreads(__tstate
);
23035 if (PyErr_Occurred()) SWIG_fail
;
23038 wxSize
* resultptr
;
23039 resultptr
= new wxSize((wxSize
&) result
);
23040 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23048 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23049 PyObject
*resultobj
;
23050 wxWindow
*arg1
= (wxWindow
*) 0 ;
23051 int *arg2
= (int *) 0 ;
23052 int *arg3
= (int *) 0 ;
23055 PyObject
* obj0
= 0 ;
23056 char *kwnames
[] = {
23057 (char *) "self", NULL
23062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
23063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23067 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
23069 wxPyEndAllowThreads(__tstate
);
23070 if (PyErr_Occurred()) SWIG_fail
;
23072 Py_INCREF(Py_None
); resultobj
= Py_None
;
23074 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
23075 resultobj
= t_output_helper(resultobj
,o
);
23078 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23079 resultobj
= t_output_helper(resultobj
,o
);
23087 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23088 PyObject
*resultobj
;
23089 wxWindow
*arg1
= (wxWindow
*) 0 ;
23091 PyObject
* obj0
= 0 ;
23092 char *kwnames
[] = {
23093 (char *) "self", NULL
23096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
23097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23101 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
23103 wxPyEndAllowThreads(__tstate
);
23104 if (PyErr_Occurred()) SWIG_fail
;
23107 wxSize
* resultptr
;
23108 resultptr
= new wxSize((wxSize
&) result
);
23109 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23117 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23118 PyObject
*resultobj
;
23119 wxWindow
*arg1
= (wxWindow
*) 0 ;
23120 bool arg2
= (bool) True
;
23122 PyObject
* obj0
= 0 ;
23123 PyObject
* obj1
= 0 ;
23124 char *kwnames
[] = {
23125 (char *) "self",(char *) "show", NULL
23128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
23129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23132 arg2
= (bool) SWIG_AsBool(obj1
);
23133 if (PyErr_Occurred()) SWIG_fail
;
23136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23137 result
= (bool)(arg1
)->Show(arg2
);
23139 wxPyEndAllowThreads(__tstate
);
23140 if (PyErr_Occurred()) SWIG_fail
;
23143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23151 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23152 PyObject
*resultobj
;
23153 wxWindow
*arg1
= (wxWindow
*) 0 ;
23155 PyObject
* obj0
= 0 ;
23156 char *kwnames
[] = {
23157 (char *) "self", NULL
23160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
23161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23165 result
= (bool)(arg1
)->Hide();
23167 wxPyEndAllowThreads(__tstate
);
23168 if (PyErr_Occurred()) SWIG_fail
;
23171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23179 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23180 PyObject
*resultobj
;
23181 wxWindow
*arg1
= (wxWindow
*) 0 ;
23182 bool arg2
= (bool) True
;
23184 PyObject
* obj0
= 0 ;
23185 PyObject
* obj1
= 0 ;
23186 char *kwnames
[] = {
23187 (char *) "self",(char *) "enable", NULL
23190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
23191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23194 arg2
= (bool) SWIG_AsBool(obj1
);
23195 if (PyErr_Occurred()) SWIG_fail
;
23198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23199 result
= (bool)(arg1
)->Enable(arg2
);
23201 wxPyEndAllowThreads(__tstate
);
23202 if (PyErr_Occurred()) SWIG_fail
;
23205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23213 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23214 PyObject
*resultobj
;
23215 wxWindow
*arg1
= (wxWindow
*) 0 ;
23217 PyObject
* obj0
= 0 ;
23218 char *kwnames
[] = {
23219 (char *) "self", NULL
23222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
23223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23227 result
= (bool)(arg1
)->Disable();
23229 wxPyEndAllowThreads(__tstate
);
23230 if (PyErr_Occurred()) SWIG_fail
;
23233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23241 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23242 PyObject
*resultobj
;
23243 wxWindow
*arg1
= (wxWindow
*) 0 ;
23245 PyObject
* obj0
= 0 ;
23246 char *kwnames
[] = {
23247 (char *) "self", NULL
23250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
23251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23255 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
23257 wxPyEndAllowThreads(__tstate
);
23258 if (PyErr_Occurred()) SWIG_fail
;
23261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23269 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23270 PyObject
*resultobj
;
23271 wxWindow
*arg1
= (wxWindow
*) 0 ;
23273 PyObject
* obj0
= 0 ;
23274 char *kwnames
[] = {
23275 (char *) "self", NULL
23278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
23279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23283 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
23285 wxPyEndAllowThreads(__tstate
);
23286 if (PyErr_Occurred()) SWIG_fail
;
23289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23297 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23298 PyObject
*resultobj
;
23299 wxWindow
*arg1
= (wxWindow
*) 0 ;
23301 PyObject
* obj0
= 0 ;
23302 PyObject
* obj1
= 0 ;
23303 char *kwnames
[] = {
23304 (char *) "self",(char *) "style", NULL
23307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23310 arg2
= (long) SWIG_AsLong(obj1
);
23311 if (PyErr_Occurred()) SWIG_fail
;
23313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23314 (arg1
)->SetWindowStyleFlag(arg2
);
23316 wxPyEndAllowThreads(__tstate
);
23317 if (PyErr_Occurred()) SWIG_fail
;
23319 Py_INCREF(Py_None
); resultobj
= Py_None
;
23326 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23327 PyObject
*resultobj
;
23328 wxWindow
*arg1
= (wxWindow
*) 0 ;
23330 PyObject
* obj0
= 0 ;
23331 char *kwnames
[] = {
23332 (char *) "self", NULL
23335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
23336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23340 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
23342 wxPyEndAllowThreads(__tstate
);
23343 if (PyErr_Occurred()) SWIG_fail
;
23345 resultobj
= SWIG_FromLong((long)result
);
23352 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23353 PyObject
*resultobj
;
23354 wxWindow
*arg1
= (wxWindow
*) 0 ;
23357 PyObject
* obj0
= 0 ;
23358 PyObject
* obj1
= 0 ;
23359 char *kwnames
[] = {
23360 (char *) "self",(char *) "flag", NULL
23363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23366 arg2
= (int) SWIG_AsInt(obj1
);
23367 if (PyErr_Occurred()) SWIG_fail
;
23369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23370 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
23372 wxPyEndAllowThreads(__tstate
);
23373 if (PyErr_Occurred()) SWIG_fail
;
23376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23384 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23385 PyObject
*resultobj
;
23386 wxWindow
*arg1
= (wxWindow
*) 0 ;
23388 PyObject
* obj0
= 0 ;
23389 char *kwnames
[] = {
23390 (char *) "self", NULL
23393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
23394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23398 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
23400 wxPyEndAllowThreads(__tstate
);
23401 if (PyErr_Occurred()) SWIG_fail
;
23404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23412 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23413 PyObject
*resultobj
;
23414 wxWindow
*arg1
= (wxWindow
*) 0 ;
23416 PyObject
* obj0
= 0 ;
23417 PyObject
* obj1
= 0 ;
23418 char *kwnames
[] = {
23419 (char *) "self",(char *) "exStyle", NULL
23422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
23423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23425 arg2
= (long) SWIG_AsLong(obj1
);
23426 if (PyErr_Occurred()) SWIG_fail
;
23428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23429 (arg1
)->SetExtraStyle(arg2
);
23431 wxPyEndAllowThreads(__tstate
);
23432 if (PyErr_Occurred()) SWIG_fail
;
23434 Py_INCREF(Py_None
); resultobj
= Py_None
;
23441 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23442 PyObject
*resultobj
;
23443 wxWindow
*arg1
= (wxWindow
*) 0 ;
23445 PyObject
* obj0
= 0 ;
23446 char *kwnames
[] = {
23447 (char *) "self", NULL
23450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
23451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23455 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
23457 wxPyEndAllowThreads(__tstate
);
23458 if (PyErr_Occurred()) SWIG_fail
;
23460 resultobj
= SWIG_FromLong((long)result
);
23467 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23468 PyObject
*resultobj
;
23469 wxWindow
*arg1
= (wxWindow
*) 0 ;
23470 bool arg2
= (bool) True
;
23471 PyObject
* obj0
= 0 ;
23472 PyObject
* obj1
= 0 ;
23473 char *kwnames
[] = {
23474 (char *) "self",(char *) "modal", NULL
23477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
23478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23481 arg2
= (bool) SWIG_AsBool(obj1
);
23482 if (PyErr_Occurred()) SWIG_fail
;
23485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23486 (arg1
)->MakeModal(arg2
);
23488 wxPyEndAllowThreads(__tstate
);
23489 if (PyErr_Occurred()) SWIG_fail
;
23491 Py_INCREF(Py_None
); resultobj
= Py_None
;
23498 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23499 PyObject
*resultobj
;
23500 wxWindow
*arg1
= (wxWindow
*) 0 ;
23502 PyObject
* obj0
= 0 ;
23503 PyObject
* obj1
= 0 ;
23504 char *kwnames
[] = {
23505 (char *) "self",(char *) "enableTheme", NULL
23508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
23509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23511 arg2
= (bool) SWIG_AsBool(obj1
);
23512 if (PyErr_Occurred()) SWIG_fail
;
23514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23515 (arg1
)->SetThemeEnabled(arg2
);
23517 wxPyEndAllowThreads(__tstate
);
23518 if (PyErr_Occurred()) SWIG_fail
;
23520 Py_INCREF(Py_None
); resultobj
= Py_None
;
23527 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23528 PyObject
*resultobj
;
23529 wxWindow
*arg1
= (wxWindow
*) 0 ;
23531 PyObject
* obj0
= 0 ;
23532 char *kwnames
[] = {
23533 (char *) "self", NULL
23536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
23537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23541 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
23543 wxPyEndAllowThreads(__tstate
);
23544 if (PyErr_Occurred()) SWIG_fail
;
23547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23555 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23556 PyObject
*resultobj
;
23557 wxWindow
*arg1
= (wxWindow
*) 0 ;
23558 PyObject
* obj0
= 0 ;
23559 char *kwnames
[] = {
23560 (char *) "self", NULL
23563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
23564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23568 (arg1
)->SetFocus();
23570 wxPyEndAllowThreads(__tstate
);
23571 if (PyErr_Occurred()) SWIG_fail
;
23573 Py_INCREF(Py_None
); resultobj
= Py_None
;
23580 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23581 PyObject
*resultobj
;
23582 wxWindow
*arg1
= (wxWindow
*) 0 ;
23583 PyObject
* obj0
= 0 ;
23584 char *kwnames
[] = {
23585 (char *) "self", NULL
23588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
23589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23593 (arg1
)->SetFocusFromKbd();
23595 wxPyEndAllowThreads(__tstate
);
23596 if (PyErr_Occurred()) SWIG_fail
;
23598 Py_INCREF(Py_None
); resultobj
= Py_None
;
23605 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23606 PyObject
*resultobj
;
23608 char *kwnames
[] = {
23612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
23614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23615 result
= (wxWindow
*)wxWindow::FindFocus();
23617 wxPyEndAllowThreads(__tstate
);
23618 if (PyErr_Occurred()) SWIG_fail
;
23621 resultobj
= wxPyMake_wxObject(result
);
23629 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23630 PyObject
*resultobj
;
23631 wxWindow
*arg1
= (wxWindow
*) 0 ;
23633 PyObject
* obj0
= 0 ;
23634 char *kwnames
[] = {
23635 (char *) "self", NULL
23638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
23639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23643 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
23645 wxPyEndAllowThreads(__tstate
);
23646 if (PyErr_Occurred()) SWIG_fail
;
23649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23657 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23658 PyObject
*resultobj
;
23659 wxWindow
*arg1
= (wxWindow
*) 0 ;
23661 PyObject
* obj0
= 0 ;
23662 char *kwnames
[] = {
23663 (char *) "self", NULL
23666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
23667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23671 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
23673 wxPyEndAllowThreads(__tstate
);
23674 if (PyErr_Occurred()) SWIG_fail
;
23677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23685 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23686 PyObject
*resultobj
;
23687 wxWindow
*arg1
= (wxWindow
*) 0 ;
23689 PyObject
* obj0
= 0 ;
23690 char *kwnames
[] = {
23691 (char *) "self", NULL
23694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
23695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23699 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
23701 wxPyEndAllowThreads(__tstate
);
23702 if (PyErr_Occurred()) SWIG_fail
;
23705 resultobj
= wxPyMake_wxObject(result
);
23713 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23714 PyObject
*resultobj
;
23715 wxWindow
*arg1
= (wxWindow
*) 0 ;
23716 wxWindow
*arg2
= (wxWindow
*) 0 ;
23718 PyObject
* obj0
= 0 ;
23719 PyObject
* obj1
= 0 ;
23720 char *kwnames
[] = {
23721 (char *) "self",(char *) "child", NULL
23724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23727 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23731 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
23733 wxPyEndAllowThreads(__tstate
);
23734 if (PyErr_Occurred()) SWIG_fail
;
23737 resultobj
= wxPyMake_wxObject(result
);
23745 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23746 PyObject
*resultobj
;
23747 wxWindow
*arg1
= (wxWindow
*) 0 ;
23748 wxWindow
*arg2
= (wxWindow
*) 0 ;
23749 PyObject
* obj0
= 0 ;
23750 PyObject
* obj1
= 0 ;
23751 char *kwnames
[] = {
23752 (char *) "self",(char *) "win", NULL
23755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23758 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23762 (arg1
)->SetTmpDefaultItem(arg2
);
23764 wxPyEndAllowThreads(__tstate
);
23765 if (PyErr_Occurred()) SWIG_fail
;
23767 Py_INCREF(Py_None
); resultobj
= Py_None
;
23774 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23775 PyObject
*resultobj
;
23776 wxWindow
*arg1
= (wxWindow
*) 0 ;
23778 PyObject
* obj0
= 0 ;
23779 char *kwnames
[] = {
23780 (char *) "self", NULL
23783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
23784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23788 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
23790 wxPyEndAllowThreads(__tstate
);
23791 if (PyErr_Occurred()) SWIG_fail
;
23793 resultobj
= result
;
23800 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23801 PyObject
*resultobj
;
23802 wxWindow
*arg1
= (wxWindow
*) 0 ;
23804 PyObject
* obj0
= 0 ;
23805 char *kwnames
[] = {
23806 (char *) "self", NULL
23809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
23810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23814 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
23816 wxPyEndAllowThreads(__tstate
);
23817 if (PyErr_Occurred()) SWIG_fail
;
23820 resultobj
= wxPyMake_wxObject(result
);
23828 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23829 PyObject
*resultobj
;
23830 wxWindow
*arg1
= (wxWindow
*) 0 ;
23832 PyObject
* obj0
= 0 ;
23833 char *kwnames
[] = {
23834 (char *) "self", NULL
23837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
23838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23842 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
23844 wxPyEndAllowThreads(__tstate
);
23845 if (PyErr_Occurred()) SWIG_fail
;
23848 resultobj
= wxPyMake_wxObject(result
);
23856 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23857 PyObject
*resultobj
;
23858 wxWindow
*arg1
= (wxWindow
*) 0 ;
23860 PyObject
* obj0
= 0 ;
23861 char *kwnames
[] = {
23862 (char *) "self", NULL
23865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
23866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23870 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
23872 wxPyEndAllowThreads(__tstate
);
23873 if (PyErr_Occurred()) SWIG_fail
;
23876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23884 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23885 PyObject
*resultobj
;
23886 wxWindow
*arg1
= (wxWindow
*) 0 ;
23887 wxWindow
*arg2
= (wxWindow
*) 0 ;
23889 PyObject
* obj0
= 0 ;
23890 PyObject
* obj1
= 0 ;
23891 char *kwnames
[] = {
23892 (char *) "self",(char *) "newParent", NULL
23895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
23896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23898 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23902 result
= (bool)(arg1
)->Reparent(arg2
);
23904 wxPyEndAllowThreads(__tstate
);
23905 if (PyErr_Occurred()) SWIG_fail
;
23908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23916 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23917 PyObject
*resultobj
;
23918 wxWindow
*arg1
= (wxWindow
*) 0 ;
23919 wxWindow
*arg2
= (wxWindow
*) 0 ;
23920 PyObject
* obj0
= 0 ;
23921 PyObject
* obj1
= 0 ;
23922 char *kwnames
[] = {
23923 (char *) "self",(char *) "child", NULL
23926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
23927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23929 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23933 (arg1
)->AddChild(arg2
);
23935 wxPyEndAllowThreads(__tstate
);
23936 if (PyErr_Occurred()) SWIG_fail
;
23938 Py_INCREF(Py_None
); resultobj
= Py_None
;
23945 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23946 PyObject
*resultobj
;
23947 wxWindow
*arg1
= (wxWindow
*) 0 ;
23948 wxWindow
*arg2
= (wxWindow
*) 0 ;
23949 PyObject
* obj0
= 0 ;
23950 PyObject
* obj1
= 0 ;
23951 char *kwnames
[] = {
23952 (char *) "self",(char *) "child", NULL
23955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
23956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23958 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23962 (arg1
)->RemoveChild(arg2
);
23964 wxPyEndAllowThreads(__tstate
);
23965 if (PyErr_Occurred()) SWIG_fail
;
23967 Py_INCREF(Py_None
); resultobj
= Py_None
;
23974 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23975 PyObject
*resultobj
;
23976 wxWindow
*arg1
= (wxWindow
*) 0 ;
23979 PyObject
* obj0
= 0 ;
23980 PyObject
* obj1
= 0 ;
23981 char *kwnames
[] = {
23982 (char *) "self",(char *) "winid", NULL
23985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
23986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23988 arg2
= (long) SWIG_AsLong(obj1
);
23989 if (PyErr_Occurred()) SWIG_fail
;
23991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23992 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
23994 wxPyEndAllowThreads(__tstate
);
23995 if (PyErr_Occurred()) SWIG_fail
;
23998 resultobj
= wxPyMake_wxObject(result
);
24006 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24007 PyObject
*resultobj
;
24008 wxWindow
*arg1
= (wxWindow
*) 0 ;
24009 wxString
*arg2
= 0 ;
24011 bool temp2
= False
;
24012 PyObject
* obj0
= 0 ;
24013 PyObject
* obj1
= 0 ;
24014 char *kwnames
[] = {
24015 (char *) "self",(char *) "name", NULL
24018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
24019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24022 arg2
= wxString_in_helper(obj1
);
24023 if (arg2
== NULL
) SWIG_fail
;
24027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24028 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
24030 wxPyEndAllowThreads(__tstate
);
24031 if (PyErr_Occurred()) SWIG_fail
;
24034 resultobj
= wxPyMake_wxObject(result
);
24050 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24051 PyObject
*resultobj
;
24052 wxWindow
*arg1
= (wxWindow
*) 0 ;
24053 wxEvtHandler
*result
;
24054 PyObject
* obj0
= 0 ;
24055 char *kwnames
[] = {
24056 (char *) "self", NULL
24059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
24060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24064 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
24066 wxPyEndAllowThreads(__tstate
);
24067 if (PyErr_Occurred()) SWIG_fail
;
24070 resultobj
= wxPyMake_wxObject(result
);
24078 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24079 PyObject
*resultobj
;
24080 wxWindow
*arg1
= (wxWindow
*) 0 ;
24081 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24082 PyObject
* obj0
= 0 ;
24083 PyObject
* obj1
= 0 ;
24084 char *kwnames
[] = {
24085 (char *) "self",(char *) "handler", NULL
24088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24091 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24095 (arg1
)->SetEventHandler(arg2
);
24097 wxPyEndAllowThreads(__tstate
);
24098 if (PyErr_Occurred()) SWIG_fail
;
24100 Py_INCREF(Py_None
); resultobj
= Py_None
;
24107 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24108 PyObject
*resultobj
;
24109 wxWindow
*arg1
= (wxWindow
*) 0 ;
24110 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24111 PyObject
* obj0
= 0 ;
24112 PyObject
* obj1
= 0 ;
24113 char *kwnames
[] = {
24114 (char *) "self",(char *) "handler", NULL
24117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24120 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24124 (arg1
)->PushEventHandler(arg2
);
24126 wxPyEndAllowThreads(__tstate
);
24127 if (PyErr_Occurred()) SWIG_fail
;
24129 Py_INCREF(Py_None
); resultobj
= Py_None
;
24136 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24137 PyObject
*resultobj
;
24138 wxWindow
*arg1
= (wxWindow
*) 0 ;
24139 bool arg2
= (bool) False
;
24140 wxEvtHandler
*result
;
24141 PyObject
* obj0
= 0 ;
24142 PyObject
* obj1
= 0 ;
24143 char *kwnames
[] = {
24144 (char *) "self",(char *) "deleteHandler", NULL
24147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24151 arg2
= (bool) SWIG_AsBool(obj1
);
24152 if (PyErr_Occurred()) SWIG_fail
;
24155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24156 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
24158 wxPyEndAllowThreads(__tstate
);
24159 if (PyErr_Occurred()) SWIG_fail
;
24162 resultobj
= wxPyMake_wxObject(result
);
24170 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24171 PyObject
*resultobj
;
24172 wxWindow
*arg1
= (wxWindow
*) 0 ;
24173 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24175 PyObject
* obj0
= 0 ;
24176 PyObject
* obj1
= 0 ;
24177 char *kwnames
[] = {
24178 (char *) "self",(char *) "handler", NULL
24181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24184 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24188 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
24190 wxPyEndAllowThreads(__tstate
);
24191 if (PyErr_Occurred()) SWIG_fail
;
24194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24202 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24203 PyObject
*resultobj
;
24204 wxWindow
*arg1
= (wxWindow
*) 0 ;
24205 wxValidator
*arg2
= 0 ;
24206 PyObject
* obj0
= 0 ;
24207 PyObject
* obj1
= 0 ;
24208 char *kwnames
[] = {
24209 (char *) "self",(char *) "validator", NULL
24212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
24213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24215 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
24216 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24218 if (arg2
== NULL
) {
24219 PyErr_SetString(PyExc_TypeError
,"null reference");
24223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24224 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
24226 wxPyEndAllowThreads(__tstate
);
24227 if (PyErr_Occurred()) SWIG_fail
;
24229 Py_INCREF(Py_None
); resultobj
= Py_None
;
24236 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24237 PyObject
*resultobj
;
24238 wxWindow
*arg1
= (wxWindow
*) 0 ;
24239 wxValidator
*result
;
24240 PyObject
* obj0
= 0 ;
24241 char *kwnames
[] = {
24242 (char *) "self", NULL
24245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
24246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24250 result
= (wxValidator
*)(arg1
)->GetValidator();
24252 wxPyEndAllowThreads(__tstate
);
24253 if (PyErr_Occurred()) SWIG_fail
;
24256 resultobj
= wxPyMake_wxObject(result
);
24264 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24265 PyObject
*resultobj
;
24266 wxWindow
*arg1
= (wxWindow
*) 0 ;
24267 wxAcceleratorTable
*arg2
= 0 ;
24268 PyObject
* obj0
= 0 ;
24269 PyObject
* obj1
= 0 ;
24270 char *kwnames
[] = {
24271 (char *) "self",(char *) "accel", NULL
24274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
24275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24277 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
24278 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24280 if (arg2
== NULL
) {
24281 PyErr_SetString(PyExc_TypeError
,"null reference");
24285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24286 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
24288 wxPyEndAllowThreads(__tstate
);
24289 if (PyErr_Occurred()) SWIG_fail
;
24291 Py_INCREF(Py_None
); resultobj
= Py_None
;
24298 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24299 PyObject
*resultobj
;
24300 wxWindow
*arg1
= (wxWindow
*) 0 ;
24301 wxAcceleratorTable
*result
;
24302 PyObject
* obj0
= 0 ;
24303 char *kwnames
[] = {
24304 (char *) "self", NULL
24307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
24308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24312 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
24314 wxPyEndAllowThreads(__tstate
);
24315 if (PyErr_Occurred()) SWIG_fail
;
24317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
24324 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24325 PyObject
*resultobj
;
24326 wxWindow
*arg1
= (wxWindow
*) 0 ;
24331 PyObject
* obj0
= 0 ;
24332 PyObject
* obj1
= 0 ;
24333 PyObject
* obj2
= 0 ;
24334 PyObject
* obj3
= 0 ;
24335 char *kwnames
[] = {
24336 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
24339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24342 arg2
= (int) SWIG_AsInt(obj1
);
24343 if (PyErr_Occurred()) SWIG_fail
;
24344 arg3
= (int) SWIG_AsInt(obj2
);
24345 if (PyErr_Occurred()) SWIG_fail
;
24346 arg4
= (int) SWIG_AsInt(obj3
);
24347 if (PyErr_Occurred()) SWIG_fail
;
24349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24350 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
24352 wxPyEndAllowThreads(__tstate
);
24353 if (PyErr_Occurred()) SWIG_fail
;
24356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24364 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24365 PyObject
*resultobj
;
24366 wxWindow
*arg1
= (wxWindow
*) 0 ;
24369 PyObject
* obj0
= 0 ;
24370 PyObject
* obj1
= 0 ;
24371 char *kwnames
[] = {
24372 (char *) "self",(char *) "hotkeyId", NULL
24375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
24376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24378 arg2
= (int) SWIG_AsInt(obj1
);
24379 if (PyErr_Occurred()) SWIG_fail
;
24381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24382 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
24384 wxPyEndAllowThreads(__tstate
);
24385 if (PyErr_Occurred()) SWIG_fail
;
24388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24396 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24397 PyObject
*resultobj
;
24398 wxWindow
*arg1
= (wxWindow
*) 0 ;
24399 wxPoint
*arg2
= 0 ;
24402 PyObject
* obj0
= 0 ;
24403 PyObject
* obj1
= 0 ;
24404 char *kwnames
[] = {
24405 (char *) "self",(char *) "pt", NULL
24408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
24409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24413 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24417 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
24419 wxPyEndAllowThreads(__tstate
);
24420 if (PyErr_Occurred()) SWIG_fail
;
24423 wxPoint
* resultptr
;
24424 resultptr
= new wxPoint((wxPoint
&) result
);
24425 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24433 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24434 PyObject
*resultobj
;
24435 wxWindow
*arg1
= (wxWindow
*) 0 ;
24439 PyObject
* obj0
= 0 ;
24440 PyObject
* obj1
= 0 ;
24441 char *kwnames
[] = {
24442 (char *) "self",(char *) "sz", NULL
24445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
24446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24450 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24454 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
24456 wxPyEndAllowThreads(__tstate
);
24457 if (PyErr_Occurred()) SWIG_fail
;
24460 wxSize
* resultptr
;
24461 resultptr
= new wxSize((wxSize
&) result
);
24462 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24470 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24471 PyObject
*resultobj
;
24472 wxWindow
*arg1
= (wxWindow
*) 0 ;
24473 wxPoint
*arg2
= 0 ;
24476 PyObject
* obj0
= 0 ;
24477 PyObject
* obj1
= 0 ;
24478 char *kwnames
[] = {
24479 (char *) "self",(char *) "pt", NULL
24482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
24483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24487 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24491 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
24493 wxPyEndAllowThreads(__tstate
);
24494 if (PyErr_Occurred()) SWIG_fail
;
24497 wxPoint
* resultptr
;
24498 resultptr
= new wxPoint((wxPoint
&) result
);
24499 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24507 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24508 PyObject
*resultobj
;
24509 wxWindow
*arg1
= (wxWindow
*) 0 ;
24513 PyObject
* obj0
= 0 ;
24514 PyObject
* obj1
= 0 ;
24515 char *kwnames
[] = {
24516 (char *) "self",(char *) "sz", NULL
24519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
24520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24524 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24528 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
24530 wxPyEndAllowThreads(__tstate
);
24531 if (PyErr_Occurred()) SWIG_fail
;
24534 wxSize
* resultptr
;
24535 resultptr
= new wxSize((wxSize
&) result
);
24536 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24544 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24545 PyObject
*resultobj
;
24546 wxWindow
*arg1
= (wxWindow
*) 0 ;
24547 wxPoint
*arg2
= 0 ;
24550 PyObject
* obj0
= 0 ;
24551 PyObject
* obj1
= 0 ;
24552 char *kwnames
[] = {
24553 (char *) "self",(char *) "pt", NULL
24556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24561 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24565 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
24567 wxPyEndAllowThreads(__tstate
);
24568 if (PyErr_Occurred()) SWIG_fail
;
24571 wxPoint
* resultptr
;
24572 resultptr
= new wxPoint((wxPoint
&) result
);
24573 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24581 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24582 PyObject
*resultobj
;
24583 wxWindow
*arg1
= (wxWindow
*) 0 ;
24587 PyObject
* obj0
= 0 ;
24588 PyObject
* obj1
= 0 ;
24589 char *kwnames
[] = {
24590 (char *) "self",(char *) "sz", NULL
24593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24598 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24602 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
24604 wxPyEndAllowThreads(__tstate
);
24605 if (PyErr_Occurred()) SWIG_fail
;
24608 wxSize
* resultptr
;
24609 resultptr
= new wxSize((wxSize
&) result
);
24610 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24618 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24619 PyObject
*resultobj
;
24620 wxWindow
*arg1
= (wxWindow
*) 0 ;
24623 PyObject
* obj0
= 0 ;
24624 PyObject
* obj1
= 0 ;
24625 PyObject
* obj2
= 0 ;
24626 char *kwnames
[] = {
24627 (char *) "self",(char *) "x",(char *) "y", NULL
24630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24633 arg2
= (int) SWIG_AsInt(obj1
);
24634 if (PyErr_Occurred()) SWIG_fail
;
24635 arg3
= (int) SWIG_AsInt(obj2
);
24636 if (PyErr_Occurred()) SWIG_fail
;
24638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24639 (arg1
)->WarpPointer(arg2
,arg3
);
24641 wxPyEndAllowThreads(__tstate
);
24642 if (PyErr_Occurred()) SWIG_fail
;
24644 Py_INCREF(Py_None
); resultobj
= Py_None
;
24651 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24652 PyObject
*resultobj
;
24653 wxWindow
*arg1
= (wxWindow
*) 0 ;
24654 PyObject
* obj0
= 0 ;
24655 char *kwnames
[] = {
24656 (char *) "self", NULL
24659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
24660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24664 (arg1
)->CaptureMouse();
24666 wxPyEndAllowThreads(__tstate
);
24667 if (PyErr_Occurred()) SWIG_fail
;
24669 Py_INCREF(Py_None
); resultobj
= Py_None
;
24676 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24677 PyObject
*resultobj
;
24678 wxWindow
*arg1
= (wxWindow
*) 0 ;
24679 PyObject
* obj0
= 0 ;
24680 char *kwnames
[] = {
24681 (char *) "self", NULL
24684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
24685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24689 (arg1
)->ReleaseMouse();
24691 wxPyEndAllowThreads(__tstate
);
24692 if (PyErr_Occurred()) SWIG_fail
;
24694 Py_INCREF(Py_None
); resultobj
= Py_None
;
24701 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24702 PyObject
*resultobj
;
24704 char *kwnames
[] = {
24708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
24710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24711 result
= (wxWindow
*)wxWindow::GetCapture();
24713 wxPyEndAllowThreads(__tstate
);
24714 if (PyErr_Occurred()) SWIG_fail
;
24717 resultobj
= wxPyMake_wxObject(result
);
24725 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24726 PyObject
*resultobj
;
24727 wxWindow
*arg1
= (wxWindow
*) 0 ;
24729 PyObject
* obj0
= 0 ;
24730 char *kwnames
[] = {
24731 (char *) "self", NULL
24734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
24735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24739 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
24741 wxPyEndAllowThreads(__tstate
);
24742 if (PyErr_Occurred()) SWIG_fail
;
24745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24753 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24754 PyObject
*resultobj
;
24755 wxWindow
*arg1
= (wxWindow
*) 0 ;
24756 bool arg2
= (bool) True
;
24757 wxRect
*arg3
= (wxRect
*) NULL
;
24758 PyObject
* obj0
= 0 ;
24759 PyObject
* obj1
= 0 ;
24760 PyObject
* obj2
= 0 ;
24761 char *kwnames
[] = {
24762 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
24765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24769 arg2
= (bool) SWIG_AsBool(obj1
);
24770 if (PyErr_Occurred()) SWIG_fail
;
24773 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
24774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24778 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
24780 wxPyEndAllowThreads(__tstate
);
24781 if (PyErr_Occurred()) SWIG_fail
;
24783 Py_INCREF(Py_None
); resultobj
= Py_None
;
24790 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24791 PyObject
*resultobj
;
24792 wxWindow
*arg1
= (wxWindow
*) 0 ;
24795 PyObject
* obj0
= 0 ;
24796 PyObject
* obj1
= 0 ;
24797 char *kwnames
[] = {
24798 (char *) "self",(char *) "rect", NULL
24801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
24802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24806 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
24809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24810 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
24812 wxPyEndAllowThreads(__tstate
);
24813 if (PyErr_Occurred()) SWIG_fail
;
24815 Py_INCREF(Py_None
); resultobj
= Py_None
;
24822 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24823 PyObject
*resultobj
;
24824 wxWindow
*arg1
= (wxWindow
*) 0 ;
24825 PyObject
* obj0
= 0 ;
24826 char *kwnames
[] = {
24827 (char *) "self", NULL
24830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
24831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24837 wxPyEndAllowThreads(__tstate
);
24838 if (PyErr_Occurred()) SWIG_fail
;
24840 Py_INCREF(Py_None
); resultobj
= Py_None
;
24847 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24848 PyObject
*resultobj
;
24849 wxWindow
*arg1
= (wxWindow
*) 0 ;
24850 PyObject
* obj0
= 0 ;
24851 char *kwnames
[] = {
24852 (char *) "self", NULL
24855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
24856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24860 (arg1
)->ClearBackground();
24862 wxPyEndAllowThreads(__tstate
);
24863 if (PyErr_Occurred()) SWIG_fail
;
24865 Py_INCREF(Py_None
); resultobj
= Py_None
;
24872 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24873 PyObject
*resultobj
;
24874 wxWindow
*arg1
= (wxWindow
*) 0 ;
24875 PyObject
* obj0
= 0 ;
24876 char *kwnames
[] = {
24877 (char *) "self", NULL
24880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
24881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24887 wxPyEndAllowThreads(__tstate
);
24888 if (PyErr_Occurred()) SWIG_fail
;
24890 Py_INCREF(Py_None
); resultobj
= Py_None
;
24897 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24898 PyObject
*resultobj
;
24899 wxWindow
*arg1
= (wxWindow
*) 0 ;
24900 PyObject
* obj0
= 0 ;
24901 char *kwnames
[] = {
24902 (char *) "self", NULL
24905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
24906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24912 wxPyEndAllowThreads(__tstate
);
24913 if (PyErr_Occurred()) SWIG_fail
;
24915 Py_INCREF(Py_None
); resultobj
= Py_None
;
24922 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24923 PyObject
*resultobj
;
24924 wxWindow
*arg1
= (wxWindow
*) 0 ;
24926 PyObject
* obj0
= 0 ;
24927 PyObject
* obj1
= 0 ;
24928 char *kwnames
[] = {
24929 (char *) "self",(char *) "dc", NULL
24932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
24933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24935 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24936 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24938 if (arg2
== NULL
) {
24939 PyErr_SetString(PyExc_TypeError
,"null reference");
24943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24944 (arg1
)->PrepareDC(*arg2
);
24946 wxPyEndAllowThreads(__tstate
);
24947 if (PyErr_Occurred()) SWIG_fail
;
24949 Py_INCREF(Py_None
); resultobj
= Py_None
;
24956 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24957 PyObject
*resultobj
;
24958 wxWindow
*arg1
= (wxWindow
*) 0 ;
24960 PyObject
* obj0
= 0 ;
24961 char *kwnames
[] = {
24962 (char *) "self", NULL
24965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
24966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24971 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
24972 result
= (wxRegion
*) &_result_ref
;
24975 wxPyEndAllowThreads(__tstate
);
24976 if (PyErr_Occurred()) SWIG_fail
;
24978 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
24985 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24986 PyObject
*resultobj
;
24987 wxWindow
*arg1
= (wxWindow
*) 0 ;
24989 PyObject
* obj0
= 0 ;
24990 char *kwnames
[] = {
24991 (char *) "self", NULL
24994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
24995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24999 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
25001 wxPyEndAllowThreads(__tstate
);
25002 if (PyErr_Occurred()) SWIG_fail
;
25005 wxRect
* resultptr
;
25006 resultptr
= new wxRect((wxRect
&) result
);
25007 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25015 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25016 PyObject
*resultobj
;
25017 wxWindow
*arg1
= (wxWindow
*) 0 ;
25020 int arg4
= (int) 1 ;
25021 int arg5
= (int) 1 ;
25023 PyObject
* obj0
= 0 ;
25024 PyObject
* obj1
= 0 ;
25025 PyObject
* obj2
= 0 ;
25026 PyObject
* obj3
= 0 ;
25027 PyObject
* obj4
= 0 ;
25028 char *kwnames
[] = {
25029 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25035 arg2
= (int) SWIG_AsInt(obj1
);
25036 if (PyErr_Occurred()) SWIG_fail
;
25037 arg3
= (int) SWIG_AsInt(obj2
);
25038 if (PyErr_Occurred()) SWIG_fail
;
25040 arg4
= (int) SWIG_AsInt(obj3
);
25041 if (PyErr_Occurred()) SWIG_fail
;
25044 arg5
= (int) SWIG_AsInt(obj4
);
25045 if (PyErr_Occurred()) SWIG_fail
;
25048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25049 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
25051 wxPyEndAllowThreads(__tstate
);
25052 if (PyErr_Occurred()) SWIG_fail
;
25055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25063 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25064 PyObject
*resultobj
;
25065 wxWindow
*arg1
= (wxWindow
*) 0 ;
25066 wxPoint
*arg2
= 0 ;
25069 PyObject
* obj0
= 0 ;
25070 PyObject
* obj1
= 0 ;
25071 char *kwnames
[] = {
25072 (char *) "self",(char *) "pt", NULL
25075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
25076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25080 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25084 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
25086 wxPyEndAllowThreads(__tstate
);
25087 if (PyErr_Occurred()) SWIG_fail
;
25090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25098 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25099 PyObject
*resultobj
;
25100 wxWindow
*arg1
= (wxWindow
*) 0 ;
25104 PyObject
* obj0
= 0 ;
25105 PyObject
* obj1
= 0 ;
25106 char *kwnames
[] = {
25107 (char *) "self",(char *) "rect", NULL
25110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25115 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25119 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
25121 wxPyEndAllowThreads(__tstate
);
25122 if (PyErr_Occurred()) SWIG_fail
;
25125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25133 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25134 PyObject
*resultobj
;
25135 wxWindow
*arg1
= (wxWindow
*) 0 ;
25136 wxColour
*arg2
= 0 ;
25139 PyObject
* obj0
= 0 ;
25140 PyObject
* obj1
= 0 ;
25141 char *kwnames
[] = {
25142 (char *) "self",(char *) "colour", NULL
25145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25150 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25154 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25156 wxPyEndAllowThreads(__tstate
);
25157 if (PyErr_Occurred()) SWIG_fail
;
25160 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25168 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25169 PyObject
*resultobj
;
25170 wxWindow
*arg1
= (wxWindow
*) 0 ;
25171 wxColour
*arg2
= 0 ;
25174 PyObject
* obj0
= 0 ;
25175 PyObject
* obj1
= 0 ;
25176 char *kwnames
[] = {
25177 (char *) "self",(char *) "colour", NULL
25180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25185 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25189 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
25191 wxPyEndAllowThreads(__tstate
);
25192 if (PyErr_Occurred()) SWIG_fail
;
25195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25203 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25204 PyObject
*resultobj
;
25205 wxWindow
*arg1
= (wxWindow
*) 0 ;
25207 PyObject
* obj0
= 0 ;
25208 char *kwnames
[] = {
25209 (char *) "self", NULL
25212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
25213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25217 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
25219 wxPyEndAllowThreads(__tstate
);
25220 if (PyErr_Occurred()) SWIG_fail
;
25223 wxColour
* resultptr
;
25224 resultptr
= new wxColour((wxColour
&) result
);
25225 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25233 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25234 PyObject
*resultobj
;
25235 wxWindow
*arg1
= (wxWindow
*) 0 ;
25237 PyObject
* obj0
= 0 ;
25238 char *kwnames
[] = {
25239 (char *) "self", NULL
25242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
25243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25247 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
25249 wxPyEndAllowThreads(__tstate
);
25250 if (PyErr_Occurred()) SWIG_fail
;
25253 wxColour
* resultptr
;
25254 resultptr
= new wxColour((wxColour
&) result
);
25255 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25263 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25264 PyObject
*resultobj
;
25265 wxWindow
*arg1
= (wxWindow
*) 0 ;
25266 wxCursor
*arg2
= 0 ;
25268 PyObject
* obj0
= 0 ;
25269 PyObject
* obj1
= 0 ;
25270 char *kwnames
[] = {
25271 (char *) "self",(char *) "cursor", NULL
25274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
25275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25277 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
25278 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25280 if (arg2
== NULL
) {
25281 PyErr_SetString(PyExc_TypeError
,"null reference");
25285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25286 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
25288 wxPyEndAllowThreads(__tstate
);
25289 if (PyErr_Occurred()) SWIG_fail
;
25292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25300 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25301 PyObject
*resultobj
;
25302 wxWindow
*arg1
= (wxWindow
*) 0 ;
25304 PyObject
* obj0
= 0 ;
25305 char *kwnames
[] = {
25306 (char *) "self", NULL
25309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
25310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25315 wxCursor
&_result_ref
= (arg1
)->GetCursor();
25316 result
= (wxCursor
*) &_result_ref
;
25319 wxPyEndAllowThreads(__tstate
);
25320 if (PyErr_Occurred()) SWIG_fail
;
25323 wxCursor
* resultptr
= new wxCursor(*result
);
25324 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
25332 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25333 PyObject
*resultobj
;
25334 wxWindow
*arg1
= (wxWindow
*) 0 ;
25337 PyObject
* obj0
= 0 ;
25338 PyObject
* obj1
= 0 ;
25339 char *kwnames
[] = {
25340 (char *) "self",(char *) "font", NULL
25343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
25344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25346 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
25347 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25349 if (arg2
== NULL
) {
25350 PyErr_SetString(PyExc_TypeError
,"null reference");
25354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25355 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
25357 wxPyEndAllowThreads(__tstate
);
25358 if (PyErr_Occurred()) SWIG_fail
;
25361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25369 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25370 PyObject
*resultobj
;
25371 wxWindow
*arg1
= (wxWindow
*) 0 ;
25373 PyObject
* obj0
= 0 ;
25374 char *kwnames
[] = {
25375 (char *) "self", NULL
25378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
25379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25384 wxFont
&_result_ref
= (arg1
)->GetFont();
25385 result
= (wxFont
*) &_result_ref
;
25388 wxPyEndAllowThreads(__tstate
);
25389 if (PyErr_Occurred()) SWIG_fail
;
25392 wxFont
* resultptr
= new wxFont(*result
);
25393 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
25401 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25402 PyObject
*resultobj
;
25403 wxWindow
*arg1
= (wxWindow
*) 0 ;
25404 wxCaret
*arg2
= (wxCaret
*) 0 ;
25405 PyObject
* obj0
= 0 ;
25406 PyObject
* obj1
= 0 ;
25407 char *kwnames
[] = {
25408 (char *) "self",(char *) "caret", NULL
25411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
25412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25414 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
25415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25418 (arg1
)->SetCaret(arg2
);
25420 wxPyEndAllowThreads(__tstate
);
25421 if (PyErr_Occurred()) SWIG_fail
;
25423 Py_INCREF(Py_None
); resultobj
= Py_None
;
25430 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25431 PyObject
*resultobj
;
25432 wxWindow
*arg1
= (wxWindow
*) 0 ;
25434 PyObject
* obj0
= 0 ;
25435 char *kwnames
[] = {
25436 (char *) "self", NULL
25439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
25440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25444 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
25446 wxPyEndAllowThreads(__tstate
);
25447 if (PyErr_Occurred()) SWIG_fail
;
25449 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
25456 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25457 PyObject
*resultobj
;
25458 wxWindow
*arg1
= (wxWindow
*) 0 ;
25460 PyObject
* obj0
= 0 ;
25461 char *kwnames
[] = {
25462 (char *) "self", NULL
25465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
25466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25470 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
25472 wxPyEndAllowThreads(__tstate
);
25473 if (PyErr_Occurred()) SWIG_fail
;
25475 resultobj
= SWIG_FromInt((int)result
);
25482 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25483 PyObject
*resultobj
;
25484 wxWindow
*arg1
= (wxWindow
*) 0 ;
25486 PyObject
* obj0
= 0 ;
25487 char *kwnames
[] = {
25488 (char *) "self", NULL
25491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
25492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25496 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
25498 wxPyEndAllowThreads(__tstate
);
25499 if (PyErr_Occurred()) SWIG_fail
;
25501 resultobj
= SWIG_FromInt((int)result
);
25508 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25509 PyObject
*resultobj
;
25510 wxWindow
*arg1
= (wxWindow
*) 0 ;
25511 wxString
*arg2
= 0 ;
25512 int *arg3
= (int *) 0 ;
25513 int *arg4
= (int *) 0 ;
25514 bool temp2
= False
;
25517 PyObject
* obj0
= 0 ;
25518 PyObject
* obj1
= 0 ;
25519 char *kwnames
[] = {
25520 (char *) "self",(char *) "string", NULL
25525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
25526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25529 arg2
= wxString_in_helper(obj1
);
25530 if (arg2
== NULL
) SWIG_fail
;
25534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25535 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
25537 wxPyEndAllowThreads(__tstate
);
25538 if (PyErr_Occurred()) SWIG_fail
;
25540 Py_INCREF(Py_None
); resultobj
= Py_None
;
25542 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25543 resultobj
= t_output_helper(resultobj
,o
);
25546 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
25547 resultobj
= t_output_helper(resultobj
,o
);
25563 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25564 PyObject
*resultobj
;
25565 wxWindow
*arg1
= (wxWindow
*) 0 ;
25566 wxString
*arg2
= 0 ;
25567 int *arg3
= (int *) 0 ;
25568 int *arg4
= (int *) 0 ;
25569 int *arg5
= (int *) 0 ;
25570 int *arg6
= (int *) 0 ;
25571 wxFont
*arg7
= (wxFont
*) NULL
;
25572 bool temp2
= False
;
25577 PyObject
* obj0
= 0 ;
25578 PyObject
* obj1
= 0 ;
25579 PyObject
* obj2
= 0 ;
25580 char *kwnames
[] = {
25581 (char *) "self",(char *) "string",(char *) "font", NULL
25588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25592 arg2
= wxString_in_helper(obj1
);
25593 if (arg2
== NULL
) SWIG_fail
;
25597 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
25598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25602 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
25604 wxPyEndAllowThreads(__tstate
);
25605 if (PyErr_Occurred()) SWIG_fail
;
25607 Py_INCREF(Py_None
); resultobj
= Py_None
;
25609 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25610 resultobj
= t_output_helper(resultobj
,o
);
25613 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
25614 resultobj
= t_output_helper(resultobj
,o
);
25617 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
25618 resultobj
= t_output_helper(resultobj
,o
);
25621 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
25622 resultobj
= t_output_helper(resultobj
,o
);
25638 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25639 PyObject
*resultobj
;
25640 wxWindow
*arg1
= (wxWindow
*) 0 ;
25641 int *arg2
= (int *) 0 ;
25642 int *arg3
= (int *) 0 ;
25645 PyObject
* obj0
= 0 ;
25646 PyObject
* obj1
= 0 ;
25647 PyObject
* obj2
= 0 ;
25648 char *kwnames
[] = {
25649 (char *) "self",(char *) "x",(char *) "y", NULL
25652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25656 temp2
= PyInt_AsLong(obj1
);
25657 if (PyErr_Occurred()) SWIG_fail
;
25661 temp3
= PyInt_AsLong(obj2
);
25662 if (PyErr_Occurred()) SWIG_fail
;
25666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25667 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
25669 wxPyEndAllowThreads(__tstate
);
25670 if (PyErr_Occurred()) SWIG_fail
;
25672 Py_INCREF(Py_None
); resultobj
= Py_None
;
25674 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
25675 resultobj
= t_output_helper(resultobj
,o
);
25678 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25679 resultobj
= t_output_helper(resultobj
,o
);
25687 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25688 PyObject
*resultobj
;
25689 wxWindow
*arg1
= (wxWindow
*) 0 ;
25690 int *arg2
= (int *) 0 ;
25691 int *arg3
= (int *) 0 ;
25694 PyObject
* obj0
= 0 ;
25695 PyObject
* obj1
= 0 ;
25696 PyObject
* obj2
= 0 ;
25697 char *kwnames
[] = {
25698 (char *) "self",(char *) "x",(char *) "y", NULL
25701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25705 temp2
= PyInt_AsLong(obj1
);
25706 if (PyErr_Occurred()) SWIG_fail
;
25710 temp3
= PyInt_AsLong(obj2
);
25711 if (PyErr_Occurred()) SWIG_fail
;
25715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25716 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
25718 wxPyEndAllowThreads(__tstate
);
25719 if (PyErr_Occurred()) SWIG_fail
;
25721 Py_INCREF(Py_None
); resultobj
= Py_None
;
25723 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
25724 resultobj
= t_output_helper(resultobj
,o
);
25727 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25728 resultobj
= t_output_helper(resultobj
,o
);
25736 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25737 PyObject
*resultobj
;
25738 wxWindow
*arg1
= (wxWindow
*) 0 ;
25739 wxPoint
*arg2
= 0 ;
25742 PyObject
* obj0
= 0 ;
25743 PyObject
* obj1
= 0 ;
25744 char *kwnames
[] = {
25745 (char *) "self",(char *) "pt", NULL
25748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
25749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25753 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25757 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
25759 wxPyEndAllowThreads(__tstate
);
25760 if (PyErr_Occurred()) SWIG_fail
;
25763 wxPoint
* resultptr
;
25764 resultptr
= new wxPoint((wxPoint
&) result
);
25765 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25773 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25774 PyObject
*resultobj
;
25775 wxWindow
*arg1
= (wxWindow
*) 0 ;
25776 wxPoint
*arg2
= 0 ;
25779 PyObject
* obj0
= 0 ;
25780 PyObject
* obj1
= 0 ;
25781 char *kwnames
[] = {
25782 (char *) "self",(char *) "pt", NULL
25785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
25786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25790 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25794 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
25796 wxPyEndAllowThreads(__tstate
);
25797 if (PyErr_Occurred()) SWIG_fail
;
25800 wxPoint
* resultptr
;
25801 resultptr
= new wxPoint((wxPoint
&) result
);
25802 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25810 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25811 PyObject
*resultobj
;
25812 wxWindow
*arg1
= (wxWindow
*) 0 ;
25816 PyObject
* obj0
= 0 ;
25817 PyObject
* obj1
= 0 ;
25818 PyObject
* obj2
= 0 ;
25819 char *kwnames
[] = {
25820 (char *) "self",(char *) "x",(char *) "y", NULL
25823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25826 arg2
= (int) SWIG_AsInt(obj1
);
25827 if (PyErr_Occurred()) SWIG_fail
;
25828 arg3
= (int) SWIG_AsInt(obj2
);
25829 if (PyErr_Occurred()) SWIG_fail
;
25831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25832 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
25834 wxPyEndAllowThreads(__tstate
);
25835 if (PyErr_Occurred()) SWIG_fail
;
25837 resultobj
= SWIG_FromInt((int)result
);
25844 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25845 PyObject
*resultobj
;
25846 wxWindow
*arg1
= (wxWindow
*) 0 ;
25847 wxPoint
*arg2
= 0 ;
25850 PyObject
* obj0
= 0 ;
25851 PyObject
* obj1
= 0 ;
25852 char *kwnames
[] = {
25853 (char *) "self",(char *) "pt", NULL
25856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
25857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25861 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25865 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
25867 wxPyEndAllowThreads(__tstate
);
25868 if (PyErr_Occurred()) SWIG_fail
;
25870 resultobj
= SWIG_FromInt((int)result
);
25877 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
25878 PyObject
*resultobj
;
25879 wxWindow
*arg1
= (wxWindow
*) 0 ;
25882 PyObject
* obj0
= 0 ;
25883 PyObject
* obj1
= 0 ;
25885 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
25886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25888 arg2
= (long) SWIG_AsLong(obj1
);
25889 if (PyErr_Occurred()) SWIG_fail
;
25891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25892 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
25894 wxPyEndAllowThreads(__tstate
);
25895 if (PyErr_Occurred()) SWIG_fail
;
25897 resultobj
= SWIG_FromInt((int)result
);
25904 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
25905 PyObject
*resultobj
;
25906 wxWindow
*arg1
= (wxWindow
*) 0 ;
25908 PyObject
* obj0
= 0 ;
25910 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
25911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25915 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
25917 wxPyEndAllowThreads(__tstate
);
25918 if (PyErr_Occurred()) SWIG_fail
;
25920 resultobj
= SWIG_FromInt((int)result
);
25927 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
25932 argc
= PyObject_Length(args
);
25933 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
25934 argv
[ii
] = PyTuple_GetItem(args
,ii
);
25940 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
25948 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
25955 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
25963 _v
= SWIG_CheckLong(argv
[1]);
25965 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
25970 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
25975 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25976 PyObject
*resultobj
;
25977 wxWindow
*arg1
= (wxWindow
*) 0 ;
25978 long arg2
= (long) wxUPDATE_UI_NONE
;
25979 PyObject
* obj0
= 0 ;
25980 PyObject
* obj1
= 0 ;
25981 char *kwnames
[] = {
25982 (char *) "self",(char *) "flags", NULL
25985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
25986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25989 arg2
= (long) SWIG_AsLong(obj1
);
25990 if (PyErr_Occurred()) SWIG_fail
;
25993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25994 (arg1
)->UpdateWindowUI(arg2
);
25996 wxPyEndAllowThreads(__tstate
);
25997 if (PyErr_Occurred()) SWIG_fail
;
25999 Py_INCREF(Py_None
); resultobj
= Py_None
;
26006 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26007 PyObject
*resultobj
;
26008 wxWindow
*arg1
= (wxWindow
*) 0 ;
26009 wxMenu
*arg2
= (wxMenu
*) 0 ;
26013 PyObject
* obj0
= 0 ;
26014 PyObject
* obj1
= 0 ;
26015 PyObject
* obj2
= 0 ;
26016 PyObject
* obj3
= 0 ;
26017 char *kwnames
[] = {
26018 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
26021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26024 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
26025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26026 arg3
= (int) SWIG_AsInt(obj2
);
26027 if (PyErr_Occurred()) SWIG_fail
;
26028 arg4
= (int) SWIG_AsInt(obj3
);
26029 if (PyErr_Occurred()) SWIG_fail
;
26031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26032 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
26034 wxPyEndAllowThreads(__tstate
);
26035 if (PyErr_Occurred()) SWIG_fail
;
26038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26046 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26047 PyObject
*resultobj
;
26048 wxWindow
*arg1
= (wxWindow
*) 0 ;
26049 wxMenu
*arg2
= (wxMenu
*) 0 ;
26050 wxPoint
*arg3
= 0 ;
26053 PyObject
* obj0
= 0 ;
26054 PyObject
* obj1
= 0 ;
26055 PyObject
* obj2
= 0 ;
26056 char *kwnames
[] = {
26057 (char *) "self",(char *) "menu",(char *) "pos", NULL
26060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26063 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
26064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26067 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26071 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
26073 wxPyEndAllowThreads(__tstate
);
26074 if (PyErr_Occurred()) SWIG_fail
;
26077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26085 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26086 PyObject
*resultobj
;
26087 wxWindow
*arg1
= (wxWindow
*) 0 ;
26089 PyObject
* obj0
= 0 ;
26090 char *kwnames
[] = {
26091 (char *) "self", NULL
26094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
26095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26099 result
= (long)wxWindow_GetHandle(arg1
);
26101 wxPyEndAllowThreads(__tstate
);
26102 if (PyErr_Occurred()) SWIG_fail
;
26104 resultobj
= SWIG_FromLong((long)result
);
26111 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26112 PyObject
*resultobj
;
26113 wxWindow
*arg1
= (wxWindow
*) 0 ;
26116 PyObject
* obj0
= 0 ;
26117 PyObject
* obj1
= 0 ;
26118 char *kwnames
[] = {
26119 (char *) "self",(char *) "orient", NULL
26122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
26123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26125 arg2
= (int) SWIG_AsInt(obj1
);
26126 if (PyErr_Occurred()) SWIG_fail
;
26128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26129 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
26131 wxPyEndAllowThreads(__tstate
);
26132 if (PyErr_Occurred()) SWIG_fail
;
26135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26143 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26144 PyObject
*resultobj
;
26145 wxWindow
*arg1
= (wxWindow
*) 0 ;
26150 bool arg6
= (bool) True
;
26151 PyObject
* obj0
= 0 ;
26152 PyObject
* obj1
= 0 ;
26153 PyObject
* obj2
= 0 ;
26154 PyObject
* obj3
= 0 ;
26155 PyObject
* obj4
= 0 ;
26156 PyObject
* obj5
= 0 ;
26157 char *kwnames
[] = {
26158 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
26161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26164 arg2
= (int) SWIG_AsInt(obj1
);
26165 if (PyErr_Occurred()) SWIG_fail
;
26166 arg3
= (int) SWIG_AsInt(obj2
);
26167 if (PyErr_Occurred()) SWIG_fail
;
26168 arg4
= (int) SWIG_AsInt(obj3
);
26169 if (PyErr_Occurred()) SWIG_fail
;
26170 arg5
= (int) SWIG_AsInt(obj4
);
26171 if (PyErr_Occurred()) SWIG_fail
;
26173 arg6
= (bool) SWIG_AsBool(obj5
);
26174 if (PyErr_Occurred()) SWIG_fail
;
26177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26178 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
26180 wxPyEndAllowThreads(__tstate
);
26181 if (PyErr_Occurred()) SWIG_fail
;
26183 Py_INCREF(Py_None
); resultobj
= Py_None
;
26190 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26191 PyObject
*resultobj
;
26192 wxWindow
*arg1
= (wxWindow
*) 0 ;
26195 bool arg4
= (bool) True
;
26196 PyObject
* obj0
= 0 ;
26197 PyObject
* obj1
= 0 ;
26198 PyObject
* obj2
= 0 ;
26199 PyObject
* obj3
= 0 ;
26200 char *kwnames
[] = {
26201 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
26204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26207 arg2
= (int) SWIG_AsInt(obj1
);
26208 if (PyErr_Occurred()) SWIG_fail
;
26209 arg3
= (int) SWIG_AsInt(obj2
);
26210 if (PyErr_Occurred()) SWIG_fail
;
26212 arg4
= (bool) SWIG_AsBool(obj3
);
26213 if (PyErr_Occurred()) SWIG_fail
;
26216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26217 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
26219 wxPyEndAllowThreads(__tstate
);
26220 if (PyErr_Occurred()) SWIG_fail
;
26222 Py_INCREF(Py_None
); resultobj
= Py_None
;
26229 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26230 PyObject
*resultobj
;
26231 wxWindow
*arg1
= (wxWindow
*) 0 ;
26234 PyObject
* obj0
= 0 ;
26235 PyObject
* obj1
= 0 ;
26236 char *kwnames
[] = {
26237 (char *) "self",(char *) "orientation", NULL
26240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
26241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26243 arg2
= (int) SWIG_AsInt(obj1
);
26244 if (PyErr_Occurred()) SWIG_fail
;
26246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26247 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
26249 wxPyEndAllowThreads(__tstate
);
26250 if (PyErr_Occurred()) SWIG_fail
;
26252 resultobj
= SWIG_FromInt((int)result
);
26259 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26260 PyObject
*resultobj
;
26261 wxWindow
*arg1
= (wxWindow
*) 0 ;
26264 PyObject
* obj0
= 0 ;
26265 PyObject
* obj1
= 0 ;
26266 char *kwnames
[] = {
26267 (char *) "self",(char *) "orientation", NULL
26270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
26271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26273 arg2
= (int) SWIG_AsInt(obj1
);
26274 if (PyErr_Occurred()) SWIG_fail
;
26276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26277 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
26279 wxPyEndAllowThreads(__tstate
);
26280 if (PyErr_Occurred()) SWIG_fail
;
26282 resultobj
= SWIG_FromInt((int)result
);
26289 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26290 PyObject
*resultobj
;
26291 wxWindow
*arg1
= (wxWindow
*) 0 ;
26294 PyObject
* obj0
= 0 ;
26295 PyObject
* obj1
= 0 ;
26296 char *kwnames
[] = {
26297 (char *) "self",(char *) "orientation", NULL
26300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
26301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26303 arg2
= (int) SWIG_AsInt(obj1
);
26304 if (PyErr_Occurred()) SWIG_fail
;
26306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26307 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
26309 wxPyEndAllowThreads(__tstate
);
26310 if (PyErr_Occurred()) SWIG_fail
;
26312 resultobj
= SWIG_FromInt((int)result
);
26319 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26320 PyObject
*resultobj
;
26321 wxWindow
*arg1
= (wxWindow
*) 0 ;
26324 wxRect
*arg4
= (wxRect
*) NULL
;
26325 PyObject
* obj0
= 0 ;
26326 PyObject
* obj1
= 0 ;
26327 PyObject
* obj2
= 0 ;
26328 PyObject
* obj3
= 0 ;
26329 char *kwnames
[] = {
26330 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
26333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26336 arg2
= (int) SWIG_AsInt(obj1
);
26337 if (PyErr_Occurred()) SWIG_fail
;
26338 arg3
= (int) SWIG_AsInt(obj2
);
26339 if (PyErr_Occurred()) SWIG_fail
;
26341 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
26342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26346 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
26348 wxPyEndAllowThreads(__tstate
);
26349 if (PyErr_Occurred()) SWIG_fail
;
26351 Py_INCREF(Py_None
); resultobj
= Py_None
;
26358 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26359 PyObject
*resultobj
;
26360 wxWindow
*arg1
= (wxWindow
*) 0 ;
26363 PyObject
* obj0
= 0 ;
26364 PyObject
* obj1
= 0 ;
26365 char *kwnames
[] = {
26366 (char *) "self",(char *) "lines", NULL
26369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
26370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26372 arg2
= (int) SWIG_AsInt(obj1
);
26373 if (PyErr_Occurred()) SWIG_fail
;
26375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26376 result
= (bool)(arg1
)->ScrollLines(arg2
);
26378 wxPyEndAllowThreads(__tstate
);
26379 if (PyErr_Occurred()) SWIG_fail
;
26382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26390 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, 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 *) "pages", NULL
26401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",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
)->ScrollPages(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_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26423 PyObject
*resultobj
;
26424 wxWindow
*arg1
= (wxWindow
*) 0 ;
26426 PyObject
* obj0
= 0 ;
26427 char *kwnames
[] = {
26428 (char *) "self", NULL
26431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
26432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26436 result
= (bool)(arg1
)->LineUp();
26438 wxPyEndAllowThreads(__tstate
);
26439 if (PyErr_Occurred()) SWIG_fail
;
26442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26450 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26451 PyObject
*resultobj
;
26452 wxWindow
*arg1
= (wxWindow
*) 0 ;
26454 PyObject
* obj0
= 0 ;
26455 char *kwnames
[] = {
26456 (char *) "self", NULL
26459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
26460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26464 result
= (bool)(arg1
)->LineDown();
26466 wxPyEndAllowThreads(__tstate
);
26467 if (PyErr_Occurred()) SWIG_fail
;
26470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26478 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26479 PyObject
*resultobj
;
26480 wxWindow
*arg1
= (wxWindow
*) 0 ;
26482 PyObject
* obj0
= 0 ;
26483 char *kwnames
[] = {
26484 (char *) "self", NULL
26487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
26488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26492 result
= (bool)(arg1
)->PageUp();
26494 wxPyEndAllowThreads(__tstate
);
26495 if (PyErr_Occurred()) SWIG_fail
;
26498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26506 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26507 PyObject
*resultobj
;
26508 wxWindow
*arg1
= (wxWindow
*) 0 ;
26510 PyObject
* obj0
= 0 ;
26511 char *kwnames
[] = {
26512 (char *) "self", NULL
26515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
26516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26520 result
= (bool)(arg1
)->PageDown();
26522 wxPyEndAllowThreads(__tstate
);
26523 if (PyErr_Occurred()) SWIG_fail
;
26526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26534 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26535 PyObject
*resultobj
;
26536 wxWindow
*arg1
= (wxWindow
*) 0 ;
26537 wxString
*arg2
= 0 ;
26538 bool temp2
= False
;
26539 PyObject
* obj0
= 0 ;
26540 PyObject
* obj1
= 0 ;
26541 char *kwnames
[] = {
26542 (char *) "self",(char *) "text", NULL
26545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
26546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26549 arg2
= wxString_in_helper(obj1
);
26550 if (arg2
== NULL
) SWIG_fail
;
26554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26555 (arg1
)->SetHelpText((wxString
const &)*arg2
);
26557 wxPyEndAllowThreads(__tstate
);
26558 if (PyErr_Occurred()) SWIG_fail
;
26560 Py_INCREF(Py_None
); resultobj
= Py_None
;
26575 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26576 PyObject
*resultobj
;
26577 wxWindow
*arg1
= (wxWindow
*) 0 ;
26578 wxString
*arg2
= 0 ;
26579 bool temp2
= False
;
26580 PyObject
* obj0
= 0 ;
26581 PyObject
* obj1
= 0 ;
26582 char *kwnames
[] = {
26583 (char *) "self",(char *) "text", NULL
26586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
26587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26590 arg2
= wxString_in_helper(obj1
);
26591 if (arg2
== NULL
) SWIG_fail
;
26595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26596 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
26598 wxPyEndAllowThreads(__tstate
);
26599 if (PyErr_Occurred()) SWIG_fail
;
26601 Py_INCREF(Py_None
); resultobj
= Py_None
;
26616 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26617 PyObject
*resultobj
;
26618 wxWindow
*arg1
= (wxWindow
*) 0 ;
26620 PyObject
* obj0
= 0 ;
26621 char *kwnames
[] = {
26622 (char *) "self", NULL
26625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
26626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26630 result
= ((wxWindow
const *)arg1
)->GetHelpText();
26632 wxPyEndAllowThreads(__tstate
);
26633 if (PyErr_Occurred()) SWIG_fail
;
26637 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26639 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26648 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26649 PyObject
*resultobj
;
26650 wxWindow
*arg1
= (wxWindow
*) 0 ;
26651 wxString
*arg2
= 0 ;
26652 bool temp2
= False
;
26653 PyObject
* obj0
= 0 ;
26654 PyObject
* obj1
= 0 ;
26655 char *kwnames
[] = {
26656 (char *) "self",(char *) "tip", NULL
26659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
26660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26663 arg2
= wxString_in_helper(obj1
);
26664 if (arg2
== NULL
) SWIG_fail
;
26668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26669 (arg1
)->SetToolTip((wxString
const &)*arg2
);
26671 wxPyEndAllowThreads(__tstate
);
26672 if (PyErr_Occurred()) SWIG_fail
;
26674 Py_INCREF(Py_None
); resultobj
= Py_None
;
26689 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26690 PyObject
*resultobj
;
26691 wxWindow
*arg1
= (wxWindow
*) 0 ;
26692 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
26693 PyObject
* obj0
= 0 ;
26694 PyObject
* obj1
= 0 ;
26695 char *kwnames
[] = {
26696 (char *) "self",(char *) "tip", NULL
26699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
26700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26702 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
26703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26706 (arg1
)->SetToolTip(arg2
);
26708 wxPyEndAllowThreads(__tstate
);
26709 if (PyErr_Occurred()) SWIG_fail
;
26711 Py_INCREF(Py_None
); resultobj
= Py_None
;
26718 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26719 PyObject
*resultobj
;
26720 wxWindow
*arg1
= (wxWindow
*) 0 ;
26722 PyObject
* obj0
= 0 ;
26723 char *kwnames
[] = {
26724 (char *) "self", NULL
26727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
26728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26732 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
26734 wxPyEndAllowThreads(__tstate
);
26735 if (PyErr_Occurred()) SWIG_fail
;
26738 resultobj
= wxPyMake_wxObject(result
);
26746 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26747 PyObject
*resultobj
;
26748 wxWindow
*arg1
= (wxWindow
*) 0 ;
26749 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
26750 PyObject
* obj0
= 0 ;
26751 PyObject
* obj1
= 0 ;
26752 char *kwnames
[] = {
26753 (char *) "self",(char *) "dropTarget", NULL
26756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
26757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26759 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
26760 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26763 (arg1
)->SetDropTarget(arg2
);
26765 wxPyEndAllowThreads(__tstate
);
26766 if (PyErr_Occurred()) SWIG_fail
;
26768 Py_INCREF(Py_None
); resultobj
= Py_None
;
26775 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26776 PyObject
*resultobj
;
26777 wxWindow
*arg1
= (wxWindow
*) 0 ;
26778 wxPyDropTarget
*result
;
26779 PyObject
* obj0
= 0 ;
26780 char *kwnames
[] = {
26781 (char *) "self", NULL
26784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
26785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26789 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
26791 wxPyEndAllowThreads(__tstate
);
26792 if (PyErr_Occurred()) SWIG_fail
;
26794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
26801 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26802 PyObject
*resultobj
;
26803 wxWindow
*arg1
= (wxWindow
*) 0 ;
26804 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
26805 PyObject
* obj0
= 0 ;
26806 PyObject
* obj1
= 0 ;
26807 char *kwnames
[] = {
26808 (char *) "self",(char *) "constraints", NULL
26811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
26812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26814 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
26815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26818 (arg1
)->SetConstraints(arg2
);
26820 wxPyEndAllowThreads(__tstate
);
26821 if (PyErr_Occurred()) SWIG_fail
;
26823 Py_INCREF(Py_None
); resultobj
= Py_None
;
26830 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26831 PyObject
*resultobj
;
26832 wxWindow
*arg1
= (wxWindow
*) 0 ;
26833 wxLayoutConstraints
*result
;
26834 PyObject
* obj0
= 0 ;
26835 char *kwnames
[] = {
26836 (char *) "self", NULL
26839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
26840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26844 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
26846 wxPyEndAllowThreads(__tstate
);
26847 if (PyErr_Occurred()) SWIG_fail
;
26849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
26856 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26857 PyObject
*resultobj
;
26858 wxWindow
*arg1
= (wxWindow
*) 0 ;
26860 PyObject
* obj0
= 0 ;
26861 PyObject
* obj1
= 0 ;
26862 char *kwnames
[] = {
26863 (char *) "self",(char *) "autoLayout", NULL
26866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
26867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26869 arg2
= (bool) SWIG_AsBool(obj1
);
26870 if (PyErr_Occurred()) SWIG_fail
;
26872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26873 (arg1
)->SetAutoLayout(arg2
);
26875 wxPyEndAllowThreads(__tstate
);
26876 if (PyErr_Occurred()) SWIG_fail
;
26878 Py_INCREF(Py_None
); resultobj
= Py_None
;
26885 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26886 PyObject
*resultobj
;
26887 wxWindow
*arg1
= (wxWindow
*) 0 ;
26889 PyObject
* obj0
= 0 ;
26890 char *kwnames
[] = {
26891 (char *) "self", NULL
26894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
26895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26899 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
26901 wxPyEndAllowThreads(__tstate
);
26902 if (PyErr_Occurred()) SWIG_fail
;
26905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26913 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26914 PyObject
*resultobj
;
26915 wxWindow
*arg1
= (wxWindow
*) 0 ;
26917 PyObject
* obj0
= 0 ;
26918 char *kwnames
[] = {
26919 (char *) "self", NULL
26922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
26923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26927 result
= (bool)(arg1
)->Layout();
26929 wxPyEndAllowThreads(__tstate
);
26930 if (PyErr_Occurred()) SWIG_fail
;
26933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26941 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26942 PyObject
*resultobj
;
26943 wxWindow
*arg1
= (wxWindow
*) 0 ;
26944 wxSizer
*arg2
= (wxSizer
*) 0 ;
26945 bool arg3
= (bool) True
;
26946 PyObject
* obj0
= 0 ;
26947 PyObject
* obj1
= 0 ;
26948 PyObject
* obj2
= 0 ;
26949 char *kwnames
[] = {
26950 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
26953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26956 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
26957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26959 arg3
= (bool) SWIG_AsBool(obj2
);
26960 if (PyErr_Occurred()) SWIG_fail
;
26963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26964 (arg1
)->SetSizer(arg2
,arg3
);
26966 wxPyEndAllowThreads(__tstate
);
26967 if (PyErr_Occurred()) SWIG_fail
;
26969 Py_INCREF(Py_None
); resultobj
= Py_None
;
26976 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26977 PyObject
*resultobj
;
26978 wxWindow
*arg1
= (wxWindow
*) 0 ;
26979 wxSizer
*arg2
= (wxSizer
*) 0 ;
26980 bool arg3
= (bool) True
;
26981 PyObject
* obj0
= 0 ;
26982 PyObject
* obj1
= 0 ;
26983 PyObject
* obj2
= 0 ;
26984 char *kwnames
[] = {
26985 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
26988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26991 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
26992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26994 arg3
= (bool) SWIG_AsBool(obj2
);
26995 if (PyErr_Occurred()) SWIG_fail
;
26998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26999 (arg1
)->SetSizerAndFit(arg2
,arg3
);
27001 wxPyEndAllowThreads(__tstate
);
27002 if (PyErr_Occurred()) SWIG_fail
;
27004 Py_INCREF(Py_None
); resultobj
= Py_None
;
27011 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27012 PyObject
*resultobj
;
27013 wxWindow
*arg1
= (wxWindow
*) 0 ;
27015 PyObject
* obj0
= 0 ;
27016 char *kwnames
[] = {
27017 (char *) "self", NULL
27020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
27021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27025 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
27027 wxPyEndAllowThreads(__tstate
);
27028 if (PyErr_Occurred()) SWIG_fail
;
27031 resultobj
= wxPyMake_wxSizer(result
);
27039 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27040 PyObject
*resultobj
;
27041 wxWindow
*arg1
= (wxWindow
*) 0 ;
27042 wxSizer
*arg2
= (wxSizer
*) 0 ;
27043 PyObject
* obj0
= 0 ;
27044 PyObject
* obj1
= 0 ;
27045 char *kwnames
[] = {
27046 (char *) "self",(char *) "sizer", NULL
27049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27056 (arg1
)->SetContainingSizer(arg2
);
27058 wxPyEndAllowThreads(__tstate
);
27059 if (PyErr_Occurred()) SWIG_fail
;
27061 Py_INCREF(Py_None
); resultobj
= Py_None
;
27068 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27069 PyObject
*resultobj
;
27070 wxWindow
*arg1
= (wxWindow
*) 0 ;
27072 PyObject
* obj0
= 0 ;
27073 char *kwnames
[] = {
27074 (char *) "self", NULL
27077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
27078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27082 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
27084 wxPyEndAllowThreads(__tstate
);
27085 if (PyErr_Occurred()) SWIG_fail
;
27088 resultobj
= wxPyMake_wxSizer(result
);
27096 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
27098 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27099 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
27101 return Py_BuildValue((char *)"");
27103 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27104 PyObject
*resultobj
;
27106 wxWindow
*arg2
= (wxWindow
*) NULL
;
27108 PyObject
* obj0
= 0 ;
27109 PyObject
* obj1
= 0 ;
27110 char *kwnames
[] = {
27111 (char *) "id",(char *) "parent", NULL
27114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
27115 arg1
= (long) SWIG_AsLong(obj0
);
27116 if (PyErr_Occurred()) SWIG_fail
;
27118 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27123 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
27125 wxPyEndAllowThreads(__tstate
);
27126 if (PyErr_Occurred()) SWIG_fail
;
27129 resultobj
= wxPyMake_wxObject(result
);
27137 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27138 PyObject
*resultobj
;
27139 wxString
*arg1
= 0 ;
27140 wxWindow
*arg2
= (wxWindow
*) NULL
;
27142 bool temp1
= False
;
27143 PyObject
* obj0
= 0 ;
27144 PyObject
* obj1
= 0 ;
27145 char *kwnames
[] = {
27146 (char *) "name",(char *) "parent", NULL
27149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
27151 arg1
= wxString_in_helper(obj0
);
27152 if (arg1
== NULL
) SWIG_fail
;
27156 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27161 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
27163 wxPyEndAllowThreads(__tstate
);
27164 if (PyErr_Occurred()) SWIG_fail
;
27167 resultobj
= wxPyMake_wxObject(result
);
27183 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27184 PyObject
*resultobj
;
27185 wxString
*arg1
= 0 ;
27186 wxWindow
*arg2
= (wxWindow
*) NULL
;
27188 bool temp1
= False
;
27189 PyObject
* obj0
= 0 ;
27190 PyObject
* obj1
= 0 ;
27191 char *kwnames
[] = {
27192 (char *) "label",(char *) "parent", NULL
27195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27197 arg1
= wxString_in_helper(obj0
);
27198 if (arg1
== NULL
) SWIG_fail
;
27202 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27207 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
27209 wxPyEndAllowThreads(__tstate
);
27210 if (PyErr_Occurred()) SWIG_fail
;
27213 resultobj
= wxPyMake_wxObject(result
);
27229 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27230 PyObject
*resultobj
;
27231 wxWindow
*arg1
= (wxWindow
*) 0 ;
27232 unsigned long arg2
;
27234 PyObject
* obj0
= 0 ;
27235 PyObject
* obj1
= 0 ;
27236 char *kwnames
[] = {
27237 (char *) "parent",(char *) "_hWnd", NULL
27240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
27241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27243 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
27244 if (PyErr_Occurred()) SWIG_fail
;
27246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27247 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
27249 wxPyEndAllowThreads(__tstate
);
27250 if (PyErr_Occurred()) SWIG_fail
;
27253 resultobj
= wxPyMake_wxObject(result
);
27261 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27262 PyObject
*resultobj
;
27263 wxValidator
*result
;
27264 char *kwnames
[] = {
27268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
27270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27271 result
= (wxValidator
*)new wxValidator();
27273 wxPyEndAllowThreads(__tstate
);
27274 if (PyErr_Occurred()) SWIG_fail
;
27277 resultobj
= wxPyMake_wxObject(result
);
27285 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27286 PyObject
*resultobj
;
27287 wxValidator
*arg1
= (wxValidator
*) 0 ;
27288 wxValidator
*result
;
27289 PyObject
* obj0
= 0 ;
27290 char *kwnames
[] = {
27291 (char *) "self", NULL
27294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
27295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
27296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27299 result
= (wxValidator
*)(arg1
)->Clone();
27301 wxPyEndAllowThreads(__tstate
);
27302 if (PyErr_Occurred()) SWIG_fail
;
27305 resultobj
= wxPyMake_wxObject(result
);
27313 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27314 PyObject
*resultobj
;
27315 wxValidator
*arg1
= (wxValidator
*) 0 ;
27316 wxWindow
*arg2
= (wxWindow
*) 0 ;
27318 PyObject
* obj0
= 0 ;
27319 PyObject
* obj1
= 0 ;
27320 char *kwnames
[] = {
27321 (char *) "self",(char *) "parent", NULL
27324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
27325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
27326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27327 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27331 result
= (bool)(arg1
)->Validate(arg2
);
27333 wxPyEndAllowThreads(__tstate
);
27334 if (PyErr_Occurred()) SWIG_fail
;
27337 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27345 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27346 PyObject
*resultobj
;
27347 wxValidator
*arg1
= (wxValidator
*) 0 ;
27349 PyObject
* obj0
= 0 ;
27350 char *kwnames
[] = {
27351 (char *) "self", NULL
27354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
27355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
27356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27359 result
= (bool)(arg1
)->TransferToWindow();
27361 wxPyEndAllowThreads(__tstate
);
27362 if (PyErr_Occurred()) SWIG_fail
;
27365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27373 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27374 PyObject
*resultobj
;
27375 wxValidator
*arg1
= (wxValidator
*) 0 ;
27377 PyObject
* obj0
= 0 ;
27378 char *kwnames
[] = {
27379 (char *) "self", NULL
27382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
27383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
27384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27387 result
= (bool)(arg1
)->TransferFromWindow();
27389 wxPyEndAllowThreads(__tstate
);
27390 if (PyErr_Occurred()) SWIG_fail
;
27393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27401 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27402 PyObject
*resultobj
;
27403 wxValidator
*arg1
= (wxValidator
*) 0 ;
27405 PyObject
* obj0
= 0 ;
27406 char *kwnames
[] = {
27407 (char *) "self", NULL
27410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
27411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
27412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27415 result
= (wxWindow
*)(arg1
)->GetWindow();
27417 wxPyEndAllowThreads(__tstate
);
27418 if (PyErr_Occurred()) SWIG_fail
;
27421 resultobj
= wxPyMake_wxObject(result
);
27429 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27430 PyObject
*resultobj
;
27431 wxValidator
*arg1
= (wxValidator
*) 0 ;
27432 wxWindow
*arg2
= (wxWindow
*) 0 ;
27433 PyObject
* obj0
= 0 ;
27434 PyObject
* obj1
= 0 ;
27435 char *kwnames
[] = {
27436 (char *) "self",(char *) "window", NULL
27439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
27440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
27441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27442 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27446 (arg1
)->SetWindow(arg2
);
27448 wxPyEndAllowThreads(__tstate
);
27449 if (PyErr_Occurred()) SWIG_fail
;
27451 Py_INCREF(Py_None
); resultobj
= Py_None
;
27458 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27459 PyObject
*resultobj
;
27461 char *kwnames
[] = {
27465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
27467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27468 result
= (bool)wxValidator::IsSilent();
27470 wxPyEndAllowThreads(__tstate
);
27471 if (PyErr_Occurred()) SWIG_fail
;
27474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27482 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27483 PyObject
*resultobj
;
27484 int arg1
= (int) True
;
27485 PyObject
* obj0
= 0 ;
27486 char *kwnames
[] = {
27487 (char *) "doIt", NULL
27490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
27492 arg1
= (int) SWIG_AsInt(obj0
);
27493 if (PyErr_Occurred()) SWIG_fail
;
27496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27497 wxValidator::SetBellOnError(arg1
);
27499 wxPyEndAllowThreads(__tstate
);
27500 if (PyErr_Occurred()) SWIG_fail
;
27502 Py_INCREF(Py_None
); resultobj
= Py_None
;
27509 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
27511 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27512 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
27514 return Py_BuildValue((char *)"");
27516 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27517 PyObject
*resultobj
;
27518 wxPyValidator
*result
;
27519 char *kwnames
[] = {
27523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
27525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27526 result
= (wxPyValidator
*)new wxPyValidator();
27528 wxPyEndAllowThreads(__tstate
);
27529 if (PyErr_Occurred()) SWIG_fail
;
27531 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
27538 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27539 PyObject
*resultobj
;
27540 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
27541 PyObject
*arg2
= (PyObject
*) 0 ;
27542 PyObject
*arg3
= (PyObject
*) 0 ;
27543 int arg4
= (int) True
;
27544 PyObject
* obj0
= 0 ;
27545 PyObject
* obj1
= 0 ;
27546 PyObject
* obj2
= 0 ;
27547 PyObject
* obj3
= 0 ;
27548 char *kwnames
[] = {
27549 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
27552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
27554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27558 arg4
= (int) SWIG_AsInt(obj3
);
27559 if (PyErr_Occurred()) SWIG_fail
;
27562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27563 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
27565 wxPyEndAllowThreads(__tstate
);
27566 if (PyErr_Occurred()) SWIG_fail
;
27568 Py_INCREF(Py_None
); resultobj
= Py_None
;
27575 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
27577 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27578 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
27580 return Py_BuildValue((char *)"");
27582 static int _wrap_DefaultValidator_set(PyObject
*) {
27583 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
27588 static PyObject
*_wrap_DefaultValidator_get() {
27591 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
27596 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27597 PyObject
*resultobj
;
27598 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27599 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27600 long arg2
= (long) 0 ;
27602 bool temp1
= False
;
27603 PyObject
* obj0
= 0 ;
27604 PyObject
* obj1
= 0 ;
27605 char *kwnames
[] = {
27606 (char *) "title",(char *) "style", NULL
27609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
27612 arg1
= wxString_in_helper(obj0
);
27613 if (arg1
== NULL
) SWIG_fail
;
27618 arg2
= (long) SWIG_AsLong(obj1
);
27619 if (PyErr_Occurred()) SWIG_fail
;
27622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27623 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
27625 wxPyEndAllowThreads(__tstate
);
27626 if (PyErr_Occurred()) SWIG_fail
;
27629 resultobj
= wxPyMake_wxObject(result
);
27645 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27646 PyObject
*resultobj
;
27647 wxMenu
*arg1
= (wxMenu
*) 0 ;
27649 wxString
*arg3
= 0 ;
27650 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27651 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27652 int arg5
= (int) wxITEM_NORMAL
;
27653 wxMenuItem
*result
;
27654 bool temp3
= False
;
27655 bool temp4
= False
;
27656 PyObject
* obj0
= 0 ;
27657 PyObject
* obj1
= 0 ;
27658 PyObject
* obj2
= 0 ;
27659 PyObject
* obj3
= 0 ;
27660 PyObject
* obj4
= 0 ;
27661 char *kwnames
[] = {
27662 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
27665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27668 arg2
= (int) SWIG_AsInt(obj1
);
27669 if (PyErr_Occurred()) SWIG_fail
;
27671 arg3
= wxString_in_helper(obj2
);
27672 if (arg3
== NULL
) SWIG_fail
;
27677 arg4
= wxString_in_helper(obj3
);
27678 if (arg4
== NULL
) SWIG_fail
;
27683 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
27684 if (PyErr_Occurred()) SWIG_fail
;
27687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27688 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
27690 wxPyEndAllowThreads(__tstate
);
27691 if (PyErr_Occurred()) SWIG_fail
;
27694 resultobj
= wxPyMake_wxObject(result
);
27718 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27719 PyObject
*resultobj
;
27720 wxMenu
*arg1
= (wxMenu
*) 0 ;
27721 wxMenuItem
*result
;
27722 PyObject
* obj0
= 0 ;
27723 char *kwnames
[] = {
27724 (char *) "self", NULL
27727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
27728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27732 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
27734 wxPyEndAllowThreads(__tstate
);
27735 if (PyErr_Occurred()) SWIG_fail
;
27738 resultobj
= wxPyMake_wxObject(result
);
27746 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27747 PyObject
*resultobj
;
27748 wxMenu
*arg1
= (wxMenu
*) 0 ;
27750 wxString
*arg3
= 0 ;
27751 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27752 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27753 wxMenuItem
*result
;
27754 bool temp3
= False
;
27755 bool temp4
= False
;
27756 PyObject
* obj0
= 0 ;
27757 PyObject
* obj1
= 0 ;
27758 PyObject
* obj2
= 0 ;
27759 PyObject
* obj3
= 0 ;
27760 char *kwnames
[] = {
27761 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
27764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27767 arg2
= (int) SWIG_AsInt(obj1
);
27768 if (PyErr_Occurred()) SWIG_fail
;
27770 arg3
= wxString_in_helper(obj2
);
27771 if (arg3
== NULL
) SWIG_fail
;
27776 arg4
= wxString_in_helper(obj3
);
27777 if (arg4
== NULL
) SWIG_fail
;
27782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27783 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
27785 wxPyEndAllowThreads(__tstate
);
27786 if (PyErr_Occurred()) SWIG_fail
;
27789 resultobj
= wxPyMake_wxObject(result
);
27813 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27814 PyObject
*resultobj
;
27815 wxMenu
*arg1
= (wxMenu
*) 0 ;
27817 wxString
*arg3
= 0 ;
27818 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27819 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27820 wxMenuItem
*result
;
27821 bool temp3
= False
;
27822 bool temp4
= False
;
27823 PyObject
* obj0
= 0 ;
27824 PyObject
* obj1
= 0 ;
27825 PyObject
* obj2
= 0 ;
27826 PyObject
* obj3
= 0 ;
27827 char *kwnames
[] = {
27828 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
27831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27834 arg2
= (int) SWIG_AsInt(obj1
);
27835 if (PyErr_Occurred()) SWIG_fail
;
27837 arg3
= wxString_in_helper(obj2
);
27838 if (arg3
== NULL
) SWIG_fail
;
27843 arg4
= wxString_in_helper(obj3
);
27844 if (arg4
== NULL
) SWIG_fail
;
27849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27850 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
27852 wxPyEndAllowThreads(__tstate
);
27853 if (PyErr_Occurred()) SWIG_fail
;
27856 resultobj
= wxPyMake_wxObject(result
);
27880 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27881 PyObject
*resultobj
;
27882 wxMenu
*arg1
= (wxMenu
*) 0 ;
27884 wxString
*arg3
= 0 ;
27885 wxMenu
*arg4
= (wxMenu
*) 0 ;
27886 wxString
const &arg5_defvalue
= wxPyEmptyString
;
27887 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
27888 wxMenuItem
*result
;
27889 bool temp3
= False
;
27890 bool temp5
= False
;
27891 PyObject
* obj0
= 0 ;
27892 PyObject
* obj1
= 0 ;
27893 PyObject
* obj2
= 0 ;
27894 PyObject
* obj3
= 0 ;
27895 PyObject
* obj4
= 0 ;
27896 char *kwnames
[] = {
27897 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
27900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27903 arg2
= (int) SWIG_AsInt(obj1
);
27904 if (PyErr_Occurred()) SWIG_fail
;
27906 arg3
= wxString_in_helper(obj2
);
27907 if (arg3
== NULL
) SWIG_fail
;
27910 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
27911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27914 arg5
= wxString_in_helper(obj4
);
27915 if (arg5
== NULL
) SWIG_fail
;
27920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27921 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
27923 wxPyEndAllowThreads(__tstate
);
27924 if (PyErr_Occurred()) SWIG_fail
;
27927 resultobj
= wxPyMake_wxObject(result
);
27951 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27952 PyObject
*resultobj
;
27953 wxMenu
*arg1
= (wxMenu
*) 0 ;
27954 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
27955 wxMenuItem
*result
;
27956 PyObject
* obj0
= 0 ;
27957 PyObject
* obj1
= 0 ;
27958 char *kwnames
[] = {
27959 (char *) "self",(char *) "item", NULL
27962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27965 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
27966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27969 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
27971 wxPyEndAllowThreads(__tstate
);
27972 if (PyErr_Occurred()) SWIG_fail
;
27975 resultobj
= wxPyMake_wxObject(result
);
27983 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27984 PyObject
*resultobj
;
27985 wxMenu
*arg1
= (wxMenu
*) 0 ;
27986 PyObject
* obj0
= 0 ;
27987 char *kwnames
[] = {
27988 (char *) "self", NULL
27991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
27992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27998 wxPyEndAllowThreads(__tstate
);
27999 if (PyErr_Occurred()) SWIG_fail
;
28001 Py_INCREF(Py_None
); resultobj
= Py_None
;
28008 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28009 PyObject
*resultobj
;
28010 wxMenu
*arg1
= (wxMenu
*) 0 ;
28012 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
28013 wxMenuItem
*result
;
28014 PyObject
* obj0
= 0 ;
28015 PyObject
* obj1
= 0 ;
28016 PyObject
* obj2
= 0 ;
28017 char *kwnames
[] = {
28018 (char *) "self",(char *) "pos",(char *) "item", NULL
28021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28024 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28025 if (PyErr_Occurred()) SWIG_fail
;
28026 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
28027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28030 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
28032 wxPyEndAllowThreads(__tstate
);
28033 if (PyErr_Occurred()) SWIG_fail
;
28036 resultobj
= wxPyMake_wxObject(result
);
28044 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28045 PyObject
*resultobj
;
28046 wxMenu
*arg1
= (wxMenu
*) 0 ;
28049 wxString
*arg4
= 0 ;
28050 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28051 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28052 int arg6
= (int) wxITEM_NORMAL
;
28053 wxMenuItem
*result
;
28054 bool temp4
= False
;
28055 bool temp5
= False
;
28056 PyObject
* obj0
= 0 ;
28057 PyObject
* obj1
= 0 ;
28058 PyObject
* obj2
= 0 ;
28059 PyObject
* obj3
= 0 ;
28060 PyObject
* obj4
= 0 ;
28061 PyObject
* obj5
= 0 ;
28062 char *kwnames
[] = {
28063 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28069 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28070 if (PyErr_Occurred()) SWIG_fail
;
28071 arg3
= (int) SWIG_AsInt(obj2
);
28072 if (PyErr_Occurred()) SWIG_fail
;
28074 arg4
= wxString_in_helper(obj3
);
28075 if (arg4
== NULL
) SWIG_fail
;
28080 arg5
= wxString_in_helper(obj4
);
28081 if (arg5
== NULL
) SWIG_fail
;
28086 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
28087 if (PyErr_Occurred()) SWIG_fail
;
28090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28091 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
28093 wxPyEndAllowThreads(__tstate
);
28094 if (PyErr_Occurred()) SWIG_fail
;
28097 resultobj
= wxPyMake_wxObject(result
);
28121 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28122 PyObject
*resultobj
;
28123 wxMenu
*arg1
= (wxMenu
*) 0 ;
28125 wxMenuItem
*result
;
28126 PyObject
* obj0
= 0 ;
28127 PyObject
* obj1
= 0 ;
28128 char *kwnames
[] = {
28129 (char *) "self",(char *) "pos", NULL
28132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
28133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28135 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28136 if (PyErr_Occurred()) SWIG_fail
;
28138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28139 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
28141 wxPyEndAllowThreads(__tstate
);
28142 if (PyErr_Occurred()) SWIG_fail
;
28145 resultobj
= wxPyMake_wxObject(result
);
28153 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28154 PyObject
*resultobj
;
28155 wxMenu
*arg1
= (wxMenu
*) 0 ;
28158 wxString
*arg4
= 0 ;
28159 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28160 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28161 wxMenuItem
*result
;
28162 bool temp4
= False
;
28163 bool temp5
= False
;
28164 PyObject
* obj0
= 0 ;
28165 PyObject
* obj1
= 0 ;
28166 PyObject
* obj2
= 0 ;
28167 PyObject
* obj3
= 0 ;
28168 PyObject
* obj4
= 0 ;
28169 char *kwnames
[] = {
28170 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
28173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28176 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28177 if (PyErr_Occurred()) SWIG_fail
;
28178 arg3
= (int) SWIG_AsInt(obj2
);
28179 if (PyErr_Occurred()) SWIG_fail
;
28181 arg4
= wxString_in_helper(obj3
);
28182 if (arg4
== NULL
) SWIG_fail
;
28187 arg5
= wxString_in_helper(obj4
);
28188 if (arg5
== NULL
) SWIG_fail
;
28193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28194 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
28196 wxPyEndAllowThreads(__tstate
);
28197 if (PyErr_Occurred()) SWIG_fail
;
28200 resultobj
= wxPyMake_wxObject(result
);
28224 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28225 PyObject
*resultobj
;
28226 wxMenu
*arg1
= (wxMenu
*) 0 ;
28229 wxString
*arg4
= 0 ;
28230 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28231 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28232 wxMenuItem
*result
;
28233 bool temp4
= False
;
28234 bool temp5
= False
;
28235 PyObject
* obj0
= 0 ;
28236 PyObject
* obj1
= 0 ;
28237 PyObject
* obj2
= 0 ;
28238 PyObject
* obj3
= 0 ;
28239 PyObject
* obj4
= 0 ;
28240 char *kwnames
[] = {
28241 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
28244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28247 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28248 if (PyErr_Occurred()) SWIG_fail
;
28249 arg3
= (int) SWIG_AsInt(obj2
);
28250 if (PyErr_Occurred()) SWIG_fail
;
28252 arg4
= wxString_in_helper(obj3
);
28253 if (arg4
== NULL
) SWIG_fail
;
28258 arg5
= wxString_in_helper(obj4
);
28259 if (arg5
== NULL
) SWIG_fail
;
28264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28265 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
28267 wxPyEndAllowThreads(__tstate
);
28268 if (PyErr_Occurred()) SWIG_fail
;
28271 resultobj
= wxPyMake_wxObject(result
);
28295 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28296 PyObject
*resultobj
;
28297 wxMenu
*arg1
= (wxMenu
*) 0 ;
28300 wxString
*arg4
= 0 ;
28301 wxMenu
*arg5
= (wxMenu
*) 0 ;
28302 wxString
const &arg6_defvalue
= wxPyEmptyString
;
28303 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
28304 wxMenuItem
*result
;
28305 bool temp4
= False
;
28306 bool temp6
= False
;
28307 PyObject
* obj0
= 0 ;
28308 PyObject
* obj1
= 0 ;
28309 PyObject
* obj2
= 0 ;
28310 PyObject
* obj3
= 0 ;
28311 PyObject
* obj4
= 0 ;
28312 PyObject
* obj5
= 0 ;
28313 char *kwnames
[] = {
28314 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
28317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28320 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28321 if (PyErr_Occurred()) SWIG_fail
;
28322 arg3
= (int) SWIG_AsInt(obj2
);
28323 if (PyErr_Occurred()) SWIG_fail
;
28325 arg4
= wxString_in_helper(obj3
);
28326 if (arg4
== NULL
) SWIG_fail
;
28329 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
28330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28333 arg6
= wxString_in_helper(obj5
);
28334 if (arg6
== NULL
) SWIG_fail
;
28339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28340 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
28342 wxPyEndAllowThreads(__tstate
);
28343 if (PyErr_Occurred()) SWIG_fail
;
28346 resultobj
= wxPyMake_wxObject(result
);
28370 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28371 PyObject
*resultobj
;
28372 wxMenu
*arg1
= (wxMenu
*) 0 ;
28373 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28374 wxMenuItem
*result
;
28375 PyObject
* obj0
= 0 ;
28376 PyObject
* obj1
= 0 ;
28377 char *kwnames
[] = {
28378 (char *) "self",(char *) "item", NULL
28381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28384 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28388 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
28390 wxPyEndAllowThreads(__tstate
);
28391 if (PyErr_Occurred()) SWIG_fail
;
28394 resultobj
= wxPyMake_wxObject(result
);
28402 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28403 PyObject
*resultobj
;
28404 wxMenu
*arg1
= (wxMenu
*) 0 ;
28406 wxString
*arg3
= 0 ;
28407 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28408 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28409 int arg5
= (int) wxITEM_NORMAL
;
28410 wxMenuItem
*result
;
28411 bool temp3
= False
;
28412 bool temp4
= False
;
28413 PyObject
* obj0
= 0 ;
28414 PyObject
* obj1
= 0 ;
28415 PyObject
* obj2
= 0 ;
28416 PyObject
* obj3
= 0 ;
28417 PyObject
* obj4
= 0 ;
28418 char *kwnames
[] = {
28419 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28425 arg2
= (int) SWIG_AsInt(obj1
);
28426 if (PyErr_Occurred()) SWIG_fail
;
28428 arg3
= wxString_in_helper(obj2
);
28429 if (arg3
== NULL
) SWIG_fail
;
28434 arg4
= wxString_in_helper(obj3
);
28435 if (arg4
== NULL
) SWIG_fail
;
28440 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
28441 if (PyErr_Occurred()) SWIG_fail
;
28444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28445 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
28447 wxPyEndAllowThreads(__tstate
);
28448 if (PyErr_Occurred()) SWIG_fail
;
28451 resultobj
= wxPyMake_wxObject(result
);
28475 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28476 PyObject
*resultobj
;
28477 wxMenu
*arg1
= (wxMenu
*) 0 ;
28478 wxMenuItem
*result
;
28479 PyObject
* obj0
= 0 ;
28480 char *kwnames
[] = {
28481 (char *) "self", NULL
28484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
28485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28489 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
28491 wxPyEndAllowThreads(__tstate
);
28492 if (PyErr_Occurred()) SWIG_fail
;
28495 resultobj
= wxPyMake_wxObject(result
);
28503 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28504 PyObject
*resultobj
;
28505 wxMenu
*arg1
= (wxMenu
*) 0 ;
28507 wxString
*arg3
= 0 ;
28508 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28509 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28510 wxMenuItem
*result
;
28511 bool temp3
= False
;
28512 bool temp4
= False
;
28513 PyObject
* obj0
= 0 ;
28514 PyObject
* obj1
= 0 ;
28515 PyObject
* obj2
= 0 ;
28516 PyObject
* obj3
= 0 ;
28517 char *kwnames
[] = {
28518 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28524 arg2
= (int) SWIG_AsInt(obj1
);
28525 if (PyErr_Occurred()) SWIG_fail
;
28527 arg3
= wxString_in_helper(obj2
);
28528 if (arg3
== NULL
) SWIG_fail
;
28533 arg4
= wxString_in_helper(obj3
);
28534 if (arg4
== NULL
) SWIG_fail
;
28539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28540 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28542 wxPyEndAllowThreads(__tstate
);
28543 if (PyErr_Occurred()) SWIG_fail
;
28546 resultobj
= wxPyMake_wxObject(result
);
28570 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28571 PyObject
*resultobj
;
28572 wxMenu
*arg1
= (wxMenu
*) 0 ;
28574 wxString
*arg3
= 0 ;
28575 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28576 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28577 wxMenuItem
*result
;
28578 bool temp3
= False
;
28579 bool temp4
= False
;
28580 PyObject
* obj0
= 0 ;
28581 PyObject
* obj1
= 0 ;
28582 PyObject
* obj2
= 0 ;
28583 PyObject
* obj3
= 0 ;
28584 char *kwnames
[] = {
28585 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28591 arg2
= (int) SWIG_AsInt(obj1
);
28592 if (PyErr_Occurred()) SWIG_fail
;
28594 arg3
= wxString_in_helper(obj2
);
28595 if (arg3
== NULL
) SWIG_fail
;
28600 arg4
= wxString_in_helper(obj3
);
28601 if (arg4
== NULL
) SWIG_fail
;
28606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28607 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28609 wxPyEndAllowThreads(__tstate
);
28610 if (PyErr_Occurred()) SWIG_fail
;
28613 resultobj
= wxPyMake_wxObject(result
);
28637 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28638 PyObject
*resultobj
;
28639 wxMenu
*arg1
= (wxMenu
*) 0 ;
28641 wxString
*arg3
= 0 ;
28642 wxMenu
*arg4
= (wxMenu
*) 0 ;
28643 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28644 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28645 wxMenuItem
*result
;
28646 bool temp3
= False
;
28647 bool temp5
= False
;
28648 PyObject
* obj0
= 0 ;
28649 PyObject
* obj1
= 0 ;
28650 PyObject
* obj2
= 0 ;
28651 PyObject
* obj3
= 0 ;
28652 PyObject
* obj4
= 0 ;
28653 char *kwnames
[] = {
28654 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
28657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28660 arg2
= (int) SWIG_AsInt(obj1
);
28661 if (PyErr_Occurred()) SWIG_fail
;
28663 arg3
= wxString_in_helper(obj2
);
28664 if (arg3
== NULL
) SWIG_fail
;
28667 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
28668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28671 arg5
= wxString_in_helper(obj4
);
28672 if (arg5
== NULL
) SWIG_fail
;
28677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28678 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
28680 wxPyEndAllowThreads(__tstate
);
28681 if (PyErr_Occurred()) SWIG_fail
;
28684 resultobj
= wxPyMake_wxObject(result
);
28708 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28709 PyObject
*resultobj
;
28710 wxMenu
*arg1
= (wxMenu
*) 0 ;
28712 wxMenuItem
*result
;
28713 PyObject
* obj0
= 0 ;
28714 PyObject
* obj1
= 0 ;
28715 char *kwnames
[] = {
28716 (char *) "self",(char *) "id", NULL
28719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
28720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28722 arg2
= (int) SWIG_AsInt(obj1
);
28723 if (PyErr_Occurred()) SWIG_fail
;
28725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28726 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
28728 wxPyEndAllowThreads(__tstate
);
28729 if (PyErr_Occurred()) SWIG_fail
;
28732 resultobj
= wxPyMake_wxObject(result
);
28740 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28741 PyObject
*resultobj
;
28742 wxMenu
*arg1
= (wxMenu
*) 0 ;
28743 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28744 wxMenuItem
*result
;
28745 PyObject
* obj0
= 0 ;
28746 PyObject
* obj1
= 0 ;
28747 char *kwnames
[] = {
28748 (char *) "self",(char *) "item", NULL
28751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28754 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28758 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
28760 wxPyEndAllowThreads(__tstate
);
28761 if (PyErr_Occurred()) SWIG_fail
;
28764 resultobj
= wxPyMake_wxObject(result
);
28772 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28773 PyObject
*resultobj
;
28774 wxMenu
*arg1
= (wxMenu
*) 0 ;
28777 PyObject
* obj0
= 0 ;
28778 PyObject
* obj1
= 0 ;
28779 char *kwnames
[] = {
28780 (char *) "self",(char *) "id", NULL
28783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
28784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28786 arg2
= (int) SWIG_AsInt(obj1
);
28787 if (PyErr_Occurred()) SWIG_fail
;
28789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28790 result
= (bool)(arg1
)->Delete(arg2
);
28792 wxPyEndAllowThreads(__tstate
);
28793 if (PyErr_Occurred()) SWIG_fail
;
28796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28804 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28805 PyObject
*resultobj
;
28806 wxMenu
*arg1
= (wxMenu
*) 0 ;
28807 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28809 PyObject
* obj0
= 0 ;
28810 PyObject
* obj1
= 0 ;
28811 char *kwnames
[] = {
28812 (char *) "self",(char *) "item", NULL
28815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28818 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28822 result
= (bool)(arg1
)->Delete(arg2
);
28824 wxPyEndAllowThreads(__tstate
);
28825 if (PyErr_Occurred()) SWIG_fail
;
28828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28836 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28837 PyObject
*resultobj
;
28838 wxMenu
*arg1
= (wxMenu
*) 0 ;
28839 PyObject
* obj0
= 0 ;
28840 char *kwnames
[] = {
28841 (char *) "self", NULL
28844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
28845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28849 wxMenu_Destroy(arg1
);
28851 wxPyEndAllowThreads(__tstate
);
28852 if (PyErr_Occurred()) SWIG_fail
;
28854 Py_INCREF(Py_None
); resultobj
= Py_None
;
28861 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28862 PyObject
*resultobj
;
28863 wxMenu
*arg1
= (wxMenu
*) 0 ;
28866 PyObject
* obj0
= 0 ;
28867 PyObject
* obj1
= 0 ;
28868 char *kwnames
[] = {
28869 (char *) "self",(char *) "id", NULL
28872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
28873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28875 arg2
= (int) SWIG_AsInt(obj1
);
28876 if (PyErr_Occurred()) SWIG_fail
;
28878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28879 result
= (bool)(arg1
)->Destroy(arg2
);
28881 wxPyEndAllowThreads(__tstate
);
28882 if (PyErr_Occurred()) SWIG_fail
;
28885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28893 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28894 PyObject
*resultobj
;
28895 wxMenu
*arg1
= (wxMenu
*) 0 ;
28896 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28898 PyObject
* obj0
= 0 ;
28899 PyObject
* obj1
= 0 ;
28900 char *kwnames
[] = {
28901 (char *) "self",(char *) "item", NULL
28904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28907 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28911 result
= (bool)(arg1
)->Destroy(arg2
);
28913 wxPyEndAllowThreads(__tstate
);
28914 if (PyErr_Occurred()) SWIG_fail
;
28917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28925 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28926 PyObject
*resultobj
;
28927 wxMenu
*arg1
= (wxMenu
*) 0 ;
28929 PyObject
* obj0
= 0 ;
28930 char *kwnames
[] = {
28931 (char *) "self", NULL
28934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
28935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28939 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
28941 wxPyEndAllowThreads(__tstate
);
28942 if (PyErr_Occurred()) SWIG_fail
;
28944 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
28951 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28952 PyObject
*resultobj
;
28953 wxMenu
*arg1
= (wxMenu
*) 0 ;
28955 PyObject
* obj0
= 0 ;
28956 char *kwnames
[] = {
28957 (char *) "self", NULL
28960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
28961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28965 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
28967 wxPyEndAllowThreads(__tstate
);
28968 if (PyErr_Occurred()) SWIG_fail
;
28970 resultobj
= result
;
28977 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28978 PyObject
*resultobj
;
28979 wxMenu
*arg1
= (wxMenu
*) 0 ;
28980 wxString
*arg2
= 0 ;
28982 bool temp2
= False
;
28983 PyObject
* obj0
= 0 ;
28984 PyObject
* obj1
= 0 ;
28985 char *kwnames
[] = {
28986 (char *) "self",(char *) "item", NULL
28989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28993 arg2
= wxString_in_helper(obj1
);
28994 if (arg2
== NULL
) SWIG_fail
;
28998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28999 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
29001 wxPyEndAllowThreads(__tstate
);
29002 if (PyErr_Occurred()) SWIG_fail
;
29004 resultobj
= SWIG_FromInt((int)result
);
29019 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29020 PyObject
*resultobj
;
29021 wxMenu
*arg1
= (wxMenu
*) 0 ;
29023 wxMenuItem
*result
;
29024 PyObject
* obj0
= 0 ;
29025 PyObject
* obj1
= 0 ;
29026 char *kwnames
[] = {
29027 (char *) "self",(char *) "id", NULL
29030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
29031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29033 arg2
= (int) SWIG_AsInt(obj1
);
29034 if (PyErr_Occurred()) SWIG_fail
;
29036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29037 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
29039 wxPyEndAllowThreads(__tstate
);
29040 if (PyErr_Occurred()) SWIG_fail
;
29043 resultobj
= wxPyMake_wxObject(result
);
29051 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29052 PyObject
*resultobj
;
29053 wxMenu
*arg1
= (wxMenu
*) 0 ;
29055 wxMenuItem
*result
;
29056 PyObject
* obj0
= 0 ;
29057 PyObject
* obj1
= 0 ;
29058 char *kwnames
[] = {
29059 (char *) "self",(char *) "position", NULL
29062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
29063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29065 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29066 if (PyErr_Occurred()) SWIG_fail
;
29068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29069 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
29071 wxPyEndAllowThreads(__tstate
);
29072 if (PyErr_Occurred()) SWIG_fail
;
29075 resultobj
= wxPyMake_wxObject(result
);
29083 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29084 PyObject
*resultobj
;
29085 wxMenu
*arg1
= (wxMenu
*) 0 ;
29088 PyObject
* obj0
= 0 ;
29089 PyObject
* obj1
= 0 ;
29090 PyObject
* obj2
= 0 ;
29091 char *kwnames
[] = {
29092 (char *) "self",(char *) "id",(char *) "enable", NULL
29095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29098 arg2
= (int) SWIG_AsInt(obj1
);
29099 if (PyErr_Occurred()) SWIG_fail
;
29100 arg3
= (bool) SWIG_AsBool(obj2
);
29101 if (PyErr_Occurred()) SWIG_fail
;
29103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29104 (arg1
)->Enable(arg2
,arg3
);
29106 wxPyEndAllowThreads(__tstate
);
29107 if (PyErr_Occurred()) SWIG_fail
;
29109 Py_INCREF(Py_None
); resultobj
= Py_None
;
29116 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29117 PyObject
*resultobj
;
29118 wxMenu
*arg1
= (wxMenu
*) 0 ;
29121 PyObject
* obj0
= 0 ;
29122 PyObject
* obj1
= 0 ;
29123 char *kwnames
[] = {
29124 (char *) "self",(char *) "id", NULL
29127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
29128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29130 arg2
= (int) SWIG_AsInt(obj1
);
29131 if (PyErr_Occurred()) SWIG_fail
;
29133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29134 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
29136 wxPyEndAllowThreads(__tstate
);
29137 if (PyErr_Occurred()) SWIG_fail
;
29140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29148 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29149 PyObject
*resultobj
;
29150 wxMenu
*arg1
= (wxMenu
*) 0 ;
29153 PyObject
* obj0
= 0 ;
29154 PyObject
* obj1
= 0 ;
29155 PyObject
* obj2
= 0 ;
29156 char *kwnames
[] = {
29157 (char *) "self",(char *) "id",(char *) "check", NULL
29160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29163 arg2
= (int) SWIG_AsInt(obj1
);
29164 if (PyErr_Occurred()) SWIG_fail
;
29165 arg3
= (bool) SWIG_AsBool(obj2
);
29166 if (PyErr_Occurred()) SWIG_fail
;
29168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29169 (arg1
)->Check(arg2
,arg3
);
29171 wxPyEndAllowThreads(__tstate
);
29172 if (PyErr_Occurred()) SWIG_fail
;
29174 Py_INCREF(Py_None
); resultobj
= Py_None
;
29181 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29182 PyObject
*resultobj
;
29183 wxMenu
*arg1
= (wxMenu
*) 0 ;
29186 PyObject
* obj0
= 0 ;
29187 PyObject
* obj1
= 0 ;
29188 char *kwnames
[] = {
29189 (char *) "self",(char *) "id", NULL
29192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
29193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29195 arg2
= (int) SWIG_AsInt(obj1
);
29196 if (PyErr_Occurred()) SWIG_fail
;
29198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29199 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
29201 wxPyEndAllowThreads(__tstate
);
29202 if (PyErr_Occurred()) SWIG_fail
;
29205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29213 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29214 PyObject
*resultobj
;
29215 wxMenu
*arg1
= (wxMenu
*) 0 ;
29217 wxString
*arg3
= 0 ;
29218 bool temp3
= False
;
29219 PyObject
* obj0
= 0 ;
29220 PyObject
* obj1
= 0 ;
29221 PyObject
* obj2
= 0 ;
29222 char *kwnames
[] = {
29223 (char *) "self",(char *) "id",(char *) "label", NULL
29226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29229 arg2
= (int) SWIG_AsInt(obj1
);
29230 if (PyErr_Occurred()) SWIG_fail
;
29232 arg3
= wxString_in_helper(obj2
);
29233 if (arg3
== NULL
) SWIG_fail
;
29237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29238 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
29240 wxPyEndAllowThreads(__tstate
);
29241 if (PyErr_Occurred()) SWIG_fail
;
29243 Py_INCREF(Py_None
); resultobj
= Py_None
;
29258 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29259 PyObject
*resultobj
;
29260 wxMenu
*arg1
= (wxMenu
*) 0 ;
29263 PyObject
* obj0
= 0 ;
29264 PyObject
* obj1
= 0 ;
29265 char *kwnames
[] = {
29266 (char *) "self",(char *) "id", NULL
29269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
29270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29272 arg2
= (int) SWIG_AsInt(obj1
);
29273 if (PyErr_Occurred()) SWIG_fail
;
29275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29276 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
29278 wxPyEndAllowThreads(__tstate
);
29279 if (PyErr_Occurred()) SWIG_fail
;
29283 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29285 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29294 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29295 PyObject
*resultobj
;
29296 wxMenu
*arg1
= (wxMenu
*) 0 ;
29298 wxString
*arg3
= 0 ;
29299 bool temp3
= False
;
29300 PyObject
* obj0
= 0 ;
29301 PyObject
* obj1
= 0 ;
29302 PyObject
* obj2
= 0 ;
29303 char *kwnames
[] = {
29304 (char *) "self",(char *) "id",(char *) "helpString", NULL
29307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29310 arg2
= (int) SWIG_AsInt(obj1
);
29311 if (PyErr_Occurred()) SWIG_fail
;
29313 arg3
= wxString_in_helper(obj2
);
29314 if (arg3
== NULL
) SWIG_fail
;
29318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29319 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
29321 wxPyEndAllowThreads(__tstate
);
29322 if (PyErr_Occurred()) SWIG_fail
;
29324 Py_INCREF(Py_None
); resultobj
= Py_None
;
29339 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29340 PyObject
*resultobj
;
29341 wxMenu
*arg1
= (wxMenu
*) 0 ;
29344 PyObject
* obj0
= 0 ;
29345 PyObject
* obj1
= 0 ;
29346 char *kwnames
[] = {
29347 (char *) "self",(char *) "id", NULL
29350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
29351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29353 arg2
= (int) SWIG_AsInt(obj1
);
29354 if (PyErr_Occurred()) SWIG_fail
;
29356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29357 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
29359 wxPyEndAllowThreads(__tstate
);
29360 if (PyErr_Occurred()) SWIG_fail
;
29364 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29366 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29375 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29376 PyObject
*resultobj
;
29377 wxMenu
*arg1
= (wxMenu
*) 0 ;
29378 wxString
*arg2
= 0 ;
29379 bool temp2
= False
;
29380 PyObject
* obj0
= 0 ;
29381 PyObject
* obj1
= 0 ;
29382 char *kwnames
[] = {
29383 (char *) "self",(char *) "title", NULL
29386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
29387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29390 arg2
= wxString_in_helper(obj1
);
29391 if (arg2
== NULL
) SWIG_fail
;
29395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29396 (arg1
)->SetTitle((wxString
const &)*arg2
);
29398 wxPyEndAllowThreads(__tstate
);
29399 if (PyErr_Occurred()) SWIG_fail
;
29401 Py_INCREF(Py_None
); resultobj
= Py_None
;
29416 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29417 PyObject
*resultobj
;
29418 wxMenu
*arg1
= (wxMenu
*) 0 ;
29420 PyObject
* obj0
= 0 ;
29421 char *kwnames
[] = {
29422 (char *) "self", NULL
29425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
29426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29430 result
= ((wxMenu
const *)arg1
)->GetTitle();
29432 wxPyEndAllowThreads(__tstate
);
29433 if (PyErr_Occurred()) SWIG_fail
;
29437 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29439 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29448 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29449 PyObject
*resultobj
;
29450 wxMenu
*arg1
= (wxMenu
*) 0 ;
29451 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
29452 PyObject
* obj0
= 0 ;
29453 PyObject
* obj1
= 0 ;
29454 char *kwnames
[] = {
29455 (char *) "self",(char *) "handler", NULL
29458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
29459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29461 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
29462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29465 (arg1
)->SetEventHandler(arg2
);
29467 wxPyEndAllowThreads(__tstate
);
29468 if (PyErr_Occurred()) SWIG_fail
;
29470 Py_INCREF(Py_None
); resultobj
= Py_None
;
29477 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29478 PyObject
*resultobj
;
29479 wxMenu
*arg1
= (wxMenu
*) 0 ;
29480 wxEvtHandler
*result
;
29481 PyObject
* obj0
= 0 ;
29482 char *kwnames
[] = {
29483 (char *) "self", NULL
29486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",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
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
29493 wxPyEndAllowThreads(__tstate
);
29494 if (PyErr_Occurred()) SWIG_fail
;
29497 resultobj
= wxPyMake_wxObject(result
);
29505 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29506 PyObject
*resultobj
;
29507 wxMenu
*arg1
= (wxMenu
*) 0 ;
29508 wxWindow
*arg2
= (wxWindow
*) 0 ;
29509 PyObject
* obj0
= 0 ;
29510 PyObject
* obj1
= 0 ;
29511 char *kwnames
[] = {
29512 (char *) "self",(char *) "win", NULL
29515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
29516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29518 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29522 (arg1
)->SetInvokingWindow(arg2
);
29524 wxPyEndAllowThreads(__tstate
);
29525 if (PyErr_Occurred()) SWIG_fail
;
29527 Py_INCREF(Py_None
); resultobj
= Py_None
;
29534 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29535 PyObject
*resultobj
;
29536 wxMenu
*arg1
= (wxMenu
*) 0 ;
29538 PyObject
* obj0
= 0 ;
29539 char *kwnames
[] = {
29540 (char *) "self", NULL
29543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
29544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29548 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
29550 wxPyEndAllowThreads(__tstate
);
29551 if (PyErr_Occurred()) SWIG_fail
;
29554 resultobj
= wxPyMake_wxObject(result
);
29562 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29563 PyObject
*resultobj
;
29564 wxMenu
*arg1
= (wxMenu
*) 0 ;
29566 PyObject
* obj0
= 0 ;
29567 char *kwnames
[] = {
29568 (char *) "self", NULL
29571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
29572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29576 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
29578 wxPyEndAllowThreads(__tstate
);
29579 if (PyErr_Occurred()) SWIG_fail
;
29581 resultobj
= SWIG_FromLong((long)result
);
29588 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29589 PyObject
*resultobj
;
29590 wxMenu
*arg1
= (wxMenu
*) 0 ;
29591 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
29592 PyObject
* obj0
= 0 ;
29593 PyObject
* obj1
= 0 ;
29594 char *kwnames
[] = {
29595 (char *) "self",(char *) "source", NULL
29598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
29599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29602 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
29603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29607 (arg1
)->UpdateUI(arg2
);
29609 wxPyEndAllowThreads(__tstate
);
29610 if (PyErr_Occurred()) SWIG_fail
;
29612 Py_INCREF(Py_None
); resultobj
= Py_None
;
29619 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29620 PyObject
*resultobj
;
29621 wxMenu
*arg1
= (wxMenu
*) 0 ;
29623 PyObject
* obj0
= 0 ;
29624 char *kwnames
[] = {
29625 (char *) "self", NULL
29628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
29629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29633 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
29635 wxPyEndAllowThreads(__tstate
);
29636 if (PyErr_Occurred()) SWIG_fail
;
29639 resultobj
= wxPyMake_wxObject(result
);
29647 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29648 PyObject
*resultobj
;
29649 wxMenu
*arg1
= (wxMenu
*) 0 ;
29650 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
29651 PyObject
* obj0
= 0 ;
29652 PyObject
* obj1
= 0 ;
29653 char *kwnames
[] = {
29654 (char *) "self",(char *) "menubar", NULL
29657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
29658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29660 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
29661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29664 (arg1
)->Attach(arg2
);
29666 wxPyEndAllowThreads(__tstate
);
29667 if (PyErr_Occurred()) SWIG_fail
;
29669 Py_INCREF(Py_None
); resultobj
= Py_None
;
29676 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29677 PyObject
*resultobj
;
29678 wxMenu
*arg1
= (wxMenu
*) 0 ;
29679 PyObject
* obj0
= 0 ;
29680 char *kwnames
[] = {
29681 (char *) "self", NULL
29684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
29685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29691 wxPyEndAllowThreads(__tstate
);
29692 if (PyErr_Occurred()) SWIG_fail
;
29694 Py_INCREF(Py_None
); resultobj
= Py_None
;
29701 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29702 PyObject
*resultobj
;
29703 wxMenu
*arg1
= (wxMenu
*) 0 ;
29705 PyObject
* obj0
= 0 ;
29706 char *kwnames
[] = {
29707 (char *) "self", NULL
29710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
29711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29715 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
29717 wxPyEndAllowThreads(__tstate
);
29718 if (PyErr_Occurred()) SWIG_fail
;
29721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29729 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29730 PyObject
*resultobj
;
29731 wxMenu
*arg1
= (wxMenu
*) 0 ;
29732 wxMenu
*arg2
= (wxMenu
*) 0 ;
29733 PyObject
* obj0
= 0 ;
29734 PyObject
* obj1
= 0 ;
29735 char *kwnames
[] = {
29736 (char *) "self",(char *) "parent", NULL
29739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
29740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29742 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
29743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29746 (arg1
)->SetParent(arg2
);
29748 wxPyEndAllowThreads(__tstate
);
29749 if (PyErr_Occurred()) SWIG_fail
;
29751 Py_INCREF(Py_None
); resultobj
= Py_None
;
29758 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29759 PyObject
*resultobj
;
29760 wxMenu
*arg1
= (wxMenu
*) 0 ;
29762 PyObject
* obj0
= 0 ;
29763 char *kwnames
[] = {
29764 (char *) "self", NULL
29767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
29768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29772 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
29774 wxPyEndAllowThreads(__tstate
);
29775 if (PyErr_Occurred()) SWIG_fail
;
29778 resultobj
= wxPyMake_wxObject(result
);
29786 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
29788 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29789 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
29791 return Py_BuildValue((char *)"");
29793 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29794 PyObject
*resultobj
;
29795 long arg1
= (long) 0 ;
29797 PyObject
* obj0
= 0 ;
29798 char *kwnames
[] = {
29799 (char *) "style", NULL
29802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
29804 arg1
= (long) SWIG_AsLong(obj0
);
29805 if (PyErr_Occurred()) SWIG_fail
;
29808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29809 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
29811 wxPyEndAllowThreads(__tstate
);
29812 if (PyErr_Occurred()) SWIG_fail
;
29815 resultobj
= wxPyMake_wxObject(result
);
29823 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29824 PyObject
*resultobj
;
29825 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29826 wxMenu
*arg2
= (wxMenu
*) 0 ;
29827 wxString
*arg3
= 0 ;
29829 bool temp3
= False
;
29830 PyObject
* obj0
= 0 ;
29831 PyObject
* obj1
= 0 ;
29832 PyObject
* obj2
= 0 ;
29833 char *kwnames
[] = {
29834 (char *) "self",(char *) "menu",(char *) "title", NULL
29837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29840 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
29841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29843 arg3
= wxString_in_helper(obj2
);
29844 if (arg3
== NULL
) SWIG_fail
;
29848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29849 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
29851 wxPyEndAllowThreads(__tstate
);
29852 if (PyErr_Occurred()) SWIG_fail
;
29855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29871 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29872 PyObject
*resultobj
;
29873 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29875 wxMenu
*arg3
= (wxMenu
*) 0 ;
29876 wxString
*arg4
= 0 ;
29878 bool temp4
= False
;
29879 PyObject
* obj0
= 0 ;
29880 PyObject
* obj1
= 0 ;
29881 PyObject
* obj2
= 0 ;
29882 PyObject
* obj3
= 0 ;
29883 char *kwnames
[] = {
29884 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
29887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29890 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29891 if (PyErr_Occurred()) SWIG_fail
;
29892 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
29893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29895 arg4
= wxString_in_helper(obj3
);
29896 if (arg4
== NULL
) SWIG_fail
;
29900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29901 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
29903 wxPyEndAllowThreads(__tstate
);
29904 if (PyErr_Occurred()) SWIG_fail
;
29907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29923 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29924 PyObject
*resultobj
;
29925 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29927 PyObject
* obj0
= 0 ;
29928 char *kwnames
[] = {
29929 (char *) "self", NULL
29932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
29933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29937 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
29939 wxPyEndAllowThreads(__tstate
);
29940 if (PyErr_Occurred()) SWIG_fail
;
29942 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
29949 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29950 PyObject
*resultobj
;
29951 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29954 PyObject
* obj0
= 0 ;
29955 PyObject
* obj1
= 0 ;
29956 char *kwnames
[] = {
29957 (char *) "self",(char *) "pos", NULL
29960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
29961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29963 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29964 if (PyErr_Occurred()) SWIG_fail
;
29966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29967 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
29969 wxPyEndAllowThreads(__tstate
);
29970 if (PyErr_Occurred()) SWIG_fail
;
29973 resultobj
= wxPyMake_wxObject(result
);
29981 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29982 PyObject
*resultobj
;
29983 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29985 wxMenu
*arg3
= (wxMenu
*) 0 ;
29986 wxString
*arg4
= 0 ;
29988 bool temp4
= False
;
29989 PyObject
* obj0
= 0 ;
29990 PyObject
* obj1
= 0 ;
29991 PyObject
* obj2
= 0 ;
29992 PyObject
* obj3
= 0 ;
29993 char *kwnames
[] = {
29994 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
29997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30000 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30001 if (PyErr_Occurred()) SWIG_fail
;
30002 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
30003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30005 arg4
= wxString_in_helper(obj3
);
30006 if (arg4
== NULL
) SWIG_fail
;
30010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30011 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
30013 wxPyEndAllowThreads(__tstate
);
30014 if (PyErr_Occurred()) SWIG_fail
;
30017 resultobj
= wxPyMake_wxObject(result
);
30033 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30034 PyObject
*resultobj
;
30035 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30038 PyObject
* obj0
= 0 ;
30039 PyObject
* obj1
= 0 ;
30040 char *kwnames
[] = {
30041 (char *) "self",(char *) "pos", NULL
30044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
30045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30047 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30048 if (PyErr_Occurred()) SWIG_fail
;
30050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30051 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
30053 wxPyEndAllowThreads(__tstate
);
30054 if (PyErr_Occurred()) SWIG_fail
;
30057 resultobj
= wxPyMake_wxObject(result
);
30065 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30066 PyObject
*resultobj
;
30067 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30070 PyObject
* obj0
= 0 ;
30071 PyObject
* obj1
= 0 ;
30072 PyObject
* obj2
= 0 ;
30073 char *kwnames
[] = {
30074 (char *) "self",(char *) "pos",(char *) "enable", NULL
30077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30080 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30081 if (PyErr_Occurred()) SWIG_fail
;
30082 arg3
= (bool) SWIG_AsBool(obj2
);
30083 if (PyErr_Occurred()) SWIG_fail
;
30085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30086 (arg1
)->EnableTop(arg2
,arg3
);
30088 wxPyEndAllowThreads(__tstate
);
30089 if (PyErr_Occurred()) SWIG_fail
;
30091 Py_INCREF(Py_None
); resultobj
= Py_None
;
30098 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30099 PyObject
*resultobj
;
30100 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30103 PyObject
* obj0
= 0 ;
30104 PyObject
* obj1
= 0 ;
30105 char *kwnames
[] = {
30106 (char *) "self",(char *) "pos", NULL
30109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
30110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30112 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30113 if (PyErr_Occurred()) SWIG_fail
;
30115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30116 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
30118 wxPyEndAllowThreads(__tstate
);
30119 if (PyErr_Occurred()) SWIG_fail
;
30122 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30130 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30131 PyObject
*resultobj
;
30132 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30134 wxString
*arg3
= 0 ;
30135 bool temp3
= False
;
30136 PyObject
* obj0
= 0 ;
30137 PyObject
* obj1
= 0 ;
30138 PyObject
* obj2
= 0 ;
30139 char *kwnames
[] = {
30140 (char *) "self",(char *) "pos",(char *) "label", NULL
30143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30146 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30147 if (PyErr_Occurred()) SWIG_fail
;
30149 arg3
= wxString_in_helper(obj2
);
30150 if (arg3
== NULL
) SWIG_fail
;
30154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30155 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
30157 wxPyEndAllowThreads(__tstate
);
30158 if (PyErr_Occurred()) SWIG_fail
;
30160 Py_INCREF(Py_None
); resultobj
= Py_None
;
30175 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30176 PyObject
*resultobj
;
30177 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30180 PyObject
* obj0
= 0 ;
30181 PyObject
* obj1
= 0 ;
30182 char *kwnames
[] = {
30183 (char *) "self",(char *) "pos", NULL
30186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
30187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30189 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30190 if (PyErr_Occurred()) SWIG_fail
;
30192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30193 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
30195 wxPyEndAllowThreads(__tstate
);
30196 if (PyErr_Occurred()) SWIG_fail
;
30200 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30202 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30211 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30212 PyObject
*resultobj
;
30213 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30214 wxString
*arg2
= 0 ;
30215 wxString
*arg3
= 0 ;
30217 bool temp2
= False
;
30218 bool temp3
= False
;
30219 PyObject
* obj0
= 0 ;
30220 PyObject
* obj1
= 0 ;
30221 PyObject
* obj2
= 0 ;
30222 char *kwnames
[] = {
30223 (char *) "self",(char *) "menu",(char *) "item", NULL
30226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30230 arg2
= wxString_in_helper(obj1
);
30231 if (arg2
== NULL
) SWIG_fail
;
30235 arg3
= wxString_in_helper(obj2
);
30236 if (arg3
== NULL
) SWIG_fail
;
30240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30241 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
30243 wxPyEndAllowThreads(__tstate
);
30244 if (PyErr_Occurred()) SWIG_fail
;
30246 resultobj
= SWIG_FromInt((int)result
);
30269 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30270 PyObject
*resultobj
;
30271 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30273 wxMenuItem
*result
;
30274 PyObject
* obj0
= 0 ;
30275 PyObject
* obj1
= 0 ;
30276 char *kwnames
[] = {
30277 (char *) "self",(char *) "id", NULL
30280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
30281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30283 arg2
= (int) SWIG_AsInt(obj1
);
30284 if (PyErr_Occurred()) SWIG_fail
;
30286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30287 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
30289 wxPyEndAllowThreads(__tstate
);
30290 if (PyErr_Occurred()) SWIG_fail
;
30293 resultobj
= wxPyMake_wxObject(result
);
30301 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30302 PyObject
*resultobj
;
30303 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30304 wxString
*arg2
= 0 ;
30306 bool temp2
= False
;
30307 PyObject
* obj0
= 0 ;
30308 PyObject
* obj1
= 0 ;
30309 char *kwnames
[] = {
30310 (char *) "self",(char *) "title", NULL
30313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
30314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30317 arg2
= wxString_in_helper(obj1
);
30318 if (arg2
== NULL
) SWIG_fail
;
30322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30323 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
30325 wxPyEndAllowThreads(__tstate
);
30326 if (PyErr_Occurred()) SWIG_fail
;
30328 resultobj
= SWIG_FromInt((int)result
);
30343 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30344 PyObject
*resultobj
;
30345 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30348 PyObject
* obj0
= 0 ;
30349 PyObject
* obj1
= 0 ;
30350 PyObject
* obj2
= 0 ;
30351 char *kwnames
[] = {
30352 (char *) "self",(char *) "id",(char *) "enable", NULL
30355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30358 arg2
= (int) SWIG_AsInt(obj1
);
30359 if (PyErr_Occurred()) SWIG_fail
;
30360 arg3
= (bool) SWIG_AsBool(obj2
);
30361 if (PyErr_Occurred()) SWIG_fail
;
30363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30364 (arg1
)->Enable(arg2
,arg3
);
30366 wxPyEndAllowThreads(__tstate
);
30367 if (PyErr_Occurred()) SWIG_fail
;
30369 Py_INCREF(Py_None
); resultobj
= Py_None
;
30376 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30377 PyObject
*resultobj
;
30378 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30381 PyObject
* obj0
= 0 ;
30382 PyObject
* obj1
= 0 ;
30383 PyObject
* obj2
= 0 ;
30384 char *kwnames
[] = {
30385 (char *) "self",(char *) "id",(char *) "check", NULL
30388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30391 arg2
= (int) SWIG_AsInt(obj1
);
30392 if (PyErr_Occurred()) SWIG_fail
;
30393 arg3
= (bool) SWIG_AsBool(obj2
);
30394 if (PyErr_Occurred()) SWIG_fail
;
30396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30397 (arg1
)->Check(arg2
,arg3
);
30399 wxPyEndAllowThreads(__tstate
);
30400 if (PyErr_Occurred()) SWIG_fail
;
30402 Py_INCREF(Py_None
); resultobj
= Py_None
;
30409 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30410 PyObject
*resultobj
;
30411 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30414 PyObject
* obj0
= 0 ;
30415 PyObject
* obj1
= 0 ;
30416 char *kwnames
[] = {
30417 (char *) "self",(char *) "id", NULL
30420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
30421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30423 arg2
= (int) SWIG_AsInt(obj1
);
30424 if (PyErr_Occurred()) SWIG_fail
;
30426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30427 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
30429 wxPyEndAllowThreads(__tstate
);
30430 if (PyErr_Occurred()) SWIG_fail
;
30433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30441 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30442 PyObject
*resultobj
;
30443 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30446 PyObject
* obj0
= 0 ;
30447 PyObject
* obj1
= 0 ;
30448 char *kwnames
[] = {
30449 (char *) "self",(char *) "id", NULL
30452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
30453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30455 arg2
= (int) SWIG_AsInt(obj1
);
30456 if (PyErr_Occurred()) SWIG_fail
;
30458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30459 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
30461 wxPyEndAllowThreads(__tstate
);
30462 if (PyErr_Occurred()) SWIG_fail
;
30465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30473 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30474 PyObject
*resultobj
;
30475 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30477 wxString
*arg3
= 0 ;
30478 bool temp3
= False
;
30479 PyObject
* obj0
= 0 ;
30480 PyObject
* obj1
= 0 ;
30481 PyObject
* obj2
= 0 ;
30482 char *kwnames
[] = {
30483 (char *) "self",(char *) "id",(char *) "label", NULL
30486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30489 arg2
= (int) SWIG_AsInt(obj1
);
30490 if (PyErr_Occurred()) SWIG_fail
;
30492 arg3
= wxString_in_helper(obj2
);
30493 if (arg3
== NULL
) SWIG_fail
;
30497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30498 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
30500 wxPyEndAllowThreads(__tstate
);
30501 if (PyErr_Occurred()) SWIG_fail
;
30503 Py_INCREF(Py_None
); resultobj
= Py_None
;
30518 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30519 PyObject
*resultobj
;
30520 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30523 PyObject
* obj0
= 0 ;
30524 PyObject
* obj1
= 0 ;
30525 char *kwnames
[] = {
30526 (char *) "self",(char *) "id", NULL
30529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30532 arg2
= (int) SWIG_AsInt(obj1
);
30533 if (PyErr_Occurred()) SWIG_fail
;
30535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30536 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
30538 wxPyEndAllowThreads(__tstate
);
30539 if (PyErr_Occurred()) SWIG_fail
;
30543 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30545 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30554 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30555 PyObject
*resultobj
;
30556 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30558 wxString
*arg3
= 0 ;
30559 bool temp3
= False
;
30560 PyObject
* obj0
= 0 ;
30561 PyObject
* obj1
= 0 ;
30562 PyObject
* obj2
= 0 ;
30563 char *kwnames
[] = {
30564 (char *) "self",(char *) "id",(char *) "helpString", NULL
30567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30570 arg2
= (int) SWIG_AsInt(obj1
);
30571 if (PyErr_Occurred()) SWIG_fail
;
30573 arg3
= wxString_in_helper(obj2
);
30574 if (arg3
== NULL
) SWIG_fail
;
30578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30579 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
30581 wxPyEndAllowThreads(__tstate
);
30582 if (PyErr_Occurred()) SWIG_fail
;
30584 Py_INCREF(Py_None
); resultobj
= Py_None
;
30599 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30600 PyObject
*resultobj
;
30601 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30604 PyObject
* obj0
= 0 ;
30605 PyObject
* obj1
= 0 ;
30606 char *kwnames
[] = {
30607 (char *) "self",(char *) "id", NULL
30610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
30611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30613 arg2
= (int) SWIG_AsInt(obj1
);
30614 if (PyErr_Occurred()) SWIG_fail
;
30616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30617 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
30619 wxPyEndAllowThreads(__tstate
);
30620 if (PyErr_Occurred()) SWIG_fail
;
30624 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30626 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30635 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30636 PyObject
*resultobj
;
30637 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30639 PyObject
* obj0
= 0 ;
30640 char *kwnames
[] = {
30641 (char *) "self", NULL
30644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
30645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30649 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
30651 wxPyEndAllowThreads(__tstate
);
30652 if (PyErr_Occurred()) SWIG_fail
;
30655 resultobj
= wxPyMake_wxObject(result
);
30663 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30664 PyObject
*resultobj
;
30665 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30667 PyObject
* obj0
= 0 ;
30668 char *kwnames
[] = {
30669 (char *) "self", NULL
30672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
30673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30677 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
30679 wxPyEndAllowThreads(__tstate
);
30680 if (PyErr_Occurred()) SWIG_fail
;
30683 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30691 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30692 PyObject
*resultobj
;
30693 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30694 wxFrame
*arg2
= (wxFrame
*) 0 ;
30695 PyObject
* obj0
= 0 ;
30696 PyObject
* obj1
= 0 ;
30697 char *kwnames
[] = {
30698 (char *) "self",(char *) "frame", NULL
30701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
30702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30704 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
30705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30708 (arg1
)->Attach(arg2
);
30710 wxPyEndAllowThreads(__tstate
);
30711 if (PyErr_Occurred()) SWIG_fail
;
30713 Py_INCREF(Py_None
); resultobj
= Py_None
;
30720 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30721 PyObject
*resultobj
;
30722 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30723 PyObject
* obj0
= 0 ;
30724 char *kwnames
[] = {
30725 (char *) "self", NULL
30728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
30729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30735 wxPyEndAllowThreads(__tstate
);
30736 if (PyErr_Occurred()) SWIG_fail
;
30738 Py_INCREF(Py_None
); resultobj
= Py_None
;
30745 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
30747 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30748 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
30750 return Py_BuildValue((char *)"");
30752 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30753 PyObject
*resultobj
;
30754 wxMenu
*arg1
= (wxMenu
*) NULL
;
30755 int arg2
= (int) wxID_SEPARATOR
;
30756 wxString
const &arg3_defvalue
= wxPyEmptyString
;
30757 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
30758 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30759 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30760 int arg5
= (int) wxITEM_NORMAL
;
30761 wxMenu
*arg6
= (wxMenu
*) NULL
;
30762 wxMenuItem
*result
;
30763 bool temp3
= False
;
30764 bool temp4
= False
;
30765 PyObject
* obj0
= 0 ;
30766 PyObject
* obj1
= 0 ;
30767 PyObject
* obj2
= 0 ;
30768 PyObject
* obj3
= 0 ;
30769 PyObject
* obj4
= 0 ;
30770 PyObject
* obj5
= 0 ;
30771 char *kwnames
[] = {
30772 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
30775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30781 arg2
= (int) SWIG_AsInt(obj1
);
30782 if (PyErr_Occurred()) SWIG_fail
;
30786 arg3
= wxString_in_helper(obj2
);
30787 if (arg3
== NULL
) SWIG_fail
;
30793 arg4
= wxString_in_helper(obj3
);
30794 if (arg4
== NULL
) SWIG_fail
;
30799 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
30800 if (PyErr_Occurred()) SWIG_fail
;
30803 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
30804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30808 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
30810 wxPyEndAllowThreads(__tstate
);
30811 if (PyErr_Occurred()) SWIG_fail
;
30814 resultobj
= wxPyMake_wxObject(result
);
30838 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30839 PyObject
*resultobj
;
30840 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30842 PyObject
* obj0
= 0 ;
30843 char *kwnames
[] = {
30844 (char *) "self", NULL
30847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
30848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30852 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
30854 wxPyEndAllowThreads(__tstate
);
30855 if (PyErr_Occurred()) SWIG_fail
;
30858 resultobj
= wxPyMake_wxObject(result
);
30866 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30867 PyObject
*resultobj
;
30868 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30869 wxMenu
*arg2
= (wxMenu
*) 0 ;
30870 PyObject
* obj0
= 0 ;
30871 PyObject
* obj1
= 0 ;
30872 char *kwnames
[] = {
30873 (char *) "self",(char *) "menu", NULL
30876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
30877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30879 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30883 (arg1
)->SetMenu(arg2
);
30885 wxPyEndAllowThreads(__tstate
);
30886 if (PyErr_Occurred()) SWIG_fail
;
30888 Py_INCREF(Py_None
); resultobj
= Py_None
;
30895 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30896 PyObject
*resultobj
;
30897 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30899 PyObject
* obj0
= 0 ;
30900 PyObject
* obj1
= 0 ;
30901 char *kwnames
[] = {
30902 (char *) "self",(char *) "id", NULL
30905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
30906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30908 arg2
= (int) SWIG_AsInt(obj1
);
30909 if (PyErr_Occurred()) SWIG_fail
;
30911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30912 (arg1
)->SetId(arg2
);
30914 wxPyEndAllowThreads(__tstate
);
30915 if (PyErr_Occurred()) SWIG_fail
;
30917 Py_INCREF(Py_None
); resultobj
= Py_None
;
30924 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30925 PyObject
*resultobj
;
30926 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30928 PyObject
* obj0
= 0 ;
30929 char *kwnames
[] = {
30930 (char *) "self", NULL
30933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
30934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30938 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
30940 wxPyEndAllowThreads(__tstate
);
30941 if (PyErr_Occurred()) SWIG_fail
;
30943 resultobj
= SWIG_FromInt((int)result
);
30950 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30951 PyObject
*resultobj
;
30952 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30954 PyObject
* obj0
= 0 ;
30955 char *kwnames
[] = {
30956 (char *) "self", NULL
30959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
30960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30964 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
30966 wxPyEndAllowThreads(__tstate
);
30967 if (PyErr_Occurred()) SWIG_fail
;
30970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30978 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30979 PyObject
*resultobj
;
30980 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30981 wxString
*arg2
= 0 ;
30982 bool temp2
= False
;
30983 PyObject
* obj0
= 0 ;
30984 PyObject
* obj1
= 0 ;
30985 char *kwnames
[] = {
30986 (char *) "self",(char *) "str", NULL
30989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
30990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30993 arg2
= wxString_in_helper(obj1
);
30994 if (arg2
== NULL
) SWIG_fail
;
30998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30999 (arg1
)->SetText((wxString
const &)*arg2
);
31001 wxPyEndAllowThreads(__tstate
);
31002 if (PyErr_Occurred()) SWIG_fail
;
31004 Py_INCREF(Py_None
); resultobj
= Py_None
;
31019 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31020 PyObject
*resultobj
;
31021 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31023 PyObject
* obj0
= 0 ;
31024 char *kwnames
[] = {
31025 (char *) "self", NULL
31028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
31029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31033 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
31035 wxPyEndAllowThreads(__tstate
);
31036 if (PyErr_Occurred()) SWIG_fail
;
31040 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31042 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31051 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31052 PyObject
*resultobj
;
31053 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31055 PyObject
* obj0
= 0 ;
31056 char *kwnames
[] = {
31057 (char *) "self", NULL
31060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
31061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31066 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
31067 result
= (wxString
*) &_result_ref
;
31070 wxPyEndAllowThreads(__tstate
);
31071 if (PyErr_Occurred()) SWIG_fail
;
31075 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
31077 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
31086 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31087 PyObject
*resultobj
;
31088 wxString
*arg1
= 0 ;
31090 bool temp1
= False
;
31091 PyObject
* obj0
= 0 ;
31092 char *kwnames
[] = {
31093 (char *) "text", NULL
31096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
31098 arg1
= wxString_in_helper(obj0
);
31099 if (arg1
== NULL
) SWIG_fail
;
31103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31104 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
31106 wxPyEndAllowThreads(__tstate
);
31107 if (PyErr_Occurred()) SWIG_fail
;
31111 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31113 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31130 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31131 PyObject
*resultobj
;
31132 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31134 PyObject
* obj0
= 0 ;
31135 char *kwnames
[] = {
31136 (char *) "self", NULL
31139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
31140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31144 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
31146 wxPyEndAllowThreads(__tstate
);
31147 if (PyErr_Occurred()) SWIG_fail
;
31149 resultobj
= SWIG_FromInt((int)result
);
31156 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31157 PyObject
*resultobj
;
31158 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31160 PyObject
* obj0
= 0 ;
31161 PyObject
* obj1
= 0 ;
31162 char *kwnames
[] = {
31163 (char *) "self",(char *) "checkable", NULL
31166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
31167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31169 arg2
= (bool) SWIG_AsBool(obj1
);
31170 if (PyErr_Occurred()) SWIG_fail
;
31172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31173 (arg1
)->SetCheckable(arg2
);
31175 wxPyEndAllowThreads(__tstate
);
31176 if (PyErr_Occurred()) SWIG_fail
;
31178 Py_INCREF(Py_None
); resultobj
= Py_None
;
31185 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31186 PyObject
*resultobj
;
31187 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31189 PyObject
* obj0
= 0 ;
31190 char *kwnames
[] = {
31191 (char *) "self", NULL
31194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
31195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31199 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
31201 wxPyEndAllowThreads(__tstate
);
31202 if (PyErr_Occurred()) SWIG_fail
;
31205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31213 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31214 PyObject
*resultobj
;
31215 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31217 PyObject
* obj0
= 0 ;
31218 char *kwnames
[] = {
31219 (char *) "self", NULL
31222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
31223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31227 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
31229 wxPyEndAllowThreads(__tstate
);
31230 if (PyErr_Occurred()) SWIG_fail
;
31233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31241 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31242 PyObject
*resultobj
;
31243 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31244 wxMenu
*arg2
= (wxMenu
*) 0 ;
31245 PyObject
* obj0
= 0 ;
31246 PyObject
* obj1
= 0 ;
31247 char *kwnames
[] = {
31248 (char *) "self",(char *) "menu", NULL
31251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31254 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31258 (arg1
)->SetSubMenu(arg2
);
31260 wxPyEndAllowThreads(__tstate
);
31261 if (PyErr_Occurred()) SWIG_fail
;
31263 Py_INCREF(Py_None
); resultobj
= Py_None
;
31270 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31271 PyObject
*resultobj
;
31272 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31274 PyObject
* obj0
= 0 ;
31275 char *kwnames
[] = {
31276 (char *) "self", NULL
31279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
31280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31284 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
31286 wxPyEndAllowThreads(__tstate
);
31287 if (PyErr_Occurred()) SWIG_fail
;
31290 resultobj
= wxPyMake_wxObject(result
);
31298 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31299 PyObject
*resultobj
;
31300 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31301 bool arg2
= (bool) True
;
31302 PyObject
* obj0
= 0 ;
31303 PyObject
* obj1
= 0 ;
31304 char *kwnames
[] = {
31305 (char *) "self",(char *) "enable", NULL
31308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
31309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31312 arg2
= (bool) SWIG_AsBool(obj1
);
31313 if (PyErr_Occurred()) SWIG_fail
;
31316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31317 (arg1
)->Enable(arg2
);
31319 wxPyEndAllowThreads(__tstate
);
31320 if (PyErr_Occurred()) SWIG_fail
;
31322 Py_INCREF(Py_None
); resultobj
= Py_None
;
31329 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31330 PyObject
*resultobj
;
31331 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31333 PyObject
* obj0
= 0 ;
31334 char *kwnames
[] = {
31335 (char *) "self", NULL
31338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
31339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31343 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
31345 wxPyEndAllowThreads(__tstate
);
31346 if (PyErr_Occurred()) SWIG_fail
;
31349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31357 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31358 PyObject
*resultobj
;
31359 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31360 bool arg2
= (bool) True
;
31361 PyObject
* obj0
= 0 ;
31362 PyObject
* obj1
= 0 ;
31363 char *kwnames
[] = {
31364 (char *) "self",(char *) "check", NULL
31367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
31368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31371 arg2
= (bool) SWIG_AsBool(obj1
);
31372 if (PyErr_Occurred()) SWIG_fail
;
31375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31376 (arg1
)->Check(arg2
);
31378 wxPyEndAllowThreads(__tstate
);
31379 if (PyErr_Occurred()) SWIG_fail
;
31381 Py_INCREF(Py_None
); resultobj
= Py_None
;
31388 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31389 PyObject
*resultobj
;
31390 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31392 PyObject
* obj0
= 0 ;
31393 char *kwnames
[] = {
31394 (char *) "self", NULL
31397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
31398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31402 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
31404 wxPyEndAllowThreads(__tstate
);
31405 if (PyErr_Occurred()) SWIG_fail
;
31408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31416 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31417 PyObject
*resultobj
;
31418 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31419 PyObject
* obj0
= 0 ;
31420 char *kwnames
[] = {
31421 (char *) "self", NULL
31424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
31425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31431 wxPyEndAllowThreads(__tstate
);
31432 if (PyErr_Occurred()) SWIG_fail
;
31434 Py_INCREF(Py_None
); resultobj
= Py_None
;
31441 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31442 PyObject
*resultobj
;
31443 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31444 wxString
*arg2
= 0 ;
31445 bool temp2
= False
;
31446 PyObject
* obj0
= 0 ;
31447 PyObject
* obj1
= 0 ;
31448 char *kwnames
[] = {
31449 (char *) "self",(char *) "str", NULL
31452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
31453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31456 arg2
= wxString_in_helper(obj1
);
31457 if (arg2
== NULL
) SWIG_fail
;
31461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31462 (arg1
)->SetHelp((wxString
const &)*arg2
);
31464 wxPyEndAllowThreads(__tstate
);
31465 if (PyErr_Occurred()) SWIG_fail
;
31467 Py_INCREF(Py_None
); resultobj
= Py_None
;
31482 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31483 PyObject
*resultobj
;
31484 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31486 PyObject
* obj0
= 0 ;
31487 char *kwnames
[] = {
31488 (char *) "self", NULL
31491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
31492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31497 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
31498 result
= (wxString
*) &_result_ref
;
31501 wxPyEndAllowThreads(__tstate
);
31502 if (PyErr_Occurred()) SWIG_fail
;
31506 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
31508 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
31517 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31518 PyObject
*resultobj
;
31519 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31520 wxAcceleratorEntry
*result
;
31521 PyObject
* obj0
= 0 ;
31522 char *kwnames
[] = {
31523 (char *) "self", NULL
31526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
31527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31531 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
31533 wxPyEndAllowThreads(__tstate
);
31534 if (PyErr_Occurred()) SWIG_fail
;
31536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
31543 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31544 PyObject
*resultobj
;
31545 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31546 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
31547 PyObject
* obj0
= 0 ;
31548 PyObject
* obj1
= 0 ;
31549 char *kwnames
[] = {
31550 (char *) "self",(char *) "accel", NULL
31553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
31554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31556 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
31557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31560 (arg1
)->SetAccel(arg2
);
31562 wxPyEndAllowThreads(__tstate
);
31563 if (PyErr_Occurred()) SWIG_fail
;
31565 Py_INCREF(Py_None
); resultobj
= Py_None
;
31572 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31573 PyObject
*resultobj
;
31575 char *kwnames
[] = {
31579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
31581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31582 result
= (int)MenuItem_GetDefaultMarginWidth();
31584 wxPyEndAllowThreads(__tstate
);
31585 if (PyErr_Occurred()) SWIG_fail
;
31587 resultobj
= SWIG_FromInt((int)result
);
31594 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31595 PyObject
*resultobj
;
31596 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31597 wxBitmap
*arg2
= 0 ;
31598 PyObject
* obj0
= 0 ;
31599 PyObject
* obj1
= 0 ;
31600 char *kwnames
[] = {
31601 (char *) "self",(char *) "bitmap", NULL
31604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
31605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31607 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
31608 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31610 if (arg2
== NULL
) {
31611 PyErr_SetString(PyExc_TypeError
,"null reference");
31615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31616 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
31618 wxPyEndAllowThreads(__tstate
);
31619 if (PyErr_Occurred()) SWIG_fail
;
31621 Py_INCREF(Py_None
); resultobj
= Py_None
;
31628 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31629 PyObject
*resultobj
;
31630 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31632 PyObject
* obj0
= 0 ;
31633 char *kwnames
[] = {
31634 (char *) "self", NULL
31637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
31638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31643 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
31644 result
= (wxBitmap
*) &_result_ref
;
31647 wxPyEndAllowThreads(__tstate
);
31648 if (PyErr_Occurred()) SWIG_fail
;
31651 wxBitmap
* resultptr
= new wxBitmap(*result
);
31652 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
31660 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
31662 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31663 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
31665 return Py_BuildValue((char *)"");
31667 static int _wrap_ControlNameStr_set(PyObject
*) {
31668 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
31673 static PyObject
*_wrap_ControlNameStr_get() {
31678 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
31680 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
31687 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31688 PyObject
*resultobj
;
31689 wxWindow
*arg1
= (wxWindow
*) 0 ;
31691 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31692 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31693 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31694 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31695 long arg5
= (long) 0 ;
31696 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
31697 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
31698 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
31699 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31703 bool temp7
= False
;
31704 PyObject
* obj0
= 0 ;
31705 PyObject
* obj1
= 0 ;
31706 PyObject
* obj2
= 0 ;
31707 PyObject
* obj3
= 0 ;
31708 PyObject
* obj4
= 0 ;
31709 PyObject
* obj5
= 0 ;
31710 PyObject
* obj6
= 0 ;
31711 char *kwnames
[] = {
31712 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
31716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
31717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31718 arg2
= (int) SWIG_AsInt(obj1
);
31719 if (PyErr_Occurred()) SWIG_fail
;
31723 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31729 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31733 arg5
= (long) SWIG_AsLong(obj4
);
31734 if (PyErr_Occurred()) SWIG_fail
;
31737 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
31738 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31740 if (arg6
== NULL
) {
31741 PyErr_SetString(PyExc_TypeError
,"null reference");
31747 arg7
= wxString_in_helper(obj6
);
31748 if (arg7
== NULL
) SWIG_fail
;
31753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31754 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
31756 wxPyEndAllowThreads(__tstate
);
31757 if (PyErr_Occurred()) SWIG_fail
;
31760 resultobj
= wxPyMake_wxObject(result
);
31776 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31777 PyObject
*resultobj
;
31779 char *kwnames
[] = {
31783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
31785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31786 result
= (wxControl
*)new wxControl();
31788 wxPyEndAllowThreads(__tstate
);
31789 if (PyErr_Occurred()) SWIG_fail
;
31792 resultobj
= wxPyMake_wxObject(result
);
31800 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31801 PyObject
*resultobj
;
31802 wxControl
*arg1
= (wxControl
*) 0 ;
31803 wxWindow
*arg2
= (wxWindow
*) 0 ;
31805 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31806 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31807 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31808 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31809 long arg6
= (long) 0 ;
31810 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
31811 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
31812 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
31813 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31817 bool temp8
= False
;
31818 PyObject
* obj0
= 0 ;
31819 PyObject
* obj1
= 0 ;
31820 PyObject
* obj2
= 0 ;
31821 PyObject
* obj3
= 0 ;
31822 PyObject
* obj4
= 0 ;
31823 PyObject
* obj5
= 0 ;
31824 PyObject
* obj6
= 0 ;
31825 PyObject
* obj7
= 0 ;
31826 char *kwnames
[] = {
31827 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
31831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
31832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31833 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
31834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31835 arg3
= (int) SWIG_AsInt(obj2
);
31836 if (PyErr_Occurred()) SWIG_fail
;
31840 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31846 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31850 arg6
= (long) SWIG_AsLong(obj5
);
31851 if (PyErr_Occurred()) SWIG_fail
;
31854 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
31855 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31857 if (arg7
== NULL
) {
31858 PyErr_SetString(PyExc_TypeError
,"null reference");
31864 arg8
= wxString_in_helper(obj7
);
31865 if (arg8
== NULL
) SWIG_fail
;
31870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31871 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
31873 wxPyEndAllowThreads(__tstate
);
31874 if (PyErr_Occurred()) SWIG_fail
;
31877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31893 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31894 PyObject
*resultobj
;
31895 wxControl
*arg1
= (wxControl
*) 0 ;
31896 wxCommandEvent
*arg2
= 0 ;
31897 PyObject
* obj0
= 0 ;
31898 PyObject
* obj1
= 0 ;
31899 char *kwnames
[] = {
31900 (char *) "self",(char *) "event", NULL
31903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
31904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
31905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31906 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
31907 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31909 if (arg2
== NULL
) {
31910 PyErr_SetString(PyExc_TypeError
,"null reference");
31914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31915 (arg1
)->Command(*arg2
);
31917 wxPyEndAllowThreads(__tstate
);
31918 if (PyErr_Occurred()) SWIG_fail
;
31920 Py_INCREF(Py_None
); resultobj
= Py_None
;
31927 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31928 PyObject
*resultobj
;
31929 wxControl
*arg1
= (wxControl
*) 0 ;
31931 PyObject
* obj0
= 0 ;
31932 char *kwnames
[] = {
31933 (char *) "self", NULL
31936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
31937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
31938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31941 result
= (arg1
)->GetLabel();
31943 wxPyEndAllowThreads(__tstate
);
31944 if (PyErr_Occurred()) SWIG_fail
;
31948 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31950 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31959 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31960 PyObject
*resultobj
;
31961 wxControl
*arg1
= (wxControl
*) 0 ;
31962 wxString
*arg2
= 0 ;
31963 bool temp2
= False
;
31964 PyObject
* obj0
= 0 ;
31965 PyObject
* obj1
= 0 ;
31966 char *kwnames
[] = {
31967 (char *) "self",(char *) "label", NULL
31970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
31972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31974 arg2
= wxString_in_helper(obj1
);
31975 if (arg2
== NULL
) SWIG_fail
;
31979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31980 (arg1
)->SetLabel((wxString
const &)*arg2
);
31982 wxPyEndAllowThreads(__tstate
);
31983 if (PyErr_Occurred()) SWIG_fail
;
31985 Py_INCREF(Py_None
); resultobj
= Py_None
;
32000 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
32002 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32003 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
32005 return Py_BuildValue((char *)"");
32007 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32008 PyObject
*resultobj
;
32009 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32010 wxString
*arg2
= 0 ;
32011 PyObject
*arg3
= (PyObject
*) NULL
;
32013 bool temp2
= False
;
32014 PyObject
* obj0
= 0 ;
32015 PyObject
* obj1
= 0 ;
32016 PyObject
* obj2
= 0 ;
32017 char *kwnames
[] = {
32018 (char *) "self",(char *) "item",(char *) "clientData", NULL
32021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32025 arg2
= wxString_in_helper(obj1
);
32026 if (arg2
== NULL
) SWIG_fail
;
32033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32034 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
32036 wxPyEndAllowThreads(__tstate
);
32037 if (PyErr_Occurred()) SWIG_fail
;
32039 resultobj
= SWIG_FromInt((int)result
);
32054 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32055 PyObject
*resultobj
;
32056 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32057 wxArrayString
*arg2
= 0 ;
32058 bool temp2
= False
;
32059 PyObject
* obj0
= 0 ;
32060 PyObject
* obj1
= 0 ;
32061 char *kwnames
[] = {
32062 (char *) "self",(char *) "strings", NULL
32065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
32066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32069 if (! PySequence_Check(obj1
)) {
32070 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
32073 arg2
= new wxArrayString
;
32075 int i
, len
=PySequence_Length(obj1
);
32076 for (i
=0; i
<len
; i
++) {
32077 PyObject
* item
= PySequence_GetItem(obj1
, i
);
32079 PyObject
* str
= PyObject_Unicode(item
);
32081 PyObject
* str
= PyObject_Str(item
);
32083 arg2
->Add(Py2wxString(str
));
32089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32090 (arg1
)->Append((wxArrayString
const &)*arg2
);
32092 wxPyEndAllowThreads(__tstate
);
32093 if (PyErr_Occurred()) SWIG_fail
;
32095 Py_INCREF(Py_None
); resultobj
= Py_None
;
32097 if (temp2
) delete arg2
;
32102 if (temp2
) delete arg2
;
32108 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32109 PyObject
*resultobj
;
32110 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32111 wxString
*arg2
= 0 ;
32113 PyObject
*arg4
= (PyObject
*) NULL
;
32115 bool temp2
= False
;
32116 PyObject
* obj0
= 0 ;
32117 PyObject
* obj1
= 0 ;
32118 PyObject
* obj2
= 0 ;
32119 PyObject
* obj3
= 0 ;
32120 char *kwnames
[] = {
32121 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
32124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32128 arg2
= wxString_in_helper(obj1
);
32129 if (arg2
== NULL
) SWIG_fail
;
32132 arg3
= (int) SWIG_AsInt(obj2
);
32133 if (PyErr_Occurred()) SWIG_fail
;
32138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32139 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
32141 wxPyEndAllowThreads(__tstate
);
32142 if (PyErr_Occurred()) SWIG_fail
;
32144 resultobj
= SWIG_FromInt((int)result
);
32159 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32160 PyObject
*resultobj
;
32161 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32162 PyObject
* obj0
= 0 ;
32163 char *kwnames
[] = {
32164 (char *) "self", NULL
32167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
32168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32174 wxPyEndAllowThreads(__tstate
);
32175 if (PyErr_Occurred()) SWIG_fail
;
32177 Py_INCREF(Py_None
); resultobj
= Py_None
;
32184 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32185 PyObject
*resultobj
;
32186 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32188 PyObject
* obj0
= 0 ;
32189 PyObject
* obj1
= 0 ;
32190 char *kwnames
[] = {
32191 (char *) "self",(char *) "n", NULL
32194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
32195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32197 arg2
= (int) SWIG_AsInt(obj1
);
32198 if (PyErr_Occurred()) SWIG_fail
;
32200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32201 (arg1
)->Delete(arg2
);
32203 wxPyEndAllowThreads(__tstate
);
32204 if (PyErr_Occurred()) SWIG_fail
;
32206 Py_INCREF(Py_None
); resultobj
= Py_None
;
32213 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32214 PyObject
*resultobj
;
32215 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32217 PyObject
* obj0
= 0 ;
32218 char *kwnames
[] = {
32219 (char *) "self", NULL
32222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
32223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32227 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
32229 wxPyEndAllowThreads(__tstate
);
32230 if (PyErr_Occurred()) SWIG_fail
;
32232 resultobj
= SWIG_FromInt((int)result
);
32239 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32240 PyObject
*resultobj
;
32241 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32243 PyObject
* obj0
= 0 ;
32244 char *kwnames
[] = {
32245 (char *) "self", NULL
32248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
32249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32253 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
32255 wxPyEndAllowThreads(__tstate
);
32256 if (PyErr_Occurred()) SWIG_fail
;
32259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32267 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32268 PyObject
*resultobj
;
32269 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32272 PyObject
* obj0
= 0 ;
32273 PyObject
* obj1
= 0 ;
32274 char *kwnames
[] = {
32275 (char *) "self",(char *) "n", NULL
32278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
32279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32281 arg2
= (int) SWIG_AsInt(obj1
);
32282 if (PyErr_Occurred()) SWIG_fail
;
32284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32285 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
32287 wxPyEndAllowThreads(__tstate
);
32288 if (PyErr_Occurred()) SWIG_fail
;
32292 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32294 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32303 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32304 PyObject
*resultobj
;
32305 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32306 wxArrayString result
;
32307 PyObject
* obj0
= 0 ;
32308 char *kwnames
[] = {
32309 (char *) "self", NULL
32312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
32313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32317 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
32319 wxPyEndAllowThreads(__tstate
);
32320 if (PyErr_Occurred()) SWIG_fail
;
32323 resultobj
= wxArrayString2PyList_helper(result
);
32331 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32332 PyObject
*resultobj
;
32333 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32335 wxString
*arg3
= 0 ;
32336 bool temp3
= False
;
32337 PyObject
* obj0
= 0 ;
32338 PyObject
* obj1
= 0 ;
32339 PyObject
* obj2
= 0 ;
32340 char *kwnames
[] = {
32341 (char *) "self",(char *) "n",(char *) "s", NULL
32344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32347 arg2
= (int) SWIG_AsInt(obj1
);
32348 if (PyErr_Occurred()) SWIG_fail
;
32350 arg3
= wxString_in_helper(obj2
);
32351 if (arg3
== NULL
) SWIG_fail
;
32355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32356 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
32358 wxPyEndAllowThreads(__tstate
);
32359 if (PyErr_Occurred()) SWIG_fail
;
32361 Py_INCREF(Py_None
); resultobj
= Py_None
;
32376 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32377 PyObject
*resultobj
;
32378 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32379 wxString
*arg2
= 0 ;
32381 bool temp2
= False
;
32382 PyObject
* obj0
= 0 ;
32383 PyObject
* obj1
= 0 ;
32384 char *kwnames
[] = {
32385 (char *) "self",(char *) "s", NULL
32388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
32389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32392 arg2
= wxString_in_helper(obj1
);
32393 if (arg2
== NULL
) SWIG_fail
;
32397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32398 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
32400 wxPyEndAllowThreads(__tstate
);
32401 if (PyErr_Occurred()) SWIG_fail
;
32403 resultobj
= SWIG_FromInt((int)result
);
32418 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32419 PyObject
*resultobj
;
32420 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32422 PyObject
* obj0
= 0 ;
32423 PyObject
* obj1
= 0 ;
32424 char *kwnames
[] = {
32425 (char *) "self",(char *) "n", NULL
32428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
32429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32431 arg2
= (int) SWIG_AsInt(obj1
);
32432 if (PyErr_Occurred()) SWIG_fail
;
32434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32435 (arg1
)->Select(arg2
);
32437 wxPyEndAllowThreads(__tstate
);
32438 if (PyErr_Occurred()) SWIG_fail
;
32440 Py_INCREF(Py_None
); resultobj
= Py_None
;
32447 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32448 PyObject
*resultobj
;
32449 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32451 PyObject
* obj0
= 0 ;
32452 char *kwnames
[] = {
32453 (char *) "self", NULL
32456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
32457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32461 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
32463 wxPyEndAllowThreads(__tstate
);
32464 if (PyErr_Occurred()) SWIG_fail
;
32466 resultobj
= SWIG_FromInt((int)result
);
32473 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32474 PyObject
*resultobj
;
32475 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32477 PyObject
* obj0
= 0 ;
32478 char *kwnames
[] = {
32479 (char *) "self", NULL
32482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
32483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32487 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
32489 wxPyEndAllowThreads(__tstate
);
32490 if (PyErr_Occurred()) SWIG_fail
;
32494 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32496 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32505 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32506 PyObject
*resultobj
;
32507 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32510 PyObject
* obj0
= 0 ;
32511 PyObject
* obj1
= 0 ;
32512 char *kwnames
[] = {
32513 (char *) "self",(char *) "n", NULL
32516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
32517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32519 arg2
= (int) SWIG_AsInt(obj1
);
32520 if (PyErr_Occurred()) SWIG_fail
;
32522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32523 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
32525 wxPyEndAllowThreads(__tstate
);
32526 if (PyErr_Occurred()) SWIG_fail
;
32528 resultobj
= result
;
32535 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32536 PyObject
*resultobj
;
32537 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32539 PyObject
*arg3
= (PyObject
*) 0 ;
32540 PyObject
* obj0
= 0 ;
32541 PyObject
* obj1
= 0 ;
32542 PyObject
* obj2
= 0 ;
32543 char *kwnames
[] = {
32544 (char *) "self",(char *) "n",(char *) "clientData", NULL
32547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32550 arg2
= (int) SWIG_AsInt(obj1
);
32551 if (PyErr_Occurred()) SWIG_fail
;
32554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32555 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
32557 wxPyEndAllowThreads(__tstate
);
32558 if (PyErr_Occurred()) SWIG_fail
;
32560 Py_INCREF(Py_None
); resultobj
= Py_None
;
32567 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
32569 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32570 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
32572 return Py_BuildValue((char *)"");
32574 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
32576 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32577 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
32579 return Py_BuildValue((char *)"");
32581 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32582 PyObject
*resultobj
;
32583 wxSizerItem
*result
;
32584 char *kwnames
[] = {
32588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
32590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32591 result
= (wxSizerItem
*)new wxSizerItem();
32593 wxPyEndAllowThreads(__tstate
);
32594 if (PyErr_Occurred()) SWIG_fail
;
32596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
32603 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32604 PyObject
*resultobj
;
32610 wxObject
*arg6
= (wxObject
*) 0 ;
32611 wxSizerItem
*result
;
32612 PyObject
* obj0
= 0 ;
32613 PyObject
* obj1
= 0 ;
32614 PyObject
* obj2
= 0 ;
32615 PyObject
* obj3
= 0 ;
32616 PyObject
* obj4
= 0 ;
32617 PyObject
* obj5
= 0 ;
32618 char *kwnames
[] = {
32619 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32623 arg1
= (int) SWIG_AsInt(obj0
);
32624 if (PyErr_Occurred()) SWIG_fail
;
32625 arg2
= (int) SWIG_AsInt(obj1
);
32626 if (PyErr_Occurred()) SWIG_fail
;
32627 arg3
= (int) SWIG_AsInt(obj2
);
32628 if (PyErr_Occurred()) SWIG_fail
;
32629 arg4
= (int) SWIG_AsInt(obj3
);
32630 if (PyErr_Occurred()) SWIG_fail
;
32631 arg5
= (int) SWIG_AsInt(obj4
);
32632 if (PyErr_Occurred()) SWIG_fail
;
32633 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
32634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32637 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
32639 wxPyEndAllowThreads(__tstate
);
32640 if (PyErr_Occurred()) SWIG_fail
;
32642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
32649 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32650 PyObject
*resultobj
;
32651 wxWindow
*arg1
= (wxWindow
*) 0 ;
32655 wxObject
*arg5
= (wxObject
*) 0 ;
32656 wxSizerItem
*result
;
32657 PyObject
* obj0
= 0 ;
32658 PyObject
* obj1
= 0 ;
32659 PyObject
* obj2
= 0 ;
32660 PyObject
* obj3
= 0 ;
32661 PyObject
* obj4
= 0 ;
32662 char *kwnames
[] = {
32663 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
32668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32669 arg2
= (int) SWIG_AsInt(obj1
);
32670 if (PyErr_Occurred()) SWIG_fail
;
32671 arg3
= (int) SWIG_AsInt(obj2
);
32672 if (PyErr_Occurred()) SWIG_fail
;
32673 arg4
= (int) SWIG_AsInt(obj3
);
32674 if (PyErr_Occurred()) SWIG_fail
;
32675 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
32676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32679 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
32681 wxPyEndAllowThreads(__tstate
);
32682 if (PyErr_Occurred()) SWIG_fail
;
32684 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
32691 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32692 PyObject
*resultobj
;
32693 wxSizer
*arg1
= (wxSizer
*) 0 ;
32697 wxObject
*arg5
= (wxObject
*) 0 ;
32698 wxSizerItem
*result
;
32699 PyObject
* obj0
= 0 ;
32700 PyObject
* obj1
= 0 ;
32701 PyObject
* obj2
= 0 ;
32702 PyObject
* obj3
= 0 ;
32703 PyObject
* obj4
= 0 ;
32704 char *kwnames
[] = {
32705 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
32710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32711 arg2
= (int) SWIG_AsInt(obj1
);
32712 if (PyErr_Occurred()) SWIG_fail
;
32713 arg3
= (int) SWIG_AsInt(obj2
);
32714 if (PyErr_Occurred()) SWIG_fail
;
32715 arg4
= (int) SWIG_AsInt(obj3
);
32716 if (PyErr_Occurred()) SWIG_fail
;
32717 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
32718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32721 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
32723 wxPyEndAllowThreads(__tstate
);
32724 if (PyErr_Occurred()) SWIG_fail
;
32726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
32733 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32734 PyObject
*resultobj
;
32735 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32736 PyObject
* obj0
= 0 ;
32737 char *kwnames
[] = {
32738 (char *) "self", NULL
32741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
32742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32746 (arg1
)->DeleteWindows();
32748 wxPyEndAllowThreads(__tstate
);
32749 if (PyErr_Occurred()) SWIG_fail
;
32751 Py_INCREF(Py_None
); resultobj
= Py_None
;
32758 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32759 PyObject
*resultobj
;
32760 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32761 PyObject
* obj0
= 0 ;
32762 char *kwnames
[] = {
32763 (char *) "self", NULL
32766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
32767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32771 (arg1
)->DetachSizer();
32773 wxPyEndAllowThreads(__tstate
);
32774 if (PyErr_Occurred()) SWIG_fail
;
32776 Py_INCREF(Py_None
); resultobj
= Py_None
;
32783 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32784 PyObject
*resultobj
;
32785 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32787 PyObject
* obj0
= 0 ;
32788 char *kwnames
[] = {
32789 (char *) "self", NULL
32792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
32793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32797 result
= (arg1
)->GetSize();
32799 wxPyEndAllowThreads(__tstate
);
32800 if (PyErr_Occurred()) SWIG_fail
;
32803 wxSize
* resultptr
;
32804 resultptr
= new wxSize((wxSize
&) result
);
32805 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32813 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32814 PyObject
*resultobj
;
32815 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32817 PyObject
* obj0
= 0 ;
32818 char *kwnames
[] = {
32819 (char *) "self", NULL
32822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
32823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32827 result
= (arg1
)->CalcMin();
32829 wxPyEndAllowThreads(__tstate
);
32830 if (PyErr_Occurred()) SWIG_fail
;
32833 wxSize
* resultptr
;
32834 resultptr
= new wxSize((wxSize
&) result
);
32835 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32843 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32844 PyObject
*resultobj
;
32845 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32850 PyObject
* obj0
= 0 ;
32851 PyObject
* obj1
= 0 ;
32852 PyObject
* obj2
= 0 ;
32853 char *kwnames
[] = {
32854 (char *) "self",(char *) "pos",(char *) "size", NULL
32857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32860 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
32861 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
32863 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
32864 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
32867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32868 (arg1
)->SetDimension(arg2
,arg3
);
32870 wxPyEndAllowThreads(__tstate
);
32871 if (PyErr_Occurred()) SWIG_fail
;
32873 Py_INCREF(Py_None
); resultobj
= Py_None
;
32880 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32881 PyObject
*resultobj
;
32882 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32884 PyObject
* obj0
= 0 ;
32885 char *kwnames
[] = {
32886 (char *) "self", NULL
32889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
32890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32894 result
= (arg1
)->GetMinSize();
32896 wxPyEndAllowThreads(__tstate
);
32897 if (PyErr_Occurred()) SWIG_fail
;
32900 wxSize
* resultptr
;
32901 resultptr
= new wxSize((wxSize
&) result
);
32902 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32910 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32911 PyObject
*resultobj
;
32912 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32915 PyObject
* obj0
= 0 ;
32916 PyObject
* obj1
= 0 ;
32917 PyObject
* obj2
= 0 ;
32918 char *kwnames
[] = {
32919 (char *) "self",(char *) "x",(char *) "y", NULL
32922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32925 arg2
= (int) SWIG_AsInt(obj1
);
32926 if (PyErr_Occurred()) SWIG_fail
;
32927 arg3
= (int) SWIG_AsInt(obj2
);
32928 if (PyErr_Occurred()) SWIG_fail
;
32930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32931 (arg1
)->SetInitSize(arg2
,arg3
);
32933 wxPyEndAllowThreads(__tstate
);
32934 if (PyErr_Occurred()) SWIG_fail
;
32936 Py_INCREF(Py_None
); resultobj
= Py_None
;
32943 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32944 PyObject
*resultobj
;
32945 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32948 PyObject
* obj0
= 0 ;
32949 PyObject
* obj1
= 0 ;
32950 PyObject
* obj2
= 0 ;
32951 char *kwnames
[] = {
32952 (char *) "self",(char *) "width",(char *) "height", NULL
32955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32958 arg2
= (int) SWIG_AsInt(obj1
);
32959 if (PyErr_Occurred()) SWIG_fail
;
32960 arg3
= (int) SWIG_AsInt(obj2
);
32961 if (PyErr_Occurred()) SWIG_fail
;
32963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32964 (arg1
)->SetRatio(arg2
,arg3
);
32966 wxPyEndAllowThreads(__tstate
);
32967 if (PyErr_Occurred()) SWIG_fail
;
32969 Py_INCREF(Py_None
); resultobj
= Py_None
;
32976 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32977 PyObject
*resultobj
;
32978 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32981 PyObject
* obj0
= 0 ;
32982 PyObject
* obj1
= 0 ;
32983 char *kwnames
[] = {
32984 (char *) "self",(char *) "size", NULL
32987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
32988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32990 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
32991 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
32994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32995 (arg1
)->SetRatio(arg2
);
32997 wxPyEndAllowThreads(__tstate
);
32998 if (PyErr_Occurred()) SWIG_fail
;
33000 Py_INCREF(Py_None
); resultobj
= Py_None
;
33007 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33008 PyObject
*resultobj
;
33009 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33011 PyObject
* obj0
= 0 ;
33012 PyObject
* obj1
= 0 ;
33013 char *kwnames
[] = {
33014 (char *) "self",(char *) "ratio", NULL
33017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
33018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33020 arg2
= (float) SWIG_AsFloat(obj1
);
33021 if (PyErr_Occurred()) SWIG_fail
;
33023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33024 (arg1
)->SetRatio(arg2
);
33026 wxPyEndAllowThreads(__tstate
);
33027 if (PyErr_Occurred()) SWIG_fail
;
33029 Py_INCREF(Py_None
); resultobj
= Py_None
;
33036 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33037 PyObject
*resultobj
;
33038 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33040 PyObject
* obj0
= 0 ;
33041 char *kwnames
[] = {
33042 (char *) "self", NULL
33045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
33046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33050 result
= (float)(arg1
)->GetRatio();
33052 wxPyEndAllowThreads(__tstate
);
33053 if (PyErr_Occurred()) SWIG_fail
;
33055 resultobj
= SWIG_FromFloat((float)result
);
33062 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33063 PyObject
*resultobj
;
33064 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33066 PyObject
* obj0
= 0 ;
33067 char *kwnames
[] = {
33068 (char *) "self", NULL
33071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
33072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33076 result
= (bool)(arg1
)->IsWindow();
33078 wxPyEndAllowThreads(__tstate
);
33079 if (PyErr_Occurred()) SWIG_fail
;
33082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33090 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33091 PyObject
*resultobj
;
33092 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33094 PyObject
* obj0
= 0 ;
33095 char *kwnames
[] = {
33096 (char *) "self", NULL
33099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
33100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33104 result
= (bool)(arg1
)->IsSizer();
33106 wxPyEndAllowThreads(__tstate
);
33107 if (PyErr_Occurred()) SWIG_fail
;
33110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33118 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33119 PyObject
*resultobj
;
33120 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33122 PyObject
* obj0
= 0 ;
33123 char *kwnames
[] = {
33124 (char *) "self", NULL
33127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
33128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33132 result
= (bool)(arg1
)->IsSpacer();
33134 wxPyEndAllowThreads(__tstate
);
33135 if (PyErr_Occurred()) SWIG_fail
;
33138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33146 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33147 PyObject
*resultobj
;
33148 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33150 PyObject
* obj0
= 0 ;
33151 PyObject
* obj1
= 0 ;
33152 char *kwnames
[] = {
33153 (char *) "self",(char *) "proportion", NULL
33156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
33157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33159 arg2
= (int) SWIG_AsInt(obj1
);
33160 if (PyErr_Occurred()) SWIG_fail
;
33162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33163 (arg1
)->SetProportion(arg2
);
33165 wxPyEndAllowThreads(__tstate
);
33166 if (PyErr_Occurred()) SWIG_fail
;
33168 Py_INCREF(Py_None
); resultobj
= Py_None
;
33175 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33176 PyObject
*resultobj
;
33177 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33179 PyObject
* obj0
= 0 ;
33180 char *kwnames
[] = {
33181 (char *) "self", NULL
33184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
33185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33189 result
= (int)(arg1
)->GetProportion();
33191 wxPyEndAllowThreads(__tstate
);
33192 if (PyErr_Occurred()) SWIG_fail
;
33194 resultobj
= SWIG_FromInt((int)result
);
33201 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33202 PyObject
*resultobj
;
33203 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33205 PyObject
* obj0
= 0 ;
33206 PyObject
* obj1
= 0 ;
33207 char *kwnames
[] = {
33208 (char *) "self",(char *) "flag", NULL
33211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
33212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33214 arg2
= (int) SWIG_AsInt(obj1
);
33215 if (PyErr_Occurred()) SWIG_fail
;
33217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33218 (arg1
)->SetFlag(arg2
);
33220 wxPyEndAllowThreads(__tstate
);
33221 if (PyErr_Occurred()) SWIG_fail
;
33223 Py_INCREF(Py_None
); resultobj
= Py_None
;
33230 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33231 PyObject
*resultobj
;
33232 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33234 PyObject
* obj0
= 0 ;
33235 char *kwnames
[] = {
33236 (char *) "self", NULL
33239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
33240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33244 result
= (int)(arg1
)->GetFlag();
33246 wxPyEndAllowThreads(__tstate
);
33247 if (PyErr_Occurred()) SWIG_fail
;
33249 resultobj
= SWIG_FromInt((int)result
);
33256 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33257 PyObject
*resultobj
;
33258 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33260 PyObject
* obj0
= 0 ;
33261 PyObject
* obj1
= 0 ;
33262 char *kwnames
[] = {
33263 (char *) "self",(char *) "border", NULL
33266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
33267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33269 arg2
= (int) SWIG_AsInt(obj1
);
33270 if (PyErr_Occurred()) SWIG_fail
;
33272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33273 (arg1
)->SetBorder(arg2
);
33275 wxPyEndAllowThreads(__tstate
);
33276 if (PyErr_Occurred()) SWIG_fail
;
33278 Py_INCREF(Py_None
); resultobj
= Py_None
;
33285 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33286 PyObject
*resultobj
;
33287 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33289 PyObject
* obj0
= 0 ;
33290 char *kwnames
[] = {
33291 (char *) "self", NULL
33294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
33295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33299 result
= (int)(arg1
)->GetBorder();
33301 wxPyEndAllowThreads(__tstate
);
33302 if (PyErr_Occurred()) SWIG_fail
;
33304 resultobj
= SWIG_FromInt((int)result
);
33311 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33312 PyObject
*resultobj
;
33313 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33315 PyObject
* obj0
= 0 ;
33316 char *kwnames
[] = {
33317 (char *) "self", NULL
33320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
33321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33325 result
= (wxWindow
*)(arg1
)->GetWindow();
33327 wxPyEndAllowThreads(__tstate
);
33328 if (PyErr_Occurred()) SWIG_fail
;
33331 resultobj
= wxPyMake_wxObject(result
);
33339 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33340 PyObject
*resultobj
;
33341 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33342 wxWindow
*arg2
= (wxWindow
*) 0 ;
33343 PyObject
* obj0
= 0 ;
33344 PyObject
* obj1
= 0 ;
33345 char *kwnames
[] = {
33346 (char *) "self",(char *) "window", NULL
33349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
33350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33352 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
33353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33356 (arg1
)->SetWindow(arg2
);
33358 wxPyEndAllowThreads(__tstate
);
33359 if (PyErr_Occurred()) SWIG_fail
;
33361 Py_INCREF(Py_None
); resultobj
= Py_None
;
33368 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33369 PyObject
*resultobj
;
33370 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33372 PyObject
* obj0
= 0 ;
33373 char *kwnames
[] = {
33374 (char *) "self", NULL
33377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
33378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33382 result
= (wxSizer
*)(arg1
)->GetSizer();
33384 wxPyEndAllowThreads(__tstate
);
33385 if (PyErr_Occurred()) SWIG_fail
;
33388 resultobj
= wxPyMake_wxSizer(result
);
33396 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33397 PyObject
*resultobj
;
33398 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33399 wxSizer
*arg2
= (wxSizer
*) 0 ;
33400 PyObject
* obj0
= 0 ;
33401 PyObject
* obj1
= 0 ;
33402 char *kwnames
[] = {
33403 (char *) "self",(char *) "sizer", NULL
33406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
33407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33409 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
33410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33413 (arg1
)->SetSizer(arg2
);
33415 wxPyEndAllowThreads(__tstate
);
33416 if (PyErr_Occurred()) SWIG_fail
;
33418 Py_INCREF(Py_None
); resultobj
= Py_None
;
33425 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33426 PyObject
*resultobj
;
33427 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33429 PyObject
* obj0
= 0 ;
33430 char *kwnames
[] = {
33431 (char *) "self", NULL
33434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
33435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33440 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
33441 result
= (wxSize
*) &_result_ref
;
33444 wxPyEndAllowThreads(__tstate
);
33445 if (PyErr_Occurred()) SWIG_fail
;
33447 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
33454 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33455 PyObject
*resultobj
;
33456 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33459 PyObject
* obj0
= 0 ;
33460 PyObject
* obj1
= 0 ;
33461 char *kwnames
[] = {
33462 (char *) "self",(char *) "size", NULL
33465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
33466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33470 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33474 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
33476 wxPyEndAllowThreads(__tstate
);
33477 if (PyErr_Occurred()) SWIG_fail
;
33479 Py_INCREF(Py_None
); resultobj
= Py_None
;
33486 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33487 PyObject
*resultobj
;
33488 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33490 PyObject
* obj0
= 0 ;
33491 PyObject
* obj1
= 0 ;
33492 char *kwnames
[] = {
33493 (char *) "self",(char *) "show", NULL
33496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
33497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33499 arg2
= (bool) SWIG_AsBool(obj1
);
33500 if (PyErr_Occurred()) SWIG_fail
;
33502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33503 (arg1
)->Show(arg2
);
33505 wxPyEndAllowThreads(__tstate
);
33506 if (PyErr_Occurred()) SWIG_fail
;
33508 Py_INCREF(Py_None
); resultobj
= Py_None
;
33515 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33516 PyObject
*resultobj
;
33517 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33519 PyObject
* obj0
= 0 ;
33520 char *kwnames
[] = {
33521 (char *) "self", NULL
33524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
33525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33529 result
= (bool)(arg1
)->IsShown();
33531 wxPyEndAllowThreads(__tstate
);
33532 if (PyErr_Occurred()) SWIG_fail
;
33535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33543 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33544 PyObject
*resultobj
;
33545 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33547 PyObject
* obj0
= 0 ;
33548 char *kwnames
[] = {
33549 (char *) "self", NULL
33552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
33553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33557 result
= (arg1
)->GetPosition();
33559 wxPyEndAllowThreads(__tstate
);
33560 if (PyErr_Occurred()) SWIG_fail
;
33563 wxPoint
* resultptr
;
33564 resultptr
= new wxPoint((wxPoint
&) result
);
33565 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
33573 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33574 PyObject
*resultobj
;
33575 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33577 PyObject
* obj0
= 0 ;
33578 char *kwnames
[] = {
33579 (char *) "self", NULL
33582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
33583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33587 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
33589 wxPyEndAllowThreads(__tstate
);
33590 if (PyErr_Occurred()) SWIG_fail
;
33592 resultobj
= result
;
33599 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
33601 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33602 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
33604 return Py_BuildValue((char *)"");
33606 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33607 PyObject
*resultobj
;
33608 wxSizer
*arg1
= (wxSizer
*) 0 ;
33609 PyObject
*arg2
= (PyObject
*) 0 ;
33610 PyObject
* obj0
= 0 ;
33611 PyObject
* obj1
= 0 ;
33612 char *kwnames
[] = {
33613 (char *) "self",(char *) "_self", NULL
33616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
33617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33622 wxSizer__setOORInfo(arg1
,arg2
);
33624 wxPyEndAllowThreads(__tstate
);
33625 if (PyErr_Occurred()) SWIG_fail
;
33627 Py_INCREF(Py_None
); resultobj
= Py_None
;
33634 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33635 PyObject
*resultobj
;
33636 wxSizer
*arg1
= (wxSizer
*) 0 ;
33637 PyObject
*arg2
= (PyObject
*) 0 ;
33638 int arg3
= (int) 0 ;
33639 int arg4
= (int) 0 ;
33640 int arg5
= (int) 0 ;
33641 PyObject
*arg6
= (PyObject
*) NULL
;
33642 PyObject
* obj0
= 0 ;
33643 PyObject
* obj1
= 0 ;
33644 PyObject
* obj2
= 0 ;
33645 PyObject
* obj3
= 0 ;
33646 PyObject
* obj4
= 0 ;
33647 PyObject
* obj5
= 0 ;
33648 char *kwnames
[] = {
33649 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33657 arg3
= (int) SWIG_AsInt(obj2
);
33658 if (PyErr_Occurred()) SWIG_fail
;
33661 arg4
= (int) SWIG_AsInt(obj3
);
33662 if (PyErr_Occurred()) SWIG_fail
;
33665 arg5
= (int) SWIG_AsInt(obj4
);
33666 if (PyErr_Occurred()) SWIG_fail
;
33672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33673 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
33675 wxPyEndAllowThreads(__tstate
);
33676 if (PyErr_Occurred()) SWIG_fail
;
33678 Py_INCREF(Py_None
); resultobj
= Py_None
;
33685 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33686 PyObject
*resultobj
;
33687 wxSizer
*arg1
= (wxSizer
*) 0 ;
33689 PyObject
*arg3
= (PyObject
*) 0 ;
33690 int arg4
= (int) 0 ;
33691 int arg5
= (int) 0 ;
33692 int arg6
= (int) 0 ;
33693 PyObject
*arg7
= (PyObject
*) NULL
;
33694 PyObject
* obj0
= 0 ;
33695 PyObject
* obj1
= 0 ;
33696 PyObject
* obj2
= 0 ;
33697 PyObject
* obj3
= 0 ;
33698 PyObject
* obj4
= 0 ;
33699 PyObject
* obj5
= 0 ;
33700 PyObject
* obj6
= 0 ;
33701 char *kwnames
[] = {
33702 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
33706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33708 arg2
= (int) SWIG_AsInt(obj1
);
33709 if (PyErr_Occurred()) SWIG_fail
;
33712 arg4
= (int) SWIG_AsInt(obj3
);
33713 if (PyErr_Occurred()) SWIG_fail
;
33716 arg5
= (int) SWIG_AsInt(obj4
);
33717 if (PyErr_Occurred()) SWIG_fail
;
33720 arg6
= (int) SWIG_AsInt(obj5
);
33721 if (PyErr_Occurred()) SWIG_fail
;
33727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33728 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
33730 wxPyEndAllowThreads(__tstate
);
33731 if (PyErr_Occurred()) SWIG_fail
;
33733 Py_INCREF(Py_None
); resultobj
= Py_None
;
33740 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33741 PyObject
*resultobj
;
33742 wxSizer
*arg1
= (wxSizer
*) 0 ;
33743 PyObject
*arg2
= (PyObject
*) 0 ;
33744 int arg3
= (int) 0 ;
33745 int arg4
= (int) 0 ;
33746 int arg5
= (int) 0 ;
33747 PyObject
*arg6
= (PyObject
*) NULL
;
33748 PyObject
* obj0
= 0 ;
33749 PyObject
* obj1
= 0 ;
33750 PyObject
* obj2
= 0 ;
33751 PyObject
* obj3
= 0 ;
33752 PyObject
* obj4
= 0 ;
33753 PyObject
* obj5
= 0 ;
33754 char *kwnames
[] = {
33755 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33763 arg3
= (int) SWIG_AsInt(obj2
);
33764 if (PyErr_Occurred()) SWIG_fail
;
33767 arg4
= (int) SWIG_AsInt(obj3
);
33768 if (PyErr_Occurred()) SWIG_fail
;
33771 arg5
= (int) SWIG_AsInt(obj4
);
33772 if (PyErr_Occurred()) SWIG_fail
;
33778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33779 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
33781 wxPyEndAllowThreads(__tstate
);
33782 if (PyErr_Occurred()) SWIG_fail
;
33784 Py_INCREF(Py_None
); resultobj
= Py_None
;
33791 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33792 PyObject
*resultobj
;
33793 wxSizer
*arg1
= (wxSizer
*) 0 ;
33794 PyObject
*arg2
= (PyObject
*) 0 ;
33796 PyObject
* obj0
= 0 ;
33797 PyObject
* obj1
= 0 ;
33798 char *kwnames
[] = {
33799 (char *) "self",(char *) "item", NULL
33802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
33803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33808 result
= (bool)wxSizer_Remove(arg1
,arg2
);
33810 wxPyEndAllowThreads(__tstate
);
33811 if (PyErr_Occurred()) SWIG_fail
;
33814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33822 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33823 PyObject
*resultobj
;
33824 wxSizer
*arg1
= (wxSizer
*) 0 ;
33825 PyObject
*arg2
= (PyObject
*) 0 ;
33828 PyObject
* obj0
= 0 ;
33829 PyObject
* obj1
= 0 ;
33830 PyObject
* obj2
= 0 ;
33831 char *kwnames
[] = {
33832 (char *) "self",(char *) "item",(char *) "size", NULL
33835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33841 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
33844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33845 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
33847 wxPyEndAllowThreads(__tstate
);
33848 if (PyErr_Occurred()) SWIG_fail
;
33850 Py_INCREF(Py_None
); resultobj
= Py_None
;
33857 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33858 PyObject
*resultobj
;
33859 wxSizer
*arg1
= (wxSizer
*) 0 ;
33860 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
33861 PyObject
* obj0
= 0 ;
33862 PyObject
* obj1
= 0 ;
33863 char *kwnames
[] = {
33864 (char *) "self",(char *) "item", NULL
33867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33870 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
33871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33876 wxPyEndAllowThreads(__tstate
);
33877 if (PyErr_Occurred()) SWIG_fail
;
33879 Py_INCREF(Py_None
); resultobj
= Py_None
;
33886 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33887 PyObject
*resultobj
;
33888 wxSizer
*arg1
= (wxSizer
*) 0 ;
33890 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
33891 PyObject
* obj0
= 0 ;
33892 PyObject
* obj1
= 0 ;
33893 PyObject
* obj2
= 0 ;
33894 char *kwnames
[] = {
33895 (char *) "self",(char *) "index",(char *) "item", NULL
33898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33901 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
33902 if (PyErr_Occurred()) SWIG_fail
;
33903 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
33904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33907 (arg1
)->Insert(arg2
,arg3
);
33909 wxPyEndAllowThreads(__tstate
);
33910 if (PyErr_Occurred()) SWIG_fail
;
33912 Py_INCREF(Py_None
); resultobj
= Py_None
;
33919 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33920 PyObject
*resultobj
;
33921 wxSizer
*arg1
= (wxSizer
*) 0 ;
33922 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
33923 PyObject
* obj0
= 0 ;
33924 PyObject
* obj1
= 0 ;
33925 char *kwnames
[] = {
33926 (char *) "self",(char *) "item", NULL
33929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33932 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
33933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33936 (arg1
)->Prepend(arg2
);
33938 wxPyEndAllowThreads(__tstate
);
33939 if (PyErr_Occurred()) SWIG_fail
;
33941 Py_INCREF(Py_None
); resultobj
= Py_None
;
33948 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33949 PyObject
*resultobj
;
33950 wxSizer
*arg1
= (wxSizer
*) 0 ;
33955 PyObject
* obj0
= 0 ;
33956 PyObject
* obj1
= 0 ;
33957 PyObject
* obj2
= 0 ;
33958 PyObject
* obj3
= 0 ;
33959 PyObject
* obj4
= 0 ;
33960 char *kwnames
[] = {
33961 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33967 arg2
= (int) SWIG_AsInt(obj1
);
33968 if (PyErr_Occurred()) SWIG_fail
;
33969 arg3
= (int) SWIG_AsInt(obj2
);
33970 if (PyErr_Occurred()) SWIG_fail
;
33971 arg4
= (int) SWIG_AsInt(obj3
);
33972 if (PyErr_Occurred()) SWIG_fail
;
33973 arg5
= (int) SWIG_AsInt(obj4
);
33974 if (PyErr_Occurred()) SWIG_fail
;
33976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33977 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
33979 wxPyEndAllowThreads(__tstate
);
33980 if (PyErr_Occurred()) SWIG_fail
;
33982 Py_INCREF(Py_None
); resultobj
= Py_None
;
33989 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33990 PyObject
*resultobj
;
33991 wxSizer
*arg1
= (wxSizer
*) 0 ;
33994 PyObject
* obj0
= 0 ;
33995 PyObject
* obj1
= 0 ;
33996 char *kwnames
[] = {
33997 (char *) "self",(char *) "size", NULL
34000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
34001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34005 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
34008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34009 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
34011 wxPyEndAllowThreads(__tstate
);
34012 if (PyErr_Occurred()) SWIG_fail
;
34014 Py_INCREF(Py_None
); resultobj
= Py_None
;
34021 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34022 PyObject
*resultobj
;
34023 wxSizer
*arg1
= (wxSizer
*) 0 ;
34025 PyObject
* obj0
= 0 ;
34026 char *kwnames
[] = {
34027 (char *) "self", NULL
34030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
34031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34035 result
= (arg1
)->GetSize();
34037 wxPyEndAllowThreads(__tstate
);
34038 if (PyErr_Occurred()) SWIG_fail
;
34041 wxSize
* resultptr
;
34042 resultptr
= new wxSize((wxSize
&) result
);
34043 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34051 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34052 PyObject
*resultobj
;
34053 wxSizer
*arg1
= (wxSizer
*) 0 ;
34055 PyObject
* obj0
= 0 ;
34056 char *kwnames
[] = {
34057 (char *) "self", NULL
34060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
34061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34065 result
= (arg1
)->GetPosition();
34067 wxPyEndAllowThreads(__tstate
);
34068 if (PyErr_Occurred()) SWIG_fail
;
34071 wxPoint
* resultptr
;
34072 resultptr
= new wxPoint((wxPoint
&) result
);
34073 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
34081 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34082 PyObject
*resultobj
;
34083 wxSizer
*arg1
= (wxSizer
*) 0 ;
34085 PyObject
* obj0
= 0 ;
34086 char *kwnames
[] = {
34087 (char *) "self", NULL
34090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
34091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34095 result
= (arg1
)->GetMinSize();
34097 wxPyEndAllowThreads(__tstate
);
34098 if (PyErr_Occurred()) SWIG_fail
;
34101 wxSize
* resultptr
;
34102 resultptr
= new wxSize((wxSize
&) result
);
34103 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34111 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34112 PyObject
*resultobj
;
34113 wxSizer
*arg1
= (wxSizer
*) 0 ;
34114 PyObject
* obj0
= 0 ;
34115 char *kwnames
[] = {
34116 (char *) "self", NULL
34119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34124 (arg1
)->RecalcSizes();
34126 wxPyEndAllowThreads(__tstate
);
34127 if (PyErr_Occurred()) SWIG_fail
;
34129 Py_INCREF(Py_None
); resultobj
= Py_None
;
34136 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34137 PyObject
*resultobj
;
34138 wxSizer
*arg1
= (wxSizer
*) 0 ;
34140 PyObject
* obj0
= 0 ;
34141 char *kwnames
[] = {
34142 (char *) "self", NULL
34145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34150 result
= (arg1
)->CalcMin();
34152 wxPyEndAllowThreads(__tstate
);
34153 if (PyErr_Occurred()) SWIG_fail
;
34156 wxSize
* resultptr
;
34157 resultptr
= new wxSize((wxSize
&) result
);
34158 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34166 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34167 PyObject
*resultobj
;
34168 wxSizer
*arg1
= (wxSizer
*) 0 ;
34169 PyObject
* obj0
= 0 ;
34170 char *kwnames
[] = {
34171 (char *) "self", NULL
34174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
34175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34181 wxPyEndAllowThreads(__tstate
);
34182 if (PyErr_Occurred()) SWIG_fail
;
34184 Py_INCREF(Py_None
); resultobj
= Py_None
;
34191 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34192 PyObject
*resultobj
;
34193 wxSizer
*arg1
= (wxSizer
*) 0 ;
34194 wxWindow
*arg2
= (wxWindow
*) 0 ;
34196 PyObject
* obj0
= 0 ;
34197 PyObject
* obj1
= 0 ;
34198 char *kwnames
[] = {
34199 (char *) "self",(char *) "window", NULL
34202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
34203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34205 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34209 result
= (arg1
)->Fit(arg2
);
34211 wxPyEndAllowThreads(__tstate
);
34212 if (PyErr_Occurred()) SWIG_fail
;
34215 wxSize
* resultptr
;
34216 resultptr
= new wxSize((wxSize
&) result
);
34217 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34225 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34226 PyObject
*resultobj
;
34227 wxSizer
*arg1
= (wxSizer
*) 0 ;
34228 wxWindow
*arg2
= (wxWindow
*) 0 ;
34229 PyObject
* obj0
= 0 ;
34230 PyObject
* obj1
= 0 ;
34231 char *kwnames
[] = {
34232 (char *) "self",(char *) "window", NULL
34235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
34236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34238 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34242 (arg1
)->FitInside(arg2
);
34244 wxPyEndAllowThreads(__tstate
);
34245 if (PyErr_Occurred()) SWIG_fail
;
34247 Py_INCREF(Py_None
); resultobj
= Py_None
;
34254 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34255 PyObject
*resultobj
;
34256 wxSizer
*arg1
= (wxSizer
*) 0 ;
34257 wxWindow
*arg2
= (wxWindow
*) 0 ;
34258 PyObject
* obj0
= 0 ;
34259 PyObject
* obj1
= 0 ;
34260 char *kwnames
[] = {
34261 (char *) "self",(char *) "window", NULL
34264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
34265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34267 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34271 (arg1
)->SetSizeHints(arg2
);
34273 wxPyEndAllowThreads(__tstate
);
34274 if (PyErr_Occurred()) SWIG_fail
;
34276 Py_INCREF(Py_None
); resultobj
= Py_None
;
34283 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34284 PyObject
*resultobj
;
34285 wxSizer
*arg1
= (wxSizer
*) 0 ;
34286 wxWindow
*arg2
= (wxWindow
*) 0 ;
34287 PyObject
* obj0
= 0 ;
34288 PyObject
* obj1
= 0 ;
34289 char *kwnames
[] = {
34290 (char *) "self",(char *) "window", NULL
34293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
34294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34296 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34300 (arg1
)->SetVirtualSizeHints(arg2
);
34302 wxPyEndAllowThreads(__tstate
);
34303 if (PyErr_Occurred()) SWIG_fail
;
34305 Py_INCREF(Py_None
); resultobj
= Py_None
;
34312 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34313 PyObject
*resultobj
;
34314 wxSizer
*arg1
= (wxSizer
*) 0 ;
34315 bool arg2
= (bool) False
;
34316 PyObject
* obj0
= 0 ;
34317 PyObject
* obj1
= 0 ;
34318 char *kwnames
[] = {
34319 (char *) "self",(char *) "delete_windows", NULL
34322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
34323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34326 arg2
= (bool) SWIG_AsBool(obj1
);
34327 if (PyErr_Occurred()) SWIG_fail
;
34330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34331 (arg1
)->Clear(arg2
);
34333 wxPyEndAllowThreads(__tstate
);
34334 if (PyErr_Occurred()) SWIG_fail
;
34336 Py_INCREF(Py_None
); resultobj
= Py_None
;
34343 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34344 PyObject
*resultobj
;
34345 wxSizer
*arg1
= (wxSizer
*) 0 ;
34346 PyObject
* obj0
= 0 ;
34347 char *kwnames
[] = {
34348 (char *) "self", NULL
34351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
34352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34356 (arg1
)->DeleteWindows();
34358 wxPyEndAllowThreads(__tstate
);
34359 if (PyErr_Occurred()) SWIG_fail
;
34361 Py_INCREF(Py_None
); resultobj
= Py_None
;
34368 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34369 PyObject
*resultobj
;
34370 wxSizer
*arg1
= (wxSizer
*) 0 ;
34372 PyObject
* obj0
= 0 ;
34373 char *kwnames
[] = {
34374 (char *) "self", NULL
34377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
34378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34382 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
34384 wxPyEndAllowThreads(__tstate
);
34385 if (PyErr_Occurred()) SWIG_fail
;
34387 resultobj
= result
;
34394 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34395 PyObject
*resultobj
;
34396 wxSizer
*arg1
= (wxSizer
*) 0 ;
34397 PyObject
*arg2
= (PyObject
*) 0 ;
34398 bool arg3
= (bool) True
;
34399 PyObject
* obj0
= 0 ;
34400 PyObject
* obj1
= 0 ;
34401 PyObject
* obj2
= 0 ;
34402 char *kwnames
[] = {
34403 (char *) "self",(char *) "item",(char *) "show", NULL
34406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34411 arg3
= (bool) SWIG_AsBool(obj2
);
34412 if (PyErr_Occurred()) SWIG_fail
;
34415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34416 wxSizer_Show(arg1
,arg2
,arg3
);
34418 wxPyEndAllowThreads(__tstate
);
34419 if (PyErr_Occurred()) SWIG_fail
;
34421 Py_INCREF(Py_None
); resultobj
= Py_None
;
34428 static PyObject
*_wrap_Sizer_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34429 PyObject
*resultobj
;
34430 wxSizer
*arg1
= (wxSizer
*) 0 ;
34431 PyObject
*arg2
= (PyObject
*) 0 ;
34432 PyObject
* obj0
= 0 ;
34433 PyObject
* obj1
= 0 ;
34434 char *kwnames
[] = {
34435 (char *) "self",(char *) "item", NULL
34438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Hide",kwnames
,&obj0
,&obj1
)) goto fail
;
34439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34444 wxSizer_Hide(arg1
,arg2
);
34446 wxPyEndAllowThreads(__tstate
);
34447 if (PyErr_Occurred()) SWIG_fail
;
34449 Py_INCREF(Py_None
); resultobj
= Py_None
;
34456 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34457 PyObject
*resultobj
;
34458 wxSizer
*arg1
= (wxSizer
*) 0 ;
34459 PyObject
*arg2
= (PyObject
*) 0 ;
34461 PyObject
* obj0
= 0 ;
34462 PyObject
* obj1
= 0 ;
34463 char *kwnames
[] = {
34464 (char *) "self",(char *) "item", NULL
34467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
34468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34473 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
34475 wxPyEndAllowThreads(__tstate
);
34476 if (PyErr_Occurred()) SWIG_fail
;
34479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34487 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34488 PyObject
*resultobj
;
34489 wxSizer
*arg1
= (wxSizer
*) 0 ;
34491 PyObject
* obj0
= 0 ;
34492 PyObject
* obj1
= 0 ;
34493 char *kwnames
[] = {
34494 (char *) "self",(char *) "show", NULL
34497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
34498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34500 arg2
= (bool) SWIG_AsBool(obj1
);
34501 if (PyErr_Occurred()) SWIG_fail
;
34503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34504 (arg1
)->ShowItems(arg2
);
34506 wxPyEndAllowThreads(__tstate
);
34507 if (PyErr_Occurred()) SWIG_fail
;
34509 Py_INCREF(Py_None
); resultobj
= Py_None
;
34516 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
34518 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34519 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
34521 return Py_BuildValue((char *)"");
34523 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34524 PyObject
*resultobj
;
34526 char *kwnames
[] = {
34530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
34532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34533 result
= (wxPySizer
*)new wxPySizer();
34535 wxPyEndAllowThreads(__tstate
);
34536 if (PyErr_Occurred()) SWIG_fail
;
34538 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
34545 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34546 PyObject
*resultobj
;
34547 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
34548 PyObject
*arg2
= (PyObject
*) 0 ;
34549 PyObject
*arg3
= (PyObject
*) 0 ;
34550 PyObject
* obj0
= 0 ;
34551 PyObject
* obj1
= 0 ;
34552 PyObject
* obj2
= 0 ;
34553 char *kwnames
[] = {
34554 (char *) "self",(char *) "self",(char *) "_class", NULL
34557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
34559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34564 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34566 wxPyEndAllowThreads(__tstate
);
34567 if (PyErr_Occurred()) SWIG_fail
;
34569 Py_INCREF(Py_None
); resultobj
= Py_None
;
34576 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
34578 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34579 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
34581 return Py_BuildValue((char *)"");
34583 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34584 PyObject
*resultobj
;
34585 int arg1
= (int) wxHORIZONTAL
;
34586 wxBoxSizer
*result
;
34587 PyObject
* obj0
= 0 ;
34588 char *kwnames
[] = {
34589 (char *) "orient", NULL
34592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
34594 arg1
= (int) SWIG_AsInt(obj0
);
34595 if (PyErr_Occurred()) SWIG_fail
;
34598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34599 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
34601 wxPyEndAllowThreads(__tstate
);
34602 if (PyErr_Occurred()) SWIG_fail
;
34604 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
34611 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34612 PyObject
*resultobj
;
34613 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
34615 PyObject
* obj0
= 0 ;
34616 char *kwnames
[] = {
34617 (char *) "self", NULL
34620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
34621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
34622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34625 result
= (int)(arg1
)->GetOrientation();
34627 wxPyEndAllowThreads(__tstate
);
34628 if (PyErr_Occurred()) SWIG_fail
;
34630 resultobj
= SWIG_FromInt((int)result
);
34637 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34638 PyObject
*resultobj
;
34639 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
34641 PyObject
* obj0
= 0 ;
34642 PyObject
* obj1
= 0 ;
34643 char *kwnames
[] = {
34644 (char *) "self",(char *) "orient", NULL
34647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
34648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
34649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34650 arg2
= (int) SWIG_AsInt(obj1
);
34651 if (PyErr_Occurred()) SWIG_fail
;
34653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34654 (arg1
)->SetOrientation(arg2
);
34656 wxPyEndAllowThreads(__tstate
);
34657 if (PyErr_Occurred()) SWIG_fail
;
34659 Py_INCREF(Py_None
); resultobj
= Py_None
;
34666 static PyObject
*_wrap_BoxSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34667 PyObject
*resultobj
;
34668 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
34669 PyObject
* obj0
= 0 ;
34670 char *kwnames
[] = {
34671 (char *) "self", NULL
34674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
34676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34679 (arg1
)->RecalcSizes();
34681 wxPyEndAllowThreads(__tstate
);
34682 if (PyErr_Occurred()) SWIG_fail
;
34684 Py_INCREF(Py_None
); resultobj
= Py_None
;
34691 static PyObject
*_wrap_BoxSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34692 PyObject
*resultobj
;
34693 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
34695 PyObject
* obj0
= 0 ;
34696 char *kwnames
[] = {
34697 (char *) "self", NULL
34700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
34702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34705 result
= (arg1
)->CalcMin();
34707 wxPyEndAllowThreads(__tstate
);
34708 if (PyErr_Occurred()) SWIG_fail
;
34711 wxSize
* resultptr
;
34712 resultptr
= new wxSize((wxSize
&) result
);
34713 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34721 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
34723 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34724 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
34726 return Py_BuildValue((char *)"");
34728 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34729 PyObject
*resultobj
;
34730 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
34731 int arg2
= (int) wxHORIZONTAL
;
34732 wxStaticBoxSizer
*result
;
34733 PyObject
* obj0
= 0 ;
34734 PyObject
* obj1
= 0 ;
34735 char *kwnames
[] = {
34736 (char *) "box",(char *) "orient", NULL
34739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
34740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
34741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34743 arg2
= (int) SWIG_AsInt(obj1
);
34744 if (PyErr_Occurred()) SWIG_fail
;
34747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34748 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
34750 wxPyEndAllowThreads(__tstate
);
34751 if (PyErr_Occurred()) SWIG_fail
;
34753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
34760 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34761 PyObject
*resultobj
;
34762 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
34763 wxStaticBox
*result
;
34764 PyObject
* obj0
= 0 ;
34765 char *kwnames
[] = {
34766 (char *) "self", NULL
34769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
34770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
34771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34774 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
34776 wxPyEndAllowThreads(__tstate
);
34777 if (PyErr_Occurred()) SWIG_fail
;
34780 resultobj
= wxPyMake_wxObject(result
);
34788 static PyObject
*_wrap_StaticBoxSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34789 PyObject
*resultobj
;
34790 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
34791 PyObject
* obj0
= 0 ;
34792 char *kwnames
[] = {
34793 (char *) "self", NULL
34796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
34798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34801 (arg1
)->RecalcSizes();
34803 wxPyEndAllowThreads(__tstate
);
34804 if (PyErr_Occurred()) SWIG_fail
;
34806 Py_INCREF(Py_None
); resultobj
= Py_None
;
34813 static PyObject
*_wrap_StaticBoxSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34814 PyObject
*resultobj
;
34815 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
34817 PyObject
* obj0
= 0 ;
34818 char *kwnames
[] = {
34819 (char *) "self", NULL
34822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
34824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34827 result
= (arg1
)->CalcMin();
34829 wxPyEndAllowThreads(__tstate
);
34830 if (PyErr_Occurred()) SWIG_fail
;
34833 wxSize
* resultptr
;
34834 resultptr
= new wxSize((wxSize
&) result
);
34835 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34843 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
34845 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34846 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
34848 return Py_BuildValue((char *)"");
34850 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34851 PyObject
*resultobj
;
34852 int arg1
= (int) 1 ;
34853 int arg2
= (int) 0 ;
34854 int arg3
= (int) 0 ;
34855 int arg4
= (int) 0 ;
34856 wxGridSizer
*result
;
34857 PyObject
* obj0
= 0 ;
34858 PyObject
* obj1
= 0 ;
34859 PyObject
* obj2
= 0 ;
34860 PyObject
* obj3
= 0 ;
34861 char *kwnames
[] = {
34862 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
34865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34867 arg1
= (int) SWIG_AsInt(obj0
);
34868 if (PyErr_Occurred()) SWIG_fail
;
34871 arg2
= (int) SWIG_AsInt(obj1
);
34872 if (PyErr_Occurred()) SWIG_fail
;
34875 arg3
= (int) SWIG_AsInt(obj2
);
34876 if (PyErr_Occurred()) SWIG_fail
;
34879 arg4
= (int) SWIG_AsInt(obj3
);
34880 if (PyErr_Occurred()) SWIG_fail
;
34883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34884 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
34886 wxPyEndAllowThreads(__tstate
);
34887 if (PyErr_Occurred()) SWIG_fail
;
34889 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
34896 static PyObject
*_wrap_GridSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34897 PyObject
*resultobj
;
34898 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34899 PyObject
* obj0
= 0 ;
34900 char *kwnames
[] = {
34901 (char *) "self", NULL
34904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
34906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34909 (arg1
)->RecalcSizes();
34911 wxPyEndAllowThreads(__tstate
);
34912 if (PyErr_Occurred()) SWIG_fail
;
34914 Py_INCREF(Py_None
); resultobj
= Py_None
;
34921 static PyObject
*_wrap_GridSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34922 PyObject
*resultobj
;
34923 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34925 PyObject
* obj0
= 0 ;
34926 char *kwnames
[] = {
34927 (char *) "self", NULL
34930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
34932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34935 result
= (arg1
)->CalcMin();
34937 wxPyEndAllowThreads(__tstate
);
34938 if (PyErr_Occurred()) SWIG_fail
;
34941 wxSize
* resultptr
;
34942 resultptr
= new wxSize((wxSize
&) result
);
34943 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34951 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34952 PyObject
*resultobj
;
34953 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34955 PyObject
* obj0
= 0 ;
34956 PyObject
* obj1
= 0 ;
34957 char *kwnames
[] = {
34958 (char *) "self",(char *) "cols", NULL
34961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
34962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
34963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34964 arg2
= (int) SWIG_AsInt(obj1
);
34965 if (PyErr_Occurred()) SWIG_fail
;
34967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34968 (arg1
)->SetCols(arg2
);
34970 wxPyEndAllowThreads(__tstate
);
34971 if (PyErr_Occurred()) SWIG_fail
;
34973 Py_INCREF(Py_None
); resultobj
= Py_None
;
34980 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34981 PyObject
*resultobj
;
34982 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34984 PyObject
* obj0
= 0 ;
34985 PyObject
* obj1
= 0 ;
34986 char *kwnames
[] = {
34987 (char *) "self",(char *) "rows", NULL
34990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
34991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
34992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34993 arg2
= (int) SWIG_AsInt(obj1
);
34994 if (PyErr_Occurred()) SWIG_fail
;
34996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34997 (arg1
)->SetRows(arg2
);
34999 wxPyEndAllowThreads(__tstate
);
35000 if (PyErr_Occurred()) SWIG_fail
;
35002 Py_INCREF(Py_None
); resultobj
= Py_None
;
35009 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35010 PyObject
*resultobj
;
35011 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35013 PyObject
* obj0
= 0 ;
35014 PyObject
* obj1
= 0 ;
35015 char *kwnames
[] = {
35016 (char *) "self",(char *) "gap", NULL
35019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
35020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35022 arg2
= (int) SWIG_AsInt(obj1
);
35023 if (PyErr_Occurred()) SWIG_fail
;
35025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35026 (arg1
)->SetVGap(arg2
);
35028 wxPyEndAllowThreads(__tstate
);
35029 if (PyErr_Occurred()) SWIG_fail
;
35031 Py_INCREF(Py_None
); resultobj
= Py_None
;
35038 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35039 PyObject
*resultobj
;
35040 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35042 PyObject
* obj0
= 0 ;
35043 PyObject
* obj1
= 0 ;
35044 char *kwnames
[] = {
35045 (char *) "self",(char *) "gap", NULL
35048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
35049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35051 arg2
= (int) SWIG_AsInt(obj1
);
35052 if (PyErr_Occurred()) SWIG_fail
;
35054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35055 (arg1
)->SetHGap(arg2
);
35057 wxPyEndAllowThreads(__tstate
);
35058 if (PyErr_Occurred()) SWIG_fail
;
35060 Py_INCREF(Py_None
); resultobj
= Py_None
;
35067 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35068 PyObject
*resultobj
;
35069 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35071 PyObject
* obj0
= 0 ;
35072 char *kwnames
[] = {
35073 (char *) "self", NULL
35076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
35077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35081 result
= (int)(arg1
)->GetCols();
35083 wxPyEndAllowThreads(__tstate
);
35084 if (PyErr_Occurred()) SWIG_fail
;
35086 resultobj
= SWIG_FromInt((int)result
);
35093 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35094 PyObject
*resultobj
;
35095 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35097 PyObject
* obj0
= 0 ;
35098 char *kwnames
[] = {
35099 (char *) "self", NULL
35102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
35103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35107 result
= (int)(arg1
)->GetRows();
35109 wxPyEndAllowThreads(__tstate
);
35110 if (PyErr_Occurred()) SWIG_fail
;
35112 resultobj
= SWIG_FromInt((int)result
);
35119 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35120 PyObject
*resultobj
;
35121 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35123 PyObject
* obj0
= 0 ;
35124 char *kwnames
[] = {
35125 (char *) "self", NULL
35128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
35129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35133 result
= (int)(arg1
)->GetVGap();
35135 wxPyEndAllowThreads(__tstate
);
35136 if (PyErr_Occurred()) SWIG_fail
;
35138 resultobj
= SWIG_FromInt((int)result
);
35145 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35146 PyObject
*resultobj
;
35147 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35149 PyObject
* obj0
= 0 ;
35150 char *kwnames
[] = {
35151 (char *) "self", NULL
35154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
35155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35159 result
= (int)(arg1
)->GetHGap();
35161 wxPyEndAllowThreads(__tstate
);
35162 if (PyErr_Occurred()) SWIG_fail
;
35164 resultobj
= SWIG_FromInt((int)result
);
35171 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
35173 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35174 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
35176 return Py_BuildValue((char *)"");
35178 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35179 PyObject
*resultobj
;
35180 int arg1
= (int) 1 ;
35181 int arg2
= (int) 0 ;
35182 int arg3
= (int) 0 ;
35183 int arg4
= (int) 0 ;
35184 wxFlexGridSizer
*result
;
35185 PyObject
* obj0
= 0 ;
35186 PyObject
* obj1
= 0 ;
35187 PyObject
* obj2
= 0 ;
35188 PyObject
* obj3
= 0 ;
35189 char *kwnames
[] = {
35190 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
35193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35195 arg1
= (int) SWIG_AsInt(obj0
);
35196 if (PyErr_Occurred()) SWIG_fail
;
35199 arg2
= (int) SWIG_AsInt(obj1
);
35200 if (PyErr_Occurred()) SWIG_fail
;
35203 arg3
= (int) SWIG_AsInt(obj2
);
35204 if (PyErr_Occurred()) SWIG_fail
;
35207 arg4
= (int) SWIG_AsInt(obj3
);
35208 if (PyErr_Occurred()) SWIG_fail
;
35211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35212 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
35214 wxPyEndAllowThreads(__tstate
);
35215 if (PyErr_Occurred()) SWIG_fail
;
35217 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
35224 static PyObject
*_wrap_FlexGridSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35225 PyObject
*resultobj
;
35226 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35227 PyObject
* obj0
= 0 ;
35228 char *kwnames
[] = {
35229 (char *) "self", NULL
35232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35237 (arg1
)->RecalcSizes();
35239 wxPyEndAllowThreads(__tstate
);
35240 if (PyErr_Occurred()) SWIG_fail
;
35242 Py_INCREF(Py_None
); resultobj
= Py_None
;
35249 static PyObject
*_wrap_FlexGridSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35250 PyObject
*resultobj
;
35251 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35253 PyObject
* obj0
= 0 ;
35254 char *kwnames
[] = {
35255 (char *) "self", NULL
35258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35263 result
= (arg1
)->CalcMin();
35265 wxPyEndAllowThreads(__tstate
);
35266 if (PyErr_Occurred()) SWIG_fail
;
35269 wxSize
* resultptr
;
35270 resultptr
= new wxSize((wxSize
&) result
);
35271 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35279 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35280 PyObject
*resultobj
;
35281 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35283 int arg3
= (int) 0 ;
35284 PyObject
* obj0
= 0 ;
35285 PyObject
* obj1
= 0 ;
35286 PyObject
* obj2
= 0 ;
35287 char *kwnames
[] = {
35288 (char *) "self",(char *) "idx",(char *) "proportion", NULL
35291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35294 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
35295 if (PyErr_Occurred()) SWIG_fail
;
35297 arg3
= (int) SWIG_AsInt(obj2
);
35298 if (PyErr_Occurred()) SWIG_fail
;
35301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35302 (arg1
)->AddGrowableRow(arg2
,arg3
);
35304 wxPyEndAllowThreads(__tstate
);
35305 if (PyErr_Occurred()) SWIG_fail
;
35307 Py_INCREF(Py_None
); resultobj
= Py_None
;
35314 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35315 PyObject
*resultobj
;
35316 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35318 PyObject
* obj0
= 0 ;
35319 PyObject
* obj1
= 0 ;
35320 char *kwnames
[] = {
35321 (char *) "self",(char *) "idx", NULL
35324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
35325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35327 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
35328 if (PyErr_Occurred()) SWIG_fail
;
35330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35331 (arg1
)->RemoveGrowableRow(arg2
);
35333 wxPyEndAllowThreads(__tstate
);
35334 if (PyErr_Occurred()) SWIG_fail
;
35336 Py_INCREF(Py_None
); resultobj
= Py_None
;
35343 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35344 PyObject
*resultobj
;
35345 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35347 int arg3
= (int) 0 ;
35348 PyObject
* obj0
= 0 ;
35349 PyObject
* obj1
= 0 ;
35350 PyObject
* obj2
= 0 ;
35351 char *kwnames
[] = {
35352 (char *) "self",(char *) "idx",(char *) "proportion", NULL
35355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35358 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
35359 if (PyErr_Occurred()) SWIG_fail
;
35361 arg3
= (int) SWIG_AsInt(obj2
);
35362 if (PyErr_Occurred()) SWIG_fail
;
35365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35366 (arg1
)->AddGrowableCol(arg2
,arg3
);
35368 wxPyEndAllowThreads(__tstate
);
35369 if (PyErr_Occurred()) SWIG_fail
;
35371 Py_INCREF(Py_None
); resultobj
= Py_None
;
35378 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35379 PyObject
*resultobj
;
35380 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35382 PyObject
* obj0
= 0 ;
35383 PyObject
* obj1
= 0 ;
35384 char *kwnames
[] = {
35385 (char *) "self",(char *) "idx", NULL
35388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
35389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35391 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
35392 if (PyErr_Occurred()) SWIG_fail
;
35394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35395 (arg1
)->RemoveGrowableCol(arg2
);
35397 wxPyEndAllowThreads(__tstate
);
35398 if (PyErr_Occurred()) SWIG_fail
;
35400 Py_INCREF(Py_None
); resultobj
= Py_None
;
35407 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35408 PyObject
*resultobj
;
35409 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35411 PyObject
* obj0
= 0 ;
35412 PyObject
* obj1
= 0 ;
35413 char *kwnames
[] = {
35414 (char *) "self",(char *) "direction", NULL
35417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
35418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35420 arg2
= (int) SWIG_AsInt(obj1
);
35421 if (PyErr_Occurred()) SWIG_fail
;
35423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35424 (arg1
)->SetFlexibleDirection(arg2
);
35426 wxPyEndAllowThreads(__tstate
);
35427 if (PyErr_Occurred()) SWIG_fail
;
35429 Py_INCREF(Py_None
); resultobj
= Py_None
;
35436 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35437 PyObject
*resultobj
;
35438 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35440 PyObject
* obj0
= 0 ;
35441 char *kwnames
[] = {
35442 (char *) "self", NULL
35445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
35446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35450 result
= (int)(arg1
)->GetFlexibleDirection();
35452 wxPyEndAllowThreads(__tstate
);
35453 if (PyErr_Occurred()) SWIG_fail
;
35455 resultobj
= SWIG_FromInt((int)result
);
35462 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35463 PyObject
*resultobj
;
35464 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35466 PyObject
* obj0
= 0 ;
35467 PyObject
* obj1
= 0 ;
35468 char *kwnames
[] = {
35469 (char *) "self",(char *) "mode", NULL
35472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
35473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35475 arg2
= (wxFlexSizerGrowMode
) SWIG_AsInt(obj1
);
35476 if (PyErr_Occurred()) SWIG_fail
;
35478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35479 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
35481 wxPyEndAllowThreads(__tstate
);
35482 if (PyErr_Occurred()) SWIG_fail
;
35484 Py_INCREF(Py_None
); resultobj
= Py_None
;
35491 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35492 PyObject
*resultobj
;
35493 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35495 PyObject
* obj0
= 0 ;
35496 char *kwnames
[] = {
35497 (char *) "self", NULL
35500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
35501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35505 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
35507 wxPyEndAllowThreads(__tstate
);
35508 if (PyErr_Occurred()) SWIG_fail
;
35510 resultobj
= SWIG_FromInt((int)result
);
35517 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35518 PyObject
*resultobj
;
35519 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35520 wxArrayInt
*result
;
35521 PyObject
* obj0
= 0 ;
35522 char *kwnames
[] = {
35523 (char *) "self", NULL
35526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
35527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35532 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
35533 result
= (wxArrayInt
*) &_result_ref
;
35536 wxPyEndAllowThreads(__tstate
);
35537 if (PyErr_Occurred()) SWIG_fail
;
35540 resultobj
= PyList_New(0);
35542 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
35543 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
35544 PyList_Append(resultobj
, val
);
35554 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35555 PyObject
*resultobj
;
35556 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35557 wxArrayInt
*result
;
35558 PyObject
* obj0
= 0 ;
35559 char *kwnames
[] = {
35560 (char *) "self", NULL
35563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
35564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35569 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
35570 result
= (wxArrayInt
*) &_result_ref
;
35573 wxPyEndAllowThreads(__tstate
);
35574 if (PyErr_Occurred()) SWIG_fail
;
35577 resultobj
= PyList_New(0);
35579 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
35580 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
35581 PyList_Append(resultobj
, val
);
35591 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
35593 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35594 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
35596 return Py_BuildValue((char *)"");
35598 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35599 PyObject
*resultobj
;
35600 int arg1
= (int) 0 ;
35601 int arg2
= (int) 0 ;
35602 wxGBPosition
*result
;
35603 PyObject
* obj0
= 0 ;
35604 PyObject
* obj1
= 0 ;
35605 char *kwnames
[] = {
35606 (char *) "row",(char *) "col", NULL
35609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
35611 arg1
= (int) SWIG_AsInt(obj0
);
35612 if (PyErr_Occurred()) SWIG_fail
;
35615 arg2
= (int) SWIG_AsInt(obj1
);
35616 if (PyErr_Occurred()) SWIG_fail
;
35619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35620 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
35622 wxPyEndAllowThreads(__tstate
);
35623 if (PyErr_Occurred()) SWIG_fail
;
35625 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
35632 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35633 PyObject
*resultobj
;
35634 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35636 PyObject
* obj0
= 0 ;
35637 char *kwnames
[] = {
35638 (char *) "self", NULL
35641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
35642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
35643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35646 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
35648 wxPyEndAllowThreads(__tstate
);
35649 if (PyErr_Occurred()) SWIG_fail
;
35651 resultobj
= SWIG_FromInt((int)result
);
35658 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35659 PyObject
*resultobj
;
35660 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35662 PyObject
* obj0
= 0 ;
35663 char *kwnames
[] = {
35664 (char *) "self", NULL
35667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
35668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
35669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35672 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
35674 wxPyEndAllowThreads(__tstate
);
35675 if (PyErr_Occurred()) SWIG_fail
;
35677 resultobj
= SWIG_FromInt((int)result
);
35684 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35685 PyObject
*resultobj
;
35686 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35688 PyObject
* obj0
= 0 ;
35689 PyObject
* obj1
= 0 ;
35690 char *kwnames
[] = {
35691 (char *) "self",(char *) "row", NULL
35694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
35695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
35696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35697 arg2
= (int) SWIG_AsInt(obj1
);
35698 if (PyErr_Occurred()) SWIG_fail
;
35700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35701 (arg1
)->SetRow(arg2
);
35703 wxPyEndAllowThreads(__tstate
);
35704 if (PyErr_Occurred()) SWIG_fail
;
35706 Py_INCREF(Py_None
); resultobj
= Py_None
;
35713 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35714 PyObject
*resultobj
;
35715 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35717 PyObject
* obj0
= 0 ;
35718 PyObject
* obj1
= 0 ;
35719 char *kwnames
[] = {
35720 (char *) "self",(char *) "col", NULL
35723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
35724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
35725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35726 arg2
= (int) SWIG_AsInt(obj1
);
35727 if (PyErr_Occurred()) SWIG_fail
;
35729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35730 (arg1
)->SetCol(arg2
);
35732 wxPyEndAllowThreads(__tstate
);
35733 if (PyErr_Occurred()) SWIG_fail
;
35735 Py_INCREF(Py_None
); resultobj
= Py_None
;
35742 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35743 PyObject
*resultobj
;
35744 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35745 wxGBPosition
*arg2
= 0 ;
35747 wxGBPosition temp2
;
35748 PyObject
* obj0
= 0 ;
35749 PyObject
* obj1
= 0 ;
35750 char *kwnames
[] = {
35751 (char *) "self",(char *) "other", NULL
35754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
35755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
35756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35759 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
35762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35763 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
35765 wxPyEndAllowThreads(__tstate
);
35766 if (PyErr_Occurred()) SWIG_fail
;
35769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35777 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35778 PyObject
*resultobj
;
35779 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35780 wxGBPosition
*arg2
= 0 ;
35782 wxGBPosition temp2
;
35783 PyObject
* obj0
= 0 ;
35784 PyObject
* obj1
= 0 ;
35785 char *kwnames
[] = {
35786 (char *) "self",(char *) "other", NULL
35789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
35790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
35791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35794 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
35797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35798 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
35800 wxPyEndAllowThreads(__tstate
);
35801 if (PyErr_Occurred()) SWIG_fail
;
35804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35812 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35813 PyObject
*resultobj
;
35814 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35815 int arg2
= (int) 0 ;
35816 int arg3
= (int) 0 ;
35817 PyObject
* obj0
= 0 ;
35818 PyObject
* obj1
= 0 ;
35819 PyObject
* obj2
= 0 ;
35820 char *kwnames
[] = {
35821 (char *) "self",(char *) "row",(char *) "col", NULL
35824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
35826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35828 arg2
= (int) SWIG_AsInt(obj1
);
35829 if (PyErr_Occurred()) SWIG_fail
;
35832 arg3
= (int) SWIG_AsInt(obj2
);
35833 if (PyErr_Occurred()) SWIG_fail
;
35836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35837 wxGBPosition_Set(arg1
,arg2
,arg3
);
35839 wxPyEndAllowThreads(__tstate
);
35840 if (PyErr_Occurred()) SWIG_fail
;
35842 Py_INCREF(Py_None
); resultobj
= Py_None
;
35849 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35850 PyObject
*resultobj
;
35851 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35853 PyObject
* obj0
= 0 ;
35854 char *kwnames
[] = {
35855 (char *) "self", NULL
35858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
35859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
35860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35863 result
= (PyObject
*)wxGBPosition_Get(arg1
);
35865 wxPyEndAllowThreads(__tstate
);
35866 if (PyErr_Occurred()) SWIG_fail
;
35868 resultobj
= result
;
35875 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
35877 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35878 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
35880 return Py_BuildValue((char *)"");
35882 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35883 PyObject
*resultobj
;
35884 int arg1
= (int) 1 ;
35885 int arg2
= (int) 1 ;
35887 PyObject
* obj0
= 0 ;
35888 PyObject
* obj1
= 0 ;
35889 char *kwnames
[] = {
35890 (char *) "rowspan",(char *) "colspan", NULL
35893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
35895 arg1
= (int) SWIG_AsInt(obj0
);
35896 if (PyErr_Occurred()) SWIG_fail
;
35899 arg2
= (int) SWIG_AsInt(obj1
);
35900 if (PyErr_Occurred()) SWIG_fail
;
35903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35904 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
35906 wxPyEndAllowThreads(__tstate
);
35907 if (PyErr_Occurred()) SWIG_fail
;
35909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
35916 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35917 PyObject
*resultobj
;
35918 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35920 PyObject
* obj0
= 0 ;
35921 char *kwnames
[] = {
35922 (char *) "self", NULL
35925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
35926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
35927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35930 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
35932 wxPyEndAllowThreads(__tstate
);
35933 if (PyErr_Occurred()) SWIG_fail
;
35935 resultobj
= SWIG_FromInt((int)result
);
35942 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35943 PyObject
*resultobj
;
35944 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35946 PyObject
* obj0
= 0 ;
35947 char *kwnames
[] = {
35948 (char *) "self", NULL
35951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
35952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
35953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35956 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
35958 wxPyEndAllowThreads(__tstate
);
35959 if (PyErr_Occurred()) SWIG_fail
;
35961 resultobj
= SWIG_FromInt((int)result
);
35968 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35969 PyObject
*resultobj
;
35970 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35972 PyObject
* obj0
= 0 ;
35973 PyObject
* obj1
= 0 ;
35974 char *kwnames
[] = {
35975 (char *) "self",(char *) "rowspan", NULL
35978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
35979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
35980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35981 arg2
= (int) SWIG_AsInt(obj1
);
35982 if (PyErr_Occurred()) SWIG_fail
;
35984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35985 (arg1
)->SetRowspan(arg2
);
35987 wxPyEndAllowThreads(__tstate
);
35988 if (PyErr_Occurred()) SWIG_fail
;
35990 Py_INCREF(Py_None
); resultobj
= Py_None
;
35997 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35998 PyObject
*resultobj
;
35999 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36001 PyObject
* obj0
= 0 ;
36002 PyObject
* obj1
= 0 ;
36003 char *kwnames
[] = {
36004 (char *) "self",(char *) "colspan", NULL
36007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
36008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36010 arg2
= (int) SWIG_AsInt(obj1
);
36011 if (PyErr_Occurred()) SWIG_fail
;
36013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36014 (arg1
)->SetColspan(arg2
);
36016 wxPyEndAllowThreads(__tstate
);
36017 if (PyErr_Occurred()) SWIG_fail
;
36019 Py_INCREF(Py_None
); resultobj
= Py_None
;
36026 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36027 PyObject
*resultobj
;
36028 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36029 wxGBSpan
*arg2
= 0 ;
36032 PyObject
* obj0
= 0 ;
36033 PyObject
* obj1
= 0 ;
36034 char *kwnames
[] = {
36035 (char *) "self",(char *) "other", NULL
36038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
36039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36043 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
36046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36047 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
36049 wxPyEndAllowThreads(__tstate
);
36050 if (PyErr_Occurred()) SWIG_fail
;
36053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36061 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36062 PyObject
*resultobj
;
36063 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36064 wxGBSpan
*arg2
= 0 ;
36067 PyObject
* obj0
= 0 ;
36068 PyObject
* obj1
= 0 ;
36069 char *kwnames
[] = {
36070 (char *) "self",(char *) "other", NULL
36073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
36074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36078 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
36081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36082 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
36084 wxPyEndAllowThreads(__tstate
);
36085 if (PyErr_Occurred()) SWIG_fail
;
36088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36096 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36097 PyObject
*resultobj
;
36098 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36099 int arg2
= (int) 1 ;
36100 int arg3
= (int) 1 ;
36101 PyObject
* obj0
= 0 ;
36102 PyObject
* obj1
= 0 ;
36103 PyObject
* obj2
= 0 ;
36104 char *kwnames
[] = {
36105 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
36108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36112 arg2
= (int) SWIG_AsInt(obj1
);
36113 if (PyErr_Occurred()) SWIG_fail
;
36116 arg3
= (int) SWIG_AsInt(obj2
);
36117 if (PyErr_Occurred()) SWIG_fail
;
36120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36121 wxGBSpan_Set(arg1
,arg2
,arg3
);
36123 wxPyEndAllowThreads(__tstate
);
36124 if (PyErr_Occurred()) SWIG_fail
;
36126 Py_INCREF(Py_None
); resultobj
= Py_None
;
36133 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36134 PyObject
*resultobj
;
36135 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36137 PyObject
* obj0
= 0 ;
36138 char *kwnames
[] = {
36139 (char *) "self", NULL
36142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
36143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36147 result
= (PyObject
*)wxGBSpan_Get(arg1
);
36149 wxPyEndAllowThreads(__tstate
);
36150 if (PyErr_Occurred()) SWIG_fail
;
36152 resultobj
= result
;
36159 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
36161 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36162 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
36164 return Py_BuildValue((char *)"");
36166 static int _wrap_DefaultSpan_set(PyObject
*) {
36167 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
36172 static PyObject
*_wrap_DefaultSpan_get() {
36175 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
36180 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36181 PyObject
*resultobj
;
36182 wxGBSizerItem
*result
;
36183 char *kwnames
[] = {
36187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
36189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36190 result
= (wxGBSizerItem
*)new wxGBSizerItem();
36192 wxPyEndAllowThreads(__tstate
);
36193 if (PyErr_Occurred()) SWIG_fail
;
36195 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
36202 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36203 PyObject
*resultobj
;
36204 wxWindow
*arg1
= (wxWindow
*) 0 ;
36205 wxGBPosition
*arg2
= 0 ;
36206 wxGBSpan
*arg3
= 0 ;
36209 wxObject
*arg6
= (wxObject
*) 0 ;
36210 wxGBSizerItem
*result
;
36211 wxGBPosition temp2
;
36213 PyObject
* obj0
= 0 ;
36214 PyObject
* obj1
= 0 ;
36215 PyObject
* obj2
= 0 ;
36216 PyObject
* obj3
= 0 ;
36217 PyObject
* obj4
= 0 ;
36218 PyObject
* obj5
= 0 ;
36219 char *kwnames
[] = {
36220 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
36223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
36224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
36225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36228 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36232 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
36234 arg4
= (int) SWIG_AsInt(obj3
);
36235 if (PyErr_Occurred()) SWIG_fail
;
36236 arg5
= (int) SWIG_AsInt(obj4
);
36237 if (PyErr_Occurred()) SWIG_fail
;
36238 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
36239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36242 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
36244 wxPyEndAllowThreads(__tstate
);
36245 if (PyErr_Occurred()) SWIG_fail
;
36247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
36254 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36255 PyObject
*resultobj
;
36256 wxSizer
*arg1
= (wxSizer
*) 0 ;
36257 wxGBPosition
*arg2
= 0 ;
36258 wxGBSpan
*arg3
= 0 ;
36261 wxObject
*arg6
= (wxObject
*) 0 ;
36262 wxGBSizerItem
*result
;
36263 wxGBPosition temp2
;
36265 PyObject
* obj0
= 0 ;
36266 PyObject
* obj1
= 0 ;
36267 PyObject
* obj2
= 0 ;
36268 PyObject
* obj3
= 0 ;
36269 PyObject
* obj4
= 0 ;
36270 PyObject
* obj5
= 0 ;
36271 char *kwnames
[] = {
36272 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
36275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
36276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36280 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36284 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
36286 arg4
= (int) SWIG_AsInt(obj3
);
36287 if (PyErr_Occurred()) SWIG_fail
;
36288 arg5
= (int) SWIG_AsInt(obj4
);
36289 if (PyErr_Occurred()) SWIG_fail
;
36290 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
36291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36294 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
36296 wxPyEndAllowThreads(__tstate
);
36297 if (PyErr_Occurred()) SWIG_fail
;
36299 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
36306 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36307 PyObject
*resultobj
;
36310 wxGBPosition
*arg3
= 0 ;
36311 wxGBSpan
*arg4
= 0 ;
36314 wxObject
*arg7
= (wxObject
*) 0 ;
36315 wxGBSizerItem
*result
;
36316 wxGBPosition temp3
;
36318 PyObject
* obj0
= 0 ;
36319 PyObject
* obj1
= 0 ;
36320 PyObject
* obj2
= 0 ;
36321 PyObject
* obj3
= 0 ;
36322 PyObject
* obj4
= 0 ;
36323 PyObject
* obj5
= 0 ;
36324 PyObject
* obj6
= 0 ;
36325 char *kwnames
[] = {
36326 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
36329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
36330 arg1
= (int) SWIG_AsInt(obj0
);
36331 if (PyErr_Occurred()) SWIG_fail
;
36332 arg2
= (int) SWIG_AsInt(obj1
);
36333 if (PyErr_Occurred()) SWIG_fail
;
36336 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
36340 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
36342 arg5
= (int) SWIG_AsInt(obj4
);
36343 if (PyErr_Occurred()) SWIG_fail
;
36344 arg6
= (int) SWIG_AsInt(obj5
);
36345 if (PyErr_Occurred()) SWIG_fail
;
36346 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxObject
,
36347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36350 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
36352 wxPyEndAllowThreads(__tstate
);
36353 if (PyErr_Occurred()) SWIG_fail
;
36355 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
36362 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36363 PyObject
*resultobj
;
36364 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36365 wxGBPosition result
;
36366 PyObject
* obj0
= 0 ;
36367 char *kwnames
[] = {
36368 (char *) "self", NULL
36371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
36372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36376 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
36378 wxPyEndAllowThreads(__tstate
);
36379 if (PyErr_Occurred()) SWIG_fail
;
36382 wxGBPosition
* resultptr
;
36383 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
36384 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
36392 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36393 PyObject
*resultobj
;
36394 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36396 PyObject
* obj0
= 0 ;
36397 char *kwnames
[] = {
36398 (char *) "self", NULL
36401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
36402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36406 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
36408 wxPyEndAllowThreads(__tstate
);
36409 if (PyErr_Occurred()) SWIG_fail
;
36412 wxGBSpan
* resultptr
;
36413 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
36414 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
36422 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36423 PyObject
*resultobj
;
36424 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36425 wxGBPosition
*arg2
= 0 ;
36427 wxGBPosition temp2
;
36428 PyObject
* obj0
= 0 ;
36429 PyObject
* obj1
= 0 ;
36430 char *kwnames
[] = {
36431 (char *) "self",(char *) "pos", NULL
36434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
36435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36439 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36443 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
36445 wxPyEndAllowThreads(__tstate
);
36446 if (PyErr_Occurred()) SWIG_fail
;
36449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36457 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36458 PyObject
*resultobj
;
36459 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36460 wxGBSpan
*arg2
= 0 ;
36463 PyObject
* obj0
= 0 ;
36464 PyObject
* obj1
= 0 ;
36465 char *kwnames
[] = {
36466 (char *) "self",(char *) "span", NULL
36469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
36470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36474 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
36477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36478 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
36480 wxPyEndAllowThreads(__tstate
);
36481 if (PyErr_Occurred()) SWIG_fail
;
36484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36492 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_0(PyObject
*, PyObject
*args
) {
36493 PyObject
*resultobj
;
36494 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36495 wxGBSizerItem
*arg2
= 0 ;
36497 PyObject
* obj0
= 0 ;
36498 PyObject
* obj1
= 0 ;
36500 if(!PyArg_ParseTuple(args
,(char *)"OO:GBSizerItem_Intersects",&obj0
,&obj1
)) goto fail
;
36501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36503 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
36504 SWIG_POINTER_EXCEPTION
| 0)) == -1)
36506 if (arg2
== NULL
) {
36507 PyErr_SetString(PyExc_TypeError
,"null reference");
36511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36512 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
36514 wxPyEndAllowThreads(__tstate
);
36515 if (PyErr_Occurred()) SWIG_fail
;
36518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36526 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_1(PyObject
*, PyObject
*args
) {
36527 PyObject
*resultobj
;
36528 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36529 wxGBPosition
*arg2
= 0 ;
36530 wxGBSpan
*arg3
= 0 ;
36532 wxGBPosition temp2
;
36534 PyObject
* obj0
= 0 ;
36535 PyObject
* obj1
= 0 ;
36536 PyObject
* obj2
= 0 ;
36538 if(!PyArg_ParseTuple(args
,(char *)"OOO:GBSizerItem_Intersects",&obj0
,&obj1
,&obj2
)) goto fail
;
36539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36543 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36547 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
36550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36551 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
36553 wxPyEndAllowThreads(__tstate
);
36554 if (PyErr_Occurred()) SWIG_fail
;
36557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36565 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
) {
36570 argc
= PyObject_Length(args
);
36571 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
36572 argv
[ii
] = PyTuple_GetItem(args
,ii
);
36578 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
36588 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
36596 return _wrap_GBSizerItem_Intersects__SWIG_0(self
,args
);
36604 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
36613 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
36617 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
36620 return _wrap_GBSizerItem_Intersects__SWIG_1(self
,args
);
36626 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GBSizerItem_Intersects'");
36631 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36632 PyObject
*resultobj
;
36633 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36636 PyObject
* obj0
= 0 ;
36637 PyObject
* obj1
= 0 ;
36638 PyObject
* obj2
= 0 ;
36639 char *kwnames
[] = {
36640 (char *) "self",(char *) "row",(char *) "col", NULL
36643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_GetEndPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36646 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,
36647 SWIG_POINTER_EXCEPTION
| 0)) == -1)
36649 if (arg2
== NULL
) {
36650 PyErr_SetString(PyExc_TypeError
,"null reference");
36653 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,
36654 SWIG_POINTER_EXCEPTION
| 0)) == -1)
36656 if (arg3
== NULL
) {
36657 PyErr_SetString(PyExc_TypeError
,"null reference");
36661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36662 (arg1
)->GetEndPos(*arg2
,*arg3
);
36664 wxPyEndAllowThreads(__tstate
);
36665 if (PyErr_Occurred()) SWIG_fail
;
36667 Py_INCREF(Py_None
); resultobj
= Py_None
;
36674 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36675 PyObject
*resultobj
;
36676 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36677 wxGridBagSizer
*result
;
36678 PyObject
* obj0
= 0 ;
36679 char *kwnames
[] = {
36680 (char *) "self", NULL
36683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
36684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36688 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
36690 wxPyEndAllowThreads(__tstate
);
36691 if (PyErr_Occurred()) SWIG_fail
;
36693 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
36700 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36701 PyObject
*resultobj
;
36702 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36703 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
36704 PyObject
* obj0
= 0 ;
36705 PyObject
* obj1
= 0 ;
36706 char *kwnames
[] = {
36707 (char *) "self",(char *) "sizer", NULL
36710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
36711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36713 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
36714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36717 (arg1
)->SetGBSizer(arg2
);
36719 wxPyEndAllowThreads(__tstate
);
36720 if (PyErr_Occurred()) SWIG_fail
;
36722 Py_INCREF(Py_None
); resultobj
= Py_None
;
36729 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
36731 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36732 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
36734 return Py_BuildValue((char *)"");
36736 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36737 PyObject
*resultobj
;
36738 int arg1
= (int) 0 ;
36739 int arg2
= (int) 0 ;
36740 wxGridBagSizer
*result
;
36741 PyObject
* obj0
= 0 ;
36742 PyObject
* obj1
= 0 ;
36743 char *kwnames
[] = {
36744 (char *) "vgap",(char *) "hgap", NULL
36747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
36749 arg1
= (int) SWIG_AsInt(obj0
);
36750 if (PyErr_Occurred()) SWIG_fail
;
36753 arg2
= (int) SWIG_AsInt(obj1
);
36754 if (PyErr_Occurred()) SWIG_fail
;
36757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36758 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
36760 wxPyEndAllowThreads(__tstate
);
36761 if (PyErr_Occurred()) SWIG_fail
;
36763 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
36770 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36771 PyObject
*resultobj
;
36772 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36773 PyObject
*arg2
= (PyObject
*) 0 ;
36774 wxGBPosition
*arg3
= 0 ;
36775 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
36776 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
36777 int arg5
= (int) 0 ;
36778 int arg6
= (int) 0 ;
36779 PyObject
*arg7
= (PyObject
*) NULL
;
36781 wxGBPosition temp3
;
36783 PyObject
* obj0
= 0 ;
36784 PyObject
* obj1
= 0 ;
36785 PyObject
* obj2
= 0 ;
36786 PyObject
* obj3
= 0 ;
36787 PyObject
* obj4
= 0 ;
36788 PyObject
* obj5
= 0 ;
36789 PyObject
* obj6
= 0 ;
36790 char *kwnames
[] = {
36791 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
36794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
36795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36800 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
36805 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
36809 arg5
= (int) SWIG_AsInt(obj4
);
36810 if (PyErr_Occurred()) SWIG_fail
;
36813 arg6
= (int) SWIG_AsInt(obj5
);
36814 if (PyErr_Occurred()) SWIG_fail
;
36820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36821 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
36823 wxPyEndAllowThreads(__tstate
);
36824 if (PyErr_Occurred()) SWIG_fail
;
36827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36835 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36836 PyObject
*resultobj
;
36837 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36838 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
36840 PyObject
* obj0
= 0 ;
36841 PyObject
* obj1
= 0 ;
36842 char *kwnames
[] = {
36843 (char *) "self",(char *) "item", NULL
36846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
36847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36849 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
36850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36853 result
= (bool)(arg1
)->Add(arg2
);
36855 wxPyEndAllowThreads(__tstate
);
36856 if (PyErr_Occurred()) SWIG_fail
;
36859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36867 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36868 PyObject
*resultobj
;
36869 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36871 PyObject
* obj0
= 0 ;
36872 char *kwnames
[] = {
36873 (char *) "self", NULL
36876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
36877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36881 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
36883 wxPyEndAllowThreads(__tstate
);
36884 if (PyErr_Occurred()) SWIG_fail
;
36887 wxSize
* resultptr
;
36888 resultptr
= new wxSize((wxSize
&) result
);
36889 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36897 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36898 PyObject
*resultobj
;
36899 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36902 PyObject
* obj0
= 0 ;
36903 PyObject
* obj1
= 0 ;
36904 char *kwnames
[] = {
36905 (char *) "self",(char *) "sz", NULL
36908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
36909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36913 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
36916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36917 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
36919 wxPyEndAllowThreads(__tstate
);
36920 if (PyErr_Occurred()) SWIG_fail
;
36922 Py_INCREF(Py_None
); resultobj
= Py_None
;
36929 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
36930 PyObject
*resultobj
;
36931 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36932 wxWindow
*arg2
= (wxWindow
*) 0 ;
36933 wxGBPosition result
;
36934 PyObject
* obj0
= 0 ;
36935 PyObject
* obj1
= 0 ;
36937 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
36938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36940 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36944 result
= (arg1
)->GetItemPosition(arg2
);
36946 wxPyEndAllowThreads(__tstate
);
36947 if (PyErr_Occurred()) SWIG_fail
;
36950 wxGBPosition
* resultptr
;
36951 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
36952 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
36960 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
36961 PyObject
*resultobj
;
36962 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36963 wxSizer
*arg2
= (wxSizer
*) 0 ;
36964 wxGBPosition result
;
36965 PyObject
* obj0
= 0 ;
36966 PyObject
* obj1
= 0 ;
36968 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
36969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36971 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
36972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36975 result
= (arg1
)->GetItemPosition(arg2
);
36977 wxPyEndAllowThreads(__tstate
);
36978 if (PyErr_Occurred()) SWIG_fail
;
36981 wxGBPosition
* resultptr
;
36982 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
36983 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
36991 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
36992 PyObject
*resultobj
;
36993 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36995 wxGBPosition result
;
36996 PyObject
* obj0
= 0 ;
36997 PyObject
* obj1
= 0 ;
36999 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
37000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37002 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
37003 if (PyErr_Occurred()) SWIG_fail
;
37005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37006 result
= (arg1
)->GetItemPosition(arg2
);
37008 wxPyEndAllowThreads(__tstate
);
37009 if (PyErr_Occurred()) SWIG_fail
;
37012 wxGBPosition
* resultptr
;
37013 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37014 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37022 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
37027 argc
= PyObject_Length(args
);
37028 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
37029 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37035 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37045 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37053 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
37061 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37071 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
37079 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
37087 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37095 _v
= SWIG_CheckUnsignedLong(argv
[1]);
37097 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
37102 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
37107 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
37108 PyObject
*resultobj
;
37109 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37110 wxWindow
*arg2
= (wxWindow
*) 0 ;
37111 wxGBPosition
*arg3
= 0 ;
37113 wxGBPosition temp3
;
37114 PyObject
* obj0
= 0 ;
37115 PyObject
* obj1
= 0 ;
37116 PyObject
* obj2
= 0 ;
37118 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
37119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37121 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37125 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37129 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
37131 wxPyEndAllowThreads(__tstate
);
37132 if (PyErr_Occurred()) SWIG_fail
;
37135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37143 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
37144 PyObject
*resultobj
;
37145 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37146 wxSizer
*arg2
= (wxSizer
*) 0 ;
37147 wxGBPosition
*arg3
= 0 ;
37149 wxGBPosition temp3
;
37150 PyObject
* obj0
= 0 ;
37151 PyObject
* obj1
= 0 ;
37152 PyObject
* obj2
= 0 ;
37154 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
37155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37157 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
37158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37161 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37165 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
37167 wxPyEndAllowThreads(__tstate
);
37168 if (PyErr_Occurred()) SWIG_fail
;
37171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37179 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
37180 PyObject
*resultobj
;
37181 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37183 wxGBPosition
*arg3
= 0 ;
37185 wxGBPosition temp3
;
37186 PyObject
* obj0
= 0 ;
37187 PyObject
* obj1
= 0 ;
37188 PyObject
* obj2
= 0 ;
37190 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
37191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37193 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
37194 if (PyErr_Occurred()) SWIG_fail
;
37197 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37201 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
37203 wxPyEndAllowThreads(__tstate
);
37204 if (PyErr_Occurred()) SWIG_fail
;
37207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37215 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
37220 argc
= PyObject_Length(args
);
37221 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
37222 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37228 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37238 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37247 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
37250 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
37259 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37269 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
37278 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
37281 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
37290 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37298 _v
= SWIG_CheckUnsignedLong(argv
[1]);
37301 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
37304 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
37310 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
37315 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
37316 PyObject
*resultobj
;
37317 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37318 wxWindow
*arg2
= (wxWindow
*) 0 ;
37320 PyObject
* obj0
= 0 ;
37321 PyObject
* obj1
= 0 ;
37323 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
37324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37326 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37330 result
= (arg1
)->GetItemSpan(arg2
);
37332 wxPyEndAllowThreads(__tstate
);
37333 if (PyErr_Occurred()) SWIG_fail
;
37336 wxGBSpan
* resultptr
;
37337 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37338 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
37346 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
37347 PyObject
*resultobj
;
37348 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37349 wxSizer
*arg2
= (wxSizer
*) 0 ;
37351 PyObject
* obj0
= 0 ;
37352 PyObject
* obj1
= 0 ;
37354 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
37355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37357 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
37358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37361 result
= (arg1
)->GetItemSpan(arg2
);
37363 wxPyEndAllowThreads(__tstate
);
37364 if (PyErr_Occurred()) SWIG_fail
;
37367 wxGBSpan
* resultptr
;
37368 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37369 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
37377 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
37378 PyObject
*resultobj
;
37379 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37382 PyObject
* obj0
= 0 ;
37383 PyObject
* obj1
= 0 ;
37385 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
37386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37388 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
37389 if (PyErr_Occurred()) SWIG_fail
;
37391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37392 result
= (arg1
)->GetItemSpan(arg2
);
37394 wxPyEndAllowThreads(__tstate
);
37395 if (PyErr_Occurred()) SWIG_fail
;
37398 wxGBSpan
* resultptr
;
37399 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37400 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
37408 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
37413 argc
= PyObject_Length(args
);
37414 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
37415 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37421 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37431 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37439 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
37447 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37457 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
37465 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
37473 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37481 _v
= SWIG_CheckUnsignedLong(argv
[1]);
37483 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
37488 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
37493 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
37494 PyObject
*resultobj
;
37495 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37496 wxWindow
*arg2
= (wxWindow
*) 0 ;
37497 wxGBSpan
*arg3
= 0 ;
37500 PyObject
* obj0
= 0 ;
37501 PyObject
* obj1
= 0 ;
37502 PyObject
* obj2
= 0 ;
37504 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
37505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37507 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37511 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37515 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
37517 wxPyEndAllowThreads(__tstate
);
37518 if (PyErr_Occurred()) SWIG_fail
;
37521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37529 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
37530 PyObject
*resultobj
;
37531 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37532 wxSizer
*arg2
= (wxSizer
*) 0 ;
37533 wxGBSpan
*arg3
= 0 ;
37536 PyObject
* obj0
= 0 ;
37537 PyObject
* obj1
= 0 ;
37538 PyObject
* obj2
= 0 ;
37540 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
37541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37543 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
37544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37547 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37551 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
37553 wxPyEndAllowThreads(__tstate
);
37554 if (PyErr_Occurred()) SWIG_fail
;
37557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37565 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
37566 PyObject
*resultobj
;
37567 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37569 wxGBSpan
*arg3
= 0 ;
37572 PyObject
* obj0
= 0 ;
37573 PyObject
* obj1
= 0 ;
37574 PyObject
* obj2
= 0 ;
37576 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
37577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37579 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
37580 if (PyErr_Occurred()) SWIG_fail
;
37583 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37587 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
37589 wxPyEndAllowThreads(__tstate
);
37590 if (PyErr_Occurred()) SWIG_fail
;
37593 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37601 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
37606 argc
= PyObject_Length(args
);
37607 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
37608 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37614 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37624 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37633 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
37636 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
37645 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37655 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
37664 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
37667 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
37676 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37684 _v
= SWIG_CheckUnsignedLong(argv
[1]);
37687 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
37690 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
37696 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
37701 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
37702 PyObject
*resultobj
;
37703 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37704 wxWindow
*arg2
= (wxWindow
*) 0 ;
37705 wxGBSizerItem
*result
;
37706 PyObject
* obj0
= 0 ;
37707 PyObject
* obj1
= 0 ;
37709 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
37710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37712 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37716 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
37718 wxPyEndAllowThreads(__tstate
);
37719 if (PyErr_Occurred()) SWIG_fail
;
37721 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
37728 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
37729 PyObject
*resultobj
;
37730 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37731 wxSizer
*arg2
= (wxSizer
*) 0 ;
37732 wxGBSizerItem
*result
;
37733 PyObject
* obj0
= 0 ;
37734 PyObject
* obj1
= 0 ;
37736 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
37737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37739 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
37740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37743 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
37745 wxPyEndAllowThreads(__tstate
);
37746 if (PyErr_Occurred()) SWIG_fail
;
37748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
37755 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
37760 argc
= PyObject_Length(args
);
37761 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
37762 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37768 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37778 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37786 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
37794 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37804 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
37812 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
37817 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
37822 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37823 PyObject
*resultobj
;
37824 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37825 wxGBPosition
*arg2
= 0 ;
37826 wxGBSizerItem
*result
;
37827 wxGBPosition temp2
;
37828 PyObject
* obj0
= 0 ;
37829 PyObject
* obj1
= 0 ;
37830 char *kwnames
[] = {
37831 (char *) "self",(char *) "pos", NULL
37834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
37835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37839 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37843 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
37845 wxPyEndAllowThreads(__tstate
);
37846 if (PyErr_Occurred()) SWIG_fail
;
37848 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
37855 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37856 PyObject
*resultobj
;
37857 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37858 wxPoint
*arg2
= 0 ;
37859 wxGBSizerItem
*result
;
37861 PyObject
* obj0
= 0 ;
37862 PyObject
* obj1
= 0 ;
37863 char *kwnames
[] = {
37864 (char *) "self",(char *) "pt", NULL
37867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
37868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37872 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37876 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
37878 wxPyEndAllowThreads(__tstate
);
37879 if (PyErr_Occurred()) SWIG_fail
;
37881 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
37888 static PyObject
*_wrap_GridBagSizer_FindItemWithData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37889 PyObject
*resultobj
;
37890 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37891 wxObject
*arg2
= (wxObject
*) 0 ;
37892 wxGBSizerItem
*result
;
37893 PyObject
* obj0
= 0 ;
37894 PyObject
* obj1
= 0 ;
37895 char *kwnames
[] = {
37896 (char *) "self",(char *) "userData", NULL
37899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemWithData",kwnames
,&obj0
,&obj1
)) goto fail
;
37900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37902 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
37903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37906 result
= (wxGBSizerItem
*)(arg1
)->FindItemWithData((wxObject
const *)arg2
);
37908 wxPyEndAllowThreads(__tstate
);
37909 if (PyErr_Occurred()) SWIG_fail
;
37911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
37918 static PyObject
*_wrap_GridBagSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37919 PyObject
*resultobj
;
37920 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37921 PyObject
* obj0
= 0 ;
37922 char *kwnames
[] = {
37923 (char *) "self", NULL
37926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
37927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37931 (arg1
)->RecalcSizes();
37933 wxPyEndAllowThreads(__tstate
);
37934 if (PyErr_Occurred()) SWIG_fail
;
37936 Py_INCREF(Py_None
); resultobj
= Py_None
;
37943 static PyObject
*_wrap_GridBagSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37944 PyObject
*resultobj
;
37945 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37947 PyObject
* obj0
= 0 ;
37948 char *kwnames
[] = {
37949 (char *) "self", NULL
37952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
37953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37957 result
= (arg1
)->CalcMin();
37959 wxPyEndAllowThreads(__tstate
);
37960 if (PyErr_Occurred()) SWIG_fail
;
37963 wxSize
* resultptr
;
37964 resultptr
= new wxSize((wxSize
&) result
);
37965 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37973 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject
*, PyObject
*args
) {
37974 PyObject
*resultobj
;
37975 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37976 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
37977 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
37979 PyObject
* obj0
= 0 ;
37980 PyObject
* obj1
= 0 ;
37981 PyObject
* obj2
= 0 ;
37983 if(!PyArg_ParseTuple(args
,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
)) goto fail
;
37984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37986 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
37987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37989 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
37990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37994 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
37996 wxPyEndAllowThreads(__tstate
);
37997 if (PyErr_Occurred()) SWIG_fail
;
38000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38008 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject
*, PyObject
*args
) {
38009 PyObject
*resultobj
;
38010 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38011 wxGBPosition
*arg2
= 0 ;
38012 wxGBSpan
*arg3
= 0 ;
38013 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
38015 wxGBPosition temp2
;
38017 PyObject
* obj0
= 0 ;
38018 PyObject
* obj1
= 0 ;
38019 PyObject
* obj2
= 0 ;
38020 PyObject
* obj3
= 0 ;
38022 if(!PyArg_ParseTuple(args
,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38027 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38031 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38034 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
38035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38039 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
38041 wxPyEndAllowThreads(__tstate
);
38042 if (PyErr_Occurred()) SWIG_fail
;
38045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38053 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
) {
38058 argc
= PyObject_Length(args
);
38059 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
38060 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38062 if ((argc
>= 2) && (argc
<= 3)) {
38066 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38076 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
38085 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
38089 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
38097 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
38102 if ((argc
>= 3) && (argc
<= 4)) {
38106 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38115 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
38119 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38123 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
38127 if (SWIG_ConvertPtr(argv
[3], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
38135 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
38142 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
38147 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
38149 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38150 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
38152 return Py_BuildValue((char *)"");
38154 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38155 PyObject
*resultobj
;
38156 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38158 wxWindow
*arg3
= (wxWindow
*) 0 ;
38160 int arg5
= (int) 0 ;
38161 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
38162 PyObject
* obj0
= 0 ;
38163 PyObject
* obj1
= 0 ;
38164 PyObject
* obj2
= 0 ;
38165 PyObject
* obj3
= 0 ;
38166 PyObject
* obj4
= 0 ;
38167 PyObject
* obj5
= 0 ;
38168 char *kwnames
[] = {
38169 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
38172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38175 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
38176 if (PyErr_Occurred()) SWIG_fail
;
38177 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
38178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38179 arg4
= (wxEdge
) SWIG_AsInt(obj3
);
38180 if (PyErr_Occurred()) SWIG_fail
;
38182 arg5
= (int) SWIG_AsInt(obj4
);
38183 if (PyErr_Occurred()) SWIG_fail
;
38186 arg6
= (int) SWIG_AsInt(obj5
);
38187 if (PyErr_Occurred()) SWIG_fail
;
38190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38191 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
38193 wxPyEndAllowThreads(__tstate
);
38194 if (PyErr_Occurred()) SWIG_fail
;
38196 Py_INCREF(Py_None
); resultobj
= Py_None
;
38203 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38204 PyObject
*resultobj
;
38205 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38206 wxWindow
*arg2
= (wxWindow
*) 0 ;
38207 int arg3
= (int) 0 ;
38208 PyObject
* obj0
= 0 ;
38209 PyObject
* obj1
= 0 ;
38210 PyObject
* obj2
= 0 ;
38211 char *kwnames
[] = {
38212 (char *) "self",(char *) "sibling",(char *) "marg", NULL
38215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38218 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38221 arg3
= (int) SWIG_AsInt(obj2
);
38222 if (PyErr_Occurred()) SWIG_fail
;
38225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38226 (arg1
)->LeftOf(arg2
,arg3
);
38228 wxPyEndAllowThreads(__tstate
);
38229 if (PyErr_Occurred()) SWIG_fail
;
38231 Py_INCREF(Py_None
); resultobj
= Py_None
;
38238 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38239 PyObject
*resultobj
;
38240 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38241 wxWindow
*arg2
= (wxWindow
*) 0 ;
38242 int arg3
= (int) 0 ;
38243 PyObject
* obj0
= 0 ;
38244 PyObject
* obj1
= 0 ;
38245 PyObject
* obj2
= 0 ;
38246 char *kwnames
[] = {
38247 (char *) "self",(char *) "sibling",(char *) "marg", NULL
38250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38253 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38256 arg3
= (int) SWIG_AsInt(obj2
);
38257 if (PyErr_Occurred()) SWIG_fail
;
38260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38261 (arg1
)->RightOf(arg2
,arg3
);
38263 wxPyEndAllowThreads(__tstate
);
38264 if (PyErr_Occurred()) SWIG_fail
;
38266 Py_INCREF(Py_None
); resultobj
= Py_None
;
38273 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38274 PyObject
*resultobj
;
38275 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38276 wxWindow
*arg2
= (wxWindow
*) 0 ;
38277 int arg3
= (int) 0 ;
38278 PyObject
* obj0
= 0 ;
38279 PyObject
* obj1
= 0 ;
38280 PyObject
* obj2
= 0 ;
38281 char *kwnames
[] = {
38282 (char *) "self",(char *) "sibling",(char *) "marg", NULL
38285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38288 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38291 arg3
= (int) SWIG_AsInt(obj2
);
38292 if (PyErr_Occurred()) SWIG_fail
;
38295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38296 (arg1
)->Above(arg2
,arg3
);
38298 wxPyEndAllowThreads(__tstate
);
38299 if (PyErr_Occurred()) SWIG_fail
;
38301 Py_INCREF(Py_None
); resultobj
= Py_None
;
38308 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38309 PyObject
*resultobj
;
38310 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38311 wxWindow
*arg2
= (wxWindow
*) 0 ;
38312 int arg3
= (int) 0 ;
38313 PyObject
* obj0
= 0 ;
38314 PyObject
* obj1
= 0 ;
38315 PyObject
* obj2
= 0 ;
38316 char *kwnames
[] = {
38317 (char *) "self",(char *) "sibling",(char *) "marg", NULL
38320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38323 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38326 arg3
= (int) SWIG_AsInt(obj2
);
38327 if (PyErr_Occurred()) SWIG_fail
;
38330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38331 (arg1
)->Below(arg2
,arg3
);
38333 wxPyEndAllowThreads(__tstate
);
38334 if (PyErr_Occurred()) SWIG_fail
;
38336 Py_INCREF(Py_None
); resultobj
= Py_None
;
38343 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38344 PyObject
*resultobj
;
38345 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38346 wxWindow
*arg2
= (wxWindow
*) 0 ;
38348 int arg4
= (int) 0 ;
38349 PyObject
* obj0
= 0 ;
38350 PyObject
* obj1
= 0 ;
38351 PyObject
* obj2
= 0 ;
38352 PyObject
* obj3
= 0 ;
38353 char *kwnames
[] = {
38354 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
38357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38360 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38362 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
38363 if (PyErr_Occurred()) SWIG_fail
;
38365 arg4
= (int) SWIG_AsInt(obj3
);
38366 if (PyErr_Occurred()) SWIG_fail
;
38369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38370 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
38372 wxPyEndAllowThreads(__tstate
);
38373 if (PyErr_Occurred()) SWIG_fail
;
38375 Py_INCREF(Py_None
); resultobj
= Py_None
;
38382 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38383 PyObject
*resultobj
;
38384 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38385 wxWindow
*arg2
= (wxWindow
*) 0 ;
38388 PyObject
* obj0
= 0 ;
38389 PyObject
* obj1
= 0 ;
38390 PyObject
* obj2
= 0 ;
38391 PyObject
* obj3
= 0 ;
38392 char *kwnames
[] = {
38393 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
38396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38399 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38401 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
38402 if (PyErr_Occurred()) SWIG_fail
;
38403 arg4
= (int) SWIG_AsInt(obj3
);
38404 if (PyErr_Occurred()) SWIG_fail
;
38406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38407 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
38409 wxPyEndAllowThreads(__tstate
);
38410 if (PyErr_Occurred()) SWIG_fail
;
38412 Py_INCREF(Py_None
); resultobj
= Py_None
;
38419 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38420 PyObject
*resultobj
;
38421 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38423 PyObject
* obj0
= 0 ;
38424 PyObject
* obj1
= 0 ;
38425 char *kwnames
[] = {
38426 (char *) "self",(char *) "val", NULL
38429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
38430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38432 arg2
= (int) SWIG_AsInt(obj1
);
38433 if (PyErr_Occurred()) SWIG_fail
;
38435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38436 (arg1
)->Absolute(arg2
);
38438 wxPyEndAllowThreads(__tstate
);
38439 if (PyErr_Occurred()) SWIG_fail
;
38441 Py_INCREF(Py_None
); resultobj
= Py_None
;
38448 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38449 PyObject
*resultobj
;
38450 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38451 PyObject
* obj0
= 0 ;
38452 char *kwnames
[] = {
38453 (char *) "self", NULL
38456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
38457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38461 (arg1
)->Unconstrained();
38463 wxPyEndAllowThreads(__tstate
);
38464 if (PyErr_Occurred()) SWIG_fail
;
38466 Py_INCREF(Py_None
); resultobj
= Py_None
;
38473 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38474 PyObject
*resultobj
;
38475 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38476 PyObject
* obj0
= 0 ;
38477 char *kwnames
[] = {
38478 (char *) "self", NULL
38481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
38482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38488 wxPyEndAllowThreads(__tstate
);
38489 if (PyErr_Occurred()) SWIG_fail
;
38491 Py_INCREF(Py_None
); resultobj
= Py_None
;
38498 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38499 PyObject
*resultobj
;
38500 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38502 PyObject
* obj0
= 0 ;
38503 char *kwnames
[] = {
38504 (char *) "self", NULL
38507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
38508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38512 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
38514 wxPyEndAllowThreads(__tstate
);
38515 if (PyErr_Occurred()) SWIG_fail
;
38518 resultobj
= wxPyMake_wxObject(result
);
38526 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38527 PyObject
*resultobj
;
38528 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38530 PyObject
* obj0
= 0 ;
38531 char *kwnames
[] = {
38532 (char *) "self", NULL
38535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
38536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38540 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
38542 wxPyEndAllowThreads(__tstate
);
38543 if (PyErr_Occurred()) SWIG_fail
;
38545 resultobj
= SWIG_FromInt((int)result
);
38552 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38553 PyObject
*resultobj
;
38554 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38556 PyObject
* obj0
= 0 ;
38557 PyObject
* obj1
= 0 ;
38558 char *kwnames
[] = {
38559 (char *) "self",(char *) "which", NULL
38562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
38563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38565 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
38566 if (PyErr_Occurred()) SWIG_fail
;
38568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38569 (arg1
)->SetEdge((wxEdge
)arg2
);
38571 wxPyEndAllowThreads(__tstate
);
38572 if (PyErr_Occurred()) SWIG_fail
;
38574 Py_INCREF(Py_None
); resultobj
= Py_None
;
38581 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38582 PyObject
*resultobj
;
38583 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38585 PyObject
* obj0
= 0 ;
38586 PyObject
* obj1
= 0 ;
38587 char *kwnames
[] = {
38588 (char *) "self",(char *) "v", NULL
38591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
38592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38594 arg2
= (int) SWIG_AsInt(obj1
);
38595 if (PyErr_Occurred()) SWIG_fail
;
38597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38598 (arg1
)->SetValue(arg2
);
38600 wxPyEndAllowThreads(__tstate
);
38601 if (PyErr_Occurred()) SWIG_fail
;
38603 Py_INCREF(Py_None
); resultobj
= Py_None
;
38610 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38611 PyObject
*resultobj
;
38612 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38614 PyObject
* obj0
= 0 ;
38615 char *kwnames
[] = {
38616 (char *) "self", NULL
38619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
38620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38624 result
= (int)(arg1
)->GetMargin();
38626 wxPyEndAllowThreads(__tstate
);
38627 if (PyErr_Occurred()) SWIG_fail
;
38629 resultobj
= SWIG_FromInt((int)result
);
38636 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38637 PyObject
*resultobj
;
38638 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38640 PyObject
* obj0
= 0 ;
38641 PyObject
* obj1
= 0 ;
38642 char *kwnames
[] = {
38643 (char *) "self",(char *) "m", NULL
38646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
38647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38649 arg2
= (int) SWIG_AsInt(obj1
);
38650 if (PyErr_Occurred()) SWIG_fail
;
38652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38653 (arg1
)->SetMargin(arg2
);
38655 wxPyEndAllowThreads(__tstate
);
38656 if (PyErr_Occurred()) SWIG_fail
;
38658 Py_INCREF(Py_None
); resultobj
= Py_None
;
38665 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38666 PyObject
*resultobj
;
38667 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38669 PyObject
* obj0
= 0 ;
38670 char *kwnames
[] = {
38671 (char *) "self", NULL
38674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
38675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38679 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
38681 wxPyEndAllowThreads(__tstate
);
38682 if (PyErr_Occurred()) SWIG_fail
;
38684 resultobj
= SWIG_FromInt((int)result
);
38691 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38692 PyObject
*resultobj
;
38693 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38695 PyObject
* obj0
= 0 ;
38696 char *kwnames
[] = {
38697 (char *) "self", NULL
38700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
38701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38705 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
38707 wxPyEndAllowThreads(__tstate
);
38708 if (PyErr_Occurred()) SWIG_fail
;
38710 resultobj
= SWIG_FromInt((int)result
);
38717 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38718 PyObject
*resultobj
;
38719 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38721 PyObject
* obj0
= 0 ;
38722 char *kwnames
[] = {
38723 (char *) "self", NULL
38726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
38727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38731 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
38733 wxPyEndAllowThreads(__tstate
);
38734 if (PyErr_Occurred()) SWIG_fail
;
38736 resultobj
= SWIG_FromInt((int)result
);
38743 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38744 PyObject
*resultobj
;
38745 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38747 PyObject
* obj0
= 0 ;
38748 char *kwnames
[] = {
38749 (char *) "self", NULL
38752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
38753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38757 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
38759 wxPyEndAllowThreads(__tstate
);
38760 if (PyErr_Occurred()) SWIG_fail
;
38763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38771 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38772 PyObject
*resultobj
;
38773 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38775 PyObject
* obj0
= 0 ;
38776 PyObject
* obj1
= 0 ;
38777 char *kwnames
[] = {
38778 (char *) "self",(char *) "d", NULL
38781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
38782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38784 arg2
= (bool) SWIG_AsBool(obj1
);
38785 if (PyErr_Occurred()) SWIG_fail
;
38787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38788 (arg1
)->SetDone(arg2
);
38790 wxPyEndAllowThreads(__tstate
);
38791 if (PyErr_Occurred()) SWIG_fail
;
38793 Py_INCREF(Py_None
); resultobj
= Py_None
;
38800 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38801 PyObject
*resultobj
;
38802 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38804 PyObject
* obj0
= 0 ;
38805 char *kwnames
[] = {
38806 (char *) "self", NULL
38809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
38810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38814 result
= (int)(arg1
)->GetRelationship();
38816 wxPyEndAllowThreads(__tstate
);
38817 if (PyErr_Occurred()) SWIG_fail
;
38819 resultobj
= SWIG_FromInt((int)result
);
38826 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38827 PyObject
*resultobj
;
38828 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38830 PyObject
* obj0
= 0 ;
38831 PyObject
* obj1
= 0 ;
38832 char *kwnames
[] = {
38833 (char *) "self",(char *) "r", NULL
38836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
38837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38839 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
38840 if (PyErr_Occurred()) SWIG_fail
;
38842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38843 (arg1
)->SetRelationship((wxRelationship
)arg2
);
38845 wxPyEndAllowThreads(__tstate
);
38846 if (PyErr_Occurred()) SWIG_fail
;
38848 Py_INCREF(Py_None
); resultobj
= Py_None
;
38855 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38856 PyObject
*resultobj
;
38857 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38858 wxWindow
*arg2
= (wxWindow
*) 0 ;
38860 PyObject
* obj0
= 0 ;
38861 PyObject
* obj1
= 0 ;
38862 char *kwnames
[] = {
38863 (char *) "self",(char *) "otherW", NULL
38866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
38867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38869 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38873 result
= (bool)(arg1
)->ResetIfWin(arg2
);
38875 wxPyEndAllowThreads(__tstate
);
38876 if (PyErr_Occurred()) SWIG_fail
;
38879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38887 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38888 PyObject
*resultobj
;
38889 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38890 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
38891 wxWindow
*arg3
= (wxWindow
*) 0 ;
38893 PyObject
* obj0
= 0 ;
38894 PyObject
* obj1
= 0 ;
38895 PyObject
* obj2
= 0 ;
38896 char *kwnames
[] = {
38897 (char *) "self",(char *) "constraints",(char *) "win", NULL
38900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38903 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
38904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38905 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
38906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38909 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
38911 wxPyEndAllowThreads(__tstate
);
38912 if (PyErr_Occurred()) SWIG_fail
;
38915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38923 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38924 PyObject
*resultobj
;
38925 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38927 wxWindow
*arg3
= (wxWindow
*) 0 ;
38928 wxWindow
*arg4
= (wxWindow
*) 0 ;
38930 PyObject
* obj0
= 0 ;
38931 PyObject
* obj1
= 0 ;
38932 PyObject
* obj2
= 0 ;
38933 PyObject
* obj3
= 0 ;
38934 char *kwnames
[] = {
38935 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
38938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38941 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
38942 if (PyErr_Occurred()) SWIG_fail
;
38943 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
38944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38945 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
38946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38949 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
38951 wxPyEndAllowThreads(__tstate
);
38952 if (PyErr_Occurred()) SWIG_fail
;
38954 resultobj
= SWIG_FromInt((int)result
);
38961 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
38963 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38964 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
38966 return Py_BuildValue((char *)"");
38968 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38969 PyObject
*resultobj
;
38970 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38971 wxIndividualLayoutConstraint
*result
;
38972 PyObject
* obj0
= 0 ;
38973 char *kwnames
[] = {
38974 (char *) "self", NULL
38977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
38978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
38979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38980 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
38982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38989 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38990 PyObject
*resultobj
;
38991 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38992 wxIndividualLayoutConstraint
*result
;
38993 PyObject
* obj0
= 0 ;
38994 char *kwnames
[] = {
38995 (char *) "self", NULL
38998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
38999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39001 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
39003 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39010 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39011 PyObject
*resultobj
;
39012 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39013 wxIndividualLayoutConstraint
*result
;
39014 PyObject
* obj0
= 0 ;
39015 char *kwnames
[] = {
39016 (char *) "self", NULL
39019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
39020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39022 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
39024 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39031 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39032 PyObject
*resultobj
;
39033 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39034 wxIndividualLayoutConstraint
*result
;
39035 PyObject
* obj0
= 0 ;
39036 char *kwnames
[] = {
39037 (char *) "self", NULL
39040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
39041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39043 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
39045 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39052 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39053 PyObject
*resultobj
;
39054 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39055 wxIndividualLayoutConstraint
*result
;
39056 PyObject
* obj0
= 0 ;
39057 char *kwnames
[] = {
39058 (char *) "self", NULL
39061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
39062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39064 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
39066 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39073 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39074 PyObject
*resultobj
;
39075 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39076 wxIndividualLayoutConstraint
*result
;
39077 PyObject
* obj0
= 0 ;
39078 char *kwnames
[] = {
39079 (char *) "self", NULL
39082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
39083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39085 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
39087 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39094 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39095 PyObject
*resultobj
;
39096 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39097 wxIndividualLayoutConstraint
*result
;
39098 PyObject
* obj0
= 0 ;
39099 char *kwnames
[] = {
39100 (char *) "self", NULL
39103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
39104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39106 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
39108 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39115 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39116 PyObject
*resultobj
;
39117 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39118 wxIndividualLayoutConstraint
*result
;
39119 PyObject
* obj0
= 0 ;
39120 char *kwnames
[] = {
39121 (char *) "self", NULL
39124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
39125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39127 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
39129 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39136 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39137 PyObject
*resultobj
;
39138 wxLayoutConstraints
*result
;
39139 char *kwnames
[] = {
39143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
39145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39146 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
39148 wxPyEndAllowThreads(__tstate
);
39149 if (PyErr_Occurred()) SWIG_fail
;
39151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
39158 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39159 PyObject
*resultobj
;
39160 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39161 wxWindow
*arg2
= (wxWindow
*) 0 ;
39162 int *arg3
= (int *) 0 ;
39165 PyObject
* obj0
= 0 ;
39166 PyObject
* obj1
= 0 ;
39167 char *kwnames
[] = {
39168 (char *) "self",(char *) "win", NULL
39172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
39173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39175 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39179 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
39181 wxPyEndAllowThreads(__tstate
);
39182 if (PyErr_Occurred()) SWIG_fail
;
39185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39188 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
39189 resultobj
= t_output_helper(resultobj
,o
);
39197 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39198 PyObject
*resultobj
;
39199 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39201 PyObject
* obj0
= 0 ;
39202 char *kwnames
[] = {
39203 (char *) "self", NULL
39206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
39207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39211 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
39213 wxPyEndAllowThreads(__tstate
);
39214 if (PyErr_Occurred()) SWIG_fail
;
39217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39225 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
39227 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39228 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
39230 return Py_BuildValue((char *)"");
39232 static PyMethodDef SwigMethods
[] = {
39233 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
39234 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
39235 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39236 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39237 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
39238 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39239 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39240 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39241 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39242 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39243 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39244 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39245 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39246 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39247 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39248 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39249 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39250 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39251 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39252 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39253 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39254 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39255 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39256 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
39257 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39258 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39259 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39260 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39261 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39262 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39263 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39264 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39265 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39266 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39267 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39268 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39269 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
39270 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39271 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39272 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39273 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39274 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39275 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39276 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39277 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39278 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39279 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39280 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39281 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39282 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39283 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39284 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
39285 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39286 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39287 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39288 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39289 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39290 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39291 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39292 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39293 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39294 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39295 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39296 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39297 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39298 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39299 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39300 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39301 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39302 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39303 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39304 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39305 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39306 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39307 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39308 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39309 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39310 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39311 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39312 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39313 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39314 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39315 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39316 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39317 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39318 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39319 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39320 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39321 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39322 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39323 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39324 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39325 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39326 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39327 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39328 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39329 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39330 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39331 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39332 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39333 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39334 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39335 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
39336 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39337 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39338 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39339 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39340 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39341 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39342 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39343 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39344 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39345 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39346 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39347 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39348 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39349 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39350 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39351 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39352 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39353 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39354 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39355 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39356 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39357 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39358 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39359 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39360 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39361 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39362 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39363 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
39364 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39365 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39366 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39367 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39368 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39369 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39370 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39371 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39372 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39373 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39374 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39375 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39376 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39377 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39378 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39379 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39380 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39381 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
39382 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39383 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
39384 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39385 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39386 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39387 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39388 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39389 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39390 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39391 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
39392 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
39393 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39394 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39395 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39396 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39397 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39398 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39399 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39400 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39401 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39402 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39403 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39404 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
39405 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39406 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39407 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39408 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39409 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39410 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39411 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39412 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39413 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39414 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39415 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
39416 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39417 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39418 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39419 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39420 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
39421 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39422 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39423 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39424 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39425 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39426 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
39427 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39428 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39429 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39430 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39431 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39432 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39433 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39434 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39435 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39436 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
39437 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39438 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39439 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39440 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39441 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39442 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39443 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39444 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39445 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39446 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
39447 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39448 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39449 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39450 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
39451 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39452 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39453 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39454 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39455 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39456 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39457 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39458 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39459 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39460 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39461 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39462 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39463 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39464 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39465 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39466 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39467 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39468 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39469 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39470 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39471 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39472 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39473 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39474 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39475 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39476 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39477 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39478 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39479 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39480 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39481 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39482 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39483 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39484 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39485 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39486 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39487 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39488 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39489 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39490 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39491 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39492 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39493 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39494 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39495 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39496 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39497 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39498 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39499 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39500 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39501 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39502 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39503 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39504 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39505 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39506 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39507 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39508 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39509 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39510 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39511 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39512 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39513 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39514 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39515 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39516 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39517 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39518 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39519 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39520 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
39521 { (char *)"InitAllImageHandlers", (PyCFunction
) _wrap_InitAllImageHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39522 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39523 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
39524 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39525 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
39526 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39527 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
39528 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39529 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
39530 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39531 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
39532 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39533 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
39534 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39535 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
39536 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39537 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
39538 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39539 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
39540 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39541 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
39542 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39543 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
39544 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39545 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39546 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39547 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39548 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39549 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39550 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39551 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39552 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39553 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39554 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39555 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39556 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39557 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
39558 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39559 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39560 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39561 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39562 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39563 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39564 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39565 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39566 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39567 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39568 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39569 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39570 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39571 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39572 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39573 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39574 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39575 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
39576 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39577 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39578 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
39579 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39580 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39581 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
39582 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39583 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39584 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39585 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39586 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39587 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39588 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39589 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39590 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39591 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39592 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39593 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
39594 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39595 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39596 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39597 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39598 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
39599 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39600 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39601 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39602 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39603 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39604 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
39605 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39606 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39607 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39608 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39609 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39610 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
39611 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39612 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39613 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39614 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39615 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39616 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39617 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39618 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39619 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39620 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39621 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39622 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39623 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39624 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39625 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39626 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39627 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39628 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39629 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39630 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39631 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39632 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39633 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39634 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39635 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39636 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39637 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39638 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39639 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39640 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39641 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39642 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39643 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39644 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39645 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39646 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39647 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39648 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39649 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39650 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39651 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39652 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39653 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39654 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39655 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39656 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39657 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39658 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39659 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39660 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39661 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39662 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39663 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39664 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39665 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39666 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39667 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39668 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39669 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39670 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39671 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39672 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
39673 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39674 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39675 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39676 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39677 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39678 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39679 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
39680 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39681 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39682 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39683 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39684 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39685 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39686 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39687 { (char *)"KeyEvent_GetUniChar", (PyCFunction
) _wrap_KeyEvent_GetUniChar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39688 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39689 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39690 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39691 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39692 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39693 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39694 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39695 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39696 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39697 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39698 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39699 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39700 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39701 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39702 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39703 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39704 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39705 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39706 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39707 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39708 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39709 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39710 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39711 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39712 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39713 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39714 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
39715 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39716 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39717 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39718 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39719 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39720 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39721 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39722 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39723 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39724 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
39725 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39726 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39727 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39728 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39729 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39730 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39731 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39732 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39733 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39734 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
39735 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39736 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
39737 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39738 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
39739 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39740 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39741 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
39742 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39743 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39744 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39745 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
39746 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39747 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39748 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
39749 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39750 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39751 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
39752 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39753 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
39754 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39755 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39756 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39757 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39758 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
39759 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39760 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39761 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39762 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39763 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39764 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39765 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39766 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
39767 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39768 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39769 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39770 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
39771 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39772 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39773 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
39774 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39775 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
39776 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39777 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39778 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39779 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
39780 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39781 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39782 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39783 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39784 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39785 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39786 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39787 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39788 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39789 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39790 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39791 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39792 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39793 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39794 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39795 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39796 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
39797 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39798 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
39799 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39800 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39801 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
39802 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39803 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
39804 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39805 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39806 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39807 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
39808 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39809 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39810 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39811 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
39812 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39813 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39814 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39815 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39816 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39817 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39818 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39819 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
39820 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39821 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39822 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
39823 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39824 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39825 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
39826 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39827 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39828 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39829 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
39830 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39831 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39832 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39833 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39834 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39835 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39836 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
39837 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39838 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39839 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39840 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39841 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
39842 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39843 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39844 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39845 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39846 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
39847 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39848 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39849 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39850 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39851 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39852 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39853 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39854 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39855 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39856 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39857 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39858 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39859 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39860 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39861 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39862 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39863 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39864 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39865 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39866 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39867 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39868 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39869 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39870 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39871 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39872 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39873 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39874 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39875 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39876 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39877 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39878 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39879 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39880 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39881 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39882 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39883 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39884 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39885 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39886 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39887 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39888 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39889 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39890 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
39891 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39892 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39893 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39894 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39895 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39896 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39897 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39898 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39899 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39900 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39901 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39902 { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_SetMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39903 { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_GetMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39904 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39905 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39906 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39907 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
39908 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39909 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39910 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39911 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
39912 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39913 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39914 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39915 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39916 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39917 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39918 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39919 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39920 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39921 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39922 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39923 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39924 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39925 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39926 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39927 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39928 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39929 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39930 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39931 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39932 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39933 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39934 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39935 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39936 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39937 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39938 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39939 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39940 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39941 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39942 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39943 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39944 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39945 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39946 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39947 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39948 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39949 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39950 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39951 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39952 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39953 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39954 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39955 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39956 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39957 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39958 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39959 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39960 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39961 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39962 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39963 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39964 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39965 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39966 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39967 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39968 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39969 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39970 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39971 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39972 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39973 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39974 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39975 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39976 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39977 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39978 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39979 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39980 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39981 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39982 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39983 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39984 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39985 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39986 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39987 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39988 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39989 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39990 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39991 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39992 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39993 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39994 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39995 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39996 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39997 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39998 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39999 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40000 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40001 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40002 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40003 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40004 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40005 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40006 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40007 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40008 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40009 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40010 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40011 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40012 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40013 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40014 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40015 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40016 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40017 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40018 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40019 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40020 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40021 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40022 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40023 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40024 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40025 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40026 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40027 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40028 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40029 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40030 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40031 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40032 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40033 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40034 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40035 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40036 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40037 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40038 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40039 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40040 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40041 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40042 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40043 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40044 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40045 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40046 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40047 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40048 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40049 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40050 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40051 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40052 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40053 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40054 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40055 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40056 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40057 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40058 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40059 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
40060 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40061 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40062 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40063 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40064 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40065 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40066 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40067 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40068 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40069 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40070 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40071 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40072 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40073 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40074 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40075 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40076 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40077 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40078 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40079 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40080 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40081 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40082 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40083 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40084 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40085 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40086 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40087 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40088 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40089 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40090 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40091 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40092 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40093 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40094 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40095 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
40096 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40097 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40098 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40099 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40100 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40101 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40102 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40103 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40104 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40105 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40106 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40107 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40108 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40109 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
40110 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40111 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40112 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
40113 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40114 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40115 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40116 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40117 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40118 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40119 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40120 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40121 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40122 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40123 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40124 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40125 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40126 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40127 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40128 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40129 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40130 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40131 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40132 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40133 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40134 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40135 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40136 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40137 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40138 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40139 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40140 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40141 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40142 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40143 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40144 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40145 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40146 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40147 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40148 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40149 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40150 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40151 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40152 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40153 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40154 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40155 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40156 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40157 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40158 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40159 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40160 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40161 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40162 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40163 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40164 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40165 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40166 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40167 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
40168 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40169 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40170 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40171 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40172 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40173 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40174 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40175 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40176 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40177 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40178 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40179 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40180 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40181 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40182 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40183 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40184 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40185 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40186 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40187 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40188 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40189 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40190 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40191 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40192 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40193 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40194 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
40195 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40196 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40197 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40198 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40199 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40200 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40201 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40202 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40203 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40204 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40205 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40206 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40207 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40208 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40209 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40210 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40211 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40212 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40213 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40214 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40215 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40216 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40217 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40218 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40219 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40220 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40221 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40222 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40223 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
40224 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40225 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40226 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40227 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40228 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40229 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40230 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
40231 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40232 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40233 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40234 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40235 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40236 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40237 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40238 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40239 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40240 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40241 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40242 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40243 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40244 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40245 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40246 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40247 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
40248 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
40249 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40250 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40251 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40252 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40253 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40254 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40255 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40256 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40257 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40258 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40259 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40260 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40261 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40262 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40263 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40264 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40265 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40266 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40267 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40268 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40269 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40270 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40271 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40272 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40273 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40274 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40275 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40276 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40277 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40278 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40279 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40280 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40281 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40282 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40283 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
40284 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40285 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40286 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40287 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40288 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40289 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40290 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40291 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40292 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40293 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40294 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40295 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40296 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40297 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40298 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40299 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40300 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40301 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40302 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40303 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40304 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40305 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40306 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40307 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40308 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40309 { (char *)"Sizer_Hide", (PyCFunction
) _wrap_Sizer_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40310 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40311 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40312 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
40313 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40314 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40315 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
40316 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40317 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40318 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40319 { (char *)"BoxSizer_RecalcSizes", (PyCFunction
) _wrap_BoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40320 { (char *)"BoxSizer_CalcMin", (PyCFunction
) _wrap_BoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40321 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
40322 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40323 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40324 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_StaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40325 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction
) _wrap_StaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40326 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
40327 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40328 { (char *)"GridSizer_RecalcSizes", (PyCFunction
) _wrap_GridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40329 { (char *)"GridSizer_CalcMin", (PyCFunction
) _wrap_GridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40330 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40331 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40332 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40333 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40334 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40335 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40336 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40337 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40338 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
40339 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40340 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_FlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40341 { (char *)"FlexGridSizer_CalcMin", (PyCFunction
) _wrap_FlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40342 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40343 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40344 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40345 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40346 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40347 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40348 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40349 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40350 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40351 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40352 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
40353 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40354 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40355 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40356 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40357 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40358 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40359 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40360 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40361 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40362 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
40363 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40364 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40365 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40366 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40367 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40368 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40369 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40370 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40371 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40372 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
40373 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40374 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40375 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40376 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40377 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40378 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40379 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40380 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40381 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects
, METH_VARARGS
, NULL
},
40382 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40383 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40384 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40385 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
40386 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40387 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40388 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40389 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40390 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40391 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
40392 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
40393 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
40394 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
40395 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
40396 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40397 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40398 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction
) _wrap_GridBagSizer_FindItemWithData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40399 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction
) _wrap_GridBagSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40400 { (char *)"GridBagSizer_CalcMin", (PyCFunction
) _wrap_GridBagSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40401 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
, NULL
},
40402 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
40403 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40404 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40405 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40406 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40407 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40408 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40409 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40410 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40411 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40412 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40413 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40414 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40415 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40416 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40417 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40418 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40419 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40420 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40421 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40422 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40423 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40424 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40425 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40426 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40427 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40428 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40429 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
40430 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40431 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40432 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40433 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40434 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40435 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40436 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40437 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40438 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40439 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40440 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40441 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
40442 { NULL
, NULL
, 0, NULL
}
40446 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
40448 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
40449 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
40451 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
40452 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
40454 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
40455 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40457 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
40458 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40460 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
40461 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
40463 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
40464 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40466 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
40467 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
40469 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
40470 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40472 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
40473 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40475 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
40476 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
40478 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
40479 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
40481 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
40482 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
40484 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
40485 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
40487 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
40488 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
40490 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
40491 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
40493 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
40494 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
40496 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
40497 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
40499 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
40500 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40502 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
40503 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
40505 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
40506 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40508 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
40509 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40511 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
40512 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
40514 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
40515 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
40517 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
40518 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
40520 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
40521 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
40523 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
40524 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
40526 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
40527 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
40529 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
40530 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
40532 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
40533 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40535 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
40536 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40538 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
40539 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40541 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
40542 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40544 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
40545 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40547 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
40548 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
40550 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
40551 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
40553 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
40554 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40556 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
40557 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
40559 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
40560 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
40562 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
40563 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40565 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
40566 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40568 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
40569 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40571 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
40572 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
40574 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
40575 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
40577 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
40578 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40580 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
40581 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40583 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
40584 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40586 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
40587 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
40589 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
40590 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
40592 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
40593 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
40595 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
40596 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
40598 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
40599 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40601 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
40602 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
40604 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
40605 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
40607 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
40608 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
40610 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
40611 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
40613 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
40614 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
40616 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
40617 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
40619 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
40620 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
40622 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
40623 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
40625 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
40626 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
40628 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
40629 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
40631 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
40632 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40634 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
40635 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
40637 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
40638 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
40640 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
40641 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
40643 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
40644 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40646 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
40647 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
40649 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
40650 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
40652 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
40653 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
40655 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
40656 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
40658 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
40659 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
40661 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
40662 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
40664 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
40665 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
40667 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
40668 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
40670 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
40671 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
40673 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
40674 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
40676 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
40677 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
40679 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
40680 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
40682 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
40683 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
40685 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
40686 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40688 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
40689 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
40691 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
40692 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
40694 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
40695 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
40697 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
40698 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
40700 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
40701 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
40703 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
40704 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
40706 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
40707 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
40709 static void *_p_wxSizerTo_p_wxObject(void *x
) {
40710 return (void *)((wxObject
*) ((wxSizer
*) x
));
40712 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
40713 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
40715 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
40716 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40718 static void *_p_wxMenuTo_p_wxObject(void *x
) {
40719 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
40721 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
40722 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
40724 static void *_p_wxImageTo_p_wxObject(void *x
) {
40725 return (void *)((wxObject
*) ((wxImage
*) x
));
40727 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
40728 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
40730 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
40731 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40733 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
40734 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
40736 static void *_p_wxWindowTo_p_wxObject(void *x
) {
40737 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
40739 static void *_p_wxControlTo_p_wxObject(void *x
) {
40740 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
40742 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
40743 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
40745 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
40746 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
40748 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
40749 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40751 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
40752 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
40754 static void *_p_wxEventTo_p_wxObject(void *x
) {
40755 return (void *)((wxObject
*) ((wxEvent
*) x
));
40757 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
40758 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
40760 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
40761 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
40763 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
40764 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
40766 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
40767 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
40769 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
40770 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
40772 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
40773 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40775 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
40776 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40778 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
40779 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
40781 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
40782 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40784 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
40785 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
40787 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
40788 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
40790 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
40791 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
40793 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
40794 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
40796 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
40797 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
40799 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
40800 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
40802 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
40803 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40805 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
40806 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
40808 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
40809 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
40811 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
40812 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
40814 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
40815 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
40817 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
40818 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
40820 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
40821 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
40823 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
40824 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
40826 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
40827 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
40829 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
40830 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40832 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
40833 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40835 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
40836 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40838 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
40839 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40841 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
40842 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40844 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
40845 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
40847 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
40848 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
40850 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
40851 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40853 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
40854 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
40856 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
40857 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
40859 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
40860 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
40862 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
40863 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
40865 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
40866 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
40868 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
40869 return (void *)((wxObject
*) ((wxFSFile
*) x
));
40871 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
40872 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
40874 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
40875 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40877 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
40878 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
40880 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
40881 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40883 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
40884 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40886 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
40887 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40889 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
40890 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
40892 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
40893 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
40895 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
40896 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
40898 static void *_p_wxControlTo_p_wxWindow(void *x
) {
40899 return (void *)((wxWindow
*) ((wxControl
*) x
));
40901 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
40902 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
40904 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
40905 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
40907 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
40908 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40910 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
40911 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
40913 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
40914 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40916 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
40917 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40919 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
40920 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40922 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
40923 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40925 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
40926 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40928 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
40929 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40931 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
40932 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
40934 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}};
40935 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}};
40936 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}};
40937 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}};
40938 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}};
40939 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}};
40940 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}};
40941 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}};
40942 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}};
40943 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}};
40944 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}};
40945 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}};
40946 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}};
40947 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}};
40948 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}};
40949 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}};
40950 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}};
40951 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}};
40952 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}};
40953 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}};
40954 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}};
40955 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}};
40956 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}};
40957 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}};
40958 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}};
40959 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}};
40960 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}};
40961 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}};
40962 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}};
40963 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}};
40964 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}};
40965 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}};
40966 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}};
40967 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}};
40968 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}};
40969 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}};
40970 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}};
40971 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}};
40972 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}};
40973 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}};
40974 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}};
40975 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}};
40976 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}};
40977 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}};
40978 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}};
40979 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}};
40980 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}};
40981 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}};
40982 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}};
40983 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}};
40984 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}};
40985 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}};
40986 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}};
40987 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}};
40988 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}};
40989 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}};
40990 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}};
40991 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}};
40992 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}};
40993 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}};
40994 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}};
40995 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}};
40996 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}};
40997 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}};
40998 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}};
40999 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}};
41000 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}};
41001 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}};
41002 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}};
41003 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}};
41004 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}};
41005 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}};
41006 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}};
41007 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}};
41008 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}};
41009 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}};
41010 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}};
41011 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}};
41012 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}};
41013 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}};
41014 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}};
41015 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}};
41016 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}};
41017 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}};
41018 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}};
41019 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}};
41020 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}};
41021 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}};
41022 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}};
41023 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}};
41024 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}};
41025 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}};
41026 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}};
41027 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}};
41028 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}};
41029 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}};
41030 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}};
41031 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}};
41032 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}};
41033 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}};
41034 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}};
41035 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}};
41036 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}};
41037 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}};
41038 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}};
41039 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}};
41040 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}};
41041 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}};
41042 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}};
41043 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}};
41044 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}};
41045 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}};
41046 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}};
41047 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}};
41049 static swig_type_info
*swig_types_initial
[] = {
41050 _swigt__p_wxLayoutConstraints
,
41051 _swigt__p_wxRealPoint
,
41052 _swigt__p_wxSizerItem
,
41053 _swigt__p_wxGBSizerItem
,
41054 _swigt__p_wxScrollEvent
,
41055 _swigt__p_wxIndividualLayoutConstraint
,
41057 _swigt__p_wxBoxSizer
,
41058 _swigt__p_wxStaticBoxSizer
,
41059 _swigt__p_wxGridBagSizer
,
41060 _swigt__p_wxAcceleratorEntry
,
41061 _swigt__p_wxUpdateUIEvent
,
41064 _swigt__p_wxGridSizer
,
41065 _swigt__p_wxFlexGridSizer
,
41066 _swigt__p_wxInitDialogEvent
,
41067 _swigt__p_wxItemContainer
,
41068 _swigt__p_wxNcPaintEvent
,
41069 _swigt__p_wxPaintEvent
,
41070 _swigt__p_wxSysColourChangedEvent
,
41071 _swigt__p_wxMouseCaptureChangedEvent
,
41072 _swigt__p_wxDisplayChangedEvent
,
41073 _swigt__p_wxPaletteChangedEvent
,
41074 _swigt__p_wxControl
,
41076 _swigt__p_wxMenuBarBase
,
41077 _swigt__p_wxSetCursorEvent
,
41078 _swigt__p_wxFSFile
,
41080 _swigt__p_wxRegion
,
41081 _swigt__p_wxPoint2D
,
41085 _swigt__p_wxPySizer
,
41086 _swigt__p_wxNotifyEvent
,
41087 _swigt__p_wxPyEvent
,
41088 _swigt__p_wxPropagationDisabler
,
41089 _swigt__p_wxAppTraits
,
41090 _swigt__p_wxArrayString
,
41091 _swigt__p_wxShowEvent
,
41092 _swigt__p_wxToolTip
,
41093 _swigt__p_wxMaximizeEvent
,
41094 _swigt__p_wxIconizeEvent
,
41095 _swigt__p_wxActivateEvent
,
41096 _swigt__p_wxMoveEvent
,
41097 _swigt__p_wxSizeEvent
,
41098 _swigt__p_wxQueryNewPaletteEvent
,
41099 _swigt__p_wxWindowCreateEvent
,
41100 _swigt__p_wxIdleEvent
,
41101 _swigt__p_wxMenuItem
,
41102 _swigt__p_wxStaticBox
,
41104 _swigt__p_wxTIFFHandler
,
41105 _swigt__p_wxXPMHandler
,
41106 _swigt__p_wxPNMHandler
,
41107 _swigt__p_wxJPEGHandler
,
41108 _swigt__p_wxPCXHandler
,
41109 _swigt__p_wxGIFHandler
,
41110 _swigt__p_wxPNGHandler
,
41111 _swigt__p_wxANIHandler
,
41112 _swigt__p_wxMemoryFSHandler
,
41113 _swigt__p_wxEvtHandler
,
41114 _swigt__p_wxCURHandler
,
41115 _swigt__p_wxICOHandler
,
41116 _swigt__p_wxBMPHandler
,
41117 _swigt__p_wxImageHandler
,
41118 _swigt__p_wxFileSystemHandler
,
41119 _swigt__p_wxPyFileSystemHandler
,
41120 _swigt__p_wxInternetFSHandler
,
41121 _swigt__p_wxZipFSHandler
,
41123 _swigt__p_wxGBSpan
,
41124 _swigt__p_wxPropagateOnce
,
41125 _swigt__p_wxAcceleratorTable
,
41127 _swigt__p_wxGBPosition
,
41130 _swigt__p_wxScrollWinEvent
,
41131 _swigt__p_wxImageHistogram
,
41134 _swigt__p_wxCursor
,
41135 _swigt__p_wxObject
,
41136 _swigt__p_wxPyInputStream
,
41137 _swigt__p_wxOutputStream
,
41138 _swigt__p_wxInputStream
,
41139 _swigt__p_wxDateTime
,
41140 _swigt__p_wxKeyEvent
,
41141 _swigt__p_wxNavigationKeyEvent
,
41142 _swigt__p_wxWindowDestroyEvent
,
41143 _swigt__p_wxWindow
,
41144 _swigt__p_wxMenuBar
,
41145 _swigt__p_wxFileSystem
,
41146 _swigt__p_wxBitmap
,
41147 _swigt__p_wxMenuEvent
,
41148 _swigt__p_wxContextMenuEvent
,
41149 _swigt__p_unsigned_char
,
41150 _swigt__p_wxCloseEvent
,
41151 _swigt__p_wxEraseEvent
,
41152 _swigt__p_wxMouseEvent
,
41154 _swigt__p_wxCommandEvent
,
41155 _swigt__p_wxPyCommandEvent
,
41156 _swigt__p_wxPyDropTarget
,
41157 _swigt__p_wxChildFocusEvent
,
41158 _swigt__p_wxFocusEvent
,
41159 _swigt__p_wxDropFilesEvent
,
41160 _swigt__p_wxControlWithItems
,
41161 _swigt__p_wxColour
,
41162 _swigt__p_wxValidator
,
41163 _swigt__p_wxPyValidator
,
41168 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
41170 static swig_const_info swig_const_table
[] = {
41171 {0, 0, 0, 0.0, 0, 0}};
41180 SWIGEXPORT(void) SWIG_init(void) {
41181 static PyObject
*SWIG_globals
= 0;
41182 static int typeinit
= 0;
41185 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
41186 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
41187 d
= PyModule_GetDict(m
);
41190 for (i
= 0; swig_types_initial
[i
]; i
++) {
41191 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
41195 SWIG_InstallConstants(d
,swig_const_table
);
41198 #ifndef wxPyUSE_EXPORT
41199 // Make our API structure a CObject so other modules can import it
41200 // from this module.
41201 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
41202 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
41206 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_FromInt((int)wxNOT_FOUND
));
41207 PyDict_SetItemString(d
,"VSCROLL", SWIG_FromInt((int)wxVSCROLL
));
41208 PyDict_SetItemString(d
,"HSCROLL", SWIG_FromInt((int)wxHSCROLL
));
41209 PyDict_SetItemString(d
,"CAPTION", SWIG_FromInt((int)wxCAPTION
));
41210 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_FromInt((int)wxDOUBLE_BORDER
));
41211 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_FromInt((int)wxSUNKEN_BORDER
));
41212 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_FromInt((int)wxRAISED_BORDER
));
41213 PyDict_SetItemString(d
,"BORDER", SWIG_FromInt((int)wxBORDER
));
41214 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_FromInt((int)wxSIMPLE_BORDER
));
41215 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_FromInt((int)wxSTATIC_BORDER
));
41216 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_FromInt((int)wxTRANSPARENT_WINDOW
));
41217 PyDict_SetItemString(d
,"NO_BORDER", SWIG_FromInt((int)wxNO_BORDER
));
41218 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS
));
41219 PyDict_SetItemString(d
,"NO_3D", SWIG_FromInt((int)wxNO_3D
));
41220 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_FromInt((int)wxTAB_TRAVERSAL
));
41221 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_FromInt((int)wxWANTS_CHARS
));
41222 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_FromInt((int)wxPOPUP_WINDOW
));
41223 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_FromInt((int)wxCENTER_FRAME
));
41224 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_FromInt((int)wxCENTRE_ON_SCREEN
));
41225 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_FromInt((int)wxCENTER_ON_SCREEN
));
41226 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP
));
41227 PyDict_SetItemString(d
,"ICONIZE", SWIG_FromInt((int)wxICONIZE
));
41228 PyDict_SetItemString(d
,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE
));
41229 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE
));
41230 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX
));
41231 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME
));
41232 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU
));
41233 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX
));
41234 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX
));
41235 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ
));
41236 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT
));
41237 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX
));
41238 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER
));
41239 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL
));
41240 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS
));
41241 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT
));
41242 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE
));
41243 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE
));
41244 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW
));
41245 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT
));
41246 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU
));
41247 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR
));
41248 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED
));
41249 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_FromInt((int)wxED_CLIENT_MARGIN
));
41250 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_FromInt((int)wxED_BUTTONS_BOTTOM
));
41251 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_FromInt((int)wxED_BUTTONS_RIGHT
));
41252 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_FromInt((int)wxED_STATIC_LINE
));
41253 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_FromInt((int)wxEXT_DIALOG_STYLE
));
41254 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_FromInt((int)wxCLIP_CHILDREN
));
41255 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_FromInt((int)wxCLIP_SIBLINGS
));
41256 PyDict_SetItemString(d
,"RETAINED", SWIG_FromInt((int)wxRETAINED
));
41257 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_FromInt((int)wxBACKINGSTORE
));
41258 PyDict_SetItemString(d
,"COLOURED", SWIG_FromInt((int)wxCOLOURED
));
41259 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_FromInt((int)wxFIXED_LENGTH
));
41260 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_FromInt((int)wxLB_NEEDED_SB
));
41261 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_FromInt((int)wxLB_ALWAYS_SB
));
41262 PyDict_SetItemString(d
,"LB_SORT", SWIG_FromInt((int)wxLB_SORT
));
41263 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_FromInt((int)wxLB_SINGLE
));
41264 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_FromInt((int)wxLB_MULTIPLE
));
41265 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_FromInt((int)wxLB_EXTENDED
));
41266 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_FromInt((int)wxLB_OWNERDRAW
));
41267 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_FromInt((int)wxLB_HSCROLL
));
41268 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_FromInt((int)wxPROCESS_ENTER
));
41269 PyDict_SetItemString(d
,"PASSWORD", SWIG_FromInt((int)wxPASSWORD
));
41270 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_FromInt((int)wxCB_SIMPLE
));
41271 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_FromInt((int)wxCB_DROPDOWN
));
41272 PyDict_SetItemString(d
,"CB_SORT", SWIG_FromInt((int)wxCB_SORT
));
41273 PyDict_SetItemString(d
,"CB_READONLY", SWIG_FromInt((int)wxCB_READONLY
));
41274 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_FromInt((int)wxRA_HORIZONTAL
));
41275 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_FromInt((int)wxRA_VERTICAL
));
41276 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_FromInt((int)wxRA_SPECIFY_ROWS
));
41277 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_FromInt((int)wxRA_SPECIFY_COLS
));
41278 PyDict_SetItemString(d
,"RB_GROUP", SWIG_FromInt((int)wxRB_GROUP
));
41279 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_FromInt((int)wxRB_SINGLE
));
41280 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_FromInt((int)wxSL_HORIZONTAL
));
41281 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_FromInt((int)wxSL_VERTICAL
));
41282 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_FromInt((int)wxSL_AUTOTICKS
));
41283 PyDict_SetItemString(d
,"SL_LABELS", SWIG_FromInt((int)wxSL_LABELS
));
41284 PyDict_SetItemString(d
,"SL_LEFT", SWIG_FromInt((int)wxSL_LEFT
));
41285 PyDict_SetItemString(d
,"SL_TOP", SWIG_FromInt((int)wxSL_TOP
));
41286 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_FromInt((int)wxSL_RIGHT
));
41287 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_FromInt((int)wxSL_BOTTOM
));
41288 PyDict_SetItemString(d
,"SL_BOTH", SWIG_FromInt((int)wxSL_BOTH
));
41289 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_FromInt((int)wxSL_SELRANGE
));
41290 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_FromInt((int)wxSB_HORIZONTAL
));
41291 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_FromInt((int)wxSB_VERTICAL
));
41292 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_FromInt((int)wxST_SIZEGRIP
));
41293 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_FromInt((int)wxST_NO_AUTORESIZE
));
41294 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_FromInt((int)wxFLOOD_SURFACE
));
41295 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_FromInt((int)wxFLOOD_BORDER
));
41296 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_FromInt((int)wxODDEVEN_RULE
));
41297 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_FromInt((int)wxWINDING_RULE
));
41298 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_FromInt((int)wxTOOL_TOP
));
41299 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_FromInt((int)wxTOOL_BOTTOM
));
41300 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_FromInt((int)wxTOOL_LEFT
));
41301 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_FromInt((int)wxTOOL_RIGHT
));
41302 PyDict_SetItemString(d
,"OK", SWIG_FromInt((int)wxOK
));
41303 PyDict_SetItemString(d
,"YES_NO", SWIG_FromInt((int)wxYES_NO
));
41304 PyDict_SetItemString(d
,"CANCEL", SWIG_FromInt((int)wxCANCEL
));
41305 PyDict_SetItemString(d
,"YES", SWIG_FromInt((int)wxYES
));
41306 PyDict_SetItemString(d
,"NO", SWIG_FromInt((int)wxNO
));
41307 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_FromInt((int)wxNO_DEFAULT
));
41308 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_FromInt((int)wxYES_DEFAULT
));
41309 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_FromInt((int)wxICON_EXCLAMATION
));
41310 PyDict_SetItemString(d
,"ICON_HAND", SWIG_FromInt((int)wxICON_HAND
));
41311 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_FromInt((int)wxICON_QUESTION
));
41312 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_FromInt((int)wxICON_INFORMATION
));
41313 PyDict_SetItemString(d
,"ICON_STOP", SWIG_FromInt((int)wxICON_STOP
));
41314 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_FromInt((int)wxICON_ASTERISK
));
41315 PyDict_SetItemString(d
,"ICON_MASK", SWIG_FromInt((int)wxICON_MASK
));
41316 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_FromInt((int)wxICON_WARNING
));
41317 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_FromInt((int)wxICON_ERROR
));
41318 PyDict_SetItemString(d
,"FORWARD", SWIG_FromInt((int)wxFORWARD
));
41319 PyDict_SetItemString(d
,"BACKWARD", SWIG_FromInt((int)wxBACKWARD
));
41320 PyDict_SetItemString(d
,"RESET", SWIG_FromInt((int)wxRESET
));
41321 PyDict_SetItemString(d
,"HELP", SWIG_FromInt((int)wxHELP
));
41322 PyDict_SetItemString(d
,"MORE", SWIG_FromInt((int)wxMORE
));
41323 PyDict_SetItemString(d
,"SETUP", SWIG_FromInt((int)wxSETUP
));
41324 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_FromInt((int)wxSIZE_AUTO_WIDTH
));
41325 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_FromInt((int)wxSIZE_AUTO_HEIGHT
));
41326 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_FromInt((int)wxSIZE_AUTO
));
41327 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_FromInt((int)wxSIZE_USE_EXISTING
));
41328 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_FromInt((int)wxSIZE_ALLOW_MINUS_ONE
));
41329 PyDict_SetItemString(d
,"PORTRAIT", SWIG_FromInt((int)wxPORTRAIT
));
41330 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_FromInt((int)wxLANDSCAPE
));
41331 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_FromInt((int)wxPRINT_QUALITY_HIGH
));
41332 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_FromInt((int)wxPRINT_QUALITY_MEDIUM
));
41333 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_FromInt((int)wxPRINT_QUALITY_LOW
));
41334 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_FromInt((int)wxPRINT_QUALITY_DRAFT
));
41335 PyDict_SetItemString(d
,"ID_ANY", SWIG_FromInt((int)wxID_ANY
));
41336 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_FromInt((int)wxID_SEPARATOR
));
41337 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_FromInt((int)wxID_LOWEST
));
41338 PyDict_SetItemString(d
,"ID_OPEN", SWIG_FromInt((int)wxID_OPEN
));
41339 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_FromInt((int)wxID_CLOSE
));
41340 PyDict_SetItemString(d
,"ID_NEW", SWIG_FromInt((int)wxID_NEW
));
41341 PyDict_SetItemString(d
,"ID_SAVE", SWIG_FromInt((int)wxID_SAVE
));
41342 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_FromInt((int)wxID_SAVEAS
));
41343 PyDict_SetItemString(d
,"ID_REVERT", SWIG_FromInt((int)wxID_REVERT
));
41344 PyDict_SetItemString(d
,"ID_EXIT", SWIG_FromInt((int)wxID_EXIT
));
41345 PyDict_SetItemString(d
,"ID_UNDO", SWIG_FromInt((int)wxID_UNDO
));
41346 PyDict_SetItemString(d
,"ID_REDO", SWIG_FromInt((int)wxID_REDO
));
41347 PyDict_SetItemString(d
,"ID_HELP", SWIG_FromInt((int)wxID_HELP
));
41348 PyDict_SetItemString(d
,"ID_PRINT", SWIG_FromInt((int)wxID_PRINT
));
41349 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_FromInt((int)wxID_PRINT_SETUP
));
41350 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_FromInt((int)wxID_PREVIEW
));
41351 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_FromInt((int)wxID_ABOUT
));
41352 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_FromInt((int)wxID_HELP_CONTENTS
));
41353 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_FromInt((int)wxID_HELP_COMMANDS
));
41354 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_FromInt((int)wxID_HELP_PROCEDURES
));
41355 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_FromInt((int)wxID_HELP_CONTEXT
));
41356 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_FromInt((int)wxID_CLOSE_ALL
));
41357 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_FromInt((int)wxID_PREFERENCES
));
41358 PyDict_SetItemString(d
,"ID_CUT", SWIG_FromInt((int)wxID_CUT
));
41359 PyDict_SetItemString(d
,"ID_COPY", SWIG_FromInt((int)wxID_COPY
));
41360 PyDict_SetItemString(d
,"ID_PASTE", SWIG_FromInt((int)wxID_PASTE
));
41361 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_FromInt((int)wxID_CLEAR
));
41362 PyDict_SetItemString(d
,"ID_FIND", SWIG_FromInt((int)wxID_FIND
));
41363 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_FromInt((int)wxID_DUPLICATE
));
41364 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_FromInt((int)wxID_SELECTALL
));
41365 PyDict_SetItemString(d
,"ID_DELETE", SWIG_FromInt((int)wxID_DELETE
));
41366 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_FromInt((int)wxID_REPLACE
));
41367 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_FromInt((int)wxID_REPLACE_ALL
));
41368 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_FromInt((int)wxID_PROPERTIES
));
41369 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_FromInt((int)wxID_VIEW_DETAILS
));
41370 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_FromInt((int)wxID_VIEW_LARGEICONS
));
41371 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_FromInt((int)wxID_VIEW_SMALLICONS
));
41372 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_FromInt((int)wxID_VIEW_LIST
));
41373 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_FromInt((int)wxID_VIEW_SORTDATE
));
41374 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_FromInt((int)wxID_VIEW_SORTNAME
));
41375 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_FromInt((int)wxID_VIEW_SORTSIZE
));
41376 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_FromInt((int)wxID_VIEW_SORTTYPE
));
41377 PyDict_SetItemString(d
,"ID_FILE1", SWIG_FromInt((int)wxID_FILE1
));
41378 PyDict_SetItemString(d
,"ID_FILE2", SWIG_FromInt((int)wxID_FILE2
));
41379 PyDict_SetItemString(d
,"ID_FILE3", SWIG_FromInt((int)wxID_FILE3
));
41380 PyDict_SetItemString(d
,"ID_FILE4", SWIG_FromInt((int)wxID_FILE4
));
41381 PyDict_SetItemString(d
,"ID_FILE5", SWIG_FromInt((int)wxID_FILE5
));
41382 PyDict_SetItemString(d
,"ID_FILE6", SWIG_FromInt((int)wxID_FILE6
));
41383 PyDict_SetItemString(d
,"ID_FILE7", SWIG_FromInt((int)wxID_FILE7
));
41384 PyDict_SetItemString(d
,"ID_FILE8", SWIG_FromInt((int)wxID_FILE8
));
41385 PyDict_SetItemString(d
,"ID_FILE9", SWIG_FromInt((int)wxID_FILE9
));
41386 PyDict_SetItemString(d
,"ID_OK", SWIG_FromInt((int)wxID_OK
));
41387 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_FromInt((int)wxID_CANCEL
));
41388 PyDict_SetItemString(d
,"ID_APPLY", SWIG_FromInt((int)wxID_APPLY
));
41389 PyDict_SetItemString(d
,"ID_YES", SWIG_FromInt((int)wxID_YES
));
41390 PyDict_SetItemString(d
,"ID_NO", SWIG_FromInt((int)wxID_NO
));
41391 PyDict_SetItemString(d
,"ID_STATIC", SWIG_FromInt((int)wxID_STATIC
));
41392 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_FromInt((int)wxID_FORWARD
));
41393 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_FromInt((int)wxID_BACKWARD
));
41394 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_FromInt((int)wxID_DEFAULT
));
41395 PyDict_SetItemString(d
,"ID_MORE", SWIG_FromInt((int)wxID_MORE
));
41396 PyDict_SetItemString(d
,"ID_SETUP", SWIG_FromInt((int)wxID_SETUP
));
41397 PyDict_SetItemString(d
,"ID_RESET", SWIG_FromInt((int)wxID_RESET
));
41398 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_FromInt((int)wxID_CONTEXT_HELP
));
41399 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_FromInt((int)wxID_YESTOALL
));
41400 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_FromInt((int)wxID_NOTOALL
));
41401 PyDict_SetItemString(d
,"ID_ABORT", SWIG_FromInt((int)wxID_ABORT
));
41402 PyDict_SetItemString(d
,"ID_RETRY", SWIG_FromInt((int)wxID_RETRY
));
41403 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_FromInt((int)wxID_IGNORE
));
41404 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_FromInt((int)wxID_HIGHEST
));
41405 PyDict_SetItemString(d
,"OPEN", SWIG_FromInt((int)wxOPEN
));
41406 PyDict_SetItemString(d
,"SAVE", SWIG_FromInt((int)wxSAVE
));
41407 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_FromInt((int)wxHIDE_READONLY
));
41408 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_FromInt((int)wxOVERWRITE_PROMPT
));
41409 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_FromInt((int)wxFILE_MUST_EXIST
));
41410 PyDict_SetItemString(d
,"MULTIPLE", SWIG_FromInt((int)wxMULTIPLE
));
41411 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_FromInt((int)wxCHANGE_DIR
));
41412 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_FromInt((int)wxACCEL_ALT
));
41413 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_FromInt((int)wxACCEL_CTRL
));
41414 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_FromInt((int)wxACCEL_SHIFT
));
41415 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_FromInt((int)wxACCEL_NORMAL
));
41416 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_FromInt((int)wxPD_AUTO_HIDE
));
41417 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_FromInt((int)wxPD_APP_MODAL
));
41418 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_FromInt((int)wxPD_CAN_ABORT
));
41419 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_FromInt((int)wxPD_ELAPSED_TIME
));
41420 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_FromInt((int)wxPD_ESTIMATED_TIME
));
41421 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_FromInt((int)wxPD_REMAINING_TIME
));
41422 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_FromInt((int)wxDD_NEW_DIR_BUTTON
));
41423 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_FromInt((int)wxDD_DEFAULT_STYLE
));
41424 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_FromInt((int)wxMENU_TEAROFF
));
41425 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_FromInt((int)wxMB_DOCKABLE
));
41426 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE
));
41427 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxFULL_REPAINT_ON_RESIZE
));
41428 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_FromInt((int)wxLI_HORIZONTAL
));
41429 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_FromInt((int)wxLI_VERTICAL
));
41430 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY
));
41431 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_FromInt((int)wxWS_EX_BLOCK_EVENTS
));
41432 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_FromInt((int)wxWS_EX_TRANSIENT
));
41433 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_FromInt((int)wxWS_EX_THEMED_BACKGROUND
));
41434 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_FromInt((int)wxWS_EX_PROCESS_IDLE
));
41435 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES
));
41436 PyDict_SetItemString(d
,"MM_TEXT", SWIG_FromInt((int)wxMM_TEXT
));
41437 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_FromInt((int)wxMM_LOMETRIC
));
41438 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_FromInt((int)wxMM_HIMETRIC
));
41439 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_FromInt((int)wxMM_LOENGLISH
));
41440 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_FromInt((int)wxMM_HIENGLISH
));
41441 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_FromInt((int)wxMM_TWIPS
));
41442 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_FromInt((int)wxMM_ISOTROPIC
));
41443 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_FromInt((int)wxMM_ANISOTROPIC
));
41444 PyDict_SetItemString(d
,"MM_POINTS", SWIG_FromInt((int)wxMM_POINTS
));
41445 PyDict_SetItemString(d
,"MM_METRIC", SWIG_FromInt((int)wxMM_METRIC
));
41446 PyDict_SetItemString(d
,"CENTRE", SWIG_FromInt((int)wxCENTRE
));
41447 PyDict_SetItemString(d
,"CENTER", SWIG_FromInt((int)wxCENTER
));
41448 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_FromInt((int)wxHORIZONTAL
));
41449 PyDict_SetItemString(d
,"VERTICAL", SWIG_FromInt((int)wxVERTICAL
));
41450 PyDict_SetItemString(d
,"BOTH", SWIG_FromInt((int)wxBOTH
));
41451 PyDict_SetItemString(d
,"LEFT", SWIG_FromInt((int)wxLEFT
));
41452 PyDict_SetItemString(d
,"RIGHT", SWIG_FromInt((int)wxRIGHT
));
41453 PyDict_SetItemString(d
,"UP", SWIG_FromInt((int)wxUP
));
41454 PyDict_SetItemString(d
,"DOWN", SWIG_FromInt((int)wxDOWN
));
41455 PyDict_SetItemString(d
,"TOP", SWIG_FromInt((int)wxTOP
));
41456 PyDict_SetItemString(d
,"BOTTOM", SWIG_FromInt((int)wxBOTTOM
));
41457 PyDict_SetItemString(d
,"NORTH", SWIG_FromInt((int)wxNORTH
));
41458 PyDict_SetItemString(d
,"SOUTH", SWIG_FromInt((int)wxSOUTH
));
41459 PyDict_SetItemString(d
,"WEST", SWIG_FromInt((int)wxWEST
));
41460 PyDict_SetItemString(d
,"EAST", SWIG_FromInt((int)wxEAST
));
41461 PyDict_SetItemString(d
,"ALL", SWIG_FromInt((int)wxALL
));
41462 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_FromInt((int)wxALIGN_NOT
));
41463 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTER_HORIZONTAL
));
41464 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTRE_HORIZONTAL
));
41465 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_FromInt((int)wxALIGN_LEFT
));
41466 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_FromInt((int)wxALIGN_TOP
));
41467 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_FromInt((int)wxALIGN_RIGHT
));
41468 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_FromInt((int)wxALIGN_BOTTOM
));
41469 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTER_VERTICAL
));
41470 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTRE_VERTICAL
));
41471 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_FromInt((int)wxALIGN_CENTER
));
41472 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_FromInt((int)wxALIGN_CENTRE
));
41473 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_FromInt((int)wxALIGN_MASK
));
41474 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_FromInt((int)wxSTRETCH_NOT
));
41475 PyDict_SetItemString(d
,"SHRINK", SWIG_FromInt((int)wxSHRINK
));
41476 PyDict_SetItemString(d
,"GROW", SWIG_FromInt((int)wxGROW
));
41477 PyDict_SetItemString(d
,"EXPAND", SWIG_FromInt((int)wxEXPAND
));
41478 PyDict_SetItemString(d
,"SHAPED", SWIG_FromInt((int)wxSHAPED
));
41479 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_FromInt((int)wxADJUST_MINSIZE
));
41480 PyDict_SetItemString(d
,"TILE", SWIG_FromInt((int)wxTILE
));
41481 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_FromInt((int)wxBORDER_DEFAULT
));
41482 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_FromInt((int)wxBORDER_NONE
));
41483 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_FromInt((int)wxBORDER_STATIC
));
41484 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_FromInt((int)wxBORDER_SIMPLE
));
41485 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_FromInt((int)wxBORDER_RAISED
));
41486 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_FromInt((int)wxBORDER_SUNKEN
));
41487 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_FromInt((int)wxBORDER_DOUBLE
));
41488 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_FromInt((int)wxBORDER_MASK
));
41489 PyDict_SetItemString(d
,"DEFAULT", SWIG_FromInt((int)wxDEFAULT
));
41490 PyDict_SetItemString(d
,"DECORATIVE", SWIG_FromInt((int)wxDECORATIVE
));
41491 PyDict_SetItemString(d
,"ROMAN", SWIG_FromInt((int)wxROMAN
));
41492 PyDict_SetItemString(d
,"SCRIPT", SWIG_FromInt((int)wxSCRIPT
));
41493 PyDict_SetItemString(d
,"SWISS", SWIG_FromInt((int)wxSWISS
));
41494 PyDict_SetItemString(d
,"MODERN", SWIG_FromInt((int)wxMODERN
));
41495 PyDict_SetItemString(d
,"TELETYPE", SWIG_FromInt((int)wxTELETYPE
));
41496 PyDict_SetItemString(d
,"VARIABLE", SWIG_FromInt((int)wxVARIABLE
));
41497 PyDict_SetItemString(d
,"FIXED", SWIG_FromInt((int)wxFIXED
));
41498 PyDict_SetItemString(d
,"NORMAL", SWIG_FromInt((int)wxNORMAL
));
41499 PyDict_SetItemString(d
,"LIGHT", SWIG_FromInt((int)wxLIGHT
));
41500 PyDict_SetItemString(d
,"BOLD", SWIG_FromInt((int)wxBOLD
));
41501 PyDict_SetItemString(d
,"ITALIC", SWIG_FromInt((int)wxITALIC
));
41502 PyDict_SetItemString(d
,"SLANT", SWIG_FromInt((int)wxSLANT
));
41503 PyDict_SetItemString(d
,"SOLID", SWIG_FromInt((int)wxSOLID
));
41504 PyDict_SetItemString(d
,"DOT", SWIG_FromInt((int)wxDOT
));
41505 PyDict_SetItemString(d
,"LONG_DASH", SWIG_FromInt((int)wxLONG_DASH
));
41506 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_FromInt((int)wxSHORT_DASH
));
41507 PyDict_SetItemString(d
,"DOT_DASH", SWIG_FromInt((int)wxDOT_DASH
));
41508 PyDict_SetItemString(d
,"USER_DASH", SWIG_FromInt((int)wxUSER_DASH
));
41509 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_FromInt((int)wxTRANSPARENT
));
41510 PyDict_SetItemString(d
,"STIPPLE", SWIG_FromInt((int)wxSTIPPLE
));
41511 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_FromInt((int)wxBDIAGONAL_HATCH
));
41512 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_FromInt((int)wxCROSSDIAG_HATCH
));
41513 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_FromInt((int)wxFDIAGONAL_HATCH
));
41514 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_FromInt((int)wxCROSS_HATCH
));
41515 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_FromInt((int)wxHORIZONTAL_HATCH
));
41516 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_FromInt((int)wxVERTICAL_HATCH
));
41517 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_FromInt((int)wxJOIN_BEVEL
));
41518 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_FromInt((int)wxJOIN_MITER
));
41519 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_FromInt((int)wxJOIN_ROUND
));
41520 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_FromInt((int)wxCAP_ROUND
));
41521 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_FromInt((int)wxCAP_PROJECTING
));
41522 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_FromInt((int)wxCAP_BUTT
));
41523 PyDict_SetItemString(d
,"CLEAR", SWIG_FromInt((int)wxCLEAR
));
41524 PyDict_SetItemString(d
,"XOR", SWIG_FromInt((int)wxXOR
));
41525 PyDict_SetItemString(d
,"INVERT", SWIG_FromInt((int)wxINVERT
));
41526 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_FromInt((int)wxOR_REVERSE
));
41527 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_FromInt((int)wxAND_REVERSE
));
41528 PyDict_SetItemString(d
,"COPY", SWIG_FromInt((int)wxCOPY
));
41529 PyDict_SetItemString(d
,"AND", SWIG_FromInt((int)wxAND
));
41530 PyDict_SetItemString(d
,"AND_INVERT", SWIG_FromInt((int)wxAND_INVERT
));
41531 PyDict_SetItemString(d
,"NO_OP", SWIG_FromInt((int)wxNO_OP
));
41532 PyDict_SetItemString(d
,"NOR", SWIG_FromInt((int)wxNOR
));
41533 PyDict_SetItemString(d
,"EQUIV", SWIG_FromInt((int)wxEQUIV
));
41534 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_FromInt((int)wxSRC_INVERT
));
41535 PyDict_SetItemString(d
,"OR_INVERT", SWIG_FromInt((int)wxOR_INVERT
));
41536 PyDict_SetItemString(d
,"NAND", SWIG_FromInt((int)wxNAND
));
41537 PyDict_SetItemString(d
,"OR", SWIG_FromInt((int)wxOR
));
41538 PyDict_SetItemString(d
,"SET", SWIG_FromInt((int)wxSET
));
41539 PyDict_SetItemString(d
,"WXK_BACK", SWIG_FromInt((int)WXK_BACK
));
41540 PyDict_SetItemString(d
,"WXK_TAB", SWIG_FromInt((int)WXK_TAB
));
41541 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_FromInt((int)WXK_RETURN
));
41542 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_FromInt((int)WXK_ESCAPE
));
41543 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_FromInt((int)WXK_SPACE
));
41544 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_FromInt((int)WXK_DELETE
));
41545 PyDict_SetItemString(d
,"WXK_START", SWIG_FromInt((int)WXK_START
));
41546 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_FromInt((int)WXK_LBUTTON
));
41547 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_FromInt((int)WXK_RBUTTON
));
41548 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_FromInt((int)WXK_CANCEL
));
41549 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_FromInt((int)WXK_MBUTTON
));
41550 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_FromInt((int)WXK_CLEAR
));
41551 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_FromInt((int)WXK_SHIFT
));
41552 PyDict_SetItemString(d
,"WXK_ALT", SWIG_FromInt((int)WXK_ALT
));
41553 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_FromInt((int)WXK_CONTROL
));
41554 PyDict_SetItemString(d
,"WXK_MENU", SWIG_FromInt((int)WXK_MENU
));
41555 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_FromInt((int)WXK_PAUSE
));
41556 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_FromInt((int)WXK_CAPITAL
));
41557 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_FromInt((int)WXK_PRIOR
));
41558 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_FromInt((int)WXK_NEXT
));
41559 PyDict_SetItemString(d
,"WXK_END", SWIG_FromInt((int)WXK_END
));
41560 PyDict_SetItemString(d
,"WXK_HOME", SWIG_FromInt((int)WXK_HOME
));
41561 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_FromInt((int)WXK_LEFT
));
41562 PyDict_SetItemString(d
,"WXK_UP", SWIG_FromInt((int)WXK_UP
));
41563 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_FromInt((int)WXK_RIGHT
));
41564 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_FromInt((int)WXK_DOWN
));
41565 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_FromInt((int)WXK_SELECT
));
41566 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_FromInt((int)WXK_PRINT
));
41567 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_FromInt((int)WXK_EXECUTE
));
41568 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_FromInt((int)WXK_SNAPSHOT
));
41569 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_FromInt((int)WXK_INSERT
));
41570 PyDict_SetItemString(d
,"WXK_HELP", SWIG_FromInt((int)WXK_HELP
));
41571 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_FromInt((int)WXK_NUMPAD0
));
41572 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_FromInt((int)WXK_NUMPAD1
));
41573 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_FromInt((int)WXK_NUMPAD2
));
41574 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_FromInt((int)WXK_NUMPAD3
));
41575 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_FromInt((int)WXK_NUMPAD4
));
41576 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_FromInt((int)WXK_NUMPAD5
));
41577 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_FromInt((int)WXK_NUMPAD6
));
41578 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_FromInt((int)WXK_NUMPAD7
));
41579 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_FromInt((int)WXK_NUMPAD8
));
41580 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_FromInt((int)WXK_NUMPAD9
));
41581 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_FromInt((int)WXK_MULTIPLY
));
41582 PyDict_SetItemString(d
,"WXK_ADD", SWIG_FromInt((int)WXK_ADD
));
41583 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_FromInt((int)WXK_SEPARATOR
));
41584 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_FromInt((int)WXK_SUBTRACT
));
41585 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_FromInt((int)WXK_DECIMAL
));
41586 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_FromInt((int)WXK_DIVIDE
));
41587 PyDict_SetItemString(d
,"WXK_F1", SWIG_FromInt((int)WXK_F1
));
41588 PyDict_SetItemString(d
,"WXK_F2", SWIG_FromInt((int)WXK_F2
));
41589 PyDict_SetItemString(d
,"WXK_F3", SWIG_FromInt((int)WXK_F3
));
41590 PyDict_SetItemString(d
,"WXK_F4", SWIG_FromInt((int)WXK_F4
));
41591 PyDict_SetItemString(d
,"WXK_F5", SWIG_FromInt((int)WXK_F5
));
41592 PyDict_SetItemString(d
,"WXK_F6", SWIG_FromInt((int)WXK_F6
));
41593 PyDict_SetItemString(d
,"WXK_F7", SWIG_FromInt((int)WXK_F7
));
41594 PyDict_SetItemString(d
,"WXK_F8", SWIG_FromInt((int)WXK_F8
));
41595 PyDict_SetItemString(d
,"WXK_F9", SWIG_FromInt((int)WXK_F9
));
41596 PyDict_SetItemString(d
,"WXK_F10", SWIG_FromInt((int)WXK_F10
));
41597 PyDict_SetItemString(d
,"WXK_F11", SWIG_FromInt((int)WXK_F11
));
41598 PyDict_SetItemString(d
,"WXK_F12", SWIG_FromInt((int)WXK_F12
));
41599 PyDict_SetItemString(d
,"WXK_F13", SWIG_FromInt((int)WXK_F13
));
41600 PyDict_SetItemString(d
,"WXK_F14", SWIG_FromInt((int)WXK_F14
));
41601 PyDict_SetItemString(d
,"WXK_F15", SWIG_FromInt((int)WXK_F15
));
41602 PyDict_SetItemString(d
,"WXK_F16", SWIG_FromInt((int)WXK_F16
));
41603 PyDict_SetItemString(d
,"WXK_F17", SWIG_FromInt((int)WXK_F17
));
41604 PyDict_SetItemString(d
,"WXK_F18", SWIG_FromInt((int)WXK_F18
));
41605 PyDict_SetItemString(d
,"WXK_F19", SWIG_FromInt((int)WXK_F19
));
41606 PyDict_SetItemString(d
,"WXK_F20", SWIG_FromInt((int)WXK_F20
));
41607 PyDict_SetItemString(d
,"WXK_F21", SWIG_FromInt((int)WXK_F21
));
41608 PyDict_SetItemString(d
,"WXK_F22", SWIG_FromInt((int)WXK_F22
));
41609 PyDict_SetItemString(d
,"WXK_F23", SWIG_FromInt((int)WXK_F23
));
41610 PyDict_SetItemString(d
,"WXK_F24", SWIG_FromInt((int)WXK_F24
));
41611 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_FromInt((int)WXK_NUMLOCK
));
41612 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_FromInt((int)WXK_SCROLL
));
41613 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_FromInt((int)WXK_PAGEUP
));
41614 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_FromInt((int)WXK_PAGEDOWN
));
41615 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_FromInt((int)WXK_NUMPAD_SPACE
));
41616 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_FromInt((int)WXK_NUMPAD_TAB
));
41617 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_FromInt((int)WXK_NUMPAD_ENTER
));
41618 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_FromInt((int)WXK_NUMPAD_F1
));
41619 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_FromInt((int)WXK_NUMPAD_F2
));
41620 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_FromInt((int)WXK_NUMPAD_F3
));
41621 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_FromInt((int)WXK_NUMPAD_F4
));
41622 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_FromInt((int)WXK_NUMPAD_HOME
));
41623 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_FromInt((int)WXK_NUMPAD_LEFT
));
41624 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_FromInt((int)WXK_NUMPAD_UP
));
41625 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_FromInt((int)WXK_NUMPAD_RIGHT
));
41626 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_FromInt((int)WXK_NUMPAD_DOWN
));
41627 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_FromInt((int)WXK_NUMPAD_PRIOR
));
41628 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_FromInt((int)WXK_NUMPAD_PAGEUP
));
41629 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_FromInt((int)WXK_NUMPAD_NEXT
));
41630 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_FromInt((int)WXK_NUMPAD_PAGEDOWN
));
41631 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_FromInt((int)WXK_NUMPAD_END
));
41632 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_FromInt((int)WXK_NUMPAD_BEGIN
));
41633 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_FromInt((int)WXK_NUMPAD_INSERT
));
41634 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_FromInt((int)WXK_NUMPAD_DELETE
));
41635 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_FromInt((int)WXK_NUMPAD_EQUAL
));
41636 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_FromInt((int)WXK_NUMPAD_MULTIPLY
));
41637 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_FromInt((int)WXK_NUMPAD_ADD
));
41638 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_FromInt((int)WXK_NUMPAD_SEPARATOR
));
41639 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_FromInt((int)WXK_NUMPAD_SUBTRACT
));
41640 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_FromInt((int)WXK_NUMPAD_DECIMAL
));
41641 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_FromInt((int)WXK_NUMPAD_DIVIDE
));
41642 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_FromInt((int)WXK_WINDOWS_LEFT
));
41643 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_FromInt((int)WXK_WINDOWS_RIGHT
));
41644 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_FromInt((int)WXK_WINDOWS_MENU
));
41645 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_FromInt((int)wxPAPER_NONE
));
41646 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_FromInt((int)wxPAPER_LETTER
));
41647 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_FromInt((int)wxPAPER_LEGAL
));
41648 PyDict_SetItemString(d
,"PAPER_A4", SWIG_FromInt((int)wxPAPER_A4
));
41649 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_FromInt((int)wxPAPER_CSHEET
));
41650 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_FromInt((int)wxPAPER_DSHEET
));
41651 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_FromInt((int)wxPAPER_ESHEET
));
41652 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_FromInt((int)wxPAPER_LETTERSMALL
));
41653 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_FromInt((int)wxPAPER_TABLOID
));
41654 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_FromInt((int)wxPAPER_LEDGER
));
41655 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_FromInt((int)wxPAPER_STATEMENT
));
41656 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_FromInt((int)wxPAPER_EXECUTIVE
));
41657 PyDict_SetItemString(d
,"PAPER_A3", SWIG_FromInt((int)wxPAPER_A3
));
41658 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_FromInt((int)wxPAPER_A4SMALL
));
41659 PyDict_SetItemString(d
,"PAPER_A5", SWIG_FromInt((int)wxPAPER_A5
));
41660 PyDict_SetItemString(d
,"PAPER_B4", SWIG_FromInt((int)wxPAPER_B4
));
41661 PyDict_SetItemString(d
,"PAPER_B5", SWIG_FromInt((int)wxPAPER_B5
));
41662 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_FromInt((int)wxPAPER_FOLIO
));
41663 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_FromInt((int)wxPAPER_QUARTO
));
41664 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_FromInt((int)wxPAPER_10X14
));
41665 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_FromInt((int)wxPAPER_11X17
));
41666 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_FromInt((int)wxPAPER_NOTE
));
41667 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_FromInt((int)wxPAPER_ENV_9
));
41668 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_FromInt((int)wxPAPER_ENV_10
));
41669 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_FromInt((int)wxPAPER_ENV_11
));
41670 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_FromInt((int)wxPAPER_ENV_12
));
41671 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_FromInt((int)wxPAPER_ENV_14
));
41672 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_FromInt((int)wxPAPER_ENV_DL
));
41673 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_FromInt((int)wxPAPER_ENV_C5
));
41674 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_FromInt((int)wxPAPER_ENV_C3
));
41675 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_FromInt((int)wxPAPER_ENV_C4
));
41676 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_FromInt((int)wxPAPER_ENV_C6
));
41677 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_FromInt((int)wxPAPER_ENV_C65
));
41678 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_FromInt((int)wxPAPER_ENV_B4
));
41679 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_FromInt((int)wxPAPER_ENV_B5
));
41680 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_FromInt((int)wxPAPER_ENV_B6
));
41681 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_FromInt((int)wxPAPER_ENV_ITALY
));
41682 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_FromInt((int)wxPAPER_ENV_MONARCH
));
41683 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_FromInt((int)wxPAPER_ENV_PERSONAL
));
41684 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_FromInt((int)wxPAPER_FANFOLD_US
));
41685 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN
));
41686 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN
));
41687 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_FromInt((int)wxPAPER_ISO_B4
));
41688 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_FromInt((int)wxPAPER_JAPANESE_POSTCARD
));
41689 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_FromInt((int)wxPAPER_9X11
));
41690 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_FromInt((int)wxPAPER_10X11
));
41691 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_FromInt((int)wxPAPER_15X11
));
41692 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_FromInt((int)wxPAPER_ENV_INVITE
));
41693 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA
));
41694 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_FromInt((int)wxPAPER_LEGAL_EXTRA
));
41695 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_FromInt((int)wxPAPER_TABLOID_EXTRA
));
41696 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_FromInt((int)wxPAPER_A4_EXTRA
));
41697 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_TRANSVERSE
));
41698 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A4_TRANSVERSE
));
41699 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
41700 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_FromInt((int)wxPAPER_A_PLUS
));
41701 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_FromInt((int)wxPAPER_B_PLUS
));
41702 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_FromInt((int)wxPAPER_LETTER_PLUS
));
41703 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_FromInt((int)wxPAPER_A4_PLUS
));
41704 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A5_TRANSVERSE
));
41705 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_B5_TRANSVERSE
));
41706 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_FromInt((int)wxPAPER_A3_EXTRA
));
41707 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_FromInt((int)wxPAPER_A5_EXTRA
));
41708 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_FromInt((int)wxPAPER_B5_EXTRA
));
41709 PyDict_SetItemString(d
,"PAPER_A2", SWIG_FromInt((int)wxPAPER_A2
));
41710 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_TRANSVERSE
));
41711 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
41712 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_FromInt((int)wxDUPLEX_SIMPLEX
));
41713 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_FromInt((int)wxDUPLEX_HORIZONTAL
));
41714 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_FromInt((int)wxDUPLEX_VERTICAL
));
41715 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_FromInt((int)wxITEM_SEPARATOR
));
41716 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_FromInt((int)wxITEM_NORMAL
));
41717 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_FromInt((int)wxITEM_CHECK
));
41718 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_FromInt((int)wxITEM_RADIO
));
41719 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_FromInt((int)wxITEM_MAX
));
41720 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_FromInt((int)wxHT_NOWHERE
));
41721 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_FromInt((int)wxHT_SCROLLBAR_FIRST
));
41722 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
41723 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
41724 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
41725 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
41726 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_FromInt((int)wxHT_SCROLLBAR_THUMB
));
41727 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_1
));
41728 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_2
));
41729 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_FromInt((int)wxHT_SCROLLBAR_LAST
));
41730 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_FromInt((int)wxHT_WINDOW_OUTSIDE
));
41731 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_FromInt((int)wxHT_WINDOW_INSIDE
));
41732 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR
));
41733 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
41734 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_FromInt((int)wxHT_WINDOW_CORNER
));
41735 PyDict_SetItemString(d
,"HT_MAX", SWIG_FromInt((int)wxHT_MAX
));
41736 PyDict_SetItemString(d
,"MOD_NONE", SWIG_FromInt((int)wxMOD_NONE
));
41737 PyDict_SetItemString(d
,"MOD_ALT", SWIG_FromInt((int)wxMOD_ALT
));
41738 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_FromInt((int)wxMOD_CONTROL
));
41739 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_FromInt((int)wxMOD_SHIFT
));
41740 PyDict_SetItemString(d
,"MOD_WIN", SWIG_FromInt((int)wxMOD_WIN
));
41741 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_FromInt((int)wxUPDATE_UI_NONE
));
41742 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_FromInt((int)wxUPDATE_UI_RECURSE
));
41743 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_FromInt((int)wxUPDATE_UI_FROMIDLE
));
41744 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
41745 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
41746 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_FromInt((int)wxBITMAP_TYPE_INVALID
));
41747 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_FromInt((int)wxBITMAP_TYPE_BMP
));
41748 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_FromInt((int)wxBITMAP_TYPE_ICO
));
41749 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_FromInt((int)wxBITMAP_TYPE_CUR
));
41750 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_FromInt((int)wxBITMAP_TYPE_XBM
));
41751 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XBM_DATA
));
41752 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_FromInt((int)wxBITMAP_TYPE_XPM
));
41753 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XPM_DATA
));
41754 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_FromInt((int)wxBITMAP_TYPE_TIF
));
41755 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_FromInt((int)wxBITMAP_TYPE_GIF
));
41756 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_FromInt((int)wxBITMAP_TYPE_PNG
));
41757 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_FromInt((int)wxBITMAP_TYPE_JPEG
));
41758 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_FromInt((int)wxBITMAP_TYPE_PNM
));
41759 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_FromInt((int)wxBITMAP_TYPE_PCX
));
41760 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_FromInt((int)wxBITMAP_TYPE_PICT
));
41761 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_FromInt((int)wxBITMAP_TYPE_ICON
));
41762 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_FromInt((int)wxBITMAP_TYPE_ANI
));
41763 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_FromInt((int)wxBITMAP_TYPE_IFF
));
41764 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_FromInt((int)wxBITMAP_TYPE_MACCURSOR
));
41765 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_FromInt((int)wxBITMAP_TYPE_ANY
));
41766 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_FromInt((int)wxCURSOR_NONE
));
41767 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_FromInt((int)wxCURSOR_ARROW
));
41768 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_FromInt((int)wxCURSOR_RIGHT_ARROW
));
41769 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_FromInt((int)wxCURSOR_BULLSEYE
));
41770 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_FromInt((int)wxCURSOR_CHAR
));
41771 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_FromInt((int)wxCURSOR_CROSS
));
41772 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_FromInt((int)wxCURSOR_HAND
));
41773 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_FromInt((int)wxCURSOR_IBEAM
));
41774 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_FromInt((int)wxCURSOR_LEFT_BUTTON
));
41775 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_FromInt((int)wxCURSOR_MAGNIFIER
));
41776 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_FromInt((int)wxCURSOR_MIDDLE_BUTTON
));
41777 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_FromInt((int)wxCURSOR_NO_ENTRY
));
41778 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_FromInt((int)wxCURSOR_PAINT_BRUSH
));
41779 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_FromInt((int)wxCURSOR_PENCIL
));
41780 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_FromInt((int)wxCURSOR_POINT_LEFT
));
41781 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_FromInt((int)wxCURSOR_POINT_RIGHT
));
41782 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_FromInt((int)wxCURSOR_QUESTION_ARROW
));
41783 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_FromInt((int)wxCURSOR_RIGHT_BUTTON
));
41784 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_FromInt((int)wxCURSOR_SIZENESW
));
41785 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_FromInt((int)wxCURSOR_SIZENS
));
41786 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_FromInt((int)wxCURSOR_SIZENWSE
));
41787 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_FromInt((int)wxCURSOR_SIZEWE
));
41788 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_FromInt((int)wxCURSOR_SIZING
));
41789 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_FromInt((int)wxCURSOR_SPRAYCAN
));
41790 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_FromInt((int)wxCURSOR_WAIT
));
41791 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_FromInt((int)wxCURSOR_WATCH
));
41792 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_FromInt((int)wxCURSOR_BLANK
));
41793 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_FromInt((int)wxCURSOR_DEFAULT
));
41794 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_FromInt((int)wxCURSOR_COPY_ARROW
));
41795 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_FromInt((int)wxCURSOR_ARROWWAIT
));
41796 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_FromInt((int)wxCURSOR_MAX
));
41797 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
41798 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
41799 PyDict_SetItemString(d
,"FromStart", SWIG_FromInt((int)wxFromStart
));
41800 PyDict_SetItemString(d
,"FromCurrent", SWIG_FromInt((int)wxFromCurrent
));
41801 PyDict_SetItemString(d
,"FromEnd", SWIG_FromInt((int)wxFromEnd
));
41803 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
41806 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
41808 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
41809 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
41810 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
41811 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
41812 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
41813 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
41814 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_FromInt((int)wxIMAGE_RESOLUTION_INCHES
));
41815 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_FromInt((int)wxIMAGE_RESOLUTION_CM
));
41816 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_FromInt((int)wxBMP_24BPP
));
41817 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_FromInt((int)wxBMP_8BPP
));
41818 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_FromInt((int)wxBMP_8BPP_GREY
));
41819 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_FromInt((int)wxBMP_8BPP_GRAY
));
41820 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_FromInt((int)wxBMP_8BPP_RED
));
41821 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_FromInt((int)wxBMP_8BPP_PALETTE
));
41822 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_FromInt((int)wxBMP_4BPP
));
41823 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_FromInt((int)wxBMP_1BPP
));
41824 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_FromInt((int)wxBMP_1BPP_BW
));
41825 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_FromInt((int)wxEVENT_PROPAGATE_NONE
));
41826 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_FromInt((int)wxEVENT_PROPAGATE_MAX
));
41827 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
41828 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
41829 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
41830 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
41831 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
41832 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
41833 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
41834 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
41835 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
41836 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
41837 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
41838 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
41839 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
41840 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
41841 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
41842 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
41843 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
41844 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
41845 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
41846 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
41847 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
41848 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
41849 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
41850 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
41851 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
41852 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
41853 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
41854 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
41855 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
41856 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
41857 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
41858 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
41859 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
41860 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
41861 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
41862 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
41863 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
41864 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
41865 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
41866 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
41867 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
41868 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
41869 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
41870 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
41871 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
41872 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
41873 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
41874 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
41875 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
41876 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
41877 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
41878 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
41879 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
41880 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
41881 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
41882 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
41883 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
41884 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
41885 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
41886 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
41887 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
41888 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
41889 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
41890 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
41891 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
41892 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
41893 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
41894 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
41895 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
41896 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
41897 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
41898 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
41899 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
41900 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
41901 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
41902 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
41903 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
41904 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
41905 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
41906 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
41907 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
41908 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
41909 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
41910 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
41911 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
41912 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
41913 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
41914 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
41915 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
41916 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
41917 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
41918 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
41919 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
41920 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
41921 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
41922 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
41923 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
41924 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
41925 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
41926 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
41927 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
41928 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
41929 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
41930 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
41931 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
41932 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
41933 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
41934 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
41935 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
41936 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
41937 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
41938 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
41939 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
41940 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
41941 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_FromInt((int)wxMOUSE_BTN_ANY
));
41942 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_FromInt((int)wxMOUSE_BTN_NONE
));
41943 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_FromInt((int)wxMOUSE_BTN_LEFT
));
41944 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_FromInt((int)wxMOUSE_BTN_MIDDLE
));
41945 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_FromInt((int)wxMOUSE_BTN_RIGHT
));
41946 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_ALL
));
41947 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
41948 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_FromInt((int)wxIDLE_PROCESS_ALL
));
41949 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_FromInt((int)wxIDLE_PROCESS_SPECIFIED
));
41950 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_FromInt((int)wxPYAPP_ASSERT_SUPPRESS
));
41951 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_FromInt((int)wxPYAPP_ASSERT_EXCEPTION
));
41952 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_FromInt((int)wxPYAPP_ASSERT_DIALOG
));
41953 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_FromInt((int)wxPYAPP_ASSERT_LOG
));
41954 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_FromInt((int)wxPRINT_WINDOWS
));
41955 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_FromInt((int)wxPRINT_POSTSCRIPT
));
41956 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
41957 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
41958 PyDict_SetItemString(d
,"WINDOW_VARIANT_DEFAULT", SWIG_FromInt((int)wxWINDOW_VARIANT_DEFAULT
));
41959 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_FromInt((int)wxWINDOW_VARIANT_NORMAL
));
41960 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_FromInt((int)wxWINDOW_VARIANT_SMALL
));
41961 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_FromInt((int)wxWINDOW_VARIANT_MINI
));
41962 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_FromInt((int)wxWINDOW_VARIANT_LARGE
));
41963 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
41964 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
41965 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_FromInt((int)wxFLEX_GROWMODE_NONE
));
41966 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_FromInt((int)wxFLEX_GROWMODE_SPECIFIED
));
41967 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_FromInt((int)wxFLEX_GROWMODE_ALL
));
41968 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
41969 PyDict_SetItemString(d
,"Left", SWIG_FromInt((int)wxLeft
));
41970 PyDict_SetItemString(d
,"Top", SWIG_FromInt((int)wxTop
));
41971 PyDict_SetItemString(d
,"Right", SWIG_FromInt((int)wxRight
));
41972 PyDict_SetItemString(d
,"Bottom", SWIG_FromInt((int)wxBottom
));
41973 PyDict_SetItemString(d
,"Width", SWIG_FromInt((int)wxWidth
));
41974 PyDict_SetItemString(d
,"Height", SWIG_FromInt((int)wxHeight
));
41975 PyDict_SetItemString(d
,"Centre", SWIG_FromInt((int)wxCentre
));
41976 PyDict_SetItemString(d
,"Center", SWIG_FromInt((int)wxCenter
));
41977 PyDict_SetItemString(d
,"CentreX", SWIG_FromInt((int)wxCentreX
));
41978 PyDict_SetItemString(d
,"CentreY", SWIG_FromInt((int)wxCentreY
));
41979 PyDict_SetItemString(d
,"Unconstrained", SWIG_FromInt((int)wxUnconstrained
));
41980 PyDict_SetItemString(d
,"AsIs", SWIG_FromInt((int)wxAsIs
));
41981 PyDict_SetItemString(d
,"PercentOf", SWIG_FromInt((int)wxPercentOf
));
41982 PyDict_SetItemString(d
,"Above", SWIG_FromInt((int)wxAbove
));
41983 PyDict_SetItemString(d
,"Below", SWIG_FromInt((int)wxBelow
));
41984 PyDict_SetItemString(d
,"LeftOf", SWIG_FromInt((int)wxLeftOf
));
41985 PyDict_SetItemString(d
,"RightOf", SWIG_FromInt((int)wxRightOf
));
41986 PyDict_SetItemString(d
,"SameAs", SWIG_FromInt((int)wxSameAs
));
41987 PyDict_SetItemString(d
,"Absolute", SWIG_FromInt((int)wxAbsolute
));
41989 // Initialize threading, some globals and such
41993 // Although these are defined in __version__ they need to be here too so
41994 // that an assert can be done to ensure that the wxPython and the wxWindows
41996 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
41997 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
41998 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));