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 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
639 #if INT_MAX != LONG_MAX
640 SWIGSTATICINLINE(int)
641 SWIG_AsInt(PyObject
*obj
)
643 return swig_numeric_cast(int,
644 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
645 "int", INT_MIN
, INT_MAX
));
648 #define SWIG_AsInt SWIG_AsLong
652 SWIGSTATICINLINE(int)
653 SWIG_CheckInt(PyObject
* obj
)
656 if (PyErr_Occurred()) {
664 PyObject
*wxSize_Get(wxSize
*self
){
665 wxPyBeginBlockThreads();
666 PyObject
* tup
= PyTuple_New(2);
667 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
668 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
669 wxPyEndBlockThreads();
673 SWIGSTATICINLINE(double)
674 SWIG_AsDouble(PyObject
*obj
)
676 double val
= (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
678 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
680 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
682 if (PyErr_Occurred()) {
684 PyErr_SetString(PyExc_TypeError
, "a double is expected");
690 SWIGSTATICINLINE(int)
691 SWIG_CheckDouble(PyObject
* obj
)
694 if (PyErr_Occurred()) {
702 void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
706 PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
707 wxPyBeginBlockThreads();
708 PyObject
* tup
= PyTuple_New(2);
709 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
710 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
711 wxPyEndBlockThreads();
715 SWIGSTATICINLINE(int)
716 SWIG_CheckLong(PyObject
* obj
)
719 if (PyErr_Occurred()) {
727 void wxPoint_Set(wxPoint
*self
,long x
,long y
){
731 PyObject
*wxPoint_Get(wxPoint
*self
){
732 wxPyBeginBlockThreads();
733 PyObject
* tup
= PyTuple_New(2);
734 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
735 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
736 wxPyEndBlockThreads();
739 void wxRect_Set(wxRect
*self
,int x
,int y
,int width
,int height
){
743 self
->height
= height
;
745 PyObject
*wxRect_Get(wxRect
*self
){
746 wxPyBeginBlockThreads();
747 PyObject
* tup
= PyTuple_New(4);
748 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
749 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
750 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
751 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
752 wxPyEndBlockThreads();
756 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
759 wxRect
dest(0,0,0,0);
762 reg1
.Intersect(reg2
);
763 dest
= reg1
.GetBox();
765 if (dest
!= wxRect(0,0,0,0)) {
766 wxPyBeginBlockThreads();
767 wxRect
* newRect
= new wxRect(dest
);
768 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), True
);
769 wxPyEndBlockThreads();
777 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
783 } else if (target
== Py_None
) {
787 if (!PyTuple_Check(target
)) {
789 target
= PyTuple_New(1);
790 PyTuple_SetItem(target
, 0, o2
);
793 PyTuple_SetItem(o3
, 0, o
);
796 target
= PySequence_Concat(o2
, o3
);
803 void wxPoint2D_Set(wxPoint2D
*self
,double x
,double y
){
807 PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
808 wxPyBeginBlockThreads();
809 PyObject
* tup
= PyTuple_New(2);
810 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
811 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
812 wxPyEndBlockThreads();
816 #include "wx/wxPython/pyistream.h"
818 wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
819 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
821 return new wxPyInputStream(wxis
);
826 SWIGSTATICINLINE(PyObject
*)
827 SWIG_FromChar(char c
)
829 return PyString_FromStringAndSize(&c
,1);
833 SWIGSTATICINLINE(PyObject
* )
834 SWIG_FromUnsignedLong(unsigned long value
)
836 return (value
> LONG_MAX
) ?
837 PyLong_FromUnsignedLong(value
)
838 : PyInt_FromLong(swig_numeric_cast(long,value
));
842 /* returns '1' if the input is a raw char*, '0' if is a PyString */
844 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* size
)
846 static swig_type_info
* pchar_info
= 0;
848 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
850 if (SWIG_ConvertPtr(obj
, swig_reinterpret_cast(void **,cptr
), pchar_info
, 0) == -1) {
852 PyString_AsStringAndSize(obj
, cptr
, &psize
);
853 if (PyErr_Occurred()) {
855 PyErr_SetString(PyExc_TypeError
,"a string is expected");
857 if (size
) *size
= psize
;
860 if (size
) *size
= (*cptr
) ? (strlen(*cptr
) + 1) : 0;
867 SWIG_AsCharArray(PyObject
*obj
, char* carray
, size_t size
)
869 char* cptr
; size_t csize
;
870 SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
);
871 if (PyErr_Occurred()) {
874 PyString_FromFormat("a char array of size %d is expected", size
);
875 PyErr_SetObject(PyExc_TypeError
, err
);
878 /* in C (but not in C++) you can do:
882 ie, assing the array using an extra '0' char.
885 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
889 PyString_FromFormat("a char array of maximum size %d is expected",
891 PyErr_SetObject(PyExc_TypeError
, err
);
894 if (csize
) memcpy(carray
, cptr
, csize
);
895 if (csize
< size
) memset(carray
+ csize
, 0, size
- csize
);
901 SWIGSTATICINLINE(char)
902 SWIG_AsChar(PyObject
*obj
)
905 if (PyInt_Check(obj
) || PyLong_Check(obj
)) {
906 c
= swig_numeric_cast(char,
907 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
908 "char", CHAR_MIN
, CHAR_MAX
));
910 SWIG_AsCharArray(obj
, &c
, 1);
911 if (PyErr_Occurred()) {
913 PyErr_SetString(PyExc_TypeError
, "a char is expected");
920 SWIGSTATICINLINE(int)
921 SWIG_CheckChar(PyObject
* obj
)
924 if (PyErr_Occurred()) {
932 void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
933 // We use only strings for the streams, not unicode
934 PyObject
* str
= PyObject_Str(obj
);
936 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
939 self
->Write(PyString_AS_STRING(str
),
940 PyString_GET_SIZE(str
));
944 #include "wx/wxPython/pyistream.h"
947 class wxPyFileSystemHandler
: public wxFileSystemHandler
950 wxPyFileSystemHandler() : wxFileSystemHandler() {}
952 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
953 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
954 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
955 DEC_PYCALLBACK_STRING__pure(FindNext
);
957 wxString
GetProtocol(const wxString
& location
) {
958 return wxFileSystemHandler::GetProtocol(location
);
961 wxString
GetLeftLocation(const wxString
& location
) {
962 return wxFileSystemHandler::GetLeftLocation(location
);
965 wxString
GetAnchor(const wxString
& location
) {
966 return wxFileSystemHandler::GetAnchor(location
);
969 wxString
GetRightLocation(const wxString
& location
) {
970 return wxFileSystemHandler::GetRightLocation(location
);
973 wxString
GetMimeTypeFromExt(const wxString
& location
) {
974 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
981 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
982 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
983 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
984 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
987 SWIGSTATICINLINE(bool)
988 SWIG_AsBool(PyObject
*obj
)
990 return PyObject_IsTrue(obj
) ? true : false;
994 SWIGSTATICINLINE(int)
995 SWIG_CheckBool(PyObject
* obj
)
998 if (PyErr_Occurred()) {
1007 wxString
wxFileSystem_URLToFileName(const wxString
& url
) {
1008 wxFileName fname
= wxFileSystem::URLToFileName(url
);
1009 return fname
.GetFullPath();
1013 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
1016 wxMemoryFSHandler::AddFile(filename
, image
, type
);
1019 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
1020 const wxBitmap
& bitmap
,
1022 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
1025 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
1027 wxMemoryFSHandler::AddFile(filename
,
1028 // TODO: Verify data type
1029 (void*)PyString_AsString(data
),
1030 (size_t)PyString_Size(data
));
1034 #include "wx/wxPython/pyistream.h"
1037 SWIGSTATICINLINE(unsigned long)
1038 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
1039 unsigned long max_value
)
1041 if (!PyErr_Occurred()) {
1042 if (value
> max_value
) {
1044 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
1045 value
, type
, max_value
);
1046 PyErr_SetObject(PyExc_OverflowError
, err
);
1054 SWIGSTATICINLINE(unsigned long)
1055 SWIG_AsUnsignedLong(PyObject
* obj
)
1057 if (PyLong_Check(obj
)) {
1058 return PyLong_AsUnsignedLong(obj
);
1060 long i
= PyInt_AsLong(obj
);
1061 if ( !PyErr_Occurred() && (i
< 0)) {
1062 PyErr_SetString(PyExc_TypeError
, "negative value for unsigned type");
1069 SWIGSTATICINLINE(unsigned char)
1070 SWIG_AsUnsignedChar(PyObject
*obj
)
1072 return swig_numeric_cast(unsigned char,
1073 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
1074 "unsigned char", UCHAR_MAX
));
1078 SWIGSTATICINLINE(int)
1079 SWIG_CheckUnsignedChar(PyObject
* obj
)
1081 SWIG_AsUnsignedChar(obj
);
1082 if (PyErr_Occurred()) {
1090 wxImage
*new_wxImage(int width
,int height
,bool clear
){
1091 if (width
> 0 && height
> 0)
1092 return new wxImage(width
, height
, clear
);
1096 wxImage
*new_wxImage(wxBitmap
const &bitmap
){
1097 return new wxImage(bitmap
.ConvertToImage());
1099 wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
1100 // Copy the source data so the wxImage can clean it up later
1101 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
1106 memcpy(copy
, data
, width
*height
*3);
1107 return new wxImage(width
, height
, copy
, False
);
1109 PyObject
*wxImage_GetData(wxImage
*self
){
1110 unsigned char* data
= self
->GetData();
1111 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1113 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
1116 void wxImage_SetData(wxImage
*self
,PyObject
*data
){
1117 unsigned char* dataPtr
;
1119 if (! PyString_Check(data
)) {
1120 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1124 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
1125 dataPtr
= (unsigned char*) malloc(len
);
1126 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1127 self
->SetData(dataPtr
);
1128 // wxImage takes ownership of dataPtr...
1130 PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
1131 unsigned char* data
= self
->GetData();
1132 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1134 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1137 void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
1138 unsigned char* buffer
;
1141 wxPyBeginBlockThreads();
1142 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1145 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
1146 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1149 self
->SetData(buffer
);
1151 wxPyEndBlockThreads();
1153 PyObject
*wxImage_GetAlphaData(wxImage
*self
){
1154 unsigned char* data
= self
->GetAlpha();
1158 int len
= self
->GetWidth() * self
->GetHeight();
1160 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
1164 void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
1165 unsigned char* dataPtr
;
1167 if (! PyString_Check(data
)) {
1168 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1172 size_t len
= self
->GetWidth() * self
->GetHeight();
1173 dataPtr
= (unsigned char*) malloc(len
);
1174 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1175 self
->SetAlpha(dataPtr
);
1176 // wxImage takes ownership of dataPtr...
1178 PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
1179 unsigned char* data
= self
->GetAlpha();
1180 int len
= self
->GetWidth() * self
->GetHeight();
1182 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1185 void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
1186 unsigned char* buffer
;
1189 wxPyBeginBlockThreads();
1190 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1193 if (size
!= self
->GetWidth() * self
->GetHeight()) {
1194 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1197 self
->SetAlpha(buffer
);
1199 wxPyEndBlockThreads();
1202 SWIGSTATICINLINE(int)
1203 SWIG_CheckUnsignedLong(PyObject
* obj
)
1205 SWIG_AsUnsignedLong(obj
);
1206 if (PyErr_Occurred()) {
1214 wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
){
1215 wxBitmap
bitmap(*self
);
1218 wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
1219 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
1220 wxBitmap
bitmap( mono
, 1 );
1223 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
1224 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
1225 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
1226 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
1227 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
1228 void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
1229 if (PyCallable_Check(func
)) {
1230 self
->Connect(id
, lastId
, eventType
,
1231 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
1232 new wxPyCallback(func
));
1234 else if (func
== Py_None
) {
1235 self
->Disconnect(id
, lastId
, eventType
,
1236 (wxObjectEventFunction
)
1237 &wxPyCallback::EventThunker
);
1240 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None.");
1243 bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
){
1244 return self
->Disconnect(id
, lastId
, eventType
,
1245 (wxObjectEventFunction
)
1246 &wxPyCallback::EventThunker
);
1248 void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
){
1249 if (_self
&& _self
!= Py_None
) {
1250 self
->SetClientObject(new wxPyOORClientData(_self
));
1253 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
1255 self
->SetClientObject(NULL
); // This will delete it too
1259 int wxKeyEvent_GetUniChar(wxKeyEvent
*self
){
1261 return self
->m_uniChar
;
1267 #if UINT_MAX < LONG_MAX
1268 #define SWIG_FromUnsignedInt SWIG_FromLong
1270 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1274 #if UINT_MAX != ULONG_MAX
1275 SWIGSTATICINLINE(unsigned int)
1276 SWIG_AsUnsignedInt(PyObject
*obj
)
1278 return swig_numeric_cast(unsigned int,
1279 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
1280 "unsigned int", UINT_MAX
));
1283 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
1287 SWIGSTATICINLINE(int)
1288 SWIG_CheckUnsignedInt(PyObject
* obj
)
1290 SWIG_AsUnsignedInt(obj
);
1291 if (PyErr_Occurred()) {
1299 void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
1300 self
->m_size
= size
;
1302 void wxMoveEvent_SetPosition(wxMoveEvent
*self
,wxPoint pos
){
1305 PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
1306 int count
= self
->GetNumberOfFiles();
1307 wxString
* files
= self
->GetFiles();
1308 PyObject
* list
= PyList_New(count
);
1311 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
1315 for (int i
=0; i
<count
; i
++) {
1316 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
1322 wxPyApp
*new_wxPyApp(){
1323 wxPythonApp
= new wxPyApp();
1327 void wxApp_CleanUp() {
1332 wxPyApp
* wxGetApp() {
1333 return (wxPyApp
*)wxTheApp
;
1338 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1339 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1340 wxWindowList
& list
= self
->GetChildren();
1341 return wxPy_ConvertList(&list
);
1343 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1350 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1357 long wxWindow_GetHandle(wxWindow
*self
){
1358 return wxPyGetWinHandle(self
);
1361 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1362 return wxWindow::FindWindowById(id
, parent
);
1365 wxWindow
* wxFindWindowByName( const wxString
& name
,
1366 const wxWindow
*parent
= NULL
) {
1367 return wxWindow::FindWindowByName(name
, parent
);
1370 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1371 const wxWindow
*parent
= NULL
) {
1372 return wxWindow::FindWindowByLabel(label
, parent
);
1377 #include <wx/msw/private.h> // to get wxGetWindowId
1381 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
1383 WXHWND hWnd
= (WXHWND
)_hWnd
;
1384 long id
= wxGetWindowId(hWnd
);
1385 wxWindow
* win
= new wxWindow
;
1386 parent
->AddChild(win
);
1387 win
->SetEventHandler(win
);
1390 win
->SubclassWin(hWnd
);
1391 win
->AdoptAttributesFromHWND();
1392 win
->SetupColours();
1395 wxPyRaiseNotImplemented();
1401 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1402 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1403 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1405 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1407 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1408 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1409 wxMenuItemList
& list
= self
->GetMenuItems();
1410 return wxPy_ConvertList(&list
);
1412 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1413 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1415 wxPyClientData
* data
= new wxPyClientData(clientData
);
1416 return self
->Append(item
, data
);
1418 return self
->Append(item
);
1420 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1422 wxPyClientData
* data
= new wxPyClientData(clientData
);
1423 return self
->Insert(item
, pos
, data
);
1425 return self
->Insert(item
, pos
);
1427 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1428 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1430 Py_INCREF(data
->m_obj
);
1437 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1438 wxPyClientData
* data
= new wxPyClientData(clientData
);
1439 self
->SetClientObject(n
, data
);
1447 SWIG_FloatCast(double value
)
1450 if (!PyErr_Occurred()) {
1451 if (value
< FLT_MIN
) {
1453 PyString_FromFormat("value %g is less than float minimum %g",
1455 PyErr_SetObject(PyExc_OverflowError
, err
);
1457 } else if (value
> FLT_MAX
) {
1459 PyString_FromFormat("value %g is greater than float maximum %g",
1461 PyErr_SetObject(PyExc_OverflowError
, err
);
1464 f
= swig_numeric_cast(float, value
);
1471 SWIGSTATICINLINE(float)
1472 SWIG_AsFloat(PyObject
*obj
)
1474 return SWIG_FloatCast(SWIG_AsDouble(obj
));
1478 SWIGSTATICINLINE(int)
1479 SWIG_CheckFloat(PyObject
* obj
)
1482 if (PyErr_Occurred()) {
1490 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1491 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1493 Py_INCREF(data
->m_obj
);
1501 // Figure out the type of the sizer item
1503 struct wxPySizerItemInfo
{
1505 : window(NULL
), sizer(NULL
), gotSize(False
),
1506 size(wxDefaultSize
), gotPos(False
), pos(-1)
1517 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1519 wxPySizerItemInfo info
;
1521 wxSize
* sizePtr
= &size
;
1523 // Find out what the type of the item is
1525 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1530 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1534 // try wxSize or (w,h)
1535 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1536 info
.size
= *sizePtr
;
1537 info
.gotSize
= True
;
1541 if (checkIdx
&& PyInt_Check(item
)) {
1542 info
.pos
= PyInt_AsLong(item
);
1548 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1549 // no expected type, figure out what kind of error message to generate
1550 if ( !checkSize
&& !checkIdx
)
1551 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1552 else if ( checkSize
&& !checkIdx
)
1553 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1554 else if ( !checkSize
&& checkIdx
)
1555 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1557 // can this one happen?
1558 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1564 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1565 self
->SetClientObject(new wxPyOORClientData(_self
));
1567 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1569 wxPyUserData
* data
= NULL
;
1570 wxPyBeginBlockThreads();
1571 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1572 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1573 data
= new wxPyUserData(userData
);
1574 wxPyEndBlockThreads();
1576 // Now call the real Add method if a valid item type was found
1578 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1579 else if ( info
.sizer
)
1580 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1581 else if (info
.gotSize
)
1582 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1583 proportion
, flag
, border
, data
);
1585 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1587 wxPyUserData
* data
= NULL
;
1588 wxPyBeginBlockThreads();
1589 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1590 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1591 data
= new wxPyUserData(userData
);
1592 wxPyEndBlockThreads();
1594 // Now call the real Insert method if a valid item type was found
1596 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1597 else if ( info
.sizer
)
1598 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1599 else if (info
.gotSize
)
1600 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1601 proportion
, flag
, border
, data
);
1603 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1605 wxPyUserData
* data
= NULL
;
1606 wxPyBeginBlockThreads();
1607 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1608 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1609 data
= new wxPyUserData(userData
);
1610 wxPyEndBlockThreads();
1612 // Now call the real Prepend method if a valid item type was found
1614 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1615 else if ( info
.sizer
)
1616 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1617 else if (info
.gotSize
)
1618 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1619 proportion
, flag
, border
, data
);
1621 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1622 wxPyBeginBlockThreads();
1623 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1624 wxPyEndBlockThreads();
1626 return self
->Remove(info
.window
);
1627 else if ( info
.sizer
)
1628 return self
->Remove(info
.sizer
);
1629 else if ( info
.gotPos
)
1630 return self
->Remove(info
.pos
);
1634 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1635 wxPyBeginBlockThreads();
1636 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1637 wxPyEndBlockThreads();
1639 self
->SetItemMinSize(info
.window
, size
);
1640 else if ( info
.sizer
)
1641 self
->SetItemMinSize(info
.sizer
, size
);
1642 else if ( info
.gotPos
)
1643 self
->SetItemMinSize(info
.pos
, size
);
1645 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1646 wxSizerItemList
& list
= self
->GetChildren();
1647 return wxPy_ConvertList(&list
);
1649 void wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
){
1650 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1652 self
->Show(info
.window
, show
);
1653 else if ( info
.sizer
)
1654 self
->Show(info
.sizer
, show
);
1656 void wxSizer_Hide(wxSizer
*self
,PyObject
*item
){
1657 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1659 self
->Hide(info
.window
);
1660 else if ( info
.sizer
)
1661 self
->Hide(info
.sizer
);
1663 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1664 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1666 return self
->IsShown(info
.window
);
1667 else if ( info
.sizer
)
1668 return self
->IsShown(info
.sizer
);
1674 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1675 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1676 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1681 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1683 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1686 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1688 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1692 bool wxGBPosition___eq__(wxGBPosition
*self
,wxGBPosition
const *other
){ return other
? (*self
== *other
) : False
; }
1693 bool wxGBPosition___ne__(wxGBPosition
*self
,wxGBPosition
const *other
){ return other
? (*self
!= *other
) : True
; }
1694 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1698 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1699 wxPyBeginBlockThreads();
1700 PyObject
* tup
= PyTuple_New(2);
1701 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1702 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1703 wxPyEndBlockThreads();
1706 bool wxGBSpan___eq__(wxGBSpan
*self
,wxGBSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1707 bool wxGBSpan___ne__(wxGBSpan
*self
,wxGBSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1708 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1709 self
->SetRowspan(rowspan
);
1710 self
->SetColspan(colspan
);
1712 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1713 wxPyBeginBlockThreads();
1714 PyObject
* tup
= PyTuple_New(2);
1715 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1716 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1717 wxPyEndBlockThreads();
1720 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1722 wxPyUserData
* data
= NULL
;
1723 wxPyBeginBlockThreads();
1724 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1725 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1726 data
= new wxPyUserData(userData
);
1727 wxPyEndBlockThreads();
1729 // Now call the real Add method if a valid item type was found
1731 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1732 else if ( info
.sizer
)
1733 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1734 else if (info
.gotSize
)
1735 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1736 pos
, span
, flag
, border
, data
);
1744 static int _wrap_EmptyString_set(PyObject
*_val
) {
1745 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
1750 static PyObject
*_wrap_EmptyString_get() {
1755 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1757 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1764 static PyObject
*_wrap_Object_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1765 PyObject
*resultobj
;
1766 wxObject
*arg1
= (wxObject
*) 0 ;
1768 PyObject
* obj0
= 0 ;
1770 (char *) "self", NULL
1773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1778 result
= wxObject_GetClassName(arg1
);
1780 wxPyEndAllowThreads(__tstate
);
1781 if (PyErr_Occurred()) SWIG_fail
;
1785 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1787 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1796 static PyObject
*_wrap_Object_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1797 PyObject
*resultobj
;
1798 wxObject
*arg1
= (wxObject
*) 0 ;
1799 PyObject
* obj0
= 0 ;
1801 (char *) "self", NULL
1804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1809 wxObject_Destroy(arg1
);
1811 wxPyEndAllowThreads(__tstate
);
1812 if (PyErr_Occurred()) SWIG_fail
;
1814 Py_INCREF(Py_None
); resultobj
= Py_None
;
1821 static PyObject
* Object_swigregister(PyObject
*self
, PyObject
*args
) {
1823 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1824 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1826 return Py_BuildValue((char *)"");
1828 static PyObject
*_wrap_Size_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1829 PyObject
*resultobj
;
1830 wxSize
*arg1
= (wxSize
*) 0 ;
1832 PyObject
* obj0
= 0 ;
1833 PyObject
* obj1
= 0 ;
1835 (char *) "self",(char *) "x", NULL
1838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1841 arg2
= (int) SWIG_AsInt(obj1
);
1842 if (PyErr_Occurred()) SWIG_fail
;
1843 if (arg1
) (arg1
)->x
= arg2
;
1845 Py_INCREF(Py_None
); resultobj
= Py_None
;
1852 static PyObject
*_wrap_Size_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1853 PyObject
*resultobj
;
1854 wxSize
*arg1
= (wxSize
*) 0 ;
1856 PyObject
* obj0
= 0 ;
1858 (char *) "self", NULL
1861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1864 result
= (int) ((arg1
)->x
);
1866 resultobj
= SWIG_FromInt((int)result
);
1873 static PyObject
*_wrap_Size_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1874 PyObject
*resultobj
;
1875 wxSize
*arg1
= (wxSize
*) 0 ;
1877 PyObject
* obj0
= 0 ;
1878 PyObject
* obj1
= 0 ;
1880 (char *) "self",(char *) "y", NULL
1883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1886 arg2
= (int) SWIG_AsInt(obj1
);
1887 if (PyErr_Occurred()) SWIG_fail
;
1888 if (arg1
) (arg1
)->y
= arg2
;
1890 Py_INCREF(Py_None
); resultobj
= Py_None
;
1897 static PyObject
*_wrap_Size_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1898 PyObject
*resultobj
;
1899 wxSize
*arg1
= (wxSize
*) 0 ;
1901 PyObject
* obj0
= 0 ;
1903 (char *) "self", NULL
1906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
1907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1909 result
= (int) ((arg1
)->y
);
1911 resultobj
= SWIG_FromInt((int)result
);
1918 static PyObject
*_wrap_new_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1919 PyObject
*resultobj
;
1920 int arg1
= (int) 0 ;
1921 int arg2
= (int) 0 ;
1923 PyObject
* obj0
= 0 ;
1924 PyObject
* obj1
= 0 ;
1926 (char *) "w",(char *) "h", NULL
1929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
1931 arg1
= (int) SWIG_AsInt(obj0
);
1932 if (PyErr_Occurred()) SWIG_fail
;
1935 arg2
= (int) SWIG_AsInt(obj1
);
1936 if (PyErr_Occurred()) SWIG_fail
;
1939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1940 result
= (wxSize
*)new wxSize(arg1
,arg2
);
1942 wxPyEndAllowThreads(__tstate
);
1943 if (PyErr_Occurred()) SWIG_fail
;
1945 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
1952 static PyObject
*_wrap_delete_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1953 PyObject
*resultobj
;
1954 wxSize
*arg1
= (wxSize
*) 0 ;
1955 PyObject
* obj0
= 0 ;
1957 (char *) "self", NULL
1960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
1961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1967 wxPyEndAllowThreads(__tstate
);
1968 if (PyErr_Occurred()) SWIG_fail
;
1970 Py_INCREF(Py_None
); resultobj
= Py_None
;
1977 static PyObject
*_wrap_Size___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1978 PyObject
*resultobj
;
1979 wxSize
*arg1
= (wxSize
*) 0 ;
1983 PyObject
* obj0
= 0 ;
1984 PyObject
* obj1
= 0 ;
1986 (char *) "self",(char *) "sz", NULL
1989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1994 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1998 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2000 wxPyEndAllowThreads(__tstate
);
2001 if (PyErr_Occurred()) SWIG_fail
;
2003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2010 static PyObject
*_wrap_Size___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2011 PyObject
*resultobj
;
2012 wxSize
*arg1
= (wxSize
*) 0 ;
2016 PyObject
* obj0
= 0 ;
2017 PyObject
* obj1
= 0 ;
2019 (char *) "self",(char *) "sz", NULL
2022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2027 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2031 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2033 wxPyEndAllowThreads(__tstate
);
2034 if (PyErr_Occurred()) SWIG_fail
;
2036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2043 static PyObject
*_wrap_Size___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2044 PyObject
*resultobj
;
2045 wxSize
*arg1
= (wxSize
*) 0 ;
2049 PyObject
* obj0
= 0 ;
2050 PyObject
* obj1
= 0 ;
2052 (char *) "self",(char *) "sz", NULL
2055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2060 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2064 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2066 wxPyEndAllowThreads(__tstate
);
2067 if (PyErr_Occurred()) SWIG_fail
;
2071 resultptr
= new wxSize((wxSize
&) result
);
2072 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2080 static PyObject
*_wrap_Size___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2081 PyObject
*resultobj
;
2082 wxSize
*arg1
= (wxSize
*) 0 ;
2086 PyObject
* obj0
= 0 ;
2087 PyObject
* obj1
= 0 ;
2089 (char *) "self",(char *) "sz", NULL
2092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2097 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2101 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2103 wxPyEndAllowThreads(__tstate
);
2104 if (PyErr_Occurred()) SWIG_fail
;
2108 resultptr
= new wxSize((wxSize
&) result
);
2109 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2117 static PyObject
*_wrap_Size_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2118 PyObject
*resultobj
;
2119 wxSize
*arg1
= (wxSize
*) 0 ;
2122 PyObject
* obj0
= 0 ;
2123 PyObject
* obj1
= 0 ;
2125 (char *) "self",(char *) "sz", NULL
2128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2133 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2137 (arg1
)->IncTo((wxSize
const &)*arg2
);
2139 wxPyEndAllowThreads(__tstate
);
2140 if (PyErr_Occurred()) SWIG_fail
;
2142 Py_INCREF(Py_None
); resultobj
= Py_None
;
2149 static PyObject
*_wrap_Size_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2150 PyObject
*resultobj
;
2151 wxSize
*arg1
= (wxSize
*) 0 ;
2154 PyObject
* obj0
= 0 ;
2155 PyObject
* obj1
= 0 ;
2157 (char *) "self",(char *) "sz", NULL
2160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2165 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2169 (arg1
)->DecTo((wxSize
const &)*arg2
);
2171 wxPyEndAllowThreads(__tstate
);
2172 if (PyErr_Occurred()) SWIG_fail
;
2174 Py_INCREF(Py_None
); resultobj
= Py_None
;
2181 static PyObject
*_wrap_Size_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2182 PyObject
*resultobj
;
2183 wxSize
*arg1
= (wxSize
*) 0 ;
2186 PyObject
* obj0
= 0 ;
2187 PyObject
* obj1
= 0 ;
2188 PyObject
* obj2
= 0 ;
2190 (char *) "self",(char *) "w",(char *) "h", NULL
2193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2196 arg2
= (int) SWIG_AsInt(obj1
);
2197 if (PyErr_Occurred()) SWIG_fail
;
2198 arg3
= (int) SWIG_AsInt(obj2
);
2199 if (PyErr_Occurred()) SWIG_fail
;
2201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2202 (arg1
)->Set(arg2
,arg3
);
2204 wxPyEndAllowThreads(__tstate
);
2205 if (PyErr_Occurred()) SWIG_fail
;
2207 Py_INCREF(Py_None
); resultobj
= Py_None
;
2214 static PyObject
*_wrap_Size_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2215 PyObject
*resultobj
;
2216 wxSize
*arg1
= (wxSize
*) 0 ;
2218 PyObject
* obj0
= 0 ;
2219 PyObject
* obj1
= 0 ;
2221 (char *) "self",(char *) "w", NULL
2224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2227 arg2
= (int) SWIG_AsInt(obj1
);
2228 if (PyErr_Occurred()) SWIG_fail
;
2230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2231 (arg1
)->SetWidth(arg2
);
2233 wxPyEndAllowThreads(__tstate
);
2234 if (PyErr_Occurred()) SWIG_fail
;
2236 Py_INCREF(Py_None
); resultobj
= Py_None
;
2243 static PyObject
*_wrap_Size_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2244 PyObject
*resultobj
;
2245 wxSize
*arg1
= (wxSize
*) 0 ;
2247 PyObject
* obj0
= 0 ;
2248 PyObject
* obj1
= 0 ;
2250 (char *) "self",(char *) "h", NULL
2253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2256 arg2
= (int) SWIG_AsInt(obj1
);
2257 if (PyErr_Occurred()) SWIG_fail
;
2259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2260 (arg1
)->SetHeight(arg2
);
2262 wxPyEndAllowThreads(__tstate
);
2263 if (PyErr_Occurred()) SWIG_fail
;
2265 Py_INCREF(Py_None
); resultobj
= Py_None
;
2272 static PyObject
*_wrap_Size_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2273 PyObject
*resultobj
;
2274 wxSize
*arg1
= (wxSize
*) 0 ;
2276 PyObject
* obj0
= 0 ;
2278 (char *) "self", NULL
2281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2286 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2288 wxPyEndAllowThreads(__tstate
);
2289 if (PyErr_Occurred()) SWIG_fail
;
2291 resultobj
= SWIG_FromInt((int)result
);
2298 static PyObject
*_wrap_Size_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2299 PyObject
*resultobj
;
2300 wxSize
*arg1
= (wxSize
*) 0 ;
2302 PyObject
* obj0
= 0 ;
2304 (char *) "self", NULL
2307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2312 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2314 wxPyEndAllowThreads(__tstate
);
2315 if (PyErr_Occurred()) SWIG_fail
;
2317 resultobj
= SWIG_FromInt((int)result
);
2324 static PyObject
*_wrap_Size_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2325 PyObject
*resultobj
;
2326 wxSize
*arg1
= (wxSize
*) 0 ;
2328 PyObject
* obj0
= 0 ;
2330 (char *) "self", NULL
2333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2338 result
= (PyObject
*)wxSize_Get(arg1
);
2340 wxPyEndAllowThreads(__tstate
);
2341 if (PyErr_Occurred()) SWIG_fail
;
2350 static PyObject
* Size_swigregister(PyObject
*self
, PyObject
*args
) {
2352 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2353 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2355 return Py_BuildValue((char *)"");
2357 static PyObject
*_wrap_RealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2358 PyObject
*resultobj
;
2359 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2361 PyObject
* obj0
= 0 ;
2362 PyObject
* obj1
= 0 ;
2364 (char *) "self",(char *) "x", NULL
2367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2370 arg2
= (double) SWIG_AsDouble(obj1
);
2371 if (PyErr_Occurred()) SWIG_fail
;
2372 if (arg1
) (arg1
)->x
= arg2
;
2374 Py_INCREF(Py_None
); resultobj
= Py_None
;
2381 static PyObject
*_wrap_RealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2382 PyObject
*resultobj
;
2383 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2385 PyObject
* obj0
= 0 ;
2387 (char *) "self", NULL
2390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2393 result
= (double) ((arg1
)->x
);
2395 resultobj
= SWIG_FromDouble((double)result
);
2402 static PyObject
*_wrap_RealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2403 PyObject
*resultobj
;
2404 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2406 PyObject
* obj0
= 0 ;
2407 PyObject
* obj1
= 0 ;
2409 (char *) "self",(char *) "y", NULL
2412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2415 arg2
= (double) SWIG_AsDouble(obj1
);
2416 if (PyErr_Occurred()) SWIG_fail
;
2417 if (arg1
) (arg1
)->y
= arg2
;
2419 Py_INCREF(Py_None
); resultobj
= Py_None
;
2426 static PyObject
*_wrap_RealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2427 PyObject
*resultobj
;
2428 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2430 PyObject
* obj0
= 0 ;
2432 (char *) "self", NULL
2435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2438 result
= (double) ((arg1
)->y
);
2440 resultobj
= SWIG_FromDouble((double)result
);
2447 static PyObject
*_wrap_new_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2448 PyObject
*resultobj
;
2449 double arg1
= (double) 0.0 ;
2450 double arg2
= (double) 0.0 ;
2451 wxRealPoint
*result
;
2452 PyObject
* obj0
= 0 ;
2453 PyObject
* obj1
= 0 ;
2455 (char *) "x",(char *) "y", NULL
2458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2460 arg1
= (double) SWIG_AsDouble(obj0
);
2461 if (PyErr_Occurred()) SWIG_fail
;
2464 arg2
= (double) SWIG_AsDouble(obj1
);
2465 if (PyErr_Occurred()) SWIG_fail
;
2468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2469 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2471 wxPyEndAllowThreads(__tstate
);
2472 if (PyErr_Occurred()) SWIG_fail
;
2474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2481 static PyObject
*_wrap_delete_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2482 PyObject
*resultobj
;
2483 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2484 PyObject
* obj0
= 0 ;
2486 (char *) "self", NULL
2489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2496 wxPyEndAllowThreads(__tstate
);
2497 if (PyErr_Occurred()) SWIG_fail
;
2499 Py_INCREF(Py_None
); resultobj
= Py_None
;
2506 static PyObject
*_wrap_RealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2507 PyObject
*resultobj
;
2508 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2509 wxRealPoint
*arg2
= 0 ;
2512 PyObject
* obj0
= 0 ;
2513 PyObject
* obj1
= 0 ;
2515 (char *) "self",(char *) "pt", NULL
2518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2523 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2527 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2529 wxPyEndAllowThreads(__tstate
);
2530 if (PyErr_Occurred()) SWIG_fail
;
2532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2539 static PyObject
*_wrap_RealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2540 PyObject
*resultobj
;
2541 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2542 wxRealPoint
*arg2
= 0 ;
2545 PyObject
* obj0
= 0 ;
2546 PyObject
* obj1
= 0 ;
2548 (char *) "self",(char *) "pt", NULL
2551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2556 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2560 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2562 wxPyEndAllowThreads(__tstate
);
2563 if (PyErr_Occurred()) SWIG_fail
;
2565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2572 static PyObject
*_wrap_RealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2573 PyObject
*resultobj
;
2574 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2575 wxRealPoint
*arg2
= 0 ;
2578 PyObject
* obj0
= 0 ;
2579 PyObject
* obj1
= 0 ;
2581 (char *) "self",(char *) "pt", NULL
2584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2589 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2593 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2595 wxPyEndAllowThreads(__tstate
);
2596 if (PyErr_Occurred()) SWIG_fail
;
2599 wxRealPoint
* resultptr
;
2600 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2601 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2609 static PyObject
*_wrap_RealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2610 PyObject
*resultobj
;
2611 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2612 wxRealPoint
*arg2
= 0 ;
2615 PyObject
* obj0
= 0 ;
2616 PyObject
* obj1
= 0 ;
2618 (char *) "self",(char *) "pt", NULL
2621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2626 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2630 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2632 wxPyEndAllowThreads(__tstate
);
2633 if (PyErr_Occurred()) SWIG_fail
;
2636 wxRealPoint
* resultptr
;
2637 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2638 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2646 static PyObject
*_wrap_RealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2647 PyObject
*resultobj
;
2648 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2651 PyObject
* obj0
= 0 ;
2652 PyObject
* obj1
= 0 ;
2653 PyObject
* obj2
= 0 ;
2655 (char *) "self",(char *) "x",(char *) "y", NULL
2658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2661 arg2
= (double) SWIG_AsDouble(obj1
);
2662 if (PyErr_Occurred()) SWIG_fail
;
2663 arg3
= (double) SWIG_AsDouble(obj2
);
2664 if (PyErr_Occurred()) SWIG_fail
;
2666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2667 wxRealPoint_Set(arg1
,arg2
,arg3
);
2669 wxPyEndAllowThreads(__tstate
);
2670 if (PyErr_Occurred()) SWIG_fail
;
2672 Py_INCREF(Py_None
); resultobj
= Py_None
;
2679 static PyObject
*_wrap_RealPoint_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2680 PyObject
*resultobj
;
2681 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2683 PyObject
* obj0
= 0 ;
2685 (char *) "self", NULL
2688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
2689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2693 result
= (PyObject
*)wxRealPoint_Get(arg1
);
2695 wxPyEndAllowThreads(__tstate
);
2696 if (PyErr_Occurred()) SWIG_fail
;
2705 static PyObject
* RealPoint_swigregister(PyObject
*self
, PyObject
*args
) {
2707 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2708 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2710 return Py_BuildValue((char *)"");
2712 static PyObject
*_wrap_Point_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2713 PyObject
*resultobj
;
2714 wxPoint
*arg1
= (wxPoint
*) 0 ;
2716 PyObject
* obj0
= 0 ;
2717 PyObject
* obj1
= 0 ;
2719 (char *) "self",(char *) "x", NULL
2722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2725 arg2
= (int) SWIG_AsInt(obj1
);
2726 if (PyErr_Occurred()) SWIG_fail
;
2727 if (arg1
) (arg1
)->x
= arg2
;
2729 Py_INCREF(Py_None
); resultobj
= Py_None
;
2736 static PyObject
*_wrap_Point_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2737 PyObject
*resultobj
;
2738 wxPoint
*arg1
= (wxPoint
*) 0 ;
2740 PyObject
* obj0
= 0 ;
2742 (char *) "self", NULL
2745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2748 result
= (int) ((arg1
)->x
);
2750 resultobj
= SWIG_FromInt((int)result
);
2757 static PyObject
*_wrap_Point_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2758 PyObject
*resultobj
;
2759 wxPoint
*arg1
= (wxPoint
*) 0 ;
2761 PyObject
* obj0
= 0 ;
2762 PyObject
* obj1
= 0 ;
2764 (char *) "self",(char *) "y", NULL
2767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2770 arg2
= (int) SWIG_AsInt(obj1
);
2771 if (PyErr_Occurred()) SWIG_fail
;
2772 if (arg1
) (arg1
)->y
= arg2
;
2774 Py_INCREF(Py_None
); resultobj
= Py_None
;
2781 static PyObject
*_wrap_Point_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2782 PyObject
*resultobj
;
2783 wxPoint
*arg1
= (wxPoint
*) 0 ;
2785 PyObject
* obj0
= 0 ;
2787 (char *) "self", NULL
2790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2793 result
= (int) ((arg1
)->y
);
2795 resultobj
= SWIG_FromInt((int)result
);
2802 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2803 PyObject
*resultobj
;
2804 int arg1
= (int) 0 ;
2805 int arg2
= (int) 0 ;
2807 PyObject
* obj0
= 0 ;
2808 PyObject
* obj1
= 0 ;
2810 (char *) "x",(char *) "y", NULL
2813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
2815 arg1
= (int) SWIG_AsInt(obj0
);
2816 if (PyErr_Occurred()) SWIG_fail
;
2819 arg2
= (int) SWIG_AsInt(obj1
);
2820 if (PyErr_Occurred()) SWIG_fail
;
2823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2824 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2826 wxPyEndAllowThreads(__tstate
);
2827 if (PyErr_Occurred()) SWIG_fail
;
2829 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
2836 static PyObject
*_wrap_delete_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2837 PyObject
*resultobj
;
2838 wxPoint
*arg1
= (wxPoint
*) 0 ;
2839 PyObject
* obj0
= 0 ;
2841 (char *) "self", NULL
2844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
2845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2851 wxPyEndAllowThreads(__tstate
);
2852 if (PyErr_Occurred()) SWIG_fail
;
2854 Py_INCREF(Py_None
); resultobj
= Py_None
;
2861 static PyObject
*_wrap_Point___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2862 PyObject
*resultobj
;
2863 wxPoint
*arg1
= (wxPoint
*) 0 ;
2867 PyObject
* obj0
= 0 ;
2868 PyObject
* obj1
= 0 ;
2870 (char *) "self",(char *) "pt", NULL
2873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2878 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2882 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
2884 wxPyEndAllowThreads(__tstate
);
2885 if (PyErr_Occurred()) SWIG_fail
;
2887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2894 static PyObject
*_wrap_Point___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2895 PyObject
*resultobj
;
2896 wxPoint
*arg1
= (wxPoint
*) 0 ;
2900 PyObject
* obj0
= 0 ;
2901 PyObject
* obj1
= 0 ;
2903 (char *) "self",(char *) "pt", NULL
2906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2911 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2915 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
2917 wxPyEndAllowThreads(__tstate
);
2918 if (PyErr_Occurred()) SWIG_fail
;
2920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2927 static PyObject
*_wrap_Point___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2928 PyObject
*resultobj
;
2929 wxPoint
*arg1
= (wxPoint
*) 0 ;
2933 PyObject
* obj0
= 0 ;
2934 PyObject
* obj1
= 0 ;
2936 (char *) "self",(char *) "pt", NULL
2939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2944 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2948 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
2950 wxPyEndAllowThreads(__tstate
);
2951 if (PyErr_Occurred()) SWIG_fail
;
2954 wxPoint
* resultptr
;
2955 resultptr
= new wxPoint((wxPoint
&) result
);
2956 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2964 static PyObject
*_wrap_Point___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2965 PyObject
*resultobj
;
2966 wxPoint
*arg1
= (wxPoint
*) 0 ;
2970 PyObject
* obj0
= 0 ;
2971 PyObject
* obj1
= 0 ;
2973 (char *) "self",(char *) "pt", NULL
2976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2981 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2985 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
2987 wxPyEndAllowThreads(__tstate
);
2988 if (PyErr_Occurred()) SWIG_fail
;
2991 wxPoint
* resultptr
;
2992 resultptr
= new wxPoint((wxPoint
&) result
);
2993 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3001 static PyObject
*_wrap_Point___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3002 PyObject
*resultobj
;
3003 wxPoint
*arg1
= (wxPoint
*) 0 ;
3007 PyObject
* obj0
= 0 ;
3008 PyObject
* obj1
= 0 ;
3010 (char *) "self",(char *) "pt", NULL
3013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3018 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3023 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3024 result
= (wxPoint
*) &_result_ref
;
3027 wxPyEndAllowThreads(__tstate
);
3028 if (PyErr_Occurred()) SWIG_fail
;
3030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3037 static PyObject
*_wrap_Point___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3038 PyObject
*resultobj
;
3039 wxPoint
*arg1
= (wxPoint
*) 0 ;
3043 PyObject
* obj0
= 0 ;
3044 PyObject
* obj1
= 0 ;
3046 (char *) "self",(char *) "pt", NULL
3049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3054 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3059 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3060 result
= (wxPoint
*) &_result_ref
;
3063 wxPyEndAllowThreads(__tstate
);
3064 if (PyErr_Occurred()) SWIG_fail
;
3066 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3073 static PyObject
*_wrap_Point_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3074 PyObject
*resultobj
;
3075 wxPoint
*arg1
= (wxPoint
*) 0 ;
3078 PyObject
* obj0
= 0 ;
3079 PyObject
* obj1
= 0 ;
3080 PyObject
* obj2
= 0 ;
3082 (char *) "self",(char *) "x",(char *) "y", NULL
3085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3088 arg2
= (long) SWIG_AsLong(obj1
);
3089 if (PyErr_Occurred()) SWIG_fail
;
3090 arg3
= (long) SWIG_AsLong(obj2
);
3091 if (PyErr_Occurred()) SWIG_fail
;
3093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3094 wxPoint_Set(arg1
,arg2
,arg3
);
3096 wxPyEndAllowThreads(__tstate
);
3097 if (PyErr_Occurred()) SWIG_fail
;
3099 Py_INCREF(Py_None
); resultobj
= Py_None
;
3106 static PyObject
*_wrap_Point_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3107 PyObject
*resultobj
;
3108 wxPoint
*arg1
= (wxPoint
*) 0 ;
3110 PyObject
* obj0
= 0 ;
3112 (char *) "self", NULL
3115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3120 result
= (PyObject
*)wxPoint_Get(arg1
);
3122 wxPyEndAllowThreads(__tstate
);
3123 if (PyErr_Occurred()) SWIG_fail
;
3132 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
3134 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3135 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3137 return Py_BuildValue((char *)"");
3139 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3140 PyObject
*resultobj
;
3141 int arg1
= (int) 0 ;
3142 int arg2
= (int) 0 ;
3143 int arg3
= (int) 0 ;
3144 int arg4
= (int) 0 ;
3146 PyObject
* obj0
= 0 ;
3147 PyObject
* obj1
= 0 ;
3148 PyObject
* obj2
= 0 ;
3149 PyObject
* obj3
= 0 ;
3151 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3156 arg1
= (int) SWIG_AsInt(obj0
);
3157 if (PyErr_Occurred()) SWIG_fail
;
3160 arg2
= (int) SWIG_AsInt(obj1
);
3161 if (PyErr_Occurred()) SWIG_fail
;
3164 arg3
= (int) SWIG_AsInt(obj2
);
3165 if (PyErr_Occurred()) SWIG_fail
;
3168 arg4
= (int) SWIG_AsInt(obj3
);
3169 if (PyErr_Occurred()) SWIG_fail
;
3172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3173 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3175 wxPyEndAllowThreads(__tstate
);
3176 if (PyErr_Occurred()) SWIG_fail
;
3178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3185 static PyObject
*_wrap_new_RectPP(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3186 PyObject
*resultobj
;
3192 PyObject
* obj0
= 0 ;
3193 PyObject
* obj1
= 0 ;
3195 (char *) "topLeft",(char *) "bottomRight", NULL
3198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3201 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3205 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3209 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3211 wxPyEndAllowThreads(__tstate
);
3212 if (PyErr_Occurred()) SWIG_fail
;
3214 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3221 static PyObject
*_wrap_new_RectPS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3222 PyObject
*resultobj
;
3228 PyObject
* obj0
= 0 ;
3229 PyObject
* obj1
= 0 ;
3231 (char *) "pos",(char *) "size", NULL
3234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3237 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3241 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3245 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3247 wxPyEndAllowThreads(__tstate
);
3248 if (PyErr_Occurred()) SWIG_fail
;
3250 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3257 static PyObject
*_wrap_delete_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3258 PyObject
*resultobj
;
3259 wxRect
*arg1
= (wxRect
*) 0 ;
3260 PyObject
* obj0
= 0 ;
3262 (char *) "self", NULL
3265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3272 wxPyEndAllowThreads(__tstate
);
3273 if (PyErr_Occurred()) SWIG_fail
;
3275 Py_INCREF(Py_None
); resultobj
= Py_None
;
3282 static PyObject
*_wrap_Rect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3283 PyObject
*resultobj
;
3284 wxRect
*arg1
= (wxRect
*) 0 ;
3286 PyObject
* obj0
= 0 ;
3288 (char *) "self", NULL
3291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3296 result
= (int)((wxRect
const *)arg1
)->GetX();
3298 wxPyEndAllowThreads(__tstate
);
3299 if (PyErr_Occurred()) SWIG_fail
;
3301 resultobj
= SWIG_FromInt((int)result
);
3308 static PyObject
*_wrap_Rect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3309 PyObject
*resultobj
;
3310 wxRect
*arg1
= (wxRect
*) 0 ;
3312 PyObject
* obj0
= 0 ;
3313 PyObject
* obj1
= 0 ;
3315 (char *) "self",(char *) "x", NULL
3318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3321 arg2
= (int) SWIG_AsInt(obj1
);
3322 if (PyErr_Occurred()) SWIG_fail
;
3324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3327 wxPyEndAllowThreads(__tstate
);
3328 if (PyErr_Occurred()) SWIG_fail
;
3330 Py_INCREF(Py_None
); resultobj
= Py_None
;
3337 static PyObject
*_wrap_Rect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3338 PyObject
*resultobj
;
3339 wxRect
*arg1
= (wxRect
*) 0 ;
3341 PyObject
* obj0
= 0 ;
3343 (char *) "self", NULL
3346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3351 result
= (int)(arg1
)->GetY();
3353 wxPyEndAllowThreads(__tstate
);
3354 if (PyErr_Occurred()) SWIG_fail
;
3356 resultobj
= SWIG_FromInt((int)result
);
3363 static PyObject
*_wrap_Rect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3364 PyObject
*resultobj
;
3365 wxRect
*arg1
= (wxRect
*) 0 ;
3367 PyObject
* obj0
= 0 ;
3368 PyObject
* obj1
= 0 ;
3370 (char *) "self",(char *) "y", NULL
3373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3376 arg2
= (int) SWIG_AsInt(obj1
);
3377 if (PyErr_Occurred()) SWIG_fail
;
3379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3382 wxPyEndAllowThreads(__tstate
);
3383 if (PyErr_Occurred()) SWIG_fail
;
3385 Py_INCREF(Py_None
); resultobj
= Py_None
;
3392 static PyObject
*_wrap_Rect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3393 PyObject
*resultobj
;
3394 wxRect
*arg1
= (wxRect
*) 0 ;
3396 PyObject
* obj0
= 0 ;
3398 (char *) "self", NULL
3401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3406 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3408 wxPyEndAllowThreads(__tstate
);
3409 if (PyErr_Occurred()) SWIG_fail
;
3411 resultobj
= SWIG_FromInt((int)result
);
3418 static PyObject
*_wrap_Rect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3419 PyObject
*resultobj
;
3420 wxRect
*arg1
= (wxRect
*) 0 ;
3422 PyObject
* obj0
= 0 ;
3423 PyObject
* obj1
= 0 ;
3425 (char *) "self",(char *) "w", NULL
3428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3431 arg2
= (int) SWIG_AsInt(obj1
);
3432 if (PyErr_Occurred()) SWIG_fail
;
3434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3435 (arg1
)->SetWidth(arg2
);
3437 wxPyEndAllowThreads(__tstate
);
3438 if (PyErr_Occurred()) SWIG_fail
;
3440 Py_INCREF(Py_None
); resultobj
= Py_None
;
3447 static PyObject
*_wrap_Rect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3448 PyObject
*resultobj
;
3449 wxRect
*arg1
= (wxRect
*) 0 ;
3451 PyObject
* obj0
= 0 ;
3453 (char *) "self", NULL
3456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3461 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3463 wxPyEndAllowThreads(__tstate
);
3464 if (PyErr_Occurred()) SWIG_fail
;
3466 resultobj
= SWIG_FromInt((int)result
);
3473 static PyObject
*_wrap_Rect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3474 PyObject
*resultobj
;
3475 wxRect
*arg1
= (wxRect
*) 0 ;
3477 PyObject
* obj0
= 0 ;
3478 PyObject
* obj1
= 0 ;
3480 (char *) "self",(char *) "h", NULL
3483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3486 arg2
= (int) SWIG_AsInt(obj1
);
3487 if (PyErr_Occurred()) SWIG_fail
;
3489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3490 (arg1
)->SetHeight(arg2
);
3492 wxPyEndAllowThreads(__tstate
);
3493 if (PyErr_Occurred()) SWIG_fail
;
3495 Py_INCREF(Py_None
); resultobj
= Py_None
;
3502 static PyObject
*_wrap_Rect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3503 PyObject
*resultobj
;
3504 wxRect
*arg1
= (wxRect
*) 0 ;
3506 PyObject
* obj0
= 0 ;
3508 (char *) "self", NULL
3511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3516 result
= ((wxRect
const *)arg1
)->GetPosition();
3518 wxPyEndAllowThreads(__tstate
);
3519 if (PyErr_Occurred()) SWIG_fail
;
3522 wxPoint
* resultptr
;
3523 resultptr
= new wxPoint((wxPoint
&) result
);
3524 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3532 static PyObject
*_wrap_Rect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3533 PyObject
*resultobj
;
3534 wxRect
*arg1
= (wxRect
*) 0 ;
3537 PyObject
* obj0
= 0 ;
3538 PyObject
* obj1
= 0 ;
3540 (char *) "self",(char *) "p", NULL
3543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3548 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3552 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3554 wxPyEndAllowThreads(__tstate
);
3555 if (PyErr_Occurred()) SWIG_fail
;
3557 Py_INCREF(Py_None
); resultobj
= Py_None
;
3564 static PyObject
*_wrap_Rect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3565 PyObject
*resultobj
;
3566 wxRect
*arg1
= (wxRect
*) 0 ;
3568 PyObject
* obj0
= 0 ;
3570 (char *) "self", NULL
3573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3578 result
= ((wxRect
const *)arg1
)->GetSize();
3580 wxPyEndAllowThreads(__tstate
);
3581 if (PyErr_Occurred()) SWIG_fail
;
3585 resultptr
= new wxSize((wxSize
&) result
);
3586 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3594 static PyObject
*_wrap_Rect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3595 PyObject
*resultobj
;
3596 wxRect
*arg1
= (wxRect
*) 0 ;
3599 PyObject
* obj0
= 0 ;
3600 PyObject
* obj1
= 0 ;
3602 (char *) "self",(char *) "s", NULL
3605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3610 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3614 (arg1
)->SetSize((wxSize
const &)*arg2
);
3616 wxPyEndAllowThreads(__tstate
);
3617 if (PyErr_Occurred()) SWIG_fail
;
3619 Py_INCREF(Py_None
); resultobj
= Py_None
;
3626 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3627 PyObject
*resultobj
;
3628 wxRect
*arg1
= (wxRect
*) 0 ;
3630 PyObject
* obj0
= 0 ;
3632 (char *) "self", NULL
3635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
3636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3640 result
= ((wxRect
const *)arg1
)->GetTopLeft();
3642 wxPyEndAllowThreads(__tstate
);
3643 if (PyErr_Occurred()) SWIG_fail
;
3646 wxPoint
* resultptr
;
3647 resultptr
= new wxPoint((wxPoint
&) result
);
3648 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3656 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3657 PyObject
*resultobj
;
3658 wxRect
*arg1
= (wxRect
*) 0 ;
3661 PyObject
* obj0
= 0 ;
3662 PyObject
* obj1
= 0 ;
3664 (char *) "self",(char *) "p", NULL
3667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3672 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3676 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
3678 wxPyEndAllowThreads(__tstate
);
3679 if (PyErr_Occurred()) SWIG_fail
;
3681 Py_INCREF(Py_None
); resultobj
= Py_None
;
3688 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3689 PyObject
*resultobj
;
3690 wxRect
*arg1
= (wxRect
*) 0 ;
3692 PyObject
* obj0
= 0 ;
3694 (char *) "self", NULL
3697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
3698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3702 result
= ((wxRect
const *)arg1
)->GetBottomRight();
3704 wxPyEndAllowThreads(__tstate
);
3705 if (PyErr_Occurred()) SWIG_fail
;
3708 wxPoint
* resultptr
;
3709 resultptr
= new wxPoint((wxPoint
&) result
);
3710 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3718 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3719 PyObject
*resultobj
;
3720 wxRect
*arg1
= (wxRect
*) 0 ;
3723 PyObject
* obj0
= 0 ;
3724 PyObject
* obj1
= 0 ;
3726 (char *) "self",(char *) "p", NULL
3729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3734 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3738 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
3740 wxPyEndAllowThreads(__tstate
);
3741 if (PyErr_Occurred()) SWIG_fail
;
3743 Py_INCREF(Py_None
); resultobj
= Py_None
;
3750 static PyObject
*_wrap_Rect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3751 PyObject
*resultobj
;
3752 wxRect
*arg1
= (wxRect
*) 0 ;
3754 PyObject
* obj0
= 0 ;
3756 (char *) "self", NULL
3759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3764 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3766 wxPyEndAllowThreads(__tstate
);
3767 if (PyErr_Occurred()) SWIG_fail
;
3769 resultobj
= SWIG_FromInt((int)result
);
3776 static PyObject
*_wrap_Rect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3777 PyObject
*resultobj
;
3778 wxRect
*arg1
= (wxRect
*) 0 ;
3780 PyObject
* obj0
= 0 ;
3782 (char *) "self", NULL
3785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3790 result
= (int)((wxRect
const *)arg1
)->GetTop();
3792 wxPyEndAllowThreads(__tstate
);
3793 if (PyErr_Occurred()) SWIG_fail
;
3795 resultobj
= SWIG_FromInt((int)result
);
3802 static PyObject
*_wrap_Rect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3803 PyObject
*resultobj
;
3804 wxRect
*arg1
= (wxRect
*) 0 ;
3806 PyObject
* obj0
= 0 ;
3808 (char *) "self", NULL
3811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3816 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3818 wxPyEndAllowThreads(__tstate
);
3819 if (PyErr_Occurred()) SWIG_fail
;
3821 resultobj
= SWIG_FromInt((int)result
);
3828 static PyObject
*_wrap_Rect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3829 PyObject
*resultobj
;
3830 wxRect
*arg1
= (wxRect
*) 0 ;
3832 PyObject
* obj0
= 0 ;
3834 (char *) "self", NULL
3837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
3838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3842 result
= (int)((wxRect
const *)arg1
)->GetRight();
3844 wxPyEndAllowThreads(__tstate
);
3845 if (PyErr_Occurred()) SWIG_fail
;
3847 resultobj
= SWIG_FromInt((int)result
);
3854 static PyObject
*_wrap_Rect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3855 PyObject
*resultobj
;
3856 wxRect
*arg1
= (wxRect
*) 0 ;
3858 PyObject
* obj0
= 0 ;
3859 PyObject
* obj1
= 0 ;
3861 (char *) "self",(char *) "left", NULL
3864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3867 arg2
= (int) SWIG_AsInt(obj1
);
3868 if (PyErr_Occurred()) SWIG_fail
;
3870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3871 (arg1
)->SetLeft(arg2
);
3873 wxPyEndAllowThreads(__tstate
);
3874 if (PyErr_Occurred()) SWIG_fail
;
3876 Py_INCREF(Py_None
); resultobj
= Py_None
;
3883 static PyObject
*_wrap_Rect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3884 PyObject
*resultobj
;
3885 wxRect
*arg1
= (wxRect
*) 0 ;
3887 PyObject
* obj0
= 0 ;
3888 PyObject
* obj1
= 0 ;
3890 (char *) "self",(char *) "right", NULL
3893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3896 arg2
= (int) SWIG_AsInt(obj1
);
3897 if (PyErr_Occurred()) SWIG_fail
;
3899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3900 (arg1
)->SetRight(arg2
);
3902 wxPyEndAllowThreads(__tstate
);
3903 if (PyErr_Occurred()) SWIG_fail
;
3905 Py_INCREF(Py_None
); resultobj
= Py_None
;
3912 static PyObject
*_wrap_Rect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3913 PyObject
*resultobj
;
3914 wxRect
*arg1
= (wxRect
*) 0 ;
3916 PyObject
* obj0
= 0 ;
3917 PyObject
* obj1
= 0 ;
3919 (char *) "self",(char *) "top", NULL
3922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
3923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3925 arg2
= (int) SWIG_AsInt(obj1
);
3926 if (PyErr_Occurred()) SWIG_fail
;
3928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3929 (arg1
)->SetTop(arg2
);
3931 wxPyEndAllowThreads(__tstate
);
3932 if (PyErr_Occurred()) SWIG_fail
;
3934 Py_INCREF(Py_None
); resultobj
= Py_None
;
3941 static PyObject
*_wrap_Rect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3942 PyObject
*resultobj
;
3943 wxRect
*arg1
= (wxRect
*) 0 ;
3945 PyObject
* obj0
= 0 ;
3946 PyObject
* obj1
= 0 ;
3948 (char *) "self",(char *) "bottom", NULL
3951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
3952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3954 arg2
= (int) SWIG_AsInt(obj1
);
3955 if (PyErr_Occurred()) SWIG_fail
;
3957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3958 (arg1
)->SetBottom(arg2
);
3960 wxPyEndAllowThreads(__tstate
);
3961 if (PyErr_Occurred()) SWIG_fail
;
3963 Py_INCREF(Py_None
); resultobj
= Py_None
;
3970 static PyObject
*_wrap_Rect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3971 PyObject
*resultobj
;
3972 wxRect
*arg1
= (wxRect
*) 0 ;
3976 PyObject
* obj0
= 0 ;
3977 PyObject
* obj1
= 0 ;
3978 PyObject
* obj2
= 0 ;
3980 (char *) "self",(char *) "dx",(char *) "dy", NULL
3983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3986 arg2
= (int) SWIG_AsInt(obj1
);
3987 if (PyErr_Occurred()) SWIG_fail
;
3988 arg3
= (int) SWIG_AsInt(obj2
);
3989 if (PyErr_Occurred()) SWIG_fail
;
3991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3993 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
3994 result
= (wxRect
*) &_result_ref
;
3997 wxPyEndAllowThreads(__tstate
);
3998 if (PyErr_Occurred()) SWIG_fail
;
4000 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4007 static PyObject
*_wrap_Rect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4008 PyObject
*resultobj
;
4009 wxRect
*arg1
= (wxRect
*) 0 ;
4013 PyObject
* obj0
= 0 ;
4014 PyObject
* obj1
= 0 ;
4015 PyObject
* obj2
= 0 ;
4017 (char *) "self",(char *) "dx",(char *) "dy", NULL
4020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4023 arg2
= (int) SWIG_AsInt(obj1
);
4024 if (PyErr_Occurred()) SWIG_fail
;
4025 arg3
= (int) SWIG_AsInt(obj2
);
4026 if (PyErr_Occurred()) SWIG_fail
;
4028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4030 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4031 result
= (wxRect
*) &_result_ref
;
4034 wxPyEndAllowThreads(__tstate
);
4035 if (PyErr_Occurred()) SWIG_fail
;
4037 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4044 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4045 PyObject
*resultobj
;
4046 wxRect
*arg1
= (wxRect
*) 0 ;
4049 PyObject
* obj0
= 0 ;
4050 PyObject
* obj1
= 0 ;
4051 PyObject
* obj2
= 0 ;
4053 (char *) "self",(char *) "dx",(char *) "dy", NULL
4056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4059 arg2
= (int) SWIG_AsInt(obj1
);
4060 if (PyErr_Occurred()) SWIG_fail
;
4061 arg3
= (int) SWIG_AsInt(obj2
);
4062 if (PyErr_Occurred()) SWIG_fail
;
4064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4065 (arg1
)->Offset(arg2
,arg3
);
4067 wxPyEndAllowThreads(__tstate
);
4068 if (PyErr_Occurred()) SWIG_fail
;
4070 Py_INCREF(Py_None
); resultobj
= Py_None
;
4077 static PyObject
*_wrap_Rect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4078 PyObject
*resultobj
;
4079 wxRect
*arg1
= (wxRect
*) 0 ;
4082 PyObject
* obj0
= 0 ;
4083 PyObject
* obj1
= 0 ;
4085 (char *) "self",(char *) "pt", NULL
4088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4093 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4097 (arg1
)->Offset((wxPoint
const &)*arg2
);
4099 wxPyEndAllowThreads(__tstate
);
4100 if (PyErr_Occurred()) SWIG_fail
;
4102 Py_INCREF(Py_None
); resultobj
= Py_None
;
4109 static PyObject
*_wrap_Rect_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4110 PyObject
*resultobj
;
4111 wxRect
*arg1
= (wxRect
*) 0 ;
4115 PyObject
* obj0
= 0 ;
4116 PyObject
* obj1
= 0 ;
4118 (char *) "self",(char *) "rect", NULL
4121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4126 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4131 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4132 result
= (wxRect
*) &_result_ref
;
4135 wxPyEndAllowThreads(__tstate
);
4136 if (PyErr_Occurred()) SWIG_fail
;
4138 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4145 static PyObject
*_wrap_Rect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4146 PyObject
*resultobj
;
4147 wxRect
*arg1
= (wxRect
*) 0 ;
4151 PyObject
* obj0
= 0 ;
4152 PyObject
* obj1
= 0 ;
4154 (char *) "self",(char *) "rect", NULL
4157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4162 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4166 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4168 wxPyEndAllowThreads(__tstate
);
4169 if (PyErr_Occurred()) SWIG_fail
;
4173 resultptr
= new wxRect((wxRect
&) result
);
4174 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4182 static PyObject
*_wrap_Rect___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4183 PyObject
*resultobj
;
4184 wxRect
*arg1
= (wxRect
*) 0 ;
4188 PyObject
* obj0
= 0 ;
4189 PyObject
* obj1
= 0 ;
4191 (char *) "self",(char *) "rect", NULL
4194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4199 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4204 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4205 result
= (wxRect
*) &_result_ref
;
4208 wxPyEndAllowThreads(__tstate
);
4209 if (PyErr_Occurred()) SWIG_fail
;
4211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4218 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4219 PyObject
*resultobj
;
4220 wxRect
*arg1
= (wxRect
*) 0 ;
4224 PyObject
* obj0
= 0 ;
4225 PyObject
* obj1
= 0 ;
4227 (char *) "self",(char *) "rect", NULL
4230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4235 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4239 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4241 wxPyEndAllowThreads(__tstate
);
4242 if (PyErr_Occurred()) SWIG_fail
;
4244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4251 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4252 PyObject
*resultobj
;
4253 wxRect
*arg1
= (wxRect
*) 0 ;
4257 PyObject
* obj0
= 0 ;
4258 PyObject
* obj1
= 0 ;
4260 (char *) "self",(char *) "rect", NULL
4263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4268 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4272 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4274 wxPyEndAllowThreads(__tstate
);
4275 if (PyErr_Occurred()) SWIG_fail
;
4277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4284 static PyObject
*_wrap_Rect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4285 PyObject
*resultobj
;
4286 wxRect
*arg1
= (wxRect
*) 0 ;
4290 PyObject
* obj0
= 0 ;
4291 PyObject
* obj1
= 0 ;
4292 PyObject
* obj2
= 0 ;
4294 (char *) "self",(char *) "x",(char *) "y", NULL
4297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4300 arg2
= (int) SWIG_AsInt(obj1
);
4301 if (PyErr_Occurred()) SWIG_fail
;
4302 arg3
= (int) SWIG_AsInt(obj2
);
4303 if (PyErr_Occurred()) SWIG_fail
;
4305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4306 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4308 wxPyEndAllowThreads(__tstate
);
4309 if (PyErr_Occurred()) SWIG_fail
;
4311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4318 static PyObject
*_wrap_Rect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4319 PyObject
*resultobj
;
4320 wxRect
*arg1
= (wxRect
*) 0 ;
4324 PyObject
* obj0
= 0 ;
4325 PyObject
* obj1
= 0 ;
4327 (char *) "self",(char *) "pt", NULL
4330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4335 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4339 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4341 wxPyEndAllowThreads(__tstate
);
4342 if (PyErr_Occurred()) SWIG_fail
;
4344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4351 static PyObject
*_wrap_Rect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4352 PyObject
*resultobj
;
4353 wxRect
*arg1
= (wxRect
*) 0 ;
4357 PyObject
* obj0
= 0 ;
4358 PyObject
* obj1
= 0 ;
4360 (char *) "self",(char *) "rect", NULL
4363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4368 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4372 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4374 wxPyEndAllowThreads(__tstate
);
4375 if (PyErr_Occurred()) SWIG_fail
;
4377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4384 static PyObject
*_wrap_Rect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4385 PyObject
*resultobj
;
4386 wxRect
*arg1
= (wxRect
*) 0 ;
4388 PyObject
* obj0
= 0 ;
4389 PyObject
* obj1
= 0 ;
4391 (char *) "self",(char *) "x", NULL
4394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4397 arg2
= (int) SWIG_AsInt(obj1
);
4398 if (PyErr_Occurred()) SWIG_fail
;
4399 if (arg1
) (arg1
)->x
= arg2
;
4401 Py_INCREF(Py_None
); resultobj
= Py_None
;
4408 static PyObject
*_wrap_Rect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4409 PyObject
*resultobj
;
4410 wxRect
*arg1
= (wxRect
*) 0 ;
4412 PyObject
* obj0
= 0 ;
4414 (char *) "self", NULL
4417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4420 result
= (int) ((arg1
)->x
);
4422 resultobj
= SWIG_FromInt((int)result
);
4429 static PyObject
*_wrap_Rect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4430 PyObject
*resultobj
;
4431 wxRect
*arg1
= (wxRect
*) 0 ;
4433 PyObject
* obj0
= 0 ;
4434 PyObject
* obj1
= 0 ;
4436 (char *) "self",(char *) "y", NULL
4439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4442 arg2
= (int) SWIG_AsInt(obj1
);
4443 if (PyErr_Occurred()) SWIG_fail
;
4444 if (arg1
) (arg1
)->y
= arg2
;
4446 Py_INCREF(Py_None
); resultobj
= Py_None
;
4453 static PyObject
*_wrap_Rect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4454 PyObject
*resultobj
;
4455 wxRect
*arg1
= (wxRect
*) 0 ;
4457 PyObject
* obj0
= 0 ;
4459 (char *) "self", NULL
4462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4465 result
= (int) ((arg1
)->y
);
4467 resultobj
= SWIG_FromInt((int)result
);
4474 static PyObject
*_wrap_Rect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4475 PyObject
*resultobj
;
4476 wxRect
*arg1
= (wxRect
*) 0 ;
4478 PyObject
* obj0
= 0 ;
4479 PyObject
* obj1
= 0 ;
4481 (char *) "self",(char *) "width", NULL
4484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4487 arg2
= (int) SWIG_AsInt(obj1
);
4488 if (PyErr_Occurred()) SWIG_fail
;
4489 if (arg1
) (arg1
)->width
= arg2
;
4491 Py_INCREF(Py_None
); resultobj
= Py_None
;
4498 static PyObject
*_wrap_Rect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4499 PyObject
*resultobj
;
4500 wxRect
*arg1
= (wxRect
*) 0 ;
4502 PyObject
* obj0
= 0 ;
4504 (char *) "self", NULL
4507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4510 result
= (int) ((arg1
)->width
);
4512 resultobj
= SWIG_FromInt((int)result
);
4519 static PyObject
*_wrap_Rect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4520 PyObject
*resultobj
;
4521 wxRect
*arg1
= (wxRect
*) 0 ;
4523 PyObject
* obj0
= 0 ;
4524 PyObject
* obj1
= 0 ;
4526 (char *) "self",(char *) "height", NULL
4529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4532 arg2
= (int) SWIG_AsInt(obj1
);
4533 if (PyErr_Occurred()) SWIG_fail
;
4534 if (arg1
) (arg1
)->height
= arg2
;
4536 Py_INCREF(Py_None
); resultobj
= Py_None
;
4543 static PyObject
*_wrap_Rect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4544 PyObject
*resultobj
;
4545 wxRect
*arg1
= (wxRect
*) 0 ;
4547 PyObject
* obj0
= 0 ;
4549 (char *) "self", NULL
4552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4555 result
= (int) ((arg1
)->height
);
4557 resultobj
= SWIG_FromInt((int)result
);
4564 static PyObject
*_wrap_Rect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4565 PyObject
*resultobj
;
4566 wxRect
*arg1
= (wxRect
*) 0 ;
4567 int arg2
= (int) 0 ;
4568 int arg3
= (int) 0 ;
4569 int arg4
= (int) 0 ;
4570 int arg5
= (int) 0 ;
4571 PyObject
* obj0
= 0 ;
4572 PyObject
* obj1
= 0 ;
4573 PyObject
* obj2
= 0 ;
4574 PyObject
* obj3
= 0 ;
4575 PyObject
* obj4
= 0 ;
4577 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4584 arg2
= (int) SWIG_AsInt(obj1
);
4585 if (PyErr_Occurred()) SWIG_fail
;
4588 arg3
= (int) SWIG_AsInt(obj2
);
4589 if (PyErr_Occurred()) SWIG_fail
;
4592 arg4
= (int) SWIG_AsInt(obj3
);
4593 if (PyErr_Occurred()) SWIG_fail
;
4596 arg5
= (int) SWIG_AsInt(obj4
);
4597 if (PyErr_Occurred()) SWIG_fail
;
4600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4601 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
4603 wxPyEndAllowThreads(__tstate
);
4604 if (PyErr_Occurred()) SWIG_fail
;
4606 Py_INCREF(Py_None
); resultobj
= Py_None
;
4613 static PyObject
*_wrap_Rect_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4614 PyObject
*resultobj
;
4615 wxRect
*arg1
= (wxRect
*) 0 ;
4617 PyObject
* obj0
= 0 ;
4619 (char *) "self", NULL
4622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
4623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4627 result
= (PyObject
*)wxRect_Get(arg1
);
4629 wxPyEndAllowThreads(__tstate
);
4630 if (PyErr_Occurred()) SWIG_fail
;
4639 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
4641 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4642 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
4644 return Py_BuildValue((char *)"");
4646 static PyObject
*_wrap_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4647 PyObject
*resultobj
;
4648 wxRect
*arg1
= (wxRect
*) 0 ;
4649 wxRect
*arg2
= (wxRect
*) 0 ;
4651 PyObject
* obj0
= 0 ;
4652 PyObject
* obj1
= 0 ;
4654 (char *) "r1",(char *) "r2", NULL
4657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4660 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
4661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4664 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
4666 wxPyEndAllowThreads(__tstate
);
4667 if (PyErr_Occurred()) SWIG_fail
;
4676 static PyObject
*_wrap_new_Point2D(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4677 PyObject
*resultobj
;
4678 double arg1
= (double) 0.0 ;
4679 double arg2
= (double) 0.0 ;
4681 PyObject
* obj0
= 0 ;
4682 PyObject
* obj1
= 0 ;
4684 (char *) "x",(char *) "y", NULL
4687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
4689 arg1
= (double) SWIG_AsDouble(obj0
);
4690 if (PyErr_Occurred()) SWIG_fail
;
4693 arg2
= (double) SWIG_AsDouble(obj1
);
4694 if (PyErr_Occurred()) SWIG_fail
;
4697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4698 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
4700 wxPyEndAllowThreads(__tstate
);
4701 if (PyErr_Occurred()) SWIG_fail
;
4703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4710 static PyObject
*_wrap_new_Point2DCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4711 PyObject
*resultobj
;
4712 wxPoint2D
*arg1
= 0 ;
4715 PyObject
* obj0
= 0 ;
4720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
4723 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
4726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4727 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
4729 wxPyEndAllowThreads(__tstate
);
4730 if (PyErr_Occurred()) SWIG_fail
;
4732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4739 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4740 PyObject
*resultobj
;
4744 PyObject
* obj0
= 0 ;
4749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
4752 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4756 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
4758 wxPyEndAllowThreads(__tstate
);
4759 if (PyErr_Occurred()) SWIG_fail
;
4761 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4768 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4769 PyObject
*resultobj
;
4770 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4771 int *arg2
= (int *) 0 ;
4772 int *arg3
= (int *) 0 ;
4775 PyObject
* obj0
= 0 ;
4777 (char *) "self", NULL
4782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
4783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4787 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
4789 wxPyEndAllowThreads(__tstate
);
4790 if (PyErr_Occurred()) SWIG_fail
;
4792 Py_INCREF(Py_None
); resultobj
= Py_None
;
4794 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4795 resultobj
= t_output_helper(resultobj
,o
);
4798 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4799 resultobj
= t_output_helper(resultobj
,o
);
4807 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4808 PyObject
*resultobj
;
4809 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4810 int *arg2
= (int *) 0 ;
4811 int *arg3
= (int *) 0 ;
4814 PyObject
* obj0
= 0 ;
4816 (char *) "self", NULL
4821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
4822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4826 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
4828 wxPyEndAllowThreads(__tstate
);
4829 if (PyErr_Occurred()) SWIG_fail
;
4831 Py_INCREF(Py_None
); resultobj
= Py_None
;
4833 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4834 resultobj
= t_output_helper(resultobj
,o
);
4837 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4838 resultobj
= t_output_helper(resultobj
,o
);
4846 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4847 PyObject
*resultobj
;
4848 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4850 PyObject
* obj0
= 0 ;
4852 (char *) "self", NULL
4855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",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 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
4862 wxPyEndAllowThreads(__tstate
);
4863 if (PyErr_Occurred()) SWIG_fail
;
4865 resultobj
= SWIG_FromDouble((double)result
);
4872 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4873 PyObject
*resultobj
;
4874 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4876 PyObject
* obj0
= 0 ;
4878 (char *) "self", NULL
4881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
4882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4886 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
4888 wxPyEndAllowThreads(__tstate
);
4889 if (PyErr_Occurred()) SWIG_fail
;
4891 resultobj
= SWIG_FromDouble((double)result
);
4898 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4899 PyObject
*resultobj
;
4900 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4902 PyObject
* obj0
= 0 ;
4903 PyObject
* obj1
= 0 ;
4905 (char *) "self",(char *) "length", NULL
4908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
4909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4911 arg2
= (double) SWIG_AsDouble(obj1
);
4912 if (PyErr_Occurred()) SWIG_fail
;
4914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4915 (arg1
)->SetVectorLength(arg2
);
4917 wxPyEndAllowThreads(__tstate
);
4918 if (PyErr_Occurred()) SWIG_fail
;
4920 Py_INCREF(Py_None
); resultobj
= Py_None
;
4927 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4928 PyObject
*resultobj
;
4929 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4931 PyObject
* obj0
= 0 ;
4932 PyObject
* obj1
= 0 ;
4934 (char *) "self",(char *) "degrees", NULL
4937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
4938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4940 arg2
= (double) SWIG_AsDouble(obj1
);
4941 if (PyErr_Occurred()) SWIG_fail
;
4943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4944 (arg1
)->SetVectorAngle(arg2
);
4946 wxPyEndAllowThreads(__tstate
);
4947 if (PyErr_Occurred()) SWIG_fail
;
4949 Py_INCREF(Py_None
); resultobj
= Py_None
;
4956 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4957 PyObject
*resultobj
;
4958 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4959 wxPoint2D
*arg2
= 0 ;
4962 PyObject
* obj0
= 0 ;
4963 PyObject
* obj1
= 0 ;
4965 (char *) "self",(char *) "pt", NULL
4968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
4969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4973 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4977 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
4979 wxPyEndAllowThreads(__tstate
);
4980 if (PyErr_Occurred()) SWIG_fail
;
4982 resultobj
= SWIG_FromDouble((double)result
);
4989 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4990 PyObject
*resultobj
;
4991 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4992 wxPoint2D
*arg2
= 0 ;
4995 PyObject
* obj0
= 0 ;
4996 PyObject
* obj1
= 0 ;
4998 (char *) "self",(char *) "pt", NULL
5001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5006 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5010 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5012 wxPyEndAllowThreads(__tstate
);
5013 if (PyErr_Occurred()) SWIG_fail
;
5015 resultobj
= SWIG_FromDouble((double)result
);
5022 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5023 PyObject
*resultobj
;
5024 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5025 wxPoint2D
*arg2
= 0 ;
5028 PyObject
* obj0
= 0 ;
5029 PyObject
* obj1
= 0 ;
5031 (char *) "self",(char *) "vec", NULL
5034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5039 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5043 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5045 wxPyEndAllowThreads(__tstate
);
5046 if (PyErr_Occurred()) SWIG_fail
;
5048 resultobj
= SWIG_FromDouble((double)result
);
5055 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5056 PyObject
*resultobj
;
5057 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5058 wxPoint2D
*arg2
= 0 ;
5061 PyObject
* obj0
= 0 ;
5062 PyObject
* obj1
= 0 ;
5064 (char *) "self",(char *) "vec", NULL
5067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5072 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5076 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5078 wxPyEndAllowThreads(__tstate
);
5079 if (PyErr_Occurred()) SWIG_fail
;
5081 resultobj
= SWIG_FromDouble((double)result
);
5088 static PyObject
*_wrap_Point2D___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5089 PyObject
*resultobj
;
5090 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5092 PyObject
* obj0
= 0 ;
5094 (char *) "self", NULL
5097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5102 result
= (arg1
)->operator -();
5104 wxPyEndAllowThreads(__tstate
);
5105 if (PyErr_Occurred()) SWIG_fail
;
5108 wxPoint2D
* resultptr
;
5109 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5110 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5118 static PyObject
*_wrap_Point2D___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5119 PyObject
*resultobj
;
5120 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5121 wxPoint2D
*arg2
= 0 ;
5124 PyObject
* obj0
= 0 ;
5125 PyObject
* obj1
= 0 ;
5127 (char *) "self",(char *) "pt", NULL
5130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5135 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5140 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5141 result
= (wxPoint2D
*) &_result_ref
;
5144 wxPyEndAllowThreads(__tstate
);
5145 if (PyErr_Occurred()) SWIG_fail
;
5147 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5154 static PyObject
*_wrap_Point2D___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5155 PyObject
*resultobj
;
5156 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5157 wxPoint2D
*arg2
= 0 ;
5160 PyObject
* obj0
= 0 ;
5161 PyObject
* obj1
= 0 ;
5163 (char *) "self",(char *) "pt", NULL
5166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5171 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5176 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5177 result
= (wxPoint2D
*) &_result_ref
;
5180 wxPyEndAllowThreads(__tstate
);
5181 if (PyErr_Occurred()) SWIG_fail
;
5183 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5190 static PyObject
*_wrap_Point2D___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5191 PyObject
*resultobj
;
5192 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5193 wxPoint2D
*arg2
= 0 ;
5196 PyObject
* obj0
= 0 ;
5197 PyObject
* obj1
= 0 ;
5199 (char *) "self",(char *) "pt", NULL
5202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5207 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5212 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5213 result
= (wxPoint2D
*) &_result_ref
;
5216 wxPyEndAllowThreads(__tstate
);
5217 if (PyErr_Occurred()) SWIG_fail
;
5219 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5226 static PyObject
*_wrap_Point2D___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5227 PyObject
*resultobj
;
5228 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5229 wxPoint2D
*arg2
= 0 ;
5232 PyObject
* obj0
= 0 ;
5233 PyObject
* obj1
= 0 ;
5235 (char *) "self",(char *) "pt", NULL
5238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5243 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5248 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5249 result
= (wxPoint2D
*) &_result_ref
;
5252 wxPyEndAllowThreads(__tstate
);
5253 if (PyErr_Occurred()) SWIG_fail
;
5255 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5262 static PyObject
*_wrap_Point2D___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5263 PyObject
*resultobj
;
5264 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5265 wxPoint2D
*arg2
= 0 ;
5268 PyObject
* obj0
= 0 ;
5269 PyObject
* obj1
= 0 ;
5271 (char *) "self",(char *) "pt", NULL
5274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5279 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5283 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5285 wxPyEndAllowThreads(__tstate
);
5286 if (PyErr_Occurred()) SWIG_fail
;
5288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5295 static PyObject
*_wrap_Point2D___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5296 PyObject
*resultobj
;
5297 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5298 wxPoint2D
*arg2
= 0 ;
5301 PyObject
* obj0
= 0 ;
5302 PyObject
* obj1
= 0 ;
5304 (char *) "self",(char *) "pt", NULL
5307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5312 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5316 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5318 wxPyEndAllowThreads(__tstate
);
5319 if (PyErr_Occurred()) SWIG_fail
;
5321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5328 static PyObject
*_wrap_Point2D_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5329 PyObject
*resultobj
;
5330 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5332 PyObject
* obj0
= 0 ;
5333 PyObject
* obj1
= 0 ;
5335 (char *) "self",(char *) "m_x", NULL
5338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5341 arg2
= (double) SWIG_AsDouble(obj1
);
5342 if (PyErr_Occurred()) SWIG_fail
;
5343 if (arg1
) (arg1
)->m_x
= arg2
;
5345 Py_INCREF(Py_None
); resultobj
= Py_None
;
5352 static PyObject
*_wrap_Point2D_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5353 PyObject
*resultobj
;
5354 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5356 PyObject
* obj0
= 0 ;
5358 (char *) "self", NULL
5361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5364 result
= (double) ((arg1
)->m_x
);
5366 resultobj
= SWIG_FromDouble((double)result
);
5373 static PyObject
*_wrap_Point2D_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5374 PyObject
*resultobj
;
5375 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5377 PyObject
* obj0
= 0 ;
5378 PyObject
* obj1
= 0 ;
5380 (char *) "self",(char *) "m_y", NULL
5383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5386 arg2
= (double) SWIG_AsDouble(obj1
);
5387 if (PyErr_Occurred()) SWIG_fail
;
5388 if (arg1
) (arg1
)->m_y
= arg2
;
5390 Py_INCREF(Py_None
); resultobj
= Py_None
;
5397 static PyObject
*_wrap_Point2D_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5398 PyObject
*resultobj
;
5399 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5401 PyObject
* obj0
= 0 ;
5403 (char *) "self", NULL
5406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5409 result
= (double) ((arg1
)->m_y
);
5411 resultobj
= SWIG_FromDouble((double)result
);
5418 static PyObject
*_wrap_Point2D_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5419 PyObject
*resultobj
;
5420 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5421 double arg2
= (double) 0 ;
5422 double arg3
= (double) 0 ;
5423 PyObject
* obj0
= 0 ;
5424 PyObject
* obj1
= 0 ;
5425 PyObject
* obj2
= 0 ;
5427 (char *) "self",(char *) "x",(char *) "y", NULL
5430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5434 arg2
= (double) SWIG_AsDouble(obj1
);
5435 if (PyErr_Occurred()) SWIG_fail
;
5438 arg3
= (double) SWIG_AsDouble(obj2
);
5439 if (PyErr_Occurred()) SWIG_fail
;
5442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5443 wxPoint2D_Set(arg1
,arg2
,arg3
);
5445 wxPyEndAllowThreads(__tstate
);
5446 if (PyErr_Occurred()) SWIG_fail
;
5448 Py_INCREF(Py_None
); resultobj
= Py_None
;
5455 static PyObject
*_wrap_Point2D_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5456 PyObject
*resultobj
;
5457 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5459 PyObject
* obj0
= 0 ;
5461 (char *) "self", NULL
5464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5469 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5471 wxPyEndAllowThreads(__tstate
);
5472 if (PyErr_Occurred()) SWIG_fail
;
5481 static PyObject
* Point2D_swigregister(PyObject
*self
, PyObject
*args
) {
5483 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5484 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5486 return Py_BuildValue((char *)"");
5488 static int _wrap_DefaultPosition_set(PyObject
*_val
) {
5489 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5494 static PyObject
*_wrap_DefaultPosition_get() {
5497 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
5502 static int _wrap_DefaultSize_set(PyObject
*_val
) {
5503 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5508 static PyObject
*_wrap_DefaultSize_get() {
5511 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
5516 static PyObject
*_wrap_new_InputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5517 PyObject
*resultobj
;
5518 PyObject
*arg1
= (PyObject
*) 0 ;
5519 wxPyInputStream
*result
;
5520 PyObject
* obj0
= 0 ;
5525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5529 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5531 wxPyEndAllowThreads(__tstate
);
5532 if (PyErr_Occurred()) SWIG_fail
;
5534 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
5541 static PyObject
*_wrap_InputStream_close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5542 PyObject
*resultobj
;
5543 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5544 PyObject
* obj0
= 0 ;
5546 (char *) "self", NULL
5549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
5550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5556 wxPyEndAllowThreads(__tstate
);
5557 if (PyErr_Occurred()) SWIG_fail
;
5559 Py_INCREF(Py_None
); resultobj
= Py_None
;
5566 static PyObject
*_wrap_InputStream_flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5567 PyObject
*resultobj
;
5568 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5569 PyObject
* obj0
= 0 ;
5571 (char *) "self", NULL
5574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
5575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5581 wxPyEndAllowThreads(__tstate
);
5582 if (PyErr_Occurred()) SWIG_fail
;
5584 Py_INCREF(Py_None
); resultobj
= Py_None
;
5591 static PyObject
*_wrap_InputStream_eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5592 PyObject
*resultobj
;
5593 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5595 PyObject
* obj0
= 0 ;
5597 (char *) "self", NULL
5600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
5601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5605 result
= (bool)(arg1
)->eof();
5607 wxPyEndAllowThreads(__tstate
);
5608 if (PyErr_Occurred()) SWIG_fail
;
5610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5617 static PyObject
*_wrap_InputStream_read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5618 PyObject
*resultobj
;
5619 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5620 int arg2
= (int) -1 ;
5622 PyObject
* obj0
= 0 ;
5623 PyObject
* obj1
= 0 ;
5625 (char *) "self",(char *) "size", NULL
5628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
5629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5632 arg2
= (int) SWIG_AsInt(obj1
);
5633 if (PyErr_Occurred()) SWIG_fail
;
5636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5637 result
= (PyObject
*)(arg1
)->read(arg2
);
5639 wxPyEndAllowThreads(__tstate
);
5640 if (PyErr_Occurred()) SWIG_fail
;
5649 static PyObject
*_wrap_InputStream_readline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5650 PyObject
*resultobj
;
5651 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5652 int arg2
= (int) -1 ;
5654 PyObject
* obj0
= 0 ;
5655 PyObject
* obj1
= 0 ;
5657 (char *) "self",(char *) "size", NULL
5660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
5661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5664 arg2
= (int) SWIG_AsInt(obj1
);
5665 if (PyErr_Occurred()) SWIG_fail
;
5668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5669 result
= (PyObject
*)(arg1
)->readline(arg2
);
5671 wxPyEndAllowThreads(__tstate
);
5672 if (PyErr_Occurred()) SWIG_fail
;
5681 static PyObject
*_wrap_InputStream_readlines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5682 PyObject
*resultobj
;
5683 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5684 int arg2
= (int) -1 ;
5686 PyObject
* obj0
= 0 ;
5687 PyObject
* obj1
= 0 ;
5689 (char *) "self",(char *) "sizehint", NULL
5692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
5693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5696 arg2
= (int) SWIG_AsInt(obj1
);
5697 if (PyErr_Occurred()) SWIG_fail
;
5700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5701 result
= (PyObject
*)(arg1
)->readlines(arg2
);
5703 wxPyEndAllowThreads(__tstate
);
5704 if (PyErr_Occurred()) SWIG_fail
;
5713 static PyObject
*_wrap_InputStream_seek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5714 PyObject
*resultobj
;
5715 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5717 int arg3
= (int) 0 ;
5718 PyObject
* obj0
= 0 ;
5719 PyObject
* obj1
= 0 ;
5720 PyObject
* obj2
= 0 ;
5722 (char *) "self",(char *) "offset",(char *) "whence", NULL
5725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5728 arg2
= (int) SWIG_AsInt(obj1
);
5729 if (PyErr_Occurred()) SWIG_fail
;
5731 arg3
= (int) SWIG_AsInt(obj2
);
5732 if (PyErr_Occurred()) SWIG_fail
;
5735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5736 (arg1
)->seek(arg2
,arg3
);
5738 wxPyEndAllowThreads(__tstate
);
5739 if (PyErr_Occurred()) SWIG_fail
;
5741 Py_INCREF(Py_None
); resultobj
= Py_None
;
5748 static PyObject
*_wrap_InputStream_tell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5749 PyObject
*resultobj
;
5750 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5752 PyObject
* obj0
= 0 ;
5754 (char *) "self", NULL
5757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
5758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5762 result
= (int)(arg1
)->tell();
5764 wxPyEndAllowThreads(__tstate
);
5765 if (PyErr_Occurred()) SWIG_fail
;
5767 resultobj
= SWIG_FromInt((int)result
);
5774 static PyObject
*_wrap_InputStream_Peek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5775 PyObject
*resultobj
;
5776 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5778 PyObject
* obj0
= 0 ;
5780 (char *) "self", NULL
5783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
5784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5788 result
= (char)(arg1
)->Peek();
5790 wxPyEndAllowThreads(__tstate
);
5791 if (PyErr_Occurred()) SWIG_fail
;
5793 resultobj
= SWIG_FromChar((char)result
);
5800 static PyObject
*_wrap_InputStream_GetC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5801 PyObject
*resultobj
;
5802 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5804 PyObject
* obj0
= 0 ;
5806 (char *) "self", NULL
5809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
5810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5814 result
= (char)(arg1
)->GetC();
5816 wxPyEndAllowThreads(__tstate
);
5817 if (PyErr_Occurred()) SWIG_fail
;
5819 resultobj
= SWIG_FromChar((char)result
);
5826 static PyObject
*_wrap_InputStream_LastRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5827 PyObject
*resultobj
;
5828 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5830 PyObject
* obj0
= 0 ;
5832 (char *) "self", NULL
5835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
5836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5840 result
= (size_t)(arg1
)->LastRead();
5842 wxPyEndAllowThreads(__tstate
);
5843 if (PyErr_Occurred()) SWIG_fail
;
5845 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
5852 static PyObject
*_wrap_InputStream_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5853 PyObject
*resultobj
;
5854 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5856 PyObject
* obj0
= 0 ;
5858 (char *) "self", NULL
5861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
5862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5866 result
= (bool)(arg1
)->CanRead();
5868 wxPyEndAllowThreads(__tstate
);
5869 if (PyErr_Occurred()) SWIG_fail
;
5871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5878 static PyObject
*_wrap_InputStream_Eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5879 PyObject
*resultobj
;
5880 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5882 PyObject
* obj0
= 0 ;
5884 (char *) "self", NULL
5887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
5888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5892 result
= (bool)(arg1
)->Eof();
5894 wxPyEndAllowThreads(__tstate
);
5895 if (PyErr_Occurred()) SWIG_fail
;
5897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5904 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5905 PyObject
*resultobj
;
5906 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5909 PyObject
* obj0
= 0 ;
5910 PyObject
* obj1
= 0 ;
5912 (char *) "self",(char *) "c", NULL
5915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
5916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5918 arg2
= (char) SWIG_AsChar(obj1
);
5919 if (PyErr_Occurred()) SWIG_fail
;
5921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5922 result
= (bool)(arg1
)->Ungetch(arg2
);
5924 wxPyEndAllowThreads(__tstate
);
5925 if (PyErr_Occurred()) SWIG_fail
;
5927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5934 static PyObject
*_wrap_InputStream_SeekI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5935 PyObject
*resultobj
;
5936 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5938 int arg3
= (int) wxFromStart
;
5940 PyObject
* obj0
= 0 ;
5941 PyObject
* obj1
= 0 ;
5942 PyObject
* obj2
= 0 ;
5944 (char *) "self",(char *) "pos",(char *) "mode", NULL
5947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5950 arg2
= (long) SWIG_AsLong(obj1
);
5951 if (PyErr_Occurred()) SWIG_fail
;
5953 arg3
= (wxSeekMode
) SWIG_AsInt(obj2
);
5954 if (PyErr_Occurred()) SWIG_fail
;
5957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5958 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
5960 wxPyEndAllowThreads(__tstate
);
5961 if (PyErr_Occurred()) SWIG_fail
;
5963 resultobj
= SWIG_FromLong((long)result
);
5970 static PyObject
*_wrap_InputStream_TellI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5971 PyObject
*resultobj
;
5972 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5974 PyObject
* obj0
= 0 ;
5976 (char *) "self", NULL
5979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
5980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5984 result
= (long)(arg1
)->TellI();
5986 wxPyEndAllowThreads(__tstate
);
5987 if (PyErr_Occurred()) SWIG_fail
;
5989 resultobj
= SWIG_FromLong((long)result
);
5996 static PyObject
* InputStream_swigregister(PyObject
*self
, PyObject
*args
) {
5998 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5999 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6001 return Py_BuildValue((char *)"");
6003 static PyObject
*_wrap_OutputStream_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6004 PyObject
*resultobj
;
6005 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6006 PyObject
*arg2
= (PyObject
*) 0 ;
6007 PyObject
* obj0
= 0 ;
6008 PyObject
* obj1
= 0 ;
6010 (char *) "self",(char *) "obj", NULL
6013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6019 wxOutputStream_write(arg1
,arg2
);
6021 wxPyEndAllowThreads(__tstate
);
6022 if (PyErr_Occurred()) SWIG_fail
;
6024 Py_INCREF(Py_None
); resultobj
= Py_None
;
6031 static PyObject
* OutputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6033 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6034 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6036 return Py_BuildValue((char *)"");
6038 static PyObject
*_wrap_new_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6039 PyObject
*resultobj
;
6040 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6041 wxString
*arg2
= 0 ;
6042 wxString
*arg3
= 0 ;
6043 wxString
*arg4
= 0 ;
6046 wxPyInputStream
*temp1
;
6048 bool temp2
= False
;
6049 bool temp3
= False
;
6050 bool temp4
= False
;
6052 PyObject
* obj0
= 0 ;
6053 PyObject
* obj1
= 0 ;
6054 PyObject
* obj2
= 0 ;
6055 PyObject
* obj3
= 0 ;
6056 PyObject
* obj4
= 0 ;
6058 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6063 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6064 arg1
= temp1
->m_wxis
;
6067 PyErr_Clear(); // clear the failure of the wxPyConvert above
6068 arg1
= wxPyCBInputStream_create(obj0
, False
);
6070 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6077 arg2
= wxString_in_helper(obj1
);
6078 if (arg2
== NULL
) SWIG_fail
;
6082 arg3
= wxString_in_helper(obj2
);
6083 if (arg3
== NULL
) SWIG_fail
;
6087 arg4
= wxString_in_helper(obj3
);
6088 if (arg4
== NULL
) SWIG_fail
;
6091 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6092 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6096 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6098 wxPyEndAllowThreads(__tstate
);
6099 if (PyErr_Occurred()) SWIG_fail
;
6102 resultobj
= wxPyMake_wxObject(result
);
6142 static PyObject
*_wrap_delete_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6143 PyObject
*resultobj
;
6144 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6145 PyObject
* obj0
= 0 ;
6147 (char *) "self", NULL
6150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6157 wxPyEndAllowThreads(__tstate
);
6158 if (PyErr_Occurred()) SWIG_fail
;
6160 Py_INCREF(Py_None
); resultobj
= Py_None
;
6167 static PyObject
*_wrap_FSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6168 PyObject
*resultobj
;
6169 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6170 wxInputStream
*result
;
6171 PyObject
* obj0
= 0 ;
6173 (char *) "self", NULL
6176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6181 result
= (wxInputStream
*)(arg1
)->GetStream();
6183 wxPyEndAllowThreads(__tstate
);
6184 if (PyErr_Occurred()) SWIG_fail
;
6187 wxPyInputStream
* _ptr
= NULL
;
6190 _ptr
= new wxPyInputStream(result
);
6192 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
6200 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6201 PyObject
*resultobj
;
6202 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6204 PyObject
* obj0
= 0 ;
6206 (char *) "self", NULL
6209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6215 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6216 result
= (wxString
*) &_result_ref
;
6219 wxPyEndAllowThreads(__tstate
);
6220 if (PyErr_Occurred()) SWIG_fail
;
6224 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6226 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6235 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6236 PyObject
*resultobj
;
6237 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6239 PyObject
* obj0
= 0 ;
6241 (char *) "self", NULL
6244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6250 wxString
const &_result_ref
= (arg1
)->GetLocation();
6251 result
= (wxString
*) &_result_ref
;
6254 wxPyEndAllowThreads(__tstate
);
6255 if (PyErr_Occurred()) SWIG_fail
;
6259 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6261 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6270 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6271 PyObject
*resultobj
;
6272 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6274 PyObject
* obj0
= 0 ;
6276 (char *) "self", NULL
6279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6285 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6286 result
= (wxString
*) &_result_ref
;
6289 wxPyEndAllowThreads(__tstate
);
6290 if (PyErr_Occurred()) SWIG_fail
;
6294 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6296 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6305 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6306 PyObject
*resultobj
;
6307 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6309 PyObject
* obj0
= 0 ;
6311 (char *) "self", NULL
6314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6319 result
= (arg1
)->GetModificationTime();
6321 wxPyEndAllowThreads(__tstate
);
6322 if (PyErr_Occurred()) SWIG_fail
;
6325 wxDateTime
* resultptr
;
6326 resultptr
= new wxDateTime((wxDateTime
&) result
);
6327 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6335 static PyObject
* FSFile_swigregister(PyObject
*self
, PyObject
*args
) {
6337 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6338 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6340 return Py_BuildValue((char *)"");
6342 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6344 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6345 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6347 return Py_BuildValue((char *)"");
6349 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6350 PyObject
*resultobj
;
6351 wxPyFileSystemHandler
*result
;
6356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6359 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6361 wxPyEndAllowThreads(__tstate
);
6362 if (PyErr_Occurred()) SWIG_fail
;
6364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6371 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6372 PyObject
*resultobj
;
6373 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6374 PyObject
*arg2
= (PyObject
*) 0 ;
6375 PyObject
*arg3
= (PyObject
*) 0 ;
6376 PyObject
* obj0
= 0 ;
6377 PyObject
* obj1
= 0 ;
6378 PyObject
* obj2
= 0 ;
6380 (char *) "self",(char *) "self",(char *) "_class", NULL
6383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6390 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6392 wxPyEndAllowThreads(__tstate
);
6393 if (PyErr_Occurred()) SWIG_fail
;
6395 Py_INCREF(Py_None
); resultobj
= Py_None
;
6402 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6403 PyObject
*resultobj
;
6404 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6405 wxString
*arg2
= 0 ;
6407 bool temp2
= False
;
6408 PyObject
* obj0
= 0 ;
6409 PyObject
* obj1
= 0 ;
6411 (char *) "self",(char *) "location", NULL
6414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6418 arg2
= wxString_in_helper(obj1
);
6419 if (arg2
== NULL
) SWIG_fail
;
6423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6424 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6426 wxPyEndAllowThreads(__tstate
);
6427 if (PyErr_Occurred()) SWIG_fail
;
6429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6444 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6445 PyObject
*resultobj
;
6446 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6447 wxFileSystem
*arg2
= 0 ;
6448 wxString
*arg3
= 0 ;
6450 bool temp3
= False
;
6451 PyObject
* obj0
= 0 ;
6452 PyObject
* obj1
= 0 ;
6453 PyObject
* obj2
= 0 ;
6455 (char *) "self",(char *) "fs",(char *) "location", NULL
6458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6461 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
6462 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6465 PyErr_SetString(PyExc_TypeError
,"null reference");
6469 arg3
= wxString_in_helper(obj2
);
6470 if (arg3
== NULL
) SWIG_fail
;
6474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6475 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6477 wxPyEndAllowThreads(__tstate
);
6478 if (PyErr_Occurred()) SWIG_fail
;
6481 resultobj
= wxPyMake_wxObject(result
);
6497 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6498 PyObject
*resultobj
;
6499 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6500 wxString
*arg2
= 0 ;
6501 int arg3
= (int) 0 ;
6503 bool temp2
= False
;
6504 PyObject
* obj0
= 0 ;
6505 PyObject
* obj1
= 0 ;
6506 PyObject
* obj2
= 0 ;
6508 (char *) "self",(char *) "spec",(char *) "flags", NULL
6511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6515 arg2
= wxString_in_helper(obj1
);
6516 if (arg2
== NULL
) SWIG_fail
;
6520 arg3
= (int) SWIG_AsInt(obj2
);
6521 if (PyErr_Occurred()) SWIG_fail
;
6524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6525 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6527 wxPyEndAllowThreads(__tstate
);
6528 if (PyErr_Occurred()) SWIG_fail
;
6532 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6534 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6551 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6552 PyObject
*resultobj
;
6553 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6555 PyObject
* obj0
= 0 ;
6557 (char *) "self", NULL
6560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6565 result
= (arg1
)->FindNext();
6567 wxPyEndAllowThreads(__tstate
);
6568 if (PyErr_Occurred()) SWIG_fail
;
6572 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6574 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6583 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6584 PyObject
*resultobj
;
6585 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6586 wxString
*arg2
= 0 ;
6588 bool temp2
= False
;
6589 PyObject
* obj0
= 0 ;
6590 PyObject
* obj1
= 0 ;
6592 (char *) "self",(char *) "location", NULL
6595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
6596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6599 arg2
= wxString_in_helper(obj1
);
6600 if (arg2
== NULL
) SWIG_fail
;
6604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6605 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
6607 wxPyEndAllowThreads(__tstate
);
6608 if (PyErr_Occurred()) SWIG_fail
;
6612 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6614 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6631 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*self
, 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_GetLeftLocation",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
)->GetLeftLocation((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_GetAnchor(PyObject
*self
, 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_GetAnchor",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
)->GetAnchor((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_GetRightLocation(PyObject
*self
, 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_GetRightLocation",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
)->GetRightLocation((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_GetMimeTypeFromExt(PyObject
*self
, 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_GetMimeTypeFromExt",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
)->GetMimeTypeFromExt((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
* FileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6825 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6826 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
6828 return Py_BuildValue((char *)"");
6830 static PyObject
*_wrap_new_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6831 PyObject
*resultobj
;
6832 wxFileSystem
*result
;
6837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
6839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6840 result
= (wxFileSystem
*)new wxFileSystem();
6842 wxPyEndAllowThreads(__tstate
);
6843 if (PyErr_Occurred()) SWIG_fail
;
6846 resultobj
= wxPyMake_wxObject(result
);
6854 static PyObject
*_wrap_delete_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6855 PyObject
*resultobj
;
6856 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6857 PyObject
* obj0
= 0 ;
6859 (char *) "self", NULL
6862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
6863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
6864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6869 wxPyEndAllowThreads(__tstate
);
6870 if (PyErr_Occurred()) SWIG_fail
;
6872 Py_INCREF(Py_None
); resultobj
= Py_None
;
6879 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6880 PyObject
*resultobj
;
6881 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6882 wxString
*arg2
= 0 ;
6883 bool arg3
= (bool) False
;
6884 bool temp2
= False
;
6885 PyObject
* obj0
= 0 ;
6886 PyObject
* obj1
= 0 ;
6887 PyObject
* obj2
= 0 ;
6889 (char *) "self",(char *) "location",(char *) "is_dir", NULL
6892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
6894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6896 arg2
= wxString_in_helper(obj1
);
6897 if (arg2
== NULL
) SWIG_fail
;
6901 arg3
= (bool) SWIG_AsBool(obj2
);
6902 if (PyErr_Occurred()) SWIG_fail
;
6905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6906 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
6908 wxPyEndAllowThreads(__tstate
);
6909 if (PyErr_Occurred()) SWIG_fail
;
6911 Py_INCREF(Py_None
); resultobj
= Py_None
;
6926 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6927 PyObject
*resultobj
;
6928 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6930 PyObject
* obj0
= 0 ;
6932 (char *) "self", NULL
6935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
6936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
6937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6940 result
= (arg1
)->GetPath();
6942 wxPyEndAllowThreads(__tstate
);
6943 if (PyErr_Occurred()) SWIG_fail
;
6947 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6949 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6958 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6959 PyObject
*resultobj
;
6960 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6961 wxString
*arg2
= 0 ;
6963 bool temp2
= False
;
6964 PyObject
* obj0
= 0 ;
6965 PyObject
* obj1
= 0 ;
6967 (char *) "self",(char *) "location", NULL
6970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
6972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6974 arg2
= wxString_in_helper(obj1
);
6975 if (arg2
== NULL
) SWIG_fail
;
6979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6980 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
6982 wxPyEndAllowThreads(__tstate
);
6983 if (PyErr_Occurred()) SWIG_fail
;
6986 resultobj
= wxPyMake_wxObject(result
);
7002 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7003 PyObject
*resultobj
;
7004 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7005 wxString
*arg2
= 0 ;
7006 int arg3
= (int) 0 ;
7008 bool temp2
= False
;
7009 PyObject
* obj0
= 0 ;
7010 PyObject
* obj1
= 0 ;
7011 PyObject
* obj2
= 0 ;
7013 (char *) "self",(char *) "spec",(char *) "flags", NULL
7016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7020 arg2
= wxString_in_helper(obj1
);
7021 if (arg2
== NULL
) SWIG_fail
;
7025 arg3
= (int) SWIG_AsInt(obj2
);
7026 if (PyErr_Occurred()) SWIG_fail
;
7029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7030 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7032 wxPyEndAllowThreads(__tstate
);
7033 if (PyErr_Occurred()) SWIG_fail
;
7037 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7039 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7056 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7057 PyObject
*resultobj
;
7058 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7060 PyObject
* obj0
= 0 ;
7062 (char *) "self", NULL
7065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7070 result
= (arg1
)->FindNext();
7072 wxPyEndAllowThreads(__tstate
);
7073 if (PyErr_Occurred()) SWIG_fail
;
7077 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7079 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7088 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7089 PyObject
*resultobj
;
7090 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7091 PyObject
* obj0
= 0 ;
7093 (char *) "handler", NULL
7096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7101 wxFileSystem::AddHandler(arg1
);
7103 wxPyEndAllowThreads(__tstate
);
7104 if (PyErr_Occurred()) SWIG_fail
;
7106 Py_INCREF(Py_None
); resultobj
= Py_None
;
7113 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7114 PyObject
*resultobj
;
7119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7122 wxFileSystem::CleanUpHandlers();
7124 wxPyEndAllowThreads(__tstate
);
7125 if (PyErr_Occurred()) SWIG_fail
;
7127 Py_INCREF(Py_None
); resultobj
= Py_None
;
7134 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7135 PyObject
*resultobj
;
7136 wxString
*arg1
= 0 ;
7138 bool temp1
= False
;
7139 PyObject
* obj0
= 0 ;
7141 (char *) "filename", NULL
7144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7146 arg1
= wxString_in_helper(obj0
);
7147 if (arg1
== NULL
) SWIG_fail
;
7151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7152 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7154 wxPyEndAllowThreads(__tstate
);
7155 if (PyErr_Occurred()) SWIG_fail
;
7159 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7161 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7178 static PyObject
* FileSystem_swigregister(PyObject
*self
, PyObject
*args
) {
7180 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7181 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7183 return Py_BuildValue((char *)"");
7185 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7186 PyObject
*resultobj
;
7187 wxString
*arg1
= 0 ;
7189 bool temp1
= False
;
7190 PyObject
* obj0
= 0 ;
7192 (char *) "url", NULL
7195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7197 arg1
= wxString_in_helper(obj0
);
7198 if (arg1
== NULL
) SWIG_fail
;
7202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7203 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
7205 wxPyEndAllowThreads(__tstate
);
7206 if (PyErr_Occurred()) SWIG_fail
;
7210 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7212 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7229 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7230 PyObject
*resultobj
;
7231 wxInternetFSHandler
*result
;
7236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7239 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7241 wxPyEndAllowThreads(__tstate
);
7242 if (PyErr_Occurred()) SWIG_fail
;
7244 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7251 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7252 PyObject
*resultobj
;
7253 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7254 wxString
*arg2
= 0 ;
7256 bool temp2
= False
;
7257 PyObject
* obj0
= 0 ;
7258 PyObject
* obj1
= 0 ;
7260 (char *) "self",(char *) "location", NULL
7263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7267 arg2
= wxString_in_helper(obj1
);
7268 if (arg2
== NULL
) SWIG_fail
;
7272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7273 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7275 wxPyEndAllowThreads(__tstate
);
7276 if (PyErr_Occurred()) SWIG_fail
;
7278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7293 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7294 PyObject
*resultobj
;
7295 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7296 wxFileSystem
*arg2
= 0 ;
7297 wxString
*arg3
= 0 ;
7299 bool temp3
= False
;
7300 PyObject
* obj0
= 0 ;
7301 PyObject
* obj1
= 0 ;
7302 PyObject
* obj2
= 0 ;
7304 (char *) "self",(char *) "fs",(char *) "location", NULL
7307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7310 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7311 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7314 PyErr_SetString(PyExc_TypeError
,"null reference");
7318 arg3
= wxString_in_helper(obj2
);
7319 if (arg3
== NULL
) SWIG_fail
;
7323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7324 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7326 wxPyEndAllowThreads(__tstate
);
7327 if (PyErr_Occurred()) SWIG_fail
;
7330 resultobj
= wxPyMake_wxObject(result
);
7346 static PyObject
* InternetFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7348 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7349 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7351 return Py_BuildValue((char *)"");
7353 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7354 PyObject
*resultobj
;
7355 wxZipFSHandler
*result
;
7360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7363 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7365 wxPyEndAllowThreads(__tstate
);
7366 if (PyErr_Occurred()) SWIG_fail
;
7368 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7375 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7376 PyObject
*resultobj
;
7377 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7378 wxString
*arg2
= 0 ;
7380 bool temp2
= False
;
7381 PyObject
* obj0
= 0 ;
7382 PyObject
* obj1
= 0 ;
7384 (char *) "self",(char *) "location", NULL
7387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7391 arg2
= wxString_in_helper(obj1
);
7392 if (arg2
== NULL
) SWIG_fail
;
7396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7397 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7399 wxPyEndAllowThreads(__tstate
);
7400 if (PyErr_Occurred()) SWIG_fail
;
7402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7417 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7418 PyObject
*resultobj
;
7419 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7420 wxFileSystem
*arg2
= 0 ;
7421 wxString
*arg3
= 0 ;
7423 bool temp3
= False
;
7424 PyObject
* obj0
= 0 ;
7425 PyObject
* obj1
= 0 ;
7426 PyObject
* obj2
= 0 ;
7428 (char *) "self",(char *) "fs",(char *) "location", NULL
7431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7434 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7435 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7438 PyErr_SetString(PyExc_TypeError
,"null reference");
7442 arg3
= wxString_in_helper(obj2
);
7443 if (arg3
== NULL
) SWIG_fail
;
7447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7448 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7450 wxPyEndAllowThreads(__tstate
);
7451 if (PyErr_Occurred()) SWIG_fail
;
7454 resultobj
= wxPyMake_wxObject(result
);
7470 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7471 PyObject
*resultobj
;
7472 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7473 wxString
*arg2
= 0 ;
7474 int arg3
= (int) 0 ;
7476 bool temp2
= False
;
7477 PyObject
* obj0
= 0 ;
7478 PyObject
* obj1
= 0 ;
7479 PyObject
* obj2
= 0 ;
7481 (char *) "self",(char *) "spec",(char *) "flags", NULL
7484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7488 arg2
= wxString_in_helper(obj1
);
7489 if (arg2
== NULL
) SWIG_fail
;
7493 arg3
= (int) SWIG_AsInt(obj2
);
7494 if (PyErr_Occurred()) SWIG_fail
;
7497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7498 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7500 wxPyEndAllowThreads(__tstate
);
7501 if (PyErr_Occurred()) SWIG_fail
;
7505 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7507 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7524 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7525 PyObject
*resultobj
;
7526 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7528 PyObject
* obj0
= 0 ;
7530 (char *) "self", NULL
7533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7538 result
= (arg1
)->FindNext();
7540 wxPyEndAllowThreads(__tstate
);
7541 if (PyErr_Occurred()) SWIG_fail
;
7545 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7547 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7556 static PyObject
* ZipFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7558 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7559 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
7561 return Py_BuildValue((char *)"");
7563 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7564 PyObject
*resultobj
;
7565 wxString
*arg1
= 0 ;
7568 bool temp1
= False
;
7569 PyObject
* obj0
= 0 ;
7570 PyObject
* obj1
= 0 ;
7571 PyObject
* obj2
= 0 ;
7573 (char *) "filename",(char *) "image",(char *) "type", NULL
7576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7578 arg1
= wxString_in_helper(obj0
);
7579 if (arg1
== NULL
) SWIG_fail
;
7582 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
7583 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7586 PyErr_SetString(PyExc_TypeError
,"null reference");
7589 arg3
= (long) SWIG_AsLong(obj2
);
7590 if (PyErr_Occurred()) SWIG_fail
;
7592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7593 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
7595 wxPyEndAllowThreads(__tstate
);
7596 if (PyErr_Occurred()) SWIG_fail
;
7598 Py_INCREF(Py_None
); resultobj
= Py_None
;
7613 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7614 PyObject
*resultobj
;
7615 wxString
*arg1
= 0 ;
7616 wxBitmap
*arg2
= 0 ;
7618 bool temp1
= False
;
7619 PyObject
* obj0
= 0 ;
7620 PyObject
* obj1
= 0 ;
7621 PyObject
* obj2
= 0 ;
7623 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7628 arg1
= wxString_in_helper(obj0
);
7629 if (arg1
== NULL
) SWIG_fail
;
7632 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
7633 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7636 PyErr_SetString(PyExc_TypeError
,"null reference");
7639 arg3
= (long) SWIG_AsLong(obj2
);
7640 if (PyErr_Occurred()) SWIG_fail
;
7642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7643 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
7645 wxPyEndAllowThreads(__tstate
);
7646 if (PyErr_Occurred()) SWIG_fail
;
7648 Py_INCREF(Py_None
); resultobj
= Py_None
;
7663 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7664 PyObject
*resultobj
;
7665 wxString
*arg1
= 0 ;
7666 PyObject
*arg2
= (PyObject
*) 0 ;
7667 bool temp1
= False
;
7668 PyObject
* obj0
= 0 ;
7669 PyObject
* obj1
= 0 ;
7671 (char *) "filename",(char *) "data", NULL
7674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
7676 arg1
= wxString_in_helper(obj0
);
7677 if (arg1
== NULL
) SWIG_fail
;
7682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7683 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
7685 wxPyEndAllowThreads(__tstate
);
7686 if (PyErr_Occurred()) SWIG_fail
;
7688 Py_INCREF(Py_None
); resultobj
= Py_None
;
7703 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7704 PyObject
*resultobj
;
7705 wxMemoryFSHandler
*result
;
7710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
7712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7713 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
7715 wxPyEndAllowThreads(__tstate
);
7716 if (PyErr_Occurred()) SWIG_fail
;
7718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
7725 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7726 PyObject
*resultobj
;
7727 wxString
*arg1
= 0 ;
7728 bool temp1
= False
;
7729 PyObject
* obj0
= 0 ;
7731 (char *) "filename", NULL
7734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
7736 arg1
= wxString_in_helper(obj0
);
7737 if (arg1
== NULL
) SWIG_fail
;
7741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7742 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
7744 wxPyEndAllowThreads(__tstate
);
7745 if (PyErr_Occurred()) SWIG_fail
;
7747 Py_INCREF(Py_None
); resultobj
= Py_None
;
7762 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7763 PyObject
*resultobj
;
7764 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7765 wxString
*arg2
= 0 ;
7767 bool temp2
= False
;
7768 PyObject
* obj0
= 0 ;
7769 PyObject
* obj1
= 0 ;
7771 (char *) "self",(char *) "location", NULL
7774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7778 arg2
= wxString_in_helper(obj1
);
7779 if (arg2
== NULL
) SWIG_fail
;
7783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7784 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7786 wxPyEndAllowThreads(__tstate
);
7787 if (PyErr_Occurred()) SWIG_fail
;
7789 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7804 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7805 PyObject
*resultobj
;
7806 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7807 wxFileSystem
*arg2
= 0 ;
7808 wxString
*arg3
= 0 ;
7810 bool temp3
= False
;
7811 PyObject
* obj0
= 0 ;
7812 PyObject
* obj1
= 0 ;
7813 PyObject
* obj2
= 0 ;
7815 (char *) "self",(char *) "fs",(char *) "location", NULL
7818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7821 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7822 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7825 PyErr_SetString(PyExc_TypeError
,"null reference");
7829 arg3
= wxString_in_helper(obj2
);
7830 if (arg3
== NULL
) SWIG_fail
;
7834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7835 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7837 wxPyEndAllowThreads(__tstate
);
7838 if (PyErr_Occurred()) SWIG_fail
;
7841 resultobj
= wxPyMake_wxObject(result
);
7857 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7858 PyObject
*resultobj
;
7859 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7860 wxString
*arg2
= 0 ;
7861 int arg3
= (int) 0 ;
7863 bool temp2
= False
;
7864 PyObject
* obj0
= 0 ;
7865 PyObject
* obj1
= 0 ;
7866 PyObject
* obj2
= 0 ;
7868 (char *) "self",(char *) "spec",(char *) "flags", NULL
7871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7875 arg2
= wxString_in_helper(obj1
);
7876 if (arg2
== NULL
) SWIG_fail
;
7880 arg3
= (int) SWIG_AsInt(obj2
);
7881 if (PyErr_Occurred()) SWIG_fail
;
7884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7885 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7887 wxPyEndAllowThreads(__tstate
);
7888 if (PyErr_Occurred()) SWIG_fail
;
7892 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7894 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7911 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7912 PyObject
*resultobj
;
7913 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7915 PyObject
* obj0
= 0 ;
7917 (char *) "self", NULL
7920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7925 result
= (arg1
)->FindNext();
7927 wxPyEndAllowThreads(__tstate
);
7928 if (PyErr_Occurred()) SWIG_fail
;
7932 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7934 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7943 static PyObject
* MemoryFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7945 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7946 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
7948 return Py_BuildValue((char *)"");
7950 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7951 PyObject
*resultobj
;
7952 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7954 PyObject
* obj0
= 0 ;
7956 (char *) "self", NULL
7959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
7960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
7961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7964 result
= (arg1
)->GetName();
7966 wxPyEndAllowThreads(__tstate
);
7967 if (PyErr_Occurred()) SWIG_fail
;
7971 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7973 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7982 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7983 PyObject
*resultobj
;
7984 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7986 PyObject
* obj0
= 0 ;
7988 (char *) "self", NULL
7991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
7992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
7993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7996 result
= (arg1
)->GetExtension();
7998 wxPyEndAllowThreads(__tstate
);
7999 if (PyErr_Occurred()) SWIG_fail
;
8003 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8005 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8014 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8015 PyObject
*resultobj
;
8016 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8018 PyObject
* obj0
= 0 ;
8020 (char *) "self", NULL
8023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8028 result
= (long)(arg1
)->GetType();
8030 wxPyEndAllowThreads(__tstate
);
8031 if (PyErr_Occurred()) SWIG_fail
;
8033 resultobj
= SWIG_FromLong((long)result
);
8040 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8041 PyObject
*resultobj
;
8042 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8044 PyObject
* obj0
= 0 ;
8046 (char *) "self", NULL
8049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8054 result
= (arg1
)->GetMimeType();
8056 wxPyEndAllowThreads(__tstate
);
8057 if (PyErr_Occurred()) SWIG_fail
;
8061 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8063 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8072 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8073 PyObject
*resultobj
;
8074 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8075 wxString
*arg2
= 0 ;
8077 bool temp2
= False
;
8078 PyObject
* obj0
= 0 ;
8079 PyObject
* obj1
= 0 ;
8081 (char *) "self",(char *) "name", NULL
8084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8088 arg2
= wxString_in_helper(obj1
);
8089 if (arg2
== NULL
) SWIG_fail
;
8093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8094 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8096 wxPyEndAllowThreads(__tstate
);
8097 if (PyErr_Occurred()) SWIG_fail
;
8099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8114 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8115 PyObject
*resultobj
;
8116 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8117 wxString
*arg2
= 0 ;
8118 bool temp2
= False
;
8119 PyObject
* obj0
= 0 ;
8120 PyObject
* obj1
= 0 ;
8122 (char *) "self",(char *) "name", NULL
8125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8129 arg2
= wxString_in_helper(obj1
);
8130 if (arg2
== NULL
) SWIG_fail
;
8134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8135 (arg1
)->SetName((wxString
const &)*arg2
);
8137 wxPyEndAllowThreads(__tstate
);
8138 if (PyErr_Occurred()) SWIG_fail
;
8140 Py_INCREF(Py_None
); resultobj
= Py_None
;
8155 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8156 PyObject
*resultobj
;
8157 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8158 wxString
*arg2
= 0 ;
8159 bool temp2
= False
;
8160 PyObject
* obj0
= 0 ;
8161 PyObject
* obj1
= 0 ;
8163 (char *) "self",(char *) "extension", NULL
8166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8170 arg2
= wxString_in_helper(obj1
);
8171 if (arg2
== NULL
) SWIG_fail
;
8175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8176 (arg1
)->SetExtension((wxString
const &)*arg2
);
8178 wxPyEndAllowThreads(__tstate
);
8179 if (PyErr_Occurred()) SWIG_fail
;
8181 Py_INCREF(Py_None
); resultobj
= Py_None
;
8196 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8197 PyObject
*resultobj
;
8198 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8200 PyObject
* obj0
= 0 ;
8201 PyObject
* obj1
= 0 ;
8203 (char *) "self",(char *) "type", NULL
8206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8209 arg2
= (long) SWIG_AsLong(obj1
);
8210 if (PyErr_Occurred()) SWIG_fail
;
8212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8213 (arg1
)->SetType(arg2
);
8215 wxPyEndAllowThreads(__tstate
);
8216 if (PyErr_Occurred()) SWIG_fail
;
8218 Py_INCREF(Py_None
); resultobj
= Py_None
;
8225 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8226 PyObject
*resultobj
;
8227 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8228 wxString
*arg2
= 0 ;
8229 bool temp2
= False
;
8230 PyObject
* obj0
= 0 ;
8231 PyObject
* obj1
= 0 ;
8233 (char *) "self",(char *) "mimetype", NULL
8236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8240 arg2
= wxString_in_helper(obj1
);
8241 if (arg2
== NULL
) SWIG_fail
;
8245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8246 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8248 wxPyEndAllowThreads(__tstate
);
8249 if (PyErr_Occurred()) SWIG_fail
;
8251 Py_INCREF(Py_None
); resultobj
= Py_None
;
8266 static PyObject
* ImageHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8268 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8269 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8271 return Py_BuildValue((char *)"");
8273 static PyObject
*_wrap_new_ImageHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8274 PyObject
*resultobj
;
8275 wxImageHistogram
*result
;
8280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8283 result
= (wxImageHistogram
*)new wxImageHistogram();
8285 wxPyEndAllowThreads(__tstate
);
8286 if (PyErr_Occurred()) SWIG_fail
;
8288 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8295 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8296 PyObject
*resultobj
;
8297 unsigned char arg1
;
8298 unsigned char arg2
;
8299 unsigned char arg3
;
8300 unsigned long result
;
8301 PyObject
* obj0
= 0 ;
8302 PyObject
* obj1
= 0 ;
8303 PyObject
* obj2
= 0 ;
8305 (char *) "r",(char *) "g",(char *) "b", NULL
8308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8309 arg1
= (unsigned char) SWIG_AsUnsignedChar(obj0
);
8310 if (PyErr_Occurred()) SWIG_fail
;
8311 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8312 if (PyErr_Occurred()) SWIG_fail
;
8313 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8314 if (PyErr_Occurred()) SWIG_fail
;
8316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8317 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8319 wxPyEndAllowThreads(__tstate
);
8320 if (PyErr_Occurred()) SWIG_fail
;
8322 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8329 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8330 PyObject
*resultobj
;
8331 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8332 unsigned char *arg2
= (unsigned char *) 0 ;
8333 unsigned char *arg3
= (unsigned char *) 0 ;
8334 unsigned char *arg4
= (unsigned char *) 0 ;
8335 unsigned char arg5
= (unsigned char) 1 ;
8336 unsigned char arg6
= (unsigned char) 0 ;
8337 unsigned char arg7
= (unsigned char) 0 ;
8339 unsigned char temp2
;
8340 unsigned char temp3
;
8341 unsigned char temp4
;
8342 PyObject
* obj0
= 0 ;
8343 PyObject
* obj1
= 0 ;
8344 PyObject
* obj2
= 0 ;
8345 PyObject
* obj3
= 0 ;
8347 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8357 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8358 if (PyErr_Occurred()) SWIG_fail
;
8361 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8362 if (PyErr_Occurred()) SWIG_fail
;
8365 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
8366 if (PyErr_Occurred()) SWIG_fail
;
8369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8370 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8372 wxPyEndAllowThreads(__tstate
);
8373 if (PyErr_Occurred()) SWIG_fail
;
8375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8377 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8378 resultobj
= t_output_helper(resultobj
,o
);
8381 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8382 resultobj
= t_output_helper(resultobj
,o
);
8385 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8386 resultobj
= t_output_helper(resultobj
,o
);
8394 static PyObject
* ImageHistogram_swigregister(PyObject
*self
, PyObject
*args
) {
8396 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8397 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8399 return Py_BuildValue((char *)"");
8401 static PyObject
*_wrap_new_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8402 PyObject
*resultobj
;
8403 wxString
*arg1
= 0 ;
8404 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8405 int arg3
= (int) -1 ;
8407 bool temp1
= False
;
8408 PyObject
* obj0
= 0 ;
8409 PyObject
* obj1
= 0 ;
8410 PyObject
* obj2
= 0 ;
8412 (char *) "name",(char *) "type",(char *) "index", NULL
8415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8417 arg1
= wxString_in_helper(obj0
);
8418 if (arg1
== NULL
) SWIG_fail
;
8422 arg2
= (long) SWIG_AsLong(obj1
);
8423 if (PyErr_Occurred()) SWIG_fail
;
8426 arg3
= (int) SWIG_AsInt(obj2
);
8427 if (PyErr_Occurred()) SWIG_fail
;
8430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8431 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8433 wxPyEndAllowThreads(__tstate
);
8434 if (PyErr_Occurred()) SWIG_fail
;
8436 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8451 static PyObject
*_wrap_delete_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8452 PyObject
*resultobj
;
8453 wxImage
*arg1
= (wxImage
*) 0 ;
8454 PyObject
* obj0
= 0 ;
8456 (char *) "self", NULL
8459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8466 wxPyEndAllowThreads(__tstate
);
8467 if (PyErr_Occurred()) SWIG_fail
;
8469 Py_INCREF(Py_None
); resultobj
= Py_None
;
8476 static PyObject
*_wrap_new_ImageFromMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8477 PyObject
*resultobj
;
8478 wxString
*arg1
= 0 ;
8479 wxString
*arg2
= 0 ;
8480 int arg3
= (int) -1 ;
8482 bool temp1
= False
;
8483 bool temp2
= False
;
8484 PyObject
* obj0
= 0 ;
8485 PyObject
* obj1
= 0 ;
8486 PyObject
* obj2
= 0 ;
8488 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8493 arg1
= wxString_in_helper(obj0
);
8494 if (arg1
== NULL
) SWIG_fail
;
8498 arg2
= wxString_in_helper(obj1
);
8499 if (arg2
== NULL
) SWIG_fail
;
8503 arg3
= (int) SWIG_AsInt(obj2
);
8504 if (PyErr_Occurred()) SWIG_fail
;
8507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8508 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8510 wxPyEndAllowThreads(__tstate
);
8511 if (PyErr_Occurred()) SWIG_fail
;
8513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8536 static PyObject
*_wrap_new_ImageFromStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8537 PyObject
*resultobj
;
8538 wxInputStream
*arg1
= 0 ;
8539 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8540 int arg3
= (int) -1 ;
8542 wxPyInputStream
*temp1
;
8544 PyObject
* obj0
= 0 ;
8545 PyObject
* obj1
= 0 ;
8546 PyObject
* obj2
= 0 ;
8548 (char *) "stream",(char *) "type",(char *) "index", NULL
8551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8553 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8554 arg1
= temp1
->m_wxis
;
8557 PyErr_Clear(); // clear the failure of the wxPyConvert above
8558 arg1
= wxPyCBInputStream_create(obj0
, False
);
8560 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8567 arg2
= (long) SWIG_AsLong(obj1
);
8568 if (PyErr_Occurred()) SWIG_fail
;
8571 arg3
= (int) SWIG_AsInt(obj2
);
8572 if (PyErr_Occurred()) SWIG_fail
;
8575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8576 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
8578 wxPyEndAllowThreads(__tstate
);
8579 if (PyErr_Occurred()) SWIG_fail
;
8581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8596 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8597 PyObject
*resultobj
;
8598 wxInputStream
*arg1
= 0 ;
8599 wxString
*arg2
= 0 ;
8600 int arg3
= (int) -1 ;
8602 wxPyInputStream
*temp1
;
8604 bool temp2
= False
;
8605 PyObject
* obj0
= 0 ;
8606 PyObject
* obj1
= 0 ;
8607 PyObject
* obj2
= 0 ;
8609 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8614 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8615 arg1
= temp1
->m_wxis
;
8618 PyErr_Clear(); // clear the failure of the wxPyConvert above
8619 arg1
= wxPyCBInputStream_create(obj0
, False
);
8621 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8628 arg2
= wxString_in_helper(obj1
);
8629 if (arg2
== NULL
) SWIG_fail
;
8633 arg3
= (int) SWIG_AsInt(obj2
);
8634 if (PyErr_Occurred()) SWIG_fail
;
8637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8638 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
8640 wxPyEndAllowThreads(__tstate
);
8641 if (PyErr_Occurred()) SWIG_fail
;
8643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8666 static PyObject
*_wrap_new_EmptyImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8667 PyObject
*resultobj
;
8668 int arg1
= (int) 0 ;
8669 int arg2
= (int) 0 ;
8670 bool arg3
= (bool) True
;
8672 PyObject
* obj0
= 0 ;
8673 PyObject
* obj1
= 0 ;
8674 PyObject
* obj2
= 0 ;
8676 (char *) "width",(char *) "height",(char *) "clear", NULL
8679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8681 arg1
= (int) SWIG_AsInt(obj0
);
8682 if (PyErr_Occurred()) SWIG_fail
;
8685 arg2
= (int) SWIG_AsInt(obj1
);
8686 if (PyErr_Occurred()) SWIG_fail
;
8689 arg3
= (bool) SWIG_AsBool(obj2
);
8690 if (PyErr_Occurred()) SWIG_fail
;
8693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8694 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8696 wxPyEndAllowThreads(__tstate
);
8697 if (PyErr_Occurred()) SWIG_fail
;
8699 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8706 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8707 PyObject
*resultobj
;
8708 wxBitmap
*arg1
= 0 ;
8710 PyObject
* obj0
= 0 ;
8712 (char *) "bitmap", NULL
8715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
8716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
8717 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8720 PyErr_SetString(PyExc_TypeError
,"null reference");
8724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8725 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
8727 wxPyEndAllowThreads(__tstate
);
8728 if (PyErr_Occurred()) SWIG_fail
;
8730 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8737 static PyObject
*_wrap_new_ImageFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8738 PyObject
*resultobj
;
8741 unsigned char *arg3
= (unsigned char *) 0 ;
8743 PyObject
* obj0
= 0 ;
8744 PyObject
* obj1
= 0 ;
8745 PyObject
* obj2
= 0 ;
8747 (char *) "width",(char *) "height",(char *) "data", NULL
8750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8751 arg1
= (int) SWIG_AsInt(obj0
);
8752 if (PyErr_Occurred()) SWIG_fail
;
8753 arg2
= (int) SWIG_AsInt(obj1
);
8754 if (PyErr_Occurred()) SWIG_fail
;
8755 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
8756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8759 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8761 wxPyEndAllowThreads(__tstate
);
8762 if (PyErr_Occurred()) SWIG_fail
;
8764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8771 static PyObject
*_wrap_Image_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8772 PyObject
*resultobj
;
8773 wxImage
*arg1
= (wxImage
*) 0 ;
8776 PyObject
* obj0
= 0 ;
8777 PyObject
* obj1
= 0 ;
8778 PyObject
* obj2
= 0 ;
8780 (char *) "self",(char *) "width",(char *) "height", NULL
8783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8786 arg2
= (int) SWIG_AsInt(obj1
);
8787 if (PyErr_Occurred()) SWIG_fail
;
8788 arg3
= (int) SWIG_AsInt(obj2
);
8789 if (PyErr_Occurred()) SWIG_fail
;
8791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8792 (arg1
)->Create(arg2
,arg3
);
8794 wxPyEndAllowThreads(__tstate
);
8795 if (PyErr_Occurred()) SWIG_fail
;
8797 Py_INCREF(Py_None
); resultobj
= Py_None
;
8804 static PyObject
*_wrap_Image_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8805 PyObject
*resultobj
;
8806 wxImage
*arg1
= (wxImage
*) 0 ;
8807 PyObject
* obj0
= 0 ;
8809 (char *) "self", NULL
8812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
8813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8819 wxPyEndAllowThreads(__tstate
);
8820 if (PyErr_Occurred()) SWIG_fail
;
8822 Py_INCREF(Py_None
); resultobj
= Py_None
;
8829 static PyObject
*_wrap_Image_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8830 PyObject
*resultobj
;
8831 wxImage
*arg1
= (wxImage
*) 0 ;
8834 SwigValueWrapper
< wxImage
> result
;
8835 PyObject
* obj0
= 0 ;
8836 PyObject
* obj1
= 0 ;
8837 PyObject
* obj2
= 0 ;
8839 (char *) "self",(char *) "width",(char *) "height", NULL
8842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8845 arg2
= (int) SWIG_AsInt(obj1
);
8846 if (PyErr_Occurred()) SWIG_fail
;
8847 arg3
= (int) SWIG_AsInt(obj2
);
8848 if (PyErr_Occurred()) SWIG_fail
;
8850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8851 result
= (arg1
)->Scale(arg2
,arg3
);
8853 wxPyEndAllowThreads(__tstate
);
8854 if (PyErr_Occurred()) SWIG_fail
;
8857 wxImage
* resultptr
;
8858 resultptr
= new wxImage((wxImage
&) result
);
8859 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
8867 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8868 PyObject
*resultobj
;
8869 wxImage
*arg1
= (wxImage
*) 0 ;
8872 SwigValueWrapper
< wxImage
> result
;
8873 PyObject
* obj0
= 0 ;
8874 PyObject
* obj1
= 0 ;
8875 PyObject
* obj2
= 0 ;
8877 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
8880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8883 arg2
= (int) SWIG_AsInt(obj1
);
8884 if (PyErr_Occurred()) SWIG_fail
;
8885 arg3
= (int) SWIG_AsInt(obj2
);
8886 if (PyErr_Occurred()) SWIG_fail
;
8888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8889 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
8891 wxPyEndAllowThreads(__tstate
);
8892 if (PyErr_Occurred()) SWIG_fail
;
8895 wxImage
* resultptr
;
8896 resultptr
= new wxImage((wxImage
&) result
);
8897 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
8905 static PyObject
*_wrap_Image_Rescale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8906 PyObject
*resultobj
;
8907 wxImage
*arg1
= (wxImage
*) 0 ;
8911 PyObject
* obj0
= 0 ;
8912 PyObject
* obj1
= 0 ;
8913 PyObject
* obj2
= 0 ;
8915 (char *) "self",(char *) "width",(char *) "height", NULL
8918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8921 arg2
= (int) SWIG_AsInt(obj1
);
8922 if (PyErr_Occurred()) SWIG_fail
;
8923 arg3
= (int) SWIG_AsInt(obj2
);
8924 if (PyErr_Occurred()) SWIG_fail
;
8926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8928 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
8929 result
= (wxImage
*) &_result_ref
;
8932 wxPyEndAllowThreads(__tstate
);
8933 if (PyErr_Occurred()) SWIG_fail
;
8935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
8942 static PyObject
*_wrap_Image_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8943 PyObject
*resultobj
;
8944 wxImage
*arg1
= (wxImage
*) 0 ;
8947 unsigned char arg4
;
8948 unsigned char arg5
;
8949 unsigned char arg6
;
8950 PyObject
* obj0
= 0 ;
8951 PyObject
* obj1
= 0 ;
8952 PyObject
* obj2
= 0 ;
8953 PyObject
* obj3
= 0 ;
8954 PyObject
* obj4
= 0 ;
8955 PyObject
* obj5
= 0 ;
8957 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
8960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8963 arg2
= (int) SWIG_AsInt(obj1
);
8964 if (PyErr_Occurred()) SWIG_fail
;
8965 arg3
= (int) SWIG_AsInt(obj2
);
8966 if (PyErr_Occurred()) SWIG_fail
;
8967 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
8968 if (PyErr_Occurred()) SWIG_fail
;
8969 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
8970 if (PyErr_Occurred()) SWIG_fail
;
8971 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
8972 if (PyErr_Occurred()) SWIG_fail
;
8974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8975 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
8977 wxPyEndAllowThreads(__tstate
);
8978 if (PyErr_Occurred()) SWIG_fail
;
8980 Py_INCREF(Py_None
); resultobj
= Py_None
;
8987 static PyObject
*_wrap_Image_GetRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8988 PyObject
*resultobj
;
8989 wxImage
*arg1
= (wxImage
*) 0 ;
8992 unsigned char result
;
8993 PyObject
* obj0
= 0 ;
8994 PyObject
* obj1
= 0 ;
8995 PyObject
* obj2
= 0 ;
8997 (char *) "self",(char *) "x",(char *) "y", NULL
9000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9003 arg2
= (int) SWIG_AsInt(obj1
);
9004 if (PyErr_Occurred()) SWIG_fail
;
9005 arg3
= (int) SWIG_AsInt(obj2
);
9006 if (PyErr_Occurred()) SWIG_fail
;
9008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9009 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9011 wxPyEndAllowThreads(__tstate
);
9012 if (PyErr_Occurred()) SWIG_fail
;
9014 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9021 static PyObject
*_wrap_Image_GetGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9022 PyObject
*resultobj
;
9023 wxImage
*arg1
= (wxImage
*) 0 ;
9026 unsigned char result
;
9027 PyObject
* obj0
= 0 ;
9028 PyObject
* obj1
= 0 ;
9029 PyObject
* obj2
= 0 ;
9031 (char *) "self",(char *) "x",(char *) "y", NULL
9034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9037 arg2
= (int) SWIG_AsInt(obj1
);
9038 if (PyErr_Occurred()) SWIG_fail
;
9039 arg3
= (int) SWIG_AsInt(obj2
);
9040 if (PyErr_Occurred()) SWIG_fail
;
9042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9043 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9045 wxPyEndAllowThreads(__tstate
);
9046 if (PyErr_Occurred()) SWIG_fail
;
9048 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9055 static PyObject
*_wrap_Image_GetBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9056 PyObject
*resultobj
;
9057 wxImage
*arg1
= (wxImage
*) 0 ;
9060 unsigned char result
;
9061 PyObject
* obj0
= 0 ;
9062 PyObject
* obj1
= 0 ;
9063 PyObject
* obj2
= 0 ;
9065 (char *) "self",(char *) "x",(char *) "y", NULL
9068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9071 arg2
= (int) SWIG_AsInt(obj1
);
9072 if (PyErr_Occurred()) SWIG_fail
;
9073 arg3
= (int) SWIG_AsInt(obj2
);
9074 if (PyErr_Occurred()) SWIG_fail
;
9076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9077 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9079 wxPyEndAllowThreads(__tstate
);
9080 if (PyErr_Occurred()) SWIG_fail
;
9082 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9089 static PyObject
*_wrap_Image_SetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9090 PyObject
*resultobj
;
9091 wxImage
*arg1
= (wxImage
*) 0 ;
9094 unsigned char arg4
;
9095 PyObject
* obj0
= 0 ;
9096 PyObject
* obj1
= 0 ;
9097 PyObject
* obj2
= 0 ;
9098 PyObject
* obj3
= 0 ;
9100 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9106 arg2
= (int) SWIG_AsInt(obj1
);
9107 if (PyErr_Occurred()) SWIG_fail
;
9108 arg3
= (int) SWIG_AsInt(obj2
);
9109 if (PyErr_Occurred()) SWIG_fail
;
9110 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9111 if (PyErr_Occurred()) SWIG_fail
;
9113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9114 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9116 wxPyEndAllowThreads(__tstate
);
9117 if (PyErr_Occurred()) SWIG_fail
;
9119 Py_INCREF(Py_None
); resultobj
= Py_None
;
9126 static PyObject
*_wrap_Image_GetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9127 PyObject
*resultobj
;
9128 wxImage
*arg1
= (wxImage
*) 0 ;
9131 unsigned char result
;
9132 PyObject
* obj0
= 0 ;
9133 PyObject
* obj1
= 0 ;
9134 PyObject
* obj2
= 0 ;
9136 (char *) "self",(char *) "x",(char *) "y", NULL
9139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9142 arg2
= (int) SWIG_AsInt(obj1
);
9143 if (PyErr_Occurred()) SWIG_fail
;
9144 arg3
= (int) SWIG_AsInt(obj2
);
9145 if (PyErr_Occurred()) SWIG_fail
;
9147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9148 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9150 wxPyEndAllowThreads(__tstate
);
9151 if (PyErr_Occurred()) SWIG_fail
;
9153 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9160 static PyObject
*_wrap_Image_HasAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9161 PyObject
*resultobj
;
9162 wxImage
*arg1
= (wxImage
*) 0 ;
9164 PyObject
* obj0
= 0 ;
9166 (char *) "self", NULL
9169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9174 result
= (bool)(arg1
)->HasAlpha();
9176 wxPyEndAllowThreads(__tstate
);
9177 if (PyErr_Occurred()) SWIG_fail
;
9179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9186 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9187 PyObject
*resultobj
;
9188 wxImage
*arg1
= (wxImage
*) 0 ;
9189 byte
*arg2
= (byte
*) 0 ;
9190 byte
*arg3
= (byte
*) 0 ;
9191 byte
*arg4
= (byte
*) 0 ;
9192 byte arg5
= (byte
) 0 ;
9193 byte arg6
= (byte
) 0 ;
9194 byte arg7
= (byte
) 0 ;
9199 PyObject
* obj0
= 0 ;
9200 PyObject
* obj1
= 0 ;
9201 PyObject
* obj2
= 0 ;
9202 PyObject
* obj3
= 0 ;
9204 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9214 arg5
= (byte
) SWIG_AsUnsignedChar(obj1
);
9215 if (PyErr_Occurred()) SWIG_fail
;
9218 arg6
= (byte
) SWIG_AsUnsignedChar(obj2
);
9219 if (PyErr_Occurred()) SWIG_fail
;
9222 arg7
= (byte
) SWIG_AsUnsignedChar(obj3
);
9223 if (PyErr_Occurred()) SWIG_fail
;
9226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9227 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9229 wxPyEndAllowThreads(__tstate
);
9230 if (PyErr_Occurred()) SWIG_fail
;
9232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9234 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
9235 resultobj
= t_output_helper(resultobj
,o
);
9238 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9239 resultobj
= t_output_helper(resultobj
,o
);
9242 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9243 resultobj
= t_output_helper(resultobj
,o
);
9251 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9252 PyObject
*resultobj
;
9253 wxImage
*arg1
= (wxImage
*) 0 ;
9259 PyObject
* obj0
= 0 ;
9260 PyObject
* obj1
= 0 ;
9261 PyObject
* obj2
= 0 ;
9262 PyObject
* obj3
= 0 ;
9263 PyObject
* obj4
= 0 ;
9265 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9271 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9272 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9275 PyErr_SetString(PyExc_TypeError
,"null reference");
9278 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
9279 if (PyErr_Occurred()) SWIG_fail
;
9280 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
9281 if (PyErr_Occurred()) SWIG_fail
;
9282 arg5
= (byte
) SWIG_AsUnsignedChar(obj4
);
9283 if (PyErr_Occurred()) SWIG_fail
;
9285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9286 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9288 wxPyEndAllowThreads(__tstate
);
9289 if (PyErr_Occurred()) SWIG_fail
;
9291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9298 static PyObject
*_wrap_Image_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9299 PyObject
*resultobj
;
9300 wxString
*arg1
= 0 ;
9302 bool temp1
= False
;
9303 PyObject
* obj0
= 0 ;
9305 (char *) "name", NULL
9308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9310 arg1
= wxString_in_helper(obj0
);
9311 if (arg1
== NULL
) SWIG_fail
;
9315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9316 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9318 wxPyEndAllowThreads(__tstate
);
9319 if (PyErr_Occurred()) SWIG_fail
;
9321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9336 static PyObject
*_wrap_Image_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9337 PyObject
*resultobj
;
9338 wxString
*arg1
= 0 ;
9339 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9341 bool temp1
= False
;
9342 PyObject
* obj0
= 0 ;
9343 PyObject
* obj1
= 0 ;
9345 (char *) "name",(char *) "type", NULL
9348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9350 arg1
= wxString_in_helper(obj0
);
9351 if (arg1
== NULL
) SWIG_fail
;
9355 arg2
= (long) SWIG_AsLong(obj1
);
9356 if (PyErr_Occurred()) SWIG_fail
;
9359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9360 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9362 wxPyEndAllowThreads(__tstate
);
9363 if (PyErr_Occurred()) SWIG_fail
;
9365 resultobj
= SWIG_FromInt((int)result
);
9380 static PyObject
*_wrap_Image_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9381 PyObject
*resultobj
;
9382 wxImage
*arg1
= (wxImage
*) 0 ;
9383 wxString
*arg2
= 0 ;
9384 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9385 int arg4
= (int) -1 ;
9387 bool temp2
= False
;
9388 PyObject
* obj0
= 0 ;
9389 PyObject
* obj1
= 0 ;
9390 PyObject
* obj2
= 0 ;
9391 PyObject
* obj3
= 0 ;
9393 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9400 arg2
= wxString_in_helper(obj1
);
9401 if (arg2
== NULL
) SWIG_fail
;
9405 arg3
= (long) SWIG_AsLong(obj2
);
9406 if (PyErr_Occurred()) SWIG_fail
;
9409 arg4
= (int) SWIG_AsInt(obj3
);
9410 if (PyErr_Occurred()) SWIG_fail
;
9413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9414 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9416 wxPyEndAllowThreads(__tstate
);
9417 if (PyErr_Occurred()) SWIG_fail
;
9419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9434 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9435 PyObject
*resultobj
;
9436 wxImage
*arg1
= (wxImage
*) 0 ;
9437 wxString
*arg2
= 0 ;
9438 wxString
*arg3
= 0 ;
9439 int arg4
= (int) -1 ;
9441 bool temp2
= False
;
9442 bool temp3
= False
;
9443 PyObject
* obj0
= 0 ;
9444 PyObject
* obj1
= 0 ;
9445 PyObject
* obj2
= 0 ;
9446 PyObject
* obj3
= 0 ;
9448 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9455 arg2
= wxString_in_helper(obj1
);
9456 if (arg2
== NULL
) SWIG_fail
;
9460 arg3
= wxString_in_helper(obj2
);
9461 if (arg3
== NULL
) SWIG_fail
;
9465 arg4
= (int) SWIG_AsInt(obj3
);
9466 if (PyErr_Occurred()) SWIG_fail
;
9469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9470 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9472 wxPyEndAllowThreads(__tstate
);
9473 if (PyErr_Occurred()) SWIG_fail
;
9475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9498 static PyObject
*_wrap_Image_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9499 PyObject
*resultobj
;
9500 wxImage
*arg1
= (wxImage
*) 0 ;
9501 wxString
*arg2
= 0 ;
9504 bool temp2
= False
;
9505 PyObject
* obj0
= 0 ;
9506 PyObject
* obj1
= 0 ;
9507 PyObject
* obj2
= 0 ;
9509 (char *) "self",(char *) "name",(char *) "type", NULL
9512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9516 arg2
= wxString_in_helper(obj1
);
9517 if (arg2
== NULL
) SWIG_fail
;
9520 arg3
= (int) SWIG_AsInt(obj2
);
9521 if (PyErr_Occurred()) SWIG_fail
;
9523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9524 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
9526 wxPyEndAllowThreads(__tstate
);
9527 if (PyErr_Occurred()) SWIG_fail
;
9529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9544 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9545 PyObject
*resultobj
;
9546 wxImage
*arg1
= (wxImage
*) 0 ;
9547 wxString
*arg2
= 0 ;
9548 wxString
*arg3
= 0 ;
9550 bool temp2
= False
;
9551 bool temp3
= False
;
9552 PyObject
* obj0
= 0 ;
9553 PyObject
* obj1
= 0 ;
9554 PyObject
* obj2
= 0 ;
9556 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9563 arg2
= wxString_in_helper(obj1
);
9564 if (arg2
== NULL
) SWIG_fail
;
9568 arg3
= wxString_in_helper(obj2
);
9569 if (arg3
== NULL
) SWIG_fail
;
9573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9574 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9576 wxPyEndAllowThreads(__tstate
);
9577 if (PyErr_Occurred()) SWIG_fail
;
9579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9602 static PyObject
*_wrap_Image_CanReadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9603 PyObject
*resultobj
;
9604 wxInputStream
*arg1
= 0 ;
9606 wxPyInputStream
*temp1
;
9608 PyObject
* obj0
= 0 ;
9610 (char *) "stream", NULL
9613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
9615 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9616 arg1
= temp1
->m_wxis
;
9619 PyErr_Clear(); // clear the failure of the wxPyConvert above
9620 arg1
= wxPyCBInputStream_create(obj0
, False
);
9622 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9630 result
= (bool)wxImage::CanRead(*arg1
);
9632 wxPyEndAllowThreads(__tstate
);
9633 if (PyErr_Occurred()) SWIG_fail
;
9635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9650 static PyObject
*_wrap_Image_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9651 PyObject
*resultobj
;
9652 wxImage
*arg1
= (wxImage
*) 0 ;
9653 wxInputStream
*arg2
= 0 ;
9654 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9655 int arg4
= (int) -1 ;
9657 wxPyInputStream
*temp2
;
9659 PyObject
* obj0
= 0 ;
9660 PyObject
* obj1
= 0 ;
9661 PyObject
* obj2
= 0 ;
9662 PyObject
* obj3
= 0 ;
9664 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9671 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9672 arg2
= temp2
->m_wxis
;
9675 PyErr_Clear(); // clear the failure of the wxPyConvert above
9676 arg2
= wxPyCBInputStream_create(obj1
, False
);
9678 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9685 arg3
= (long) SWIG_AsLong(obj2
);
9686 if (PyErr_Occurred()) SWIG_fail
;
9689 arg4
= (int) SWIG_AsInt(obj3
);
9690 if (PyErr_Occurred()) SWIG_fail
;
9693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9694 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
9696 wxPyEndAllowThreads(__tstate
);
9697 if (PyErr_Occurred()) SWIG_fail
;
9699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9714 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9715 PyObject
*resultobj
;
9716 wxImage
*arg1
= (wxImage
*) 0 ;
9717 wxInputStream
*arg2
= 0 ;
9718 wxString
*arg3
= 0 ;
9719 int arg4
= (int) -1 ;
9721 wxPyInputStream
*temp2
;
9723 bool temp3
= False
;
9724 PyObject
* obj0
= 0 ;
9725 PyObject
* obj1
= 0 ;
9726 PyObject
* obj2
= 0 ;
9727 PyObject
* obj3
= 0 ;
9729 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9736 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9737 arg2
= temp2
->m_wxis
;
9740 PyErr_Clear(); // clear the failure of the wxPyConvert above
9741 arg2
= wxPyCBInputStream_create(obj1
, False
);
9743 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9750 arg3
= wxString_in_helper(obj2
);
9751 if (arg3
== NULL
) SWIG_fail
;
9755 arg4
= (int) SWIG_AsInt(obj3
);
9756 if (PyErr_Occurred()) SWIG_fail
;
9759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9760 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
9762 wxPyEndAllowThreads(__tstate
);
9763 if (PyErr_Occurred()) SWIG_fail
;
9765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9788 static PyObject
*_wrap_Image_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9789 PyObject
*resultobj
;
9790 wxImage
*arg1
= (wxImage
*) 0 ;
9792 PyObject
* obj0
= 0 ;
9794 (char *) "self", NULL
9797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
9798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9802 result
= (bool)(arg1
)->Ok();
9804 wxPyEndAllowThreads(__tstate
);
9805 if (PyErr_Occurred()) SWIG_fail
;
9807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9814 static PyObject
*_wrap_Image_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9815 PyObject
*resultobj
;
9816 wxImage
*arg1
= (wxImage
*) 0 ;
9818 PyObject
* obj0
= 0 ;
9820 (char *) "self", NULL
9823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
9824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9828 result
= (int)(arg1
)->GetWidth();
9830 wxPyEndAllowThreads(__tstate
);
9831 if (PyErr_Occurred()) SWIG_fail
;
9833 resultobj
= SWIG_FromInt((int)result
);
9840 static PyObject
*_wrap_Image_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9841 PyObject
*resultobj
;
9842 wxImage
*arg1
= (wxImage
*) 0 ;
9844 PyObject
* obj0
= 0 ;
9846 (char *) "self", NULL
9849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
9850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9854 result
= (int)(arg1
)->GetHeight();
9856 wxPyEndAllowThreads(__tstate
);
9857 if (PyErr_Occurred()) SWIG_fail
;
9859 resultobj
= SWIG_FromInt((int)result
);
9866 static PyObject
*_wrap_Image_GetSubImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9867 PyObject
*resultobj
;
9868 wxImage
*arg1
= (wxImage
*) 0 ;
9870 SwigValueWrapper
< wxImage
> result
;
9872 PyObject
* obj0
= 0 ;
9873 PyObject
* obj1
= 0 ;
9875 (char *) "self",(char *) "rect", NULL
9878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
9879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9883 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9887 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
9889 wxPyEndAllowThreads(__tstate
);
9890 if (PyErr_Occurred()) SWIG_fail
;
9893 wxImage
* resultptr
;
9894 resultptr
= new wxImage((wxImage
&) result
);
9895 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9903 static PyObject
*_wrap_Image_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9904 PyObject
*resultobj
;
9905 wxImage
*arg1
= (wxImage
*) 0 ;
9906 SwigValueWrapper
< wxImage
> result
;
9907 PyObject
* obj0
= 0 ;
9909 (char *) "self", NULL
9912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
9913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9917 result
= (arg1
)->Copy();
9919 wxPyEndAllowThreads(__tstate
);
9920 if (PyErr_Occurred()) SWIG_fail
;
9923 wxImage
* resultptr
;
9924 resultptr
= new wxImage((wxImage
&) result
);
9925 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9933 static PyObject
*_wrap_Image_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9934 PyObject
*resultobj
;
9935 wxImage
*arg1
= (wxImage
*) 0 ;
9939 PyObject
* obj0
= 0 ;
9940 PyObject
* obj1
= 0 ;
9941 PyObject
* obj2
= 0 ;
9942 PyObject
* obj3
= 0 ;
9944 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
9947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9950 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9951 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9954 PyErr_SetString(PyExc_TypeError
,"null reference");
9957 arg3
= (int) SWIG_AsInt(obj2
);
9958 if (PyErr_Occurred()) SWIG_fail
;
9959 arg4
= (int) SWIG_AsInt(obj3
);
9960 if (PyErr_Occurred()) SWIG_fail
;
9962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9963 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
9965 wxPyEndAllowThreads(__tstate
);
9966 if (PyErr_Occurred()) SWIG_fail
;
9968 Py_INCREF(Py_None
); resultobj
= Py_None
;
9975 static PyObject
*_wrap_Image_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9976 PyObject
*resultobj
;
9977 wxImage
*arg1
= (wxImage
*) 0 ;
9979 PyObject
* obj0
= 0 ;
9981 (char *) "self", NULL
9984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
9985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9989 result
= (PyObject
*)wxImage_GetData(arg1
);
9991 wxPyEndAllowThreads(__tstate
);
9992 if (PyErr_Occurred()) SWIG_fail
;
10001 static PyObject
*_wrap_Image_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10002 PyObject
*resultobj
;
10003 wxImage
*arg1
= (wxImage
*) 0 ;
10004 PyObject
*arg2
= (PyObject
*) 0 ;
10005 PyObject
* obj0
= 0 ;
10006 PyObject
* obj1
= 0 ;
10007 char *kwnames
[] = {
10008 (char *) "self",(char *) "data", NULL
10011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10017 wxImage_SetData(arg1
,arg2
);
10019 wxPyEndAllowThreads(__tstate
);
10020 if (PyErr_Occurred()) SWIG_fail
;
10022 Py_INCREF(Py_None
); resultobj
= Py_None
;
10029 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10030 PyObject
*resultobj
;
10031 wxImage
*arg1
= (wxImage
*) 0 ;
10033 PyObject
* obj0
= 0 ;
10034 char *kwnames
[] = {
10035 (char *) "self", NULL
10038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10043 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10045 wxPyEndAllowThreads(__tstate
);
10046 if (PyErr_Occurred()) SWIG_fail
;
10048 resultobj
= result
;
10055 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10056 PyObject
*resultobj
;
10057 wxImage
*arg1
= (wxImage
*) 0 ;
10058 PyObject
*arg2
= (PyObject
*) 0 ;
10059 PyObject
* obj0
= 0 ;
10060 PyObject
* obj1
= 0 ;
10061 char *kwnames
[] = {
10062 (char *) "self",(char *) "data", NULL
10065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10071 wxImage_SetDataBuffer(arg1
,arg2
);
10073 wxPyEndAllowThreads(__tstate
);
10074 if (PyErr_Occurred()) SWIG_fail
;
10076 Py_INCREF(Py_None
); resultobj
= Py_None
;
10083 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10084 PyObject
*resultobj
;
10085 wxImage
*arg1
= (wxImage
*) 0 ;
10087 PyObject
* obj0
= 0 ;
10088 char *kwnames
[] = {
10089 (char *) "self", NULL
10092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10097 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10099 wxPyEndAllowThreads(__tstate
);
10100 if (PyErr_Occurred()) SWIG_fail
;
10102 resultobj
= result
;
10109 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10110 PyObject
*resultobj
;
10111 wxImage
*arg1
= (wxImage
*) 0 ;
10112 PyObject
*arg2
= (PyObject
*) 0 ;
10113 PyObject
* obj0
= 0 ;
10114 PyObject
* obj1
= 0 ;
10115 char *kwnames
[] = {
10116 (char *) "self",(char *) "data", NULL
10119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10125 wxImage_SetAlphaData(arg1
,arg2
);
10127 wxPyEndAllowThreads(__tstate
);
10128 if (PyErr_Occurred()) SWIG_fail
;
10130 Py_INCREF(Py_None
); resultobj
= Py_None
;
10137 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10138 PyObject
*resultobj
;
10139 wxImage
*arg1
= (wxImage
*) 0 ;
10141 PyObject
* obj0
= 0 ;
10142 char *kwnames
[] = {
10143 (char *) "self", NULL
10146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10151 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10153 wxPyEndAllowThreads(__tstate
);
10154 if (PyErr_Occurred()) SWIG_fail
;
10156 resultobj
= result
;
10163 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10164 PyObject
*resultobj
;
10165 wxImage
*arg1
= (wxImage
*) 0 ;
10166 PyObject
*arg2
= (PyObject
*) 0 ;
10167 PyObject
* obj0
= 0 ;
10168 PyObject
* obj1
= 0 ;
10169 char *kwnames
[] = {
10170 (char *) "self",(char *) "data", NULL
10173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10179 wxImage_SetAlphaBuffer(arg1
,arg2
);
10181 wxPyEndAllowThreads(__tstate
);
10182 if (PyErr_Occurred()) SWIG_fail
;
10184 Py_INCREF(Py_None
); resultobj
= Py_None
;
10191 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10192 PyObject
*resultobj
;
10193 wxImage
*arg1
= (wxImage
*) 0 ;
10194 unsigned char arg2
;
10195 unsigned char arg3
;
10196 unsigned char arg4
;
10197 PyObject
* obj0
= 0 ;
10198 PyObject
* obj1
= 0 ;
10199 PyObject
* obj2
= 0 ;
10200 PyObject
* obj3
= 0 ;
10201 char *kwnames
[] = {
10202 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10208 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10209 if (PyErr_Occurred()) SWIG_fail
;
10210 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10211 if (PyErr_Occurred()) SWIG_fail
;
10212 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10213 if (PyErr_Occurred()) SWIG_fail
;
10215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10216 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10218 wxPyEndAllowThreads(__tstate
);
10219 if (PyErr_Occurred()) SWIG_fail
;
10221 Py_INCREF(Py_None
); resultobj
= Py_None
;
10228 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10229 PyObject
*resultobj
;
10230 wxImage
*arg1
= (wxImage
*) 0 ;
10231 unsigned char result
;
10232 PyObject
* obj0
= 0 ;
10233 char *kwnames
[] = {
10234 (char *) "self", NULL
10237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10242 result
= (unsigned char)(arg1
)->GetMaskRed();
10244 wxPyEndAllowThreads(__tstate
);
10245 if (PyErr_Occurred()) SWIG_fail
;
10247 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10254 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10255 PyObject
*resultobj
;
10256 wxImage
*arg1
= (wxImage
*) 0 ;
10257 unsigned char result
;
10258 PyObject
* obj0
= 0 ;
10259 char *kwnames
[] = {
10260 (char *) "self", NULL
10263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10268 result
= (unsigned char)(arg1
)->GetMaskGreen();
10270 wxPyEndAllowThreads(__tstate
);
10271 if (PyErr_Occurred()) SWIG_fail
;
10273 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10280 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10281 PyObject
*resultobj
;
10282 wxImage
*arg1
= (wxImage
*) 0 ;
10283 unsigned char result
;
10284 PyObject
* obj0
= 0 ;
10285 char *kwnames
[] = {
10286 (char *) "self", NULL
10289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10294 result
= (unsigned char)(arg1
)->GetMaskBlue();
10296 wxPyEndAllowThreads(__tstate
);
10297 if (PyErr_Occurred()) SWIG_fail
;
10299 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10306 static PyObject
*_wrap_Image_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10307 PyObject
*resultobj
;
10308 wxImage
*arg1
= (wxImage
*) 0 ;
10309 bool arg2
= (bool) True
;
10310 PyObject
* obj0
= 0 ;
10311 PyObject
* obj1
= 0 ;
10312 char *kwnames
[] = {
10313 (char *) "self",(char *) "mask", NULL
10316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10320 arg2
= (bool) SWIG_AsBool(obj1
);
10321 if (PyErr_Occurred()) SWIG_fail
;
10324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10325 (arg1
)->SetMask(arg2
);
10327 wxPyEndAllowThreads(__tstate
);
10328 if (PyErr_Occurred()) SWIG_fail
;
10330 Py_INCREF(Py_None
); resultobj
= Py_None
;
10337 static PyObject
*_wrap_Image_HasMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10338 PyObject
*resultobj
;
10339 wxImage
*arg1
= (wxImage
*) 0 ;
10341 PyObject
* obj0
= 0 ;
10342 char *kwnames
[] = {
10343 (char *) "self", NULL
10346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10351 result
= (bool)(arg1
)->HasMask();
10353 wxPyEndAllowThreads(__tstate
);
10354 if (PyErr_Occurred()) SWIG_fail
;
10356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10363 static PyObject
*_wrap_Image_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10364 PyObject
*resultobj
;
10365 wxImage
*arg1
= (wxImage
*) 0 ;
10367 wxPoint
*arg3
= 0 ;
10368 bool arg4
= (bool) True
;
10369 wxPoint
*arg5
= (wxPoint
*) NULL
;
10370 SwigValueWrapper
< wxImage
> result
;
10372 PyObject
* obj0
= 0 ;
10373 PyObject
* obj1
= 0 ;
10374 PyObject
* obj2
= 0 ;
10375 PyObject
* obj3
= 0 ;
10376 PyObject
* obj4
= 0 ;
10377 char *kwnames
[] = {
10378 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10384 arg2
= (double) SWIG_AsDouble(obj1
);
10385 if (PyErr_Occurred()) SWIG_fail
;
10388 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10391 arg4
= (bool) SWIG_AsBool(obj3
);
10392 if (PyErr_Occurred()) SWIG_fail
;
10395 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
10396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10400 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10402 wxPyEndAllowThreads(__tstate
);
10403 if (PyErr_Occurred()) SWIG_fail
;
10406 wxImage
* resultptr
;
10407 resultptr
= new wxImage((wxImage
&) result
);
10408 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10416 static PyObject
*_wrap_Image_Rotate90(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10417 PyObject
*resultobj
;
10418 wxImage
*arg1
= (wxImage
*) 0 ;
10419 bool arg2
= (bool) True
;
10420 SwigValueWrapper
< wxImage
> result
;
10421 PyObject
* obj0
= 0 ;
10422 PyObject
* obj1
= 0 ;
10423 char *kwnames
[] = {
10424 (char *) "self",(char *) "clockwise", NULL
10427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10431 arg2
= (bool) SWIG_AsBool(obj1
);
10432 if (PyErr_Occurred()) SWIG_fail
;
10435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10436 result
= (arg1
)->Rotate90(arg2
);
10438 wxPyEndAllowThreads(__tstate
);
10439 if (PyErr_Occurred()) SWIG_fail
;
10442 wxImage
* resultptr
;
10443 resultptr
= new wxImage((wxImage
&) result
);
10444 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10452 static PyObject
*_wrap_Image_Mirror(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10453 PyObject
*resultobj
;
10454 wxImage
*arg1
= (wxImage
*) 0 ;
10455 bool arg2
= (bool) True
;
10456 SwigValueWrapper
< wxImage
> result
;
10457 PyObject
* obj0
= 0 ;
10458 PyObject
* obj1
= 0 ;
10459 char *kwnames
[] = {
10460 (char *) "self",(char *) "horizontally", NULL
10463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
10464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10467 arg2
= (bool) SWIG_AsBool(obj1
);
10468 if (PyErr_Occurred()) SWIG_fail
;
10471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10472 result
= (arg1
)->Mirror(arg2
);
10474 wxPyEndAllowThreads(__tstate
);
10475 if (PyErr_Occurred()) SWIG_fail
;
10478 wxImage
* resultptr
;
10479 resultptr
= new wxImage((wxImage
&) result
);
10480 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10488 static PyObject
*_wrap_Image_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10489 PyObject
*resultobj
;
10490 wxImage
*arg1
= (wxImage
*) 0 ;
10491 unsigned char arg2
;
10492 unsigned char arg3
;
10493 unsigned char arg4
;
10494 unsigned char arg5
;
10495 unsigned char arg6
;
10496 unsigned char arg7
;
10497 PyObject
* obj0
= 0 ;
10498 PyObject
* obj1
= 0 ;
10499 PyObject
* obj2
= 0 ;
10500 PyObject
* obj3
= 0 ;
10501 PyObject
* obj4
= 0 ;
10502 PyObject
* obj5
= 0 ;
10503 PyObject
* obj6
= 0 ;
10504 char *kwnames
[] = {
10505 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10511 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10512 if (PyErr_Occurred()) SWIG_fail
;
10513 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10514 if (PyErr_Occurred()) SWIG_fail
;
10515 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10516 if (PyErr_Occurred()) SWIG_fail
;
10517 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
10518 if (PyErr_Occurred()) SWIG_fail
;
10519 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
10520 if (PyErr_Occurred()) SWIG_fail
;
10521 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj6
);
10522 if (PyErr_Occurred()) SWIG_fail
;
10524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10525 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10527 wxPyEndAllowThreads(__tstate
);
10528 if (PyErr_Occurred()) SWIG_fail
;
10530 Py_INCREF(Py_None
); resultobj
= Py_None
;
10537 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10538 PyObject
*resultobj
;
10539 wxImage
*arg1
= (wxImage
*) 0 ;
10540 unsigned char arg2
;
10541 unsigned char arg3
;
10542 unsigned char arg4
;
10543 SwigValueWrapper
< wxImage
> result
;
10544 PyObject
* obj0
= 0 ;
10545 PyObject
* obj1
= 0 ;
10546 PyObject
* obj2
= 0 ;
10547 PyObject
* obj3
= 0 ;
10548 char *kwnames
[] = {
10549 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10555 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10556 if (PyErr_Occurred()) SWIG_fail
;
10557 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10558 if (PyErr_Occurred()) SWIG_fail
;
10559 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10560 if (PyErr_Occurred()) SWIG_fail
;
10562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10563 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
10565 wxPyEndAllowThreads(__tstate
);
10566 if (PyErr_Occurred()) SWIG_fail
;
10569 wxImage
* resultptr
;
10570 resultptr
= new wxImage((wxImage
&) result
);
10571 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10579 static PyObject
*_wrap_Image_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10580 PyObject
*resultobj
;
10581 wxImage
*arg1
= (wxImage
*) 0 ;
10582 wxString
*arg2
= 0 ;
10583 wxString
*arg3
= 0 ;
10584 bool temp2
= False
;
10585 bool temp3
= False
;
10586 PyObject
* obj0
= 0 ;
10587 PyObject
* obj1
= 0 ;
10588 PyObject
* obj2
= 0 ;
10589 char *kwnames
[] = {
10590 (char *) "self",(char *) "name",(char *) "value", NULL
10593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10597 arg2
= wxString_in_helper(obj1
);
10598 if (arg2
== NULL
) SWIG_fail
;
10602 arg3
= wxString_in_helper(obj2
);
10603 if (arg3
== NULL
) SWIG_fail
;
10607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10608 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10610 wxPyEndAllowThreads(__tstate
);
10611 if (PyErr_Occurred()) SWIG_fail
;
10613 Py_INCREF(Py_None
); resultobj
= Py_None
;
10636 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10637 PyObject
*resultobj
;
10638 wxImage
*arg1
= (wxImage
*) 0 ;
10639 wxString
*arg2
= 0 ;
10641 bool temp2
= False
;
10642 PyObject
* obj0
= 0 ;
10643 PyObject
* obj1
= 0 ;
10644 PyObject
* obj2
= 0 ;
10645 char *kwnames
[] = {
10646 (char *) "self",(char *) "name",(char *) "value", NULL
10649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10653 arg2
= wxString_in_helper(obj1
);
10654 if (arg2
== NULL
) SWIG_fail
;
10657 arg3
= (int) SWIG_AsInt(obj2
);
10658 if (PyErr_Occurred()) SWIG_fail
;
10660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10661 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
10663 wxPyEndAllowThreads(__tstate
);
10664 if (PyErr_Occurred()) SWIG_fail
;
10666 Py_INCREF(Py_None
); resultobj
= Py_None
;
10681 static PyObject
*_wrap_Image_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10682 PyObject
*resultobj
;
10683 wxImage
*arg1
= (wxImage
*) 0 ;
10684 wxString
*arg2
= 0 ;
10686 bool temp2
= False
;
10687 PyObject
* obj0
= 0 ;
10688 PyObject
* obj1
= 0 ;
10689 char *kwnames
[] = {
10690 (char *) "self",(char *) "name", NULL
10693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10697 arg2
= wxString_in_helper(obj1
);
10698 if (arg2
== NULL
) SWIG_fail
;
10702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10703 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
10705 wxPyEndAllowThreads(__tstate
);
10706 if (PyErr_Occurred()) SWIG_fail
;
10710 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10712 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10729 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10730 PyObject
*resultobj
;
10731 wxImage
*arg1
= (wxImage
*) 0 ;
10732 wxString
*arg2
= 0 ;
10734 bool temp2
= False
;
10735 PyObject
* obj0
= 0 ;
10736 PyObject
* obj1
= 0 ;
10737 char *kwnames
[] = {
10738 (char *) "self",(char *) "name", NULL
10741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
10742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10745 arg2
= wxString_in_helper(obj1
);
10746 if (arg2
== NULL
) SWIG_fail
;
10750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10751 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
10753 wxPyEndAllowThreads(__tstate
);
10754 if (PyErr_Occurred()) SWIG_fail
;
10756 resultobj
= SWIG_FromInt((int)result
);
10771 static PyObject
*_wrap_Image_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10772 PyObject
*resultobj
;
10773 wxImage
*arg1
= (wxImage
*) 0 ;
10774 wxString
*arg2
= 0 ;
10776 bool temp2
= False
;
10777 PyObject
* obj0
= 0 ;
10778 PyObject
* obj1
= 0 ;
10779 char *kwnames
[] = {
10780 (char *) "self",(char *) "name", NULL
10783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10787 arg2
= wxString_in_helper(obj1
);
10788 if (arg2
== NULL
) SWIG_fail
;
10792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10793 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
10795 wxPyEndAllowThreads(__tstate
);
10796 if (PyErr_Occurred()) SWIG_fail
;
10798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10813 static PyObject
*_wrap_Image_CountColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10814 PyObject
*resultobj
;
10815 wxImage
*arg1
= (wxImage
*) 0 ;
10816 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
10817 unsigned long result
;
10818 PyObject
* obj0
= 0 ;
10819 PyObject
* obj1
= 0 ;
10820 char *kwnames
[] = {
10821 (char *) "self",(char *) "stopafter", NULL
10824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
10825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10828 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
10829 if (PyErr_Occurred()) SWIG_fail
;
10832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10833 result
= (unsigned long)(arg1
)->CountColours(arg2
);
10835 wxPyEndAllowThreads(__tstate
);
10836 if (PyErr_Occurred()) SWIG_fail
;
10838 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
10845 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10846 PyObject
*resultobj
;
10847 wxImage
*arg1
= (wxImage
*) 0 ;
10848 wxImageHistogram
*arg2
= 0 ;
10849 unsigned long result
;
10850 PyObject
* obj0
= 0 ;
10851 PyObject
* obj1
= 0 ;
10852 char *kwnames
[] = {
10853 (char *) "self",(char *) "h", NULL
10856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
10857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10859 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
10860 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10862 if (arg2
== NULL
) {
10863 PyErr_SetString(PyExc_TypeError
,"null reference");
10867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10868 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
10870 wxPyEndAllowThreads(__tstate
);
10871 if (PyErr_Occurred()) SWIG_fail
;
10873 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
10880 static PyObject
*_wrap_Image_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10881 PyObject
*resultobj
;
10882 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10883 PyObject
* obj0
= 0 ;
10884 char *kwnames
[] = {
10885 (char *) "handler", NULL
10888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
10889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
10890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10893 wxImage::AddHandler(arg1
);
10895 wxPyEndAllowThreads(__tstate
);
10896 if (PyErr_Occurred()) SWIG_fail
;
10898 Py_INCREF(Py_None
); resultobj
= Py_None
;
10905 static PyObject
*_wrap_Image_InsertHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10906 PyObject
*resultobj
;
10907 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10908 PyObject
* obj0
= 0 ;
10909 char *kwnames
[] = {
10910 (char *) "handler", NULL
10913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
10914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
10915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10918 wxImage::InsertHandler(arg1
);
10920 wxPyEndAllowThreads(__tstate
);
10921 if (PyErr_Occurred()) SWIG_fail
;
10923 Py_INCREF(Py_None
); resultobj
= Py_None
;
10930 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10931 PyObject
*resultobj
;
10932 wxString
*arg1
= 0 ;
10934 bool temp1
= False
;
10935 PyObject
* obj0
= 0 ;
10936 char *kwnames
[] = {
10937 (char *) "name", NULL
10940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
10942 arg1
= wxString_in_helper(obj0
);
10943 if (arg1
== NULL
) SWIG_fail
;
10947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10948 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
10950 wxPyEndAllowThreads(__tstate
);
10951 if (PyErr_Occurred()) SWIG_fail
;
10953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10968 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10969 PyObject
*resultobj
;
10971 char *kwnames
[] = {
10975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
10977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10978 result
= wxImage::GetImageExtWildcard();
10980 wxPyEndAllowThreads(__tstate
);
10981 if (PyErr_Occurred()) SWIG_fail
;
10985 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10987 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10996 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10997 PyObject
*resultobj
;
10998 wxImage
*arg1
= (wxImage
*) 0 ;
11000 PyObject
* obj0
= 0 ;
11001 char *kwnames
[] = {
11002 (char *) "self", NULL
11005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
11006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11010 result
= wxImage_ConvertToBitmap(arg1
);
11012 wxPyEndAllowThreads(__tstate
);
11013 if (PyErr_Occurred()) SWIG_fail
;
11016 wxBitmap
* resultptr
;
11017 resultptr
= new wxBitmap((wxBitmap
&) result
);
11018 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11026 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11027 PyObject
*resultobj
;
11028 wxImage
*arg1
= (wxImage
*) 0 ;
11029 unsigned char arg2
;
11030 unsigned char arg3
;
11031 unsigned char arg4
;
11033 PyObject
* obj0
= 0 ;
11034 PyObject
* obj1
= 0 ;
11035 PyObject
* obj2
= 0 ;
11036 PyObject
* obj3
= 0 ;
11037 char *kwnames
[] = {
11038 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11044 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
11045 if (PyErr_Occurred()) SWIG_fail
;
11046 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
11047 if (PyErr_Occurred()) SWIG_fail
;
11048 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
11049 if (PyErr_Occurred()) SWIG_fail
;
11051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11052 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11054 wxPyEndAllowThreads(__tstate
);
11055 if (PyErr_Occurred()) SWIG_fail
;
11058 wxBitmap
* resultptr
;
11059 resultptr
= new wxBitmap((wxBitmap
&) result
);
11060 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11068 static PyObject
* Image_swigregister(PyObject
*self
, PyObject
*args
) {
11070 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11071 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11073 return Py_BuildValue((char *)"");
11075 static PyObject
*_wrap_InitAllImageHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11076 PyObject
*resultobj
;
11077 char *kwnames
[] = {
11081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":InitAllImageHandlers",kwnames
)) goto fail
;
11083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11084 wxInitAllImageHandlers();
11086 wxPyEndAllowThreads(__tstate
);
11087 if (PyErr_Occurred()) SWIG_fail
;
11089 Py_INCREF(Py_None
); resultobj
= Py_None
;
11096 static int _wrap_NullImage_set(PyObject
*_val
) {
11097 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11102 static PyObject
*_wrap_NullImage_get() {
11105 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11110 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*_val
) {
11111 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11116 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11121 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11123 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11130 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*_val
) {
11131 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11136 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11141 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11143 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11150 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*_val
) {
11151 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11156 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11161 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11163 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11170 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*_val
) {
11171 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11176 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11181 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11183 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11190 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*_val
) {
11191 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11196 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11201 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11203 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11210 static PyObject
*_wrap_new_BMPHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11211 PyObject
*resultobj
;
11212 wxBMPHandler
*result
;
11213 char *kwnames
[] = {
11217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11220 result
= (wxBMPHandler
*)new wxBMPHandler();
11222 wxPyEndAllowThreads(__tstate
);
11223 if (PyErr_Occurred()) SWIG_fail
;
11225 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11232 static PyObject
* BMPHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11234 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11235 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11237 return Py_BuildValue((char *)"");
11239 static PyObject
*_wrap_new_ICOHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11240 PyObject
*resultobj
;
11241 wxICOHandler
*result
;
11242 char *kwnames
[] = {
11246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11249 result
= (wxICOHandler
*)new wxICOHandler();
11251 wxPyEndAllowThreads(__tstate
);
11252 if (PyErr_Occurred()) SWIG_fail
;
11254 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11261 static PyObject
* ICOHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11263 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11264 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11266 return Py_BuildValue((char *)"");
11268 static PyObject
*_wrap_new_CURHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11269 PyObject
*resultobj
;
11270 wxCURHandler
*result
;
11271 char *kwnames
[] = {
11275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11278 result
= (wxCURHandler
*)new wxCURHandler();
11280 wxPyEndAllowThreads(__tstate
);
11281 if (PyErr_Occurred()) SWIG_fail
;
11283 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11290 static PyObject
* CURHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11292 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11293 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11295 return Py_BuildValue((char *)"");
11297 static PyObject
*_wrap_new_ANIHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11298 PyObject
*resultobj
;
11299 wxANIHandler
*result
;
11300 char *kwnames
[] = {
11304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11307 result
= (wxANIHandler
*)new wxANIHandler();
11309 wxPyEndAllowThreads(__tstate
);
11310 if (PyErr_Occurred()) SWIG_fail
;
11312 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11319 static PyObject
* ANIHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11321 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11322 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11324 return Py_BuildValue((char *)"");
11326 static PyObject
*_wrap_new_PNGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11327 PyObject
*resultobj
;
11328 wxPNGHandler
*result
;
11329 char *kwnames
[] = {
11333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11336 result
= (wxPNGHandler
*)new wxPNGHandler();
11338 wxPyEndAllowThreads(__tstate
);
11339 if (PyErr_Occurred()) SWIG_fail
;
11341 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11348 static PyObject
* PNGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11350 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11351 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11353 return Py_BuildValue((char *)"");
11355 static PyObject
*_wrap_new_GIFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11356 PyObject
*resultobj
;
11357 wxGIFHandler
*result
;
11358 char *kwnames
[] = {
11362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11365 result
= (wxGIFHandler
*)new wxGIFHandler();
11367 wxPyEndAllowThreads(__tstate
);
11368 if (PyErr_Occurred()) SWIG_fail
;
11370 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
11377 static PyObject
* GIFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11379 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11380 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11382 return Py_BuildValue((char *)"");
11384 static PyObject
*_wrap_new_PCXHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11385 PyObject
*resultobj
;
11386 wxPCXHandler
*result
;
11387 char *kwnames
[] = {
11391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11394 result
= (wxPCXHandler
*)new wxPCXHandler();
11396 wxPyEndAllowThreads(__tstate
);
11397 if (PyErr_Occurred()) SWIG_fail
;
11399 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
11406 static PyObject
* PCXHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11408 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11409 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11411 return Py_BuildValue((char *)"");
11413 static PyObject
*_wrap_new_JPEGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11414 PyObject
*resultobj
;
11415 wxJPEGHandler
*result
;
11416 char *kwnames
[] = {
11420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11423 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11425 wxPyEndAllowThreads(__tstate
);
11426 if (PyErr_Occurred()) SWIG_fail
;
11428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
11435 static PyObject
* JPEGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11437 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11438 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11440 return Py_BuildValue((char *)"");
11442 static PyObject
*_wrap_new_PNMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11443 PyObject
*resultobj
;
11444 wxPNMHandler
*result
;
11445 char *kwnames
[] = {
11449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11452 result
= (wxPNMHandler
*)new wxPNMHandler();
11454 wxPyEndAllowThreads(__tstate
);
11455 if (PyErr_Occurred()) SWIG_fail
;
11457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
11464 static PyObject
* PNMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11466 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11467 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11469 return Py_BuildValue((char *)"");
11471 static PyObject
*_wrap_new_XPMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11472 PyObject
*resultobj
;
11473 wxXPMHandler
*result
;
11474 char *kwnames
[] = {
11478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11481 result
= (wxXPMHandler
*)new wxXPMHandler();
11483 wxPyEndAllowThreads(__tstate
);
11484 if (PyErr_Occurred()) SWIG_fail
;
11486 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
11493 static PyObject
* XPMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11495 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11496 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
11498 return Py_BuildValue((char *)"");
11500 static PyObject
*_wrap_new_TIFFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11501 PyObject
*resultobj
;
11502 wxTIFFHandler
*result
;
11503 char *kwnames
[] = {
11507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
11509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11510 result
= (wxTIFFHandler
*)new wxTIFFHandler();
11512 wxPyEndAllowThreads(__tstate
);
11513 if (PyErr_Occurred()) SWIG_fail
;
11515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
11522 static PyObject
* TIFFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11524 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11525 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
11527 return Py_BuildValue((char *)"");
11529 static PyObject
*_wrap_new_EvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11530 PyObject
*resultobj
;
11531 wxEvtHandler
*result
;
11532 char *kwnames
[] = {
11536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
11538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11539 result
= (wxEvtHandler
*)new wxEvtHandler();
11541 wxPyEndAllowThreads(__tstate
);
11542 if (PyErr_Occurred()) SWIG_fail
;
11545 resultobj
= wxPyMake_wxObject(result
);
11553 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11554 PyObject
*resultobj
;
11555 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11556 wxEvtHandler
*result
;
11557 PyObject
* obj0
= 0 ;
11558 char *kwnames
[] = {
11559 (char *) "self", NULL
11562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
11563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11567 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
11569 wxPyEndAllowThreads(__tstate
);
11570 if (PyErr_Occurred()) SWIG_fail
;
11573 resultobj
= wxPyMake_wxObject(result
);
11581 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11582 PyObject
*resultobj
;
11583 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11584 wxEvtHandler
*result
;
11585 PyObject
* obj0
= 0 ;
11586 char *kwnames
[] = {
11587 (char *) "self", NULL
11590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
11591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11595 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
11597 wxPyEndAllowThreads(__tstate
);
11598 if (PyErr_Occurred()) SWIG_fail
;
11601 resultobj
= wxPyMake_wxObject(result
);
11609 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11610 PyObject
*resultobj
;
11611 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11612 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11613 PyObject
* obj0
= 0 ;
11614 PyObject
* obj1
= 0 ;
11615 char *kwnames
[] = {
11616 (char *) "self",(char *) "handler", NULL
11619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11622 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11626 (arg1
)->SetNextHandler(arg2
);
11628 wxPyEndAllowThreads(__tstate
);
11629 if (PyErr_Occurred()) SWIG_fail
;
11631 Py_INCREF(Py_None
); resultobj
= Py_None
;
11638 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11639 PyObject
*resultobj
;
11640 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11641 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11642 PyObject
* obj0
= 0 ;
11643 PyObject
* obj1
= 0 ;
11644 char *kwnames
[] = {
11645 (char *) "self",(char *) "handler", NULL
11648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11651 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11655 (arg1
)->SetPreviousHandler(arg2
);
11657 wxPyEndAllowThreads(__tstate
);
11658 if (PyErr_Occurred()) SWIG_fail
;
11660 Py_INCREF(Py_None
); resultobj
= Py_None
;
11667 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11668 PyObject
*resultobj
;
11669 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11671 PyObject
* obj0
= 0 ;
11672 char *kwnames
[] = {
11673 (char *) "self", NULL
11676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
11677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11681 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
11683 wxPyEndAllowThreads(__tstate
);
11684 if (PyErr_Occurred()) SWIG_fail
;
11686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11693 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11694 PyObject
*resultobj
;
11695 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11697 PyObject
* obj0
= 0 ;
11698 PyObject
* obj1
= 0 ;
11699 char *kwnames
[] = {
11700 (char *) "self",(char *) "enabled", NULL
11703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
11704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11706 arg2
= (bool) SWIG_AsBool(obj1
);
11707 if (PyErr_Occurred()) SWIG_fail
;
11709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11710 (arg1
)->SetEvtHandlerEnabled(arg2
);
11712 wxPyEndAllowThreads(__tstate
);
11713 if (PyErr_Occurred()) SWIG_fail
;
11715 Py_INCREF(Py_None
); resultobj
= Py_None
;
11722 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11723 PyObject
*resultobj
;
11724 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11725 wxEvent
*arg2
= 0 ;
11727 PyObject
* obj0
= 0 ;
11728 PyObject
* obj1
= 0 ;
11729 char *kwnames
[] = {
11730 (char *) "self",(char *) "event", NULL
11733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11736 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
11737 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11739 if (arg2
== NULL
) {
11740 PyErr_SetString(PyExc_TypeError
,"null reference");
11744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11745 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
11747 wxPyEndAllowThreads(__tstate
);
11748 if (PyErr_Occurred()) SWIG_fail
;
11750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11757 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11758 PyObject
*resultobj
;
11759 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11760 wxEvent
*arg2
= 0 ;
11761 PyObject
* obj0
= 0 ;
11762 PyObject
* obj1
= 0 ;
11763 char *kwnames
[] = {
11764 (char *) "self",(char *) "event", NULL
11767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11770 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
11771 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11773 if (arg2
== NULL
) {
11774 PyErr_SetString(PyExc_TypeError
,"null reference");
11778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11779 (arg1
)->AddPendingEvent(*arg2
);
11781 wxPyEndAllowThreads(__tstate
);
11782 if (PyErr_Occurred()) SWIG_fail
;
11784 Py_INCREF(Py_None
); resultobj
= Py_None
;
11791 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11792 PyObject
*resultobj
;
11793 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11794 PyObject
* obj0
= 0 ;
11795 char *kwnames
[] = {
11796 (char *) "self", NULL
11799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
11800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11804 (arg1
)->ProcessPendingEvents();
11806 wxPyEndAllowThreads(__tstate
);
11807 if (PyErr_Occurred()) SWIG_fail
;
11809 Py_INCREF(Py_None
); resultobj
= Py_None
;
11816 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11817 PyObject
*resultobj
;
11818 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11822 PyObject
*arg5
= (PyObject
*) 0 ;
11823 PyObject
* obj0
= 0 ;
11824 PyObject
* obj1
= 0 ;
11825 PyObject
* obj2
= 0 ;
11826 PyObject
* obj3
= 0 ;
11827 PyObject
* obj4
= 0 ;
11828 char *kwnames
[] = {
11829 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
11832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11835 arg2
= (int) SWIG_AsInt(obj1
);
11836 if (PyErr_Occurred()) SWIG_fail
;
11837 arg3
= (int) SWIG_AsInt(obj2
);
11838 if (PyErr_Occurred()) SWIG_fail
;
11839 arg4
= (int) SWIG_AsInt(obj3
);
11840 if (PyErr_Occurred()) SWIG_fail
;
11843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11844 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
11846 wxPyEndAllowThreads(__tstate
);
11847 if (PyErr_Occurred()) SWIG_fail
;
11849 Py_INCREF(Py_None
); resultobj
= Py_None
;
11856 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11857 PyObject
*resultobj
;
11858 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11860 int arg3
= (int) -1 ;
11861 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
11863 PyObject
* obj0
= 0 ;
11864 PyObject
* obj1
= 0 ;
11865 PyObject
* obj2
= 0 ;
11866 PyObject
* obj3
= 0 ;
11867 char *kwnames
[] = {
11868 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
11871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11874 arg2
= (int) SWIG_AsInt(obj1
);
11875 if (PyErr_Occurred()) SWIG_fail
;
11877 arg3
= (int) SWIG_AsInt(obj2
);
11878 if (PyErr_Occurred()) SWIG_fail
;
11881 arg4
= (wxEventType
) SWIG_AsInt(obj3
);
11882 if (PyErr_Occurred()) SWIG_fail
;
11885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11886 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
11888 wxPyEndAllowThreads(__tstate
);
11889 if (PyErr_Occurred()) SWIG_fail
;
11891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11898 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11899 PyObject
*resultobj
;
11900 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11901 PyObject
*arg2
= (PyObject
*) 0 ;
11902 PyObject
* obj0
= 0 ;
11903 PyObject
* obj1
= 0 ;
11904 char *kwnames
[] = {
11905 (char *) "self",(char *) "_self", NULL
11908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
11909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11914 wxEvtHandler__setOORInfo(arg1
,arg2
);
11916 wxPyEndAllowThreads(__tstate
);
11917 if (PyErr_Occurred()) SWIG_fail
;
11919 Py_INCREF(Py_None
); resultobj
= Py_None
;
11926 static PyObject
* EvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11928 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11929 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
11931 return Py_BuildValue((char *)"");
11933 static PyObject
*_wrap_NewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11934 PyObject
*resultobj
;
11935 wxEventType result
;
11936 char *kwnames
[] = {
11940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
11942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11943 result
= (wxEventType
)wxNewEventType();
11945 wxPyEndAllowThreads(__tstate
);
11946 if (PyErr_Occurred()) SWIG_fail
;
11948 resultobj
= SWIG_FromInt((int)result
);
11955 static PyObject
*_wrap_delete_Event(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11956 PyObject
*resultobj
;
11957 wxEvent
*arg1
= (wxEvent
*) 0 ;
11958 PyObject
* obj0
= 0 ;
11959 char *kwnames
[] = {
11960 (char *) "self", NULL
11963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
11964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
11965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11970 wxPyEndAllowThreads(__tstate
);
11971 if (PyErr_Occurred()) SWIG_fail
;
11973 Py_INCREF(Py_None
); resultobj
= Py_None
;
11980 static PyObject
*_wrap_Event_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11981 PyObject
*resultobj
;
11982 wxEvent
*arg1
= (wxEvent
*) 0 ;
11984 PyObject
* obj0
= 0 ;
11985 PyObject
* obj1
= 0 ;
11986 char *kwnames
[] = {
11987 (char *) "self",(char *) "typ", NULL
11990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
11991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
11992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11993 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
11994 if (PyErr_Occurred()) SWIG_fail
;
11996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11997 (arg1
)->SetEventType(arg2
);
11999 wxPyEndAllowThreads(__tstate
);
12000 if (PyErr_Occurred()) SWIG_fail
;
12002 Py_INCREF(Py_None
); resultobj
= Py_None
;
12009 static PyObject
*_wrap_Event_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12010 PyObject
*resultobj
;
12011 wxEvent
*arg1
= (wxEvent
*) 0 ;
12012 wxEventType result
;
12013 PyObject
* obj0
= 0 ;
12014 char *kwnames
[] = {
12015 (char *) "self", NULL
12018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12023 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12025 wxPyEndAllowThreads(__tstate
);
12026 if (PyErr_Occurred()) SWIG_fail
;
12028 resultobj
= SWIG_FromInt((int)result
);
12035 static PyObject
*_wrap_Event_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12036 PyObject
*resultobj
;
12037 wxEvent
*arg1
= (wxEvent
*) 0 ;
12039 PyObject
* obj0
= 0 ;
12040 char *kwnames
[] = {
12041 (char *) "self", NULL
12044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12049 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12051 wxPyEndAllowThreads(__tstate
);
12052 if (PyErr_Occurred()) SWIG_fail
;
12055 resultobj
= wxPyMake_wxObject(result
);
12063 static PyObject
*_wrap_Event_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12064 PyObject
*resultobj
;
12065 wxEvent
*arg1
= (wxEvent
*) 0 ;
12066 wxObject
*arg2
= (wxObject
*) 0 ;
12067 PyObject
* obj0
= 0 ;
12068 PyObject
* obj1
= 0 ;
12069 char *kwnames
[] = {
12070 (char *) "self",(char *) "obj", NULL
12073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12076 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12080 (arg1
)->SetEventObject(arg2
);
12082 wxPyEndAllowThreads(__tstate
);
12083 if (PyErr_Occurred()) SWIG_fail
;
12085 Py_INCREF(Py_None
); resultobj
= Py_None
;
12092 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12093 PyObject
*resultobj
;
12094 wxEvent
*arg1
= (wxEvent
*) 0 ;
12096 PyObject
* obj0
= 0 ;
12097 char *kwnames
[] = {
12098 (char *) "self", NULL
12101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12106 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12108 wxPyEndAllowThreads(__tstate
);
12109 if (PyErr_Occurred()) SWIG_fail
;
12111 resultobj
= SWIG_FromLong((long)result
);
12118 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12119 PyObject
*resultobj
;
12120 wxEvent
*arg1
= (wxEvent
*) 0 ;
12121 long arg2
= (long) 0 ;
12122 PyObject
* obj0
= 0 ;
12123 PyObject
* obj1
= 0 ;
12124 char *kwnames
[] = {
12125 (char *) "self",(char *) "ts", NULL
12128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12132 arg2
= (long) SWIG_AsLong(obj1
);
12133 if (PyErr_Occurred()) SWIG_fail
;
12136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12137 (arg1
)->SetTimestamp(arg2
);
12139 wxPyEndAllowThreads(__tstate
);
12140 if (PyErr_Occurred()) SWIG_fail
;
12142 Py_INCREF(Py_None
); resultobj
= Py_None
;
12149 static PyObject
*_wrap_Event_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12150 PyObject
*resultobj
;
12151 wxEvent
*arg1
= (wxEvent
*) 0 ;
12153 PyObject
* obj0
= 0 ;
12154 char *kwnames
[] = {
12155 (char *) "self", NULL
12158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12163 result
= (int)((wxEvent
const *)arg1
)->GetId();
12165 wxPyEndAllowThreads(__tstate
);
12166 if (PyErr_Occurred()) SWIG_fail
;
12168 resultobj
= SWIG_FromInt((int)result
);
12175 static PyObject
*_wrap_Event_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12176 PyObject
*resultobj
;
12177 wxEvent
*arg1
= (wxEvent
*) 0 ;
12179 PyObject
* obj0
= 0 ;
12180 PyObject
* obj1
= 0 ;
12181 char *kwnames
[] = {
12182 (char *) "self",(char *) "Id", NULL
12185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12188 arg2
= (int) SWIG_AsInt(obj1
);
12189 if (PyErr_Occurred()) SWIG_fail
;
12191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12192 (arg1
)->SetId(arg2
);
12194 wxPyEndAllowThreads(__tstate
);
12195 if (PyErr_Occurred()) SWIG_fail
;
12197 Py_INCREF(Py_None
); resultobj
= Py_None
;
12204 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12205 PyObject
*resultobj
;
12206 wxEvent
*arg1
= (wxEvent
*) 0 ;
12208 PyObject
* obj0
= 0 ;
12209 char *kwnames
[] = {
12210 (char *) "self", NULL
12213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12218 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12220 wxPyEndAllowThreads(__tstate
);
12221 if (PyErr_Occurred()) SWIG_fail
;
12223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12230 static PyObject
*_wrap_Event_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12231 PyObject
*resultobj
;
12232 wxEvent
*arg1
= (wxEvent
*) 0 ;
12233 bool arg2
= (bool) True
;
12234 PyObject
* obj0
= 0 ;
12235 PyObject
* obj1
= 0 ;
12236 char *kwnames
[] = {
12237 (char *) "self",(char *) "skip", NULL
12240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12244 arg2
= (bool) SWIG_AsBool(obj1
);
12245 if (PyErr_Occurred()) SWIG_fail
;
12248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12249 (arg1
)->Skip(arg2
);
12251 wxPyEndAllowThreads(__tstate
);
12252 if (PyErr_Occurred()) SWIG_fail
;
12254 Py_INCREF(Py_None
); resultobj
= Py_None
;
12261 static PyObject
*_wrap_Event_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12262 PyObject
*resultobj
;
12263 wxEvent
*arg1
= (wxEvent
*) 0 ;
12265 PyObject
* obj0
= 0 ;
12266 char *kwnames
[] = {
12267 (char *) "self", NULL
12270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12275 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12277 wxPyEndAllowThreads(__tstate
);
12278 if (PyErr_Occurred()) SWIG_fail
;
12280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12287 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12288 PyObject
*resultobj
;
12289 wxEvent
*arg1
= (wxEvent
*) 0 ;
12291 PyObject
* obj0
= 0 ;
12292 char *kwnames
[] = {
12293 (char *) "self", NULL
12296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12301 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12303 wxPyEndAllowThreads(__tstate
);
12304 if (PyErr_Occurred()) SWIG_fail
;
12306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12313 static PyObject
*_wrap_Event_StopPropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12314 PyObject
*resultobj
;
12315 wxEvent
*arg1
= (wxEvent
*) 0 ;
12317 PyObject
* obj0
= 0 ;
12318 char *kwnames
[] = {
12319 (char *) "self", NULL
12322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12327 result
= (int)(arg1
)->StopPropagation();
12329 wxPyEndAllowThreads(__tstate
);
12330 if (PyErr_Occurred()) SWIG_fail
;
12332 resultobj
= SWIG_FromInt((int)result
);
12339 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12340 PyObject
*resultobj
;
12341 wxEvent
*arg1
= (wxEvent
*) 0 ;
12343 PyObject
* obj0
= 0 ;
12344 PyObject
* obj1
= 0 ;
12345 char *kwnames
[] = {
12346 (char *) "self",(char *) "propagationLevel", NULL
12349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12352 arg2
= (int) SWIG_AsInt(obj1
);
12353 if (PyErr_Occurred()) SWIG_fail
;
12355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12356 (arg1
)->ResumePropagation(arg2
);
12358 wxPyEndAllowThreads(__tstate
);
12359 if (PyErr_Occurred()) SWIG_fail
;
12361 Py_INCREF(Py_None
); resultobj
= Py_None
;
12368 static PyObject
*_wrap_Event_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12369 PyObject
*resultobj
;
12370 wxEvent
*arg1
= (wxEvent
*) 0 ;
12372 PyObject
* obj0
= 0 ;
12373 char *kwnames
[] = {
12374 (char *) "self", NULL
12377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12382 result
= (wxEvent
*)(arg1
)->Clone();
12384 wxPyEndAllowThreads(__tstate
);
12385 if (PyErr_Occurred()) SWIG_fail
;
12387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12394 static PyObject
* Event_swigregister(PyObject
*self
, PyObject
*args
) {
12396 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12397 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12399 return Py_BuildValue((char *)"");
12401 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12402 PyObject
*resultobj
;
12403 wxEvent
*arg1
= 0 ;
12404 wxPropagationDisabler
*result
;
12405 PyObject
* obj0
= 0 ;
12406 char *kwnames
[] = {
12407 (char *) "event", NULL
12410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12412 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12414 if (arg1
== NULL
) {
12415 PyErr_SetString(PyExc_TypeError
,"null reference");
12419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12420 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
12422 wxPyEndAllowThreads(__tstate
);
12423 if (PyErr_Occurred()) SWIG_fail
;
12425 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
12432 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12433 PyObject
*resultobj
;
12434 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
12435 PyObject
* obj0
= 0 ;
12436 char *kwnames
[] = {
12437 (char *) "self", NULL
12440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
12442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12447 wxPyEndAllowThreads(__tstate
);
12448 if (PyErr_Occurred()) SWIG_fail
;
12450 Py_INCREF(Py_None
); resultobj
= Py_None
;
12457 static PyObject
* PropagationDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
12459 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12460 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
12462 return Py_BuildValue((char *)"");
12464 static PyObject
*_wrap_new_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12465 PyObject
*resultobj
;
12466 wxEvent
*arg1
= 0 ;
12467 wxPropagateOnce
*result
;
12468 PyObject
* obj0
= 0 ;
12469 char *kwnames
[] = {
12470 (char *) "event", NULL
12473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12475 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12477 if (arg1
== NULL
) {
12478 PyErr_SetString(PyExc_TypeError
,"null reference");
12482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12483 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
12485 wxPyEndAllowThreads(__tstate
);
12486 if (PyErr_Occurred()) SWIG_fail
;
12488 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
12495 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12496 PyObject
*resultobj
;
12497 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
12498 PyObject
* obj0
= 0 ;
12499 char *kwnames
[] = {
12500 (char *) "self", NULL
12503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
12505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12510 wxPyEndAllowThreads(__tstate
);
12511 if (PyErr_Occurred()) SWIG_fail
;
12513 Py_INCREF(Py_None
); resultobj
= Py_None
;
12520 static PyObject
* PropagateOnce_swigregister(PyObject
*self
, PyObject
*args
) {
12522 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12523 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
12525 return Py_BuildValue((char *)"");
12527 static PyObject
*_wrap_new_CommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12528 PyObject
*resultobj
;
12529 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12530 int arg2
= (int) 0 ;
12531 wxCommandEvent
*result
;
12532 PyObject
* obj0
= 0 ;
12533 PyObject
* obj1
= 0 ;
12534 char *kwnames
[] = {
12535 (char *) "commandType",(char *) "winid", NULL
12538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12540 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
12541 if (PyErr_Occurred()) SWIG_fail
;
12544 arg2
= (int) SWIG_AsInt(obj1
);
12545 if (PyErr_Occurred()) SWIG_fail
;
12548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12549 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
12551 wxPyEndAllowThreads(__tstate
);
12552 if (PyErr_Occurred()) SWIG_fail
;
12554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
12561 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12562 PyObject
*resultobj
;
12563 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12565 PyObject
* obj0
= 0 ;
12566 char *kwnames
[] = {
12567 (char *) "self", NULL
12570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
12571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12575 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
12577 wxPyEndAllowThreads(__tstate
);
12578 if (PyErr_Occurred()) SWIG_fail
;
12580 resultobj
= SWIG_FromInt((int)result
);
12587 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12588 PyObject
*resultobj
;
12589 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12590 wxString
*arg2
= 0 ;
12591 bool temp2
= False
;
12592 PyObject
* obj0
= 0 ;
12593 PyObject
* obj1
= 0 ;
12594 char *kwnames
[] = {
12595 (char *) "self",(char *) "s", NULL
12598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12602 arg2
= wxString_in_helper(obj1
);
12603 if (arg2
== NULL
) SWIG_fail
;
12607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12608 (arg1
)->SetString((wxString
const &)*arg2
);
12610 wxPyEndAllowThreads(__tstate
);
12611 if (PyErr_Occurred()) SWIG_fail
;
12613 Py_INCREF(Py_None
); resultobj
= Py_None
;
12628 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12629 PyObject
*resultobj
;
12630 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12632 PyObject
* obj0
= 0 ;
12633 char *kwnames
[] = {
12634 (char *) "self", NULL
12637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
12638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12642 result
= ((wxCommandEvent
const *)arg1
)->GetString();
12644 wxPyEndAllowThreads(__tstate
);
12645 if (PyErr_Occurred()) SWIG_fail
;
12649 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12651 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12660 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12661 PyObject
*resultobj
;
12662 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12664 PyObject
* obj0
= 0 ;
12665 char *kwnames
[] = {
12666 (char *) "self", NULL
12669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
12670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12674 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
12676 wxPyEndAllowThreads(__tstate
);
12677 if (PyErr_Occurred()) SWIG_fail
;
12679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12686 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12687 PyObject
*resultobj
;
12688 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12690 PyObject
* obj0
= 0 ;
12691 char *kwnames
[] = {
12692 (char *) "self", NULL
12695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
12696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12700 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
12702 wxPyEndAllowThreads(__tstate
);
12703 if (PyErr_Occurred()) SWIG_fail
;
12705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12712 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12713 PyObject
*resultobj
;
12714 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12716 PyObject
* obj0
= 0 ;
12717 PyObject
* obj1
= 0 ;
12718 char *kwnames
[] = {
12719 (char *) "self",(char *) "extraLong", NULL
12722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
12723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12725 arg2
= (long) SWIG_AsLong(obj1
);
12726 if (PyErr_Occurred()) SWIG_fail
;
12728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12729 (arg1
)->SetExtraLong(arg2
);
12731 wxPyEndAllowThreads(__tstate
);
12732 if (PyErr_Occurred()) SWIG_fail
;
12734 Py_INCREF(Py_None
); resultobj
= Py_None
;
12741 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12742 PyObject
*resultobj
;
12743 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12745 PyObject
* obj0
= 0 ;
12746 char *kwnames
[] = {
12747 (char *) "self", NULL
12750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
12751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12755 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
12757 wxPyEndAllowThreads(__tstate
);
12758 if (PyErr_Occurred()) SWIG_fail
;
12760 resultobj
= SWIG_FromLong((long)result
);
12767 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12768 PyObject
*resultobj
;
12769 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12771 PyObject
* obj0
= 0 ;
12772 PyObject
* obj1
= 0 ;
12773 char *kwnames
[] = {
12774 (char *) "self",(char *) "i", NULL
12777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
12778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12780 arg2
= (int) SWIG_AsInt(obj1
);
12781 if (PyErr_Occurred()) SWIG_fail
;
12783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12784 (arg1
)->SetInt(arg2
);
12786 wxPyEndAllowThreads(__tstate
);
12787 if (PyErr_Occurred()) SWIG_fail
;
12789 Py_INCREF(Py_None
); resultobj
= Py_None
;
12796 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12797 PyObject
*resultobj
;
12798 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12800 PyObject
* obj0
= 0 ;
12801 char *kwnames
[] = {
12802 (char *) "self", NULL
12805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
12806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12810 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
12812 wxPyEndAllowThreads(__tstate
);
12813 if (PyErr_Occurred()) SWIG_fail
;
12815 resultobj
= SWIG_FromLong((long)result
);
12822 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12823 PyObject
*resultobj
;
12824 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12826 PyObject
* obj0
= 0 ;
12827 char *kwnames
[] = {
12828 (char *) "self", NULL
12831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
12832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12836 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
12838 wxPyEndAllowThreads(__tstate
);
12839 if (PyErr_Occurred()) SWIG_fail
;
12841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12848 static PyObject
* CommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12850 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12851 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
12853 return Py_BuildValue((char *)"");
12855 static PyObject
*_wrap_new_NotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12856 PyObject
*resultobj
;
12857 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12858 int arg2
= (int) 0 ;
12859 wxNotifyEvent
*result
;
12860 PyObject
* obj0
= 0 ;
12861 PyObject
* obj1
= 0 ;
12862 char *kwnames
[] = {
12863 (char *) "commandType",(char *) "winid", NULL
12866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12868 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
12869 if (PyErr_Occurred()) SWIG_fail
;
12872 arg2
= (int) SWIG_AsInt(obj1
);
12873 if (PyErr_Occurred()) SWIG_fail
;
12876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12877 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
12879 wxPyEndAllowThreads(__tstate
);
12880 if (PyErr_Occurred()) SWIG_fail
;
12882 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
12889 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12890 PyObject
*resultobj
;
12891 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
12892 PyObject
* obj0
= 0 ;
12893 char *kwnames
[] = {
12894 (char *) "self", NULL
12897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
12898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
12899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12904 wxPyEndAllowThreads(__tstate
);
12905 if (PyErr_Occurred()) SWIG_fail
;
12907 Py_INCREF(Py_None
); resultobj
= Py_None
;
12914 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12915 PyObject
*resultobj
;
12916 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
12917 PyObject
* obj0
= 0 ;
12918 char *kwnames
[] = {
12919 (char *) "self", NULL
12922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
12923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
12924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12929 wxPyEndAllowThreads(__tstate
);
12930 if (PyErr_Occurred()) SWIG_fail
;
12932 Py_INCREF(Py_None
); resultobj
= Py_None
;
12939 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12940 PyObject
*resultobj
;
12941 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
12943 PyObject
* obj0
= 0 ;
12944 char *kwnames
[] = {
12945 (char *) "self", NULL
12948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
12949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
12950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12953 result
= (bool)(arg1
)->IsAllowed();
12955 wxPyEndAllowThreads(__tstate
);
12956 if (PyErr_Occurred()) SWIG_fail
;
12958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12965 static PyObject
* NotifyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12967 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12968 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
12970 return Py_BuildValue((char *)"");
12972 static PyObject
*_wrap_new_ScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12973 PyObject
*resultobj
;
12974 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12975 int arg2
= (int) 0 ;
12976 int arg3
= (int) 0 ;
12977 int arg4
= (int) 0 ;
12978 wxScrollEvent
*result
;
12979 PyObject
* obj0
= 0 ;
12980 PyObject
* obj1
= 0 ;
12981 PyObject
* obj2
= 0 ;
12982 PyObject
* obj3
= 0 ;
12983 char *kwnames
[] = {
12984 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
12987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12989 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
12990 if (PyErr_Occurred()) SWIG_fail
;
12993 arg2
= (int) SWIG_AsInt(obj1
);
12994 if (PyErr_Occurred()) SWIG_fail
;
12997 arg3
= (int) SWIG_AsInt(obj2
);
12998 if (PyErr_Occurred()) SWIG_fail
;
13001 arg4
= (int) SWIG_AsInt(obj3
);
13002 if (PyErr_Occurred()) SWIG_fail
;
13005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13006 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13008 wxPyEndAllowThreads(__tstate
);
13009 if (PyErr_Occurred()) SWIG_fail
;
13011 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13018 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13019 PyObject
*resultobj
;
13020 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13022 PyObject
* obj0
= 0 ;
13023 char *kwnames
[] = {
13024 (char *) "self", NULL
13027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13032 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13034 wxPyEndAllowThreads(__tstate
);
13035 if (PyErr_Occurred()) SWIG_fail
;
13037 resultobj
= SWIG_FromInt((int)result
);
13044 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13045 PyObject
*resultobj
;
13046 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13048 PyObject
* obj0
= 0 ;
13049 char *kwnames
[] = {
13050 (char *) "self", NULL
13053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13058 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13060 wxPyEndAllowThreads(__tstate
);
13061 if (PyErr_Occurred()) SWIG_fail
;
13063 resultobj
= SWIG_FromInt((int)result
);
13070 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13071 PyObject
*resultobj
;
13072 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13074 PyObject
* obj0
= 0 ;
13075 PyObject
* obj1
= 0 ;
13076 char *kwnames
[] = {
13077 (char *) "self",(char *) "orient", NULL
13080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13083 arg2
= (int) SWIG_AsInt(obj1
);
13084 if (PyErr_Occurred()) SWIG_fail
;
13086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13087 (arg1
)->SetOrientation(arg2
);
13089 wxPyEndAllowThreads(__tstate
);
13090 if (PyErr_Occurred()) SWIG_fail
;
13092 Py_INCREF(Py_None
); resultobj
= Py_None
;
13099 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13100 PyObject
*resultobj
;
13101 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13103 PyObject
* obj0
= 0 ;
13104 PyObject
* obj1
= 0 ;
13105 char *kwnames
[] = {
13106 (char *) "self",(char *) "pos", NULL
13109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13112 arg2
= (int) SWIG_AsInt(obj1
);
13113 if (PyErr_Occurred()) SWIG_fail
;
13115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13116 (arg1
)->SetPosition(arg2
);
13118 wxPyEndAllowThreads(__tstate
);
13119 if (PyErr_Occurred()) SWIG_fail
;
13121 Py_INCREF(Py_None
); resultobj
= Py_None
;
13128 static PyObject
* ScrollEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13130 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13131 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13133 return Py_BuildValue((char *)"");
13135 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13136 PyObject
*resultobj
;
13137 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13138 int arg2
= (int) 0 ;
13139 int arg3
= (int) 0 ;
13140 wxScrollWinEvent
*result
;
13141 PyObject
* obj0
= 0 ;
13142 PyObject
* obj1
= 0 ;
13143 PyObject
* obj2
= 0 ;
13144 char *kwnames
[] = {
13145 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13150 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13151 if (PyErr_Occurred()) SWIG_fail
;
13154 arg2
= (int) SWIG_AsInt(obj1
);
13155 if (PyErr_Occurred()) SWIG_fail
;
13158 arg3
= (int) SWIG_AsInt(obj2
);
13159 if (PyErr_Occurred()) SWIG_fail
;
13162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13163 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13165 wxPyEndAllowThreads(__tstate
);
13166 if (PyErr_Occurred()) SWIG_fail
;
13168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13175 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13176 PyObject
*resultobj
;
13177 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13179 PyObject
* obj0
= 0 ;
13180 char *kwnames
[] = {
13181 (char *) "self", NULL
13184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13189 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13191 wxPyEndAllowThreads(__tstate
);
13192 if (PyErr_Occurred()) SWIG_fail
;
13194 resultobj
= SWIG_FromInt((int)result
);
13201 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13202 PyObject
*resultobj
;
13203 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13205 PyObject
* obj0
= 0 ;
13206 char *kwnames
[] = {
13207 (char *) "self", NULL
13210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13215 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13217 wxPyEndAllowThreads(__tstate
);
13218 if (PyErr_Occurred()) SWIG_fail
;
13220 resultobj
= SWIG_FromInt((int)result
);
13227 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13228 PyObject
*resultobj
;
13229 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13231 PyObject
* obj0
= 0 ;
13232 PyObject
* obj1
= 0 ;
13233 char *kwnames
[] = {
13234 (char *) "self",(char *) "orient", NULL
13237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13240 arg2
= (int) SWIG_AsInt(obj1
);
13241 if (PyErr_Occurred()) SWIG_fail
;
13243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13244 (arg1
)->SetOrientation(arg2
);
13246 wxPyEndAllowThreads(__tstate
);
13247 if (PyErr_Occurred()) SWIG_fail
;
13249 Py_INCREF(Py_None
); resultobj
= Py_None
;
13256 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13257 PyObject
*resultobj
;
13258 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13260 PyObject
* obj0
= 0 ;
13261 PyObject
* obj1
= 0 ;
13262 char *kwnames
[] = {
13263 (char *) "self",(char *) "pos", NULL
13266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13269 arg2
= (int) SWIG_AsInt(obj1
);
13270 if (PyErr_Occurred()) SWIG_fail
;
13272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13273 (arg1
)->SetPosition(arg2
);
13275 wxPyEndAllowThreads(__tstate
);
13276 if (PyErr_Occurred()) SWIG_fail
;
13278 Py_INCREF(Py_None
); resultobj
= Py_None
;
13285 static PyObject
* ScrollWinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13287 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13288 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13290 return Py_BuildValue((char *)"");
13292 static PyObject
*_wrap_new_MouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13293 PyObject
*resultobj
;
13294 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13295 wxMouseEvent
*result
;
13296 PyObject
* obj0
= 0 ;
13297 char *kwnames
[] = {
13298 (char *) "mouseType", NULL
13301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13303 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13304 if (PyErr_Occurred()) SWIG_fail
;
13307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13308 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13310 wxPyEndAllowThreads(__tstate
);
13311 if (PyErr_Occurred()) SWIG_fail
;
13314 resultobj
= wxPyMake_wxObject(result
);
13322 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13323 PyObject
*resultobj
;
13324 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13326 PyObject
* obj0
= 0 ;
13327 char *kwnames
[] = {
13328 (char *) "self", NULL
13331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13336 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13338 wxPyEndAllowThreads(__tstate
);
13339 if (PyErr_Occurred()) SWIG_fail
;
13341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13348 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13349 PyObject
*resultobj
;
13350 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13351 int arg2
= (int) wxMOUSE_BTN_ANY
;
13353 PyObject
* obj0
= 0 ;
13354 PyObject
* obj1
= 0 ;
13355 char *kwnames
[] = {
13356 (char *) "self",(char *) "but", NULL
13359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13363 arg2
= (int) SWIG_AsInt(obj1
);
13364 if (PyErr_Occurred()) SWIG_fail
;
13367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13368 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13370 wxPyEndAllowThreads(__tstate
);
13371 if (PyErr_Occurred()) SWIG_fail
;
13373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13380 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13381 PyObject
*resultobj
;
13382 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13383 int arg2
= (int) wxMOUSE_BTN_ANY
;
13385 PyObject
* obj0
= 0 ;
13386 PyObject
* obj1
= 0 ;
13387 char *kwnames
[] = {
13388 (char *) "self",(char *) "but", NULL
13391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13395 arg2
= (int) SWIG_AsInt(obj1
);
13396 if (PyErr_Occurred()) SWIG_fail
;
13399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13400 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13402 wxPyEndAllowThreads(__tstate
);
13403 if (PyErr_Occurred()) SWIG_fail
;
13405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13412 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13413 PyObject
*resultobj
;
13414 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13415 int arg2
= (int) wxMOUSE_BTN_ANY
;
13417 PyObject
* obj0
= 0 ;
13418 PyObject
* obj1
= 0 ;
13419 char *kwnames
[] = {
13420 (char *) "self",(char *) "but", NULL
13423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13427 arg2
= (int) SWIG_AsInt(obj1
);
13428 if (PyErr_Occurred()) SWIG_fail
;
13431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13432 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
13434 wxPyEndAllowThreads(__tstate
);
13435 if (PyErr_Occurred()) SWIG_fail
;
13437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13444 static PyObject
*_wrap_MouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13445 PyObject
*resultobj
;
13446 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13449 PyObject
* obj0
= 0 ;
13450 PyObject
* obj1
= 0 ;
13451 char *kwnames
[] = {
13452 (char *) "self",(char *) "but", NULL
13455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
13456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13458 arg2
= (int) SWIG_AsInt(obj1
);
13459 if (PyErr_Occurred()) SWIG_fail
;
13461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13462 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
13464 wxPyEndAllowThreads(__tstate
);
13465 if (PyErr_Occurred()) SWIG_fail
;
13467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13474 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13475 PyObject
*resultobj
;
13476 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13479 PyObject
* obj0
= 0 ;
13480 PyObject
* obj1
= 0 ;
13481 char *kwnames
[] = {
13482 (char *) "self",(char *) "but", NULL
13485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13488 arg2
= (int) SWIG_AsInt(obj1
);
13489 if (PyErr_Occurred()) SWIG_fail
;
13491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13492 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
13494 wxPyEndAllowThreads(__tstate
);
13495 if (PyErr_Occurred()) SWIG_fail
;
13497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13504 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13505 PyObject
*resultobj
;
13506 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13508 PyObject
* obj0
= 0 ;
13509 char *kwnames
[] = {
13510 (char *) "self", NULL
13513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
13514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13518 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
13520 wxPyEndAllowThreads(__tstate
);
13521 if (PyErr_Occurred()) SWIG_fail
;
13523 resultobj
= SWIG_FromInt((int)result
);
13530 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13531 PyObject
*resultobj
;
13532 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13534 PyObject
* obj0
= 0 ;
13535 char *kwnames
[] = {
13536 (char *) "self", NULL
13539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13544 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
13546 wxPyEndAllowThreads(__tstate
);
13547 if (PyErr_Occurred()) SWIG_fail
;
13549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13556 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13557 PyObject
*resultobj
;
13558 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13560 PyObject
* obj0
= 0 ;
13561 char *kwnames
[] = {
13562 (char *) "self", NULL
13565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13570 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
13572 wxPyEndAllowThreads(__tstate
);
13573 if (PyErr_Occurred()) SWIG_fail
;
13575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13582 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13583 PyObject
*resultobj
;
13584 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13586 PyObject
* obj0
= 0 ;
13587 char *kwnames
[] = {
13588 (char *) "self", NULL
13591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13596 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
13598 wxPyEndAllowThreads(__tstate
);
13599 if (PyErr_Occurred()) SWIG_fail
;
13601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13608 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13609 PyObject
*resultobj
;
13610 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13612 PyObject
* obj0
= 0 ;
13613 char *kwnames
[] = {
13614 (char *) "self", NULL
13617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13622 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
13624 wxPyEndAllowThreads(__tstate
);
13625 if (PyErr_Occurred()) SWIG_fail
;
13627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13634 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13635 PyObject
*resultobj
;
13636 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13638 PyObject
* obj0
= 0 ;
13639 char *kwnames
[] = {
13640 (char *) "self", NULL
13643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
13644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13648 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
13650 wxPyEndAllowThreads(__tstate
);
13651 if (PyErr_Occurred()) SWIG_fail
;
13653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13660 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13661 PyObject
*resultobj
;
13662 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13664 PyObject
* obj0
= 0 ;
13665 char *kwnames
[] = {
13666 (char *) "self", NULL
13669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
13670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13674 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
13676 wxPyEndAllowThreads(__tstate
);
13677 if (PyErr_Occurred()) SWIG_fail
;
13679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13686 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13687 PyObject
*resultobj
;
13688 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13690 PyObject
* obj0
= 0 ;
13691 char *kwnames
[] = {
13692 (char *) "self", NULL
13695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
13696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13700 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
13702 wxPyEndAllowThreads(__tstate
);
13703 if (PyErr_Occurred()) SWIG_fail
;
13705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13712 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13713 PyObject
*resultobj
;
13714 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13716 PyObject
* obj0
= 0 ;
13717 char *kwnames
[] = {
13718 (char *) "self", NULL
13721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
13722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13726 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
13728 wxPyEndAllowThreads(__tstate
);
13729 if (PyErr_Occurred()) SWIG_fail
;
13731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13738 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13739 PyObject
*resultobj
;
13740 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13742 PyObject
* obj0
= 0 ;
13743 char *kwnames
[] = {
13744 (char *) "self", NULL
13747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
13748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13752 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
13754 wxPyEndAllowThreads(__tstate
);
13755 if (PyErr_Occurred()) SWIG_fail
;
13757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13764 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13765 PyObject
*resultobj
;
13766 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13768 PyObject
* obj0
= 0 ;
13769 char *kwnames
[] = {
13770 (char *) "self", NULL
13773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
13774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13778 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
13780 wxPyEndAllowThreads(__tstate
);
13781 if (PyErr_Occurred()) SWIG_fail
;
13783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13790 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13791 PyObject
*resultobj
;
13792 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13794 PyObject
* obj0
= 0 ;
13795 char *kwnames
[] = {
13796 (char *) "self", NULL
13799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
13800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13804 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
13806 wxPyEndAllowThreads(__tstate
);
13807 if (PyErr_Occurred()) SWIG_fail
;
13809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13816 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*self
, 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_MiddleDClick",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
)->MiddleDClick();
13832 wxPyEndAllowThreads(__tstate
);
13833 if (PyErr_Occurred()) SWIG_fail
;
13835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13842 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13843 PyObject
*resultobj
;
13844 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13846 PyObject
* obj0
= 0 ;
13847 char *kwnames
[] = {
13848 (char *) "self", NULL
13851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
13852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13856 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
13858 wxPyEndAllowThreads(__tstate
);
13859 if (PyErr_Occurred()) SWIG_fail
;
13861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13868 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13869 PyObject
*resultobj
;
13870 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13872 PyObject
* obj0
= 0 ;
13873 char *kwnames
[] = {
13874 (char *) "self", NULL
13877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
13878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13882 result
= (bool)(arg1
)->LeftIsDown();
13884 wxPyEndAllowThreads(__tstate
);
13885 if (PyErr_Occurred()) SWIG_fail
;
13887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13894 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13895 PyObject
*resultobj
;
13896 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13898 PyObject
* obj0
= 0 ;
13899 char *kwnames
[] = {
13900 (char *) "self", NULL
13903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
13904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13908 result
= (bool)(arg1
)->MiddleIsDown();
13910 wxPyEndAllowThreads(__tstate
);
13911 if (PyErr_Occurred()) SWIG_fail
;
13913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13920 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13921 PyObject
*resultobj
;
13922 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13924 PyObject
* obj0
= 0 ;
13925 char *kwnames
[] = {
13926 (char *) "self", NULL
13929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
13930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13934 result
= (bool)(arg1
)->RightIsDown();
13936 wxPyEndAllowThreads(__tstate
);
13937 if (PyErr_Occurred()) SWIG_fail
;
13939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13946 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13947 PyObject
*resultobj
;
13948 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13950 PyObject
* obj0
= 0 ;
13951 char *kwnames
[] = {
13952 (char *) "self", NULL
13955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
13956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13960 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
13962 wxPyEndAllowThreads(__tstate
);
13963 if (PyErr_Occurred()) SWIG_fail
;
13965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13972 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13973 PyObject
*resultobj
;
13974 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13976 PyObject
* obj0
= 0 ;
13977 char *kwnames
[] = {
13978 (char *) "self", NULL
13981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
13982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13986 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
13988 wxPyEndAllowThreads(__tstate
);
13989 if (PyErr_Occurred()) SWIG_fail
;
13991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13998 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13999 PyObject
*resultobj
;
14000 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14002 PyObject
* obj0
= 0 ;
14003 char *kwnames
[] = {
14004 (char *) "self", NULL
14007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14012 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14014 wxPyEndAllowThreads(__tstate
);
14015 if (PyErr_Occurred()) SWIG_fail
;
14017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14024 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14025 PyObject
*resultobj
;
14026 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14028 PyObject
* obj0
= 0 ;
14029 char *kwnames
[] = {
14030 (char *) "self", NULL
14033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14038 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14040 wxPyEndAllowThreads(__tstate
);
14041 if (PyErr_Occurred()) SWIG_fail
;
14043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14050 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14051 PyObject
*resultobj
;
14052 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14054 PyObject
* obj0
= 0 ;
14055 char *kwnames
[] = {
14056 (char *) "self", NULL
14059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14064 result
= (arg1
)->GetPosition();
14066 wxPyEndAllowThreads(__tstate
);
14067 if (PyErr_Occurred()) SWIG_fail
;
14070 wxPoint
* resultptr
;
14071 resultptr
= new wxPoint((wxPoint
&) result
);
14072 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14080 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14081 PyObject
*resultobj
;
14082 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14083 long *arg2
= (long *) 0 ;
14084 long *arg3
= (long *) 0 ;
14087 PyObject
* obj0
= 0 ;
14088 char *kwnames
[] = {
14089 (char *) "self", NULL
14094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14099 (arg1
)->GetPosition(arg2
,arg3
);
14101 wxPyEndAllowThreads(__tstate
);
14102 if (PyErr_Occurred()) SWIG_fail
;
14104 Py_INCREF(Py_None
); resultobj
= Py_None
;
14106 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14107 resultobj
= t_output_helper(resultobj
,o
);
14110 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14111 resultobj
= t_output_helper(resultobj
,o
);
14119 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14120 PyObject
*resultobj
;
14121 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14124 PyObject
* obj0
= 0 ;
14125 PyObject
* obj1
= 0 ;
14126 char *kwnames
[] = {
14127 (char *) "self",(char *) "dc", NULL
14130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14133 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14134 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14136 if (arg2
== NULL
) {
14137 PyErr_SetString(PyExc_TypeError
,"null reference");
14141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14142 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14144 wxPyEndAllowThreads(__tstate
);
14145 if (PyErr_Occurred()) SWIG_fail
;
14148 wxPoint
* resultptr
;
14149 resultptr
= new wxPoint((wxPoint
&) result
);
14150 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14158 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14159 PyObject
*resultobj
;
14160 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14162 PyObject
* obj0
= 0 ;
14163 char *kwnames
[] = {
14164 (char *) "self", NULL
14167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
14168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14172 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14174 wxPyEndAllowThreads(__tstate
);
14175 if (PyErr_Occurred()) SWIG_fail
;
14177 resultobj
= SWIG_FromInt((int)result
);
14184 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14185 PyObject
*resultobj
;
14186 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14188 PyObject
* obj0
= 0 ;
14189 char *kwnames
[] = {
14190 (char *) "self", NULL
14193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14198 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14200 wxPyEndAllowThreads(__tstate
);
14201 if (PyErr_Occurred()) SWIG_fail
;
14203 resultobj
= SWIG_FromInt((int)result
);
14210 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14211 PyObject
*resultobj
;
14212 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14214 PyObject
* obj0
= 0 ;
14215 char *kwnames
[] = {
14216 (char *) "self", NULL
14219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
14220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14224 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
14226 wxPyEndAllowThreads(__tstate
);
14227 if (PyErr_Occurred()) SWIG_fail
;
14229 resultobj
= SWIG_FromInt((int)result
);
14236 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14237 PyObject
*resultobj
;
14238 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14240 PyObject
* obj0
= 0 ;
14241 char *kwnames
[] = {
14242 (char *) "self", NULL
14245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
14246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14250 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14252 wxPyEndAllowThreads(__tstate
);
14253 if (PyErr_Occurred()) SWIG_fail
;
14255 resultobj
= SWIG_FromInt((int)result
);
14262 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14263 PyObject
*resultobj
;
14264 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14266 PyObject
* obj0
= 0 ;
14267 char *kwnames
[] = {
14268 (char *) "self", NULL
14271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14276 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14278 wxPyEndAllowThreads(__tstate
);
14279 if (PyErr_Occurred()) SWIG_fail
;
14281 resultobj
= SWIG_FromInt((int)result
);
14288 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14289 PyObject
*resultobj
;
14290 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14292 PyObject
* obj0
= 0 ;
14293 char *kwnames
[] = {
14294 (char *) "self", NULL
14297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14302 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14304 wxPyEndAllowThreads(__tstate
);
14305 if (PyErr_Occurred()) SWIG_fail
;
14307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14314 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14315 PyObject
*resultobj
;
14316 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14318 PyObject
* obj0
= 0 ;
14319 PyObject
* obj1
= 0 ;
14320 char *kwnames
[] = {
14321 (char *) "self",(char *) "m_x", NULL
14324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14327 arg2
= (int) SWIG_AsInt(obj1
);
14328 if (PyErr_Occurred()) SWIG_fail
;
14329 if (arg1
) (arg1
)->m_x
= arg2
;
14331 Py_INCREF(Py_None
); resultobj
= Py_None
;
14338 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14339 PyObject
*resultobj
;
14340 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14342 PyObject
* obj0
= 0 ;
14343 char *kwnames
[] = {
14344 (char *) "self", NULL
14347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14350 result
= (int) ((arg1
)->m_x
);
14352 resultobj
= SWIG_FromInt((int)result
);
14359 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14360 PyObject
*resultobj
;
14361 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14363 PyObject
* obj0
= 0 ;
14364 PyObject
* obj1
= 0 ;
14365 char *kwnames
[] = {
14366 (char *) "self",(char *) "m_y", NULL
14369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14372 arg2
= (int) SWIG_AsInt(obj1
);
14373 if (PyErr_Occurred()) SWIG_fail
;
14374 if (arg1
) (arg1
)->m_y
= arg2
;
14376 Py_INCREF(Py_None
); resultobj
= Py_None
;
14383 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14384 PyObject
*resultobj
;
14385 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14387 PyObject
* obj0
= 0 ;
14388 char *kwnames
[] = {
14389 (char *) "self", NULL
14392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
14393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14395 result
= (int) ((arg1
)->m_y
);
14397 resultobj
= SWIG_FromInt((int)result
);
14404 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14405 PyObject
*resultobj
;
14406 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14408 PyObject
* obj0
= 0 ;
14409 PyObject
* obj1
= 0 ;
14410 char *kwnames
[] = {
14411 (char *) "self",(char *) "m_leftDown", NULL
14414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14417 arg2
= (bool) SWIG_AsBool(obj1
);
14418 if (PyErr_Occurred()) SWIG_fail
;
14419 if (arg1
) (arg1
)->m_leftDown
= arg2
;
14421 Py_INCREF(Py_None
); resultobj
= Py_None
;
14428 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14429 PyObject
*resultobj
;
14430 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14432 PyObject
* obj0
= 0 ;
14433 char *kwnames
[] = {
14434 (char *) "self", NULL
14437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
14438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14440 result
= (bool) ((arg1
)->m_leftDown
);
14442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14449 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14450 PyObject
*resultobj
;
14451 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14453 PyObject
* obj0
= 0 ;
14454 PyObject
* obj1
= 0 ;
14455 char *kwnames
[] = {
14456 (char *) "self",(char *) "m_middleDown", NULL
14459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14462 arg2
= (bool) SWIG_AsBool(obj1
);
14463 if (PyErr_Occurred()) SWIG_fail
;
14464 if (arg1
) (arg1
)->m_middleDown
= arg2
;
14466 Py_INCREF(Py_None
); resultobj
= Py_None
;
14473 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14474 PyObject
*resultobj
;
14475 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14477 PyObject
* obj0
= 0 ;
14478 char *kwnames
[] = {
14479 (char *) "self", NULL
14482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
14483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14485 result
= (bool) ((arg1
)->m_middleDown
);
14487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14494 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14495 PyObject
*resultobj
;
14496 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14498 PyObject
* obj0
= 0 ;
14499 PyObject
* obj1
= 0 ;
14500 char *kwnames
[] = {
14501 (char *) "self",(char *) "m_rightDown", NULL
14504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14507 arg2
= (bool) SWIG_AsBool(obj1
);
14508 if (PyErr_Occurred()) SWIG_fail
;
14509 if (arg1
) (arg1
)->m_rightDown
= arg2
;
14511 Py_INCREF(Py_None
); resultobj
= Py_None
;
14518 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14519 PyObject
*resultobj
;
14520 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14522 PyObject
* obj0
= 0 ;
14523 char *kwnames
[] = {
14524 (char *) "self", NULL
14527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
14528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14530 result
= (bool) ((arg1
)->m_rightDown
);
14532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14539 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14540 PyObject
*resultobj
;
14541 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14543 PyObject
* obj0
= 0 ;
14544 PyObject
* obj1
= 0 ;
14545 char *kwnames
[] = {
14546 (char *) "self",(char *) "m_controlDown", NULL
14549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14552 arg2
= (bool) SWIG_AsBool(obj1
);
14553 if (PyErr_Occurred()) SWIG_fail
;
14554 if (arg1
) (arg1
)->m_controlDown
= arg2
;
14556 Py_INCREF(Py_None
); resultobj
= Py_None
;
14563 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14564 PyObject
*resultobj
;
14565 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14567 PyObject
* obj0
= 0 ;
14568 char *kwnames
[] = {
14569 (char *) "self", NULL
14572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
14573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14575 result
= (bool) ((arg1
)->m_controlDown
);
14577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14584 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14585 PyObject
*resultobj
;
14586 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14588 PyObject
* obj0
= 0 ;
14589 PyObject
* obj1
= 0 ;
14590 char *kwnames
[] = {
14591 (char *) "self",(char *) "m_shiftDown", NULL
14594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14597 arg2
= (bool) SWIG_AsBool(obj1
);
14598 if (PyErr_Occurred()) SWIG_fail
;
14599 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
14601 Py_INCREF(Py_None
); resultobj
= Py_None
;
14608 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14609 PyObject
*resultobj
;
14610 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14612 PyObject
* obj0
= 0 ;
14613 char *kwnames
[] = {
14614 (char *) "self", NULL
14617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
14618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14620 result
= (bool) ((arg1
)->m_shiftDown
);
14622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14629 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14630 PyObject
*resultobj
;
14631 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14633 PyObject
* obj0
= 0 ;
14634 PyObject
* obj1
= 0 ;
14635 char *kwnames
[] = {
14636 (char *) "self",(char *) "m_altDown", NULL
14639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14642 arg2
= (bool) SWIG_AsBool(obj1
);
14643 if (PyErr_Occurred()) SWIG_fail
;
14644 if (arg1
) (arg1
)->m_altDown
= arg2
;
14646 Py_INCREF(Py_None
); resultobj
= Py_None
;
14653 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14654 PyObject
*resultobj
;
14655 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14657 PyObject
* obj0
= 0 ;
14658 char *kwnames
[] = {
14659 (char *) "self", NULL
14662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
14663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14665 result
= (bool) ((arg1
)->m_altDown
);
14667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14674 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14675 PyObject
*resultobj
;
14676 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14678 PyObject
* obj0
= 0 ;
14679 PyObject
* obj1
= 0 ;
14680 char *kwnames
[] = {
14681 (char *) "self",(char *) "m_metaDown", NULL
14684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14687 arg2
= (bool) SWIG_AsBool(obj1
);
14688 if (PyErr_Occurred()) SWIG_fail
;
14689 if (arg1
) (arg1
)->m_metaDown
= arg2
;
14691 Py_INCREF(Py_None
); resultobj
= Py_None
;
14698 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14699 PyObject
*resultobj
;
14700 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14702 PyObject
* obj0
= 0 ;
14703 char *kwnames
[] = {
14704 (char *) "self", NULL
14707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
14708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14710 result
= (bool) ((arg1
)->m_metaDown
);
14712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14719 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14720 PyObject
*resultobj
;
14721 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14723 PyObject
* obj0
= 0 ;
14724 PyObject
* obj1
= 0 ;
14725 char *kwnames
[] = {
14726 (char *) "self",(char *) "m_wheelRotation", NULL
14729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14732 arg2
= (int) SWIG_AsInt(obj1
);
14733 if (PyErr_Occurred()) SWIG_fail
;
14734 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
14736 Py_INCREF(Py_None
); resultobj
= Py_None
;
14743 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14744 PyObject
*resultobj
;
14745 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14747 PyObject
* obj0
= 0 ;
14748 char *kwnames
[] = {
14749 (char *) "self", NULL
14752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
14753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14755 result
= (int) ((arg1
)->m_wheelRotation
);
14757 resultobj
= SWIG_FromInt((int)result
);
14764 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14765 PyObject
*resultobj
;
14766 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14768 PyObject
* obj0
= 0 ;
14769 PyObject
* obj1
= 0 ;
14770 char *kwnames
[] = {
14771 (char *) "self",(char *) "m_wheelDelta", NULL
14774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14777 arg2
= (int) SWIG_AsInt(obj1
);
14778 if (PyErr_Occurred()) SWIG_fail
;
14779 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
14781 Py_INCREF(Py_None
); resultobj
= Py_None
;
14788 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14789 PyObject
*resultobj
;
14790 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14792 PyObject
* obj0
= 0 ;
14793 char *kwnames
[] = {
14794 (char *) "self", NULL
14797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
14798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14800 result
= (int) ((arg1
)->m_wheelDelta
);
14802 resultobj
= SWIG_FromInt((int)result
);
14809 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14810 PyObject
*resultobj
;
14811 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14813 PyObject
* obj0
= 0 ;
14814 PyObject
* obj1
= 0 ;
14815 char *kwnames
[] = {
14816 (char *) "self",(char *) "m_linesPerAction", NULL
14819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14822 arg2
= (int) SWIG_AsInt(obj1
);
14823 if (PyErr_Occurred()) SWIG_fail
;
14824 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
14826 Py_INCREF(Py_None
); resultobj
= Py_None
;
14833 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14834 PyObject
*resultobj
;
14835 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14837 PyObject
* obj0
= 0 ;
14838 char *kwnames
[] = {
14839 (char *) "self", NULL
14842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
14843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14845 result
= (int) ((arg1
)->m_linesPerAction
);
14847 resultobj
= SWIG_FromInt((int)result
);
14854 static PyObject
* MouseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14856 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14857 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
14859 return Py_BuildValue((char *)"");
14861 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14862 PyObject
*resultobj
;
14863 int arg1
= (int) 0 ;
14864 int arg2
= (int) 0 ;
14865 wxSetCursorEvent
*result
;
14866 PyObject
* obj0
= 0 ;
14867 PyObject
* obj1
= 0 ;
14868 char *kwnames
[] = {
14869 (char *) "x",(char *) "y", NULL
14872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14874 arg1
= (int) SWIG_AsInt(obj0
);
14875 if (PyErr_Occurred()) SWIG_fail
;
14878 arg2
= (int) SWIG_AsInt(obj1
);
14879 if (PyErr_Occurred()) SWIG_fail
;
14882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14883 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
14885 wxPyEndAllowThreads(__tstate
);
14886 if (PyErr_Occurred()) SWIG_fail
;
14888 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
14895 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14896 PyObject
*resultobj
;
14897 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
14899 PyObject
* obj0
= 0 ;
14900 char *kwnames
[] = {
14901 (char *) "self", NULL
14904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
14905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
14906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14909 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
14911 wxPyEndAllowThreads(__tstate
);
14912 if (PyErr_Occurred()) SWIG_fail
;
14914 resultobj
= SWIG_FromInt((int)result
);
14921 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14922 PyObject
*resultobj
;
14923 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
14925 PyObject
* obj0
= 0 ;
14926 char *kwnames
[] = {
14927 (char *) "self", NULL
14930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
14931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
14932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14935 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
14937 wxPyEndAllowThreads(__tstate
);
14938 if (PyErr_Occurred()) SWIG_fail
;
14940 resultobj
= SWIG_FromInt((int)result
);
14947 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14948 PyObject
*resultobj
;
14949 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
14950 wxCursor
*arg2
= 0 ;
14951 PyObject
* obj0
= 0 ;
14952 PyObject
* obj1
= 0 ;
14953 char *kwnames
[] = {
14954 (char *) "self",(char *) "cursor", NULL
14957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
14958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
14959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14960 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
14961 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14963 if (arg2
== NULL
) {
14964 PyErr_SetString(PyExc_TypeError
,"null reference");
14968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14969 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
14971 wxPyEndAllowThreads(__tstate
);
14972 if (PyErr_Occurred()) SWIG_fail
;
14974 Py_INCREF(Py_None
); resultobj
= Py_None
;
14981 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14982 PyObject
*resultobj
;
14983 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
14985 PyObject
* obj0
= 0 ;
14986 char *kwnames
[] = {
14987 (char *) "self", NULL
14990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
14991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
14992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14996 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
14997 result
= (wxCursor
*) &_result_ref
;
15000 wxPyEndAllowThreads(__tstate
);
15001 if (PyErr_Occurred()) SWIG_fail
;
15004 wxCursor
* resultptr
= new wxCursor(*result
);
15005 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15013 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15014 PyObject
*resultobj
;
15015 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15017 PyObject
* obj0
= 0 ;
15018 char *kwnames
[] = {
15019 (char *) "self", NULL
15022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15027 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15029 wxPyEndAllowThreads(__tstate
);
15030 if (PyErr_Occurred()) SWIG_fail
;
15032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15039 static PyObject
* SetCursorEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15041 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15042 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15044 return Py_BuildValue((char *)"");
15046 static PyObject
*_wrap_new_KeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15047 PyObject
*resultobj
;
15048 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15049 wxKeyEvent
*result
;
15050 PyObject
* obj0
= 0 ;
15051 char *kwnames
[] = {
15052 (char *) "keyType", NULL
15055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15057 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15058 if (PyErr_Occurred()) SWIG_fail
;
15061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15062 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15064 wxPyEndAllowThreads(__tstate
);
15065 if (PyErr_Occurred()) SWIG_fail
;
15067 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15074 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15075 PyObject
*resultobj
;
15076 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15078 PyObject
* obj0
= 0 ;
15079 char *kwnames
[] = {
15080 (char *) "self", NULL
15083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15088 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15090 wxPyEndAllowThreads(__tstate
);
15091 if (PyErr_Occurred()) SWIG_fail
;
15093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15100 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15101 PyObject
*resultobj
;
15102 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15104 PyObject
* obj0
= 0 ;
15105 char *kwnames
[] = {
15106 (char *) "self", NULL
15109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15114 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15116 wxPyEndAllowThreads(__tstate
);
15117 if (PyErr_Occurred()) SWIG_fail
;
15119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15126 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15127 PyObject
*resultobj
;
15128 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15130 PyObject
* obj0
= 0 ;
15131 char *kwnames
[] = {
15132 (char *) "self", NULL
15135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15140 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15142 wxPyEndAllowThreads(__tstate
);
15143 if (PyErr_Occurred()) SWIG_fail
;
15145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15152 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15153 PyObject
*resultobj
;
15154 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15156 PyObject
* obj0
= 0 ;
15157 char *kwnames
[] = {
15158 (char *) "self", NULL
15161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15166 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15168 wxPyEndAllowThreads(__tstate
);
15169 if (PyErr_Occurred()) SWIG_fail
;
15171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15178 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15179 PyObject
*resultobj
;
15180 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15182 PyObject
* obj0
= 0 ;
15183 char *kwnames
[] = {
15184 (char *) "self", NULL
15187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
15188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15192 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
15194 wxPyEndAllowThreads(__tstate
);
15195 if (PyErr_Occurred()) SWIG_fail
;
15197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15204 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15205 PyObject
*resultobj
;
15206 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15208 PyObject
* obj0
= 0 ;
15209 char *kwnames
[] = {
15210 (char *) "self", NULL
15213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
15214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15218 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
15220 wxPyEndAllowThreads(__tstate
);
15221 if (PyErr_Occurred()) SWIG_fail
;
15223 resultobj
= SWIG_FromInt((int)result
);
15230 static PyObject
*_wrap_KeyEvent_GetUniChar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15231 PyObject
*resultobj
;
15232 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15234 PyObject
* obj0
= 0 ;
15235 char *kwnames
[] = {
15236 (char *) "self", NULL
15239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUniChar",kwnames
,&obj0
)) goto fail
;
15240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15244 result
= (int)wxKeyEvent_GetUniChar(arg1
);
15246 wxPyEndAllowThreads(__tstate
);
15247 if (PyErr_Occurred()) SWIG_fail
;
15249 resultobj
= SWIG_FromInt((int)result
);
15256 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15257 PyObject
*resultobj
;
15258 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15259 unsigned int result
;
15260 PyObject
* obj0
= 0 ;
15261 char *kwnames
[] = {
15262 (char *) "self", NULL
15265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
15266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15270 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15272 wxPyEndAllowThreads(__tstate
);
15273 if (PyErr_Occurred()) SWIG_fail
;
15275 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15282 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15283 PyObject
*resultobj
;
15284 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15285 unsigned int result
;
15286 PyObject
* obj0
= 0 ;
15287 char *kwnames
[] = {
15288 (char *) "self", NULL
15291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
15292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15296 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
15298 wxPyEndAllowThreads(__tstate
);
15299 if (PyErr_Occurred()) SWIG_fail
;
15301 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15308 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15309 PyObject
*resultobj
;
15310 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15312 PyObject
* obj0
= 0 ;
15313 char *kwnames
[] = {
15314 (char *) "self", NULL
15317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15322 result
= (arg1
)->GetPosition();
15324 wxPyEndAllowThreads(__tstate
);
15325 if (PyErr_Occurred()) SWIG_fail
;
15328 wxPoint
* resultptr
;
15329 resultptr
= new wxPoint((wxPoint
&) result
);
15330 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15338 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15339 PyObject
*resultobj
;
15340 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15341 long *arg2
= (long *) 0 ;
15342 long *arg3
= (long *) 0 ;
15345 PyObject
* obj0
= 0 ;
15346 char *kwnames
[] = {
15347 (char *) "self", NULL
15352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
15353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15357 (arg1
)->GetPosition(arg2
,arg3
);
15359 wxPyEndAllowThreads(__tstate
);
15360 if (PyErr_Occurred()) SWIG_fail
;
15362 Py_INCREF(Py_None
); resultobj
= Py_None
;
15364 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15365 resultobj
= t_output_helper(resultobj
,o
);
15368 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15369 resultobj
= t_output_helper(resultobj
,o
);
15377 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15378 PyObject
*resultobj
;
15379 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15381 PyObject
* obj0
= 0 ;
15382 char *kwnames
[] = {
15383 (char *) "self", NULL
15386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
15387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15391 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
15393 wxPyEndAllowThreads(__tstate
);
15394 if (PyErr_Occurred()) SWIG_fail
;
15396 resultobj
= SWIG_FromInt((int)result
);
15403 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15404 PyObject
*resultobj
;
15405 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15407 PyObject
* obj0
= 0 ;
15408 char *kwnames
[] = {
15409 (char *) "self", NULL
15412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
15413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15417 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
15419 wxPyEndAllowThreads(__tstate
);
15420 if (PyErr_Occurred()) SWIG_fail
;
15422 resultobj
= SWIG_FromInt((int)result
);
15429 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15430 PyObject
*resultobj
;
15431 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15433 PyObject
* obj0
= 0 ;
15434 PyObject
* obj1
= 0 ;
15435 char *kwnames
[] = {
15436 (char *) "self",(char *) "m_x", NULL
15439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15442 arg2
= (int) SWIG_AsInt(obj1
);
15443 if (PyErr_Occurred()) SWIG_fail
;
15444 if (arg1
) (arg1
)->m_x
= arg2
;
15446 Py_INCREF(Py_None
); resultobj
= Py_None
;
15453 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15454 PyObject
*resultobj
;
15455 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15457 PyObject
* obj0
= 0 ;
15458 char *kwnames
[] = {
15459 (char *) "self", NULL
15462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15465 result
= (int) ((arg1
)->m_x
);
15467 resultobj
= SWIG_FromInt((int)result
);
15474 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15475 PyObject
*resultobj
;
15476 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15478 PyObject
* obj0
= 0 ;
15479 PyObject
* obj1
= 0 ;
15480 char *kwnames
[] = {
15481 (char *) "self",(char *) "m_y", NULL
15484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15487 arg2
= (int) SWIG_AsInt(obj1
);
15488 if (PyErr_Occurred()) SWIG_fail
;
15489 if (arg1
) (arg1
)->m_y
= arg2
;
15491 Py_INCREF(Py_None
); resultobj
= Py_None
;
15498 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15499 PyObject
*resultobj
;
15500 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15502 PyObject
* obj0
= 0 ;
15503 char *kwnames
[] = {
15504 (char *) "self", NULL
15507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15510 result
= (int) ((arg1
)->m_y
);
15512 resultobj
= SWIG_FromInt((int)result
);
15519 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15520 PyObject
*resultobj
;
15521 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15523 PyObject
* obj0
= 0 ;
15524 PyObject
* obj1
= 0 ;
15525 char *kwnames
[] = {
15526 (char *) "self",(char *) "m_keyCode", NULL
15529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15532 arg2
= (long) SWIG_AsLong(obj1
);
15533 if (PyErr_Occurred()) SWIG_fail
;
15534 if (arg1
) (arg1
)->m_keyCode
= arg2
;
15536 Py_INCREF(Py_None
); resultobj
= Py_None
;
15543 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15544 PyObject
*resultobj
;
15545 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15547 PyObject
* obj0
= 0 ;
15548 char *kwnames
[] = {
15549 (char *) "self", NULL
15552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
15553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15555 result
= (long) ((arg1
)->m_keyCode
);
15557 resultobj
= SWIG_FromLong((long)result
);
15564 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15565 PyObject
*resultobj
;
15566 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15568 PyObject
* obj0
= 0 ;
15569 PyObject
* obj1
= 0 ;
15570 char *kwnames
[] = {
15571 (char *) "self",(char *) "m_controlDown", NULL
15574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15577 arg2
= (bool) SWIG_AsBool(obj1
);
15578 if (PyErr_Occurred()) SWIG_fail
;
15579 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15581 Py_INCREF(Py_None
); resultobj
= Py_None
;
15588 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15589 PyObject
*resultobj
;
15590 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15592 PyObject
* obj0
= 0 ;
15593 char *kwnames
[] = {
15594 (char *) "self", NULL
15597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15600 result
= (bool) ((arg1
)->m_controlDown
);
15602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15609 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15610 PyObject
*resultobj
;
15611 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15613 PyObject
* obj0
= 0 ;
15614 PyObject
* obj1
= 0 ;
15615 char *kwnames
[] = {
15616 (char *) "self",(char *) "m_shiftDown", NULL
15619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15622 arg2
= (bool) SWIG_AsBool(obj1
);
15623 if (PyErr_Occurred()) SWIG_fail
;
15624 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15626 Py_INCREF(Py_None
); resultobj
= Py_None
;
15633 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15634 PyObject
*resultobj
;
15635 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15637 PyObject
* obj0
= 0 ;
15638 char *kwnames
[] = {
15639 (char *) "self", NULL
15642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15645 result
= (bool) ((arg1
)->m_shiftDown
);
15647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15654 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15655 PyObject
*resultobj
;
15656 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15658 PyObject
* obj0
= 0 ;
15659 PyObject
* obj1
= 0 ;
15660 char *kwnames
[] = {
15661 (char *) "self",(char *) "m_altDown", NULL
15664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15667 arg2
= (bool) SWIG_AsBool(obj1
);
15668 if (PyErr_Occurred()) SWIG_fail
;
15669 if (arg1
) (arg1
)->m_altDown
= arg2
;
15671 Py_INCREF(Py_None
); resultobj
= Py_None
;
15678 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15679 PyObject
*resultobj
;
15680 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15682 PyObject
* obj0
= 0 ;
15683 char *kwnames
[] = {
15684 (char *) "self", NULL
15687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15690 result
= (bool) ((arg1
)->m_altDown
);
15692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15699 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15700 PyObject
*resultobj
;
15701 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15703 PyObject
* obj0
= 0 ;
15704 PyObject
* obj1
= 0 ;
15705 char *kwnames
[] = {
15706 (char *) "self",(char *) "m_metaDown", NULL
15709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15712 arg2
= (bool) SWIG_AsBool(obj1
);
15713 if (PyErr_Occurred()) SWIG_fail
;
15714 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15716 Py_INCREF(Py_None
); resultobj
= Py_None
;
15723 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15724 PyObject
*resultobj
;
15725 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15727 PyObject
* obj0
= 0 ;
15728 char *kwnames
[] = {
15729 (char *) "self", NULL
15732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15735 result
= (bool) ((arg1
)->m_metaDown
);
15737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15744 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15745 PyObject
*resultobj
;
15746 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15748 PyObject
* obj0
= 0 ;
15749 PyObject
* obj1
= 0 ;
15750 char *kwnames
[] = {
15751 (char *) "self",(char *) "m_scanCode", NULL
15754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15757 arg2
= (bool) SWIG_AsBool(obj1
);
15758 if (PyErr_Occurred()) SWIG_fail
;
15759 if (arg1
) (arg1
)->m_scanCode
= arg2
;
15761 Py_INCREF(Py_None
); resultobj
= Py_None
;
15768 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15769 PyObject
*resultobj
;
15770 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15772 PyObject
* obj0
= 0 ;
15773 char *kwnames
[] = {
15774 (char *) "self", NULL
15777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
15778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15780 result
= (bool) ((arg1
)->m_scanCode
);
15782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15789 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15790 PyObject
*resultobj
;
15791 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15792 unsigned int arg2
;
15793 PyObject
* obj0
= 0 ;
15794 PyObject
* obj1
= 0 ;
15795 char *kwnames
[] = {
15796 (char *) "self",(char *) "m_rawCode", NULL
15799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15802 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
15803 if (PyErr_Occurred()) SWIG_fail
;
15804 if (arg1
) (arg1
)->m_rawCode
= arg2
;
15806 Py_INCREF(Py_None
); resultobj
= Py_None
;
15813 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15814 PyObject
*resultobj
;
15815 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15816 unsigned int result
;
15817 PyObject
* obj0
= 0 ;
15818 char *kwnames
[] = {
15819 (char *) "self", NULL
15822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
15823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15825 result
= (unsigned int) ((arg1
)->m_rawCode
);
15827 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15834 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15835 PyObject
*resultobj
;
15836 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15837 unsigned int arg2
;
15838 PyObject
* obj0
= 0 ;
15839 PyObject
* obj1
= 0 ;
15840 char *kwnames
[] = {
15841 (char *) "self",(char *) "m_rawFlags", NULL
15844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15847 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
15848 if (PyErr_Occurred()) SWIG_fail
;
15849 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
15851 Py_INCREF(Py_None
); resultobj
= Py_None
;
15858 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15859 PyObject
*resultobj
;
15860 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15861 unsigned int result
;
15862 PyObject
* obj0
= 0 ;
15863 char *kwnames
[] = {
15864 (char *) "self", NULL
15867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
15868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15870 result
= (unsigned int) ((arg1
)->m_rawFlags
);
15872 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15879 static PyObject
* KeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15881 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15882 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
15884 return Py_BuildValue((char *)"");
15886 static PyObject
*_wrap_new_SizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15887 PyObject
*resultobj
;
15888 wxSize
const &arg1_defvalue
= wxDefaultSize
;
15889 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
15890 int arg2
= (int) 0 ;
15891 wxSizeEvent
*result
;
15893 PyObject
* obj0
= 0 ;
15894 PyObject
* obj1
= 0 ;
15895 char *kwnames
[] = {
15896 (char *) "sz",(char *) "winid", NULL
15899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15903 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
15907 arg2
= (int) SWIG_AsInt(obj1
);
15908 if (PyErr_Occurred()) SWIG_fail
;
15911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15912 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
15914 wxPyEndAllowThreads(__tstate
);
15915 if (PyErr_Occurred()) SWIG_fail
;
15917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
15924 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15925 PyObject
*resultobj
;
15926 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15928 PyObject
* obj0
= 0 ;
15929 char *kwnames
[] = {
15930 (char *) "self", NULL
15933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
15934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
15935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15938 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
15940 wxPyEndAllowThreads(__tstate
);
15941 if (PyErr_Occurred()) SWIG_fail
;
15944 wxSize
* resultptr
;
15945 resultptr
= new wxSize((wxSize
&) result
);
15946 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15954 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15955 PyObject
*resultobj
;
15956 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15958 PyObject
* obj0
= 0 ;
15959 char *kwnames
[] = {
15960 (char *) "self", NULL
15963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
15964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
15965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15968 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
15970 wxPyEndAllowThreads(__tstate
);
15971 if (PyErr_Occurred()) SWIG_fail
;
15974 wxRect
* resultptr
;
15975 resultptr
= new wxRect((wxRect
&) result
);
15976 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
15984 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15985 PyObject
*resultobj
;
15986 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15989 PyObject
* obj0
= 0 ;
15990 PyObject
* obj1
= 0 ;
15991 char *kwnames
[] = {
15992 (char *) "self",(char *) "rect", NULL
15995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
15996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
15997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15998 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
15999 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16003 (arg1
)->SetRect(arg2
);
16005 wxPyEndAllowThreads(__tstate
);
16006 if (PyErr_Occurred()) SWIG_fail
;
16008 Py_INCREF(Py_None
); resultobj
= Py_None
;
16015 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16016 PyObject
*resultobj
;
16017 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16020 PyObject
* obj0
= 0 ;
16021 PyObject
* obj1
= 0 ;
16022 char *kwnames
[] = {
16023 (char *) "self",(char *) "size", NULL
16026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16029 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16030 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16034 wxSizeEvent_SetSize(arg1
,arg2
);
16036 wxPyEndAllowThreads(__tstate
);
16037 if (PyErr_Occurred()) SWIG_fail
;
16039 Py_INCREF(Py_None
); resultobj
= Py_None
;
16046 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16047 PyObject
*resultobj
;
16048 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16049 wxSize
*arg2
= (wxSize
*) 0 ;
16050 PyObject
* obj0
= 0 ;
16051 PyObject
* obj1
= 0 ;
16052 char *kwnames
[] = {
16053 (char *) "self",(char *) "m_size", NULL
16056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16059 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16061 if (arg1
) (arg1
)->m_size
= *arg2
;
16063 Py_INCREF(Py_None
); resultobj
= Py_None
;
16070 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16071 PyObject
*resultobj
;
16072 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16074 PyObject
* obj0
= 0 ;
16075 char *kwnames
[] = {
16076 (char *) "self", NULL
16079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16082 result
= (wxSize
*)& ((arg1
)->m_size
);
16084 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16091 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16092 PyObject
*resultobj
;
16093 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16094 wxRect
*arg2
= (wxRect
*) 0 ;
16095 PyObject
* obj0
= 0 ;
16096 PyObject
* obj1
= 0 ;
16097 char *kwnames
[] = {
16098 (char *) "self",(char *) "m_rect", NULL
16101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16104 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16106 if (arg1
) (arg1
)->m_rect
= *arg2
;
16108 Py_INCREF(Py_None
); resultobj
= Py_None
;
16115 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16116 PyObject
*resultobj
;
16117 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16119 PyObject
* obj0
= 0 ;
16120 char *kwnames
[] = {
16121 (char *) "self", NULL
16124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16127 result
= (wxRect
*)& ((arg1
)->m_rect
);
16129 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16136 static PyObject
* SizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16138 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16139 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16141 return Py_BuildValue((char *)"");
16143 static PyObject
*_wrap_new_MoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16144 PyObject
*resultobj
;
16145 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16146 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16147 int arg2
= (int) 0 ;
16148 wxMoveEvent
*result
;
16150 PyObject
* obj0
= 0 ;
16151 PyObject
* obj1
= 0 ;
16152 char *kwnames
[] = {
16153 (char *) "pos",(char *) "winid", NULL
16156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16160 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
16164 arg2
= (int) SWIG_AsInt(obj1
);
16165 if (PyErr_Occurred()) SWIG_fail
;
16168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16169 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
16171 wxPyEndAllowThreads(__tstate
);
16172 if (PyErr_Occurred()) SWIG_fail
;
16174 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
16181 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16182 PyObject
*resultobj
;
16183 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16185 PyObject
* obj0
= 0 ;
16186 char *kwnames
[] = {
16187 (char *) "self", NULL
16190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16195 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
16197 wxPyEndAllowThreads(__tstate
);
16198 if (PyErr_Occurred()) SWIG_fail
;
16201 wxPoint
* resultptr
;
16202 resultptr
= new wxPoint((wxPoint
&) result
);
16203 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16211 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16212 PyObject
*resultobj
;
16213 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16215 PyObject
* obj0
= 0 ;
16216 char *kwnames
[] = {
16217 (char *) "self", NULL
16220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16225 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
16227 wxPyEndAllowThreads(__tstate
);
16228 if (PyErr_Occurred()) SWIG_fail
;
16231 wxRect
* resultptr
;
16232 resultptr
= new wxRect((wxRect
&) result
);
16233 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16241 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16242 PyObject
*resultobj
;
16243 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16246 PyObject
* obj0
= 0 ;
16247 PyObject
* obj1
= 0 ;
16248 char *kwnames
[] = {
16249 (char *) "self",(char *) "rect", NULL
16252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16255 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16256 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16260 (arg1
)->SetRect(arg2
);
16262 wxPyEndAllowThreads(__tstate
);
16263 if (PyErr_Occurred()) SWIG_fail
;
16265 Py_INCREF(Py_None
); resultobj
= Py_None
;
16272 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16273 PyObject
*resultobj
;
16274 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16277 PyObject
* obj0
= 0 ;
16278 PyObject
* obj1
= 0 ;
16279 char *kwnames
[] = {
16280 (char *) "self",(char *) "pos", NULL
16283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16286 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
16287 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16291 wxMoveEvent_SetPosition(arg1
,arg2
);
16293 wxPyEndAllowThreads(__tstate
);
16294 if (PyErr_Occurred()) SWIG_fail
;
16296 Py_INCREF(Py_None
); resultobj
= Py_None
;
16303 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16304 PyObject
*resultobj
;
16305 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16306 wxPoint
*arg2
= (wxPoint
*) 0 ;
16307 PyObject
* obj0
= 0 ;
16308 PyObject
* obj1
= 0 ;
16309 char *kwnames
[] = {
16310 (char *) "self",(char *) "m_pos", NULL
16313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16316 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
16317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16318 if (arg1
) (arg1
)->m_pos
= *arg2
;
16320 Py_INCREF(Py_None
); resultobj
= Py_None
;
16327 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16328 PyObject
*resultobj
;
16329 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16331 PyObject
* obj0
= 0 ;
16332 char *kwnames
[] = {
16333 (char *) "self", NULL
16336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
16337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16339 result
= (wxPoint
*)& ((arg1
)->m_pos
);
16341 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
16348 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16349 PyObject
*resultobj
;
16350 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16351 wxRect
*arg2
= (wxRect
*) 0 ;
16352 PyObject
* obj0
= 0 ;
16353 PyObject
* obj1
= 0 ;
16354 char *kwnames
[] = {
16355 (char *) "self",(char *) "m_rect", NULL
16358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16361 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16363 if (arg1
) (arg1
)->m_rect
= *arg2
;
16365 Py_INCREF(Py_None
); resultobj
= Py_None
;
16372 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16373 PyObject
*resultobj
;
16374 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16376 PyObject
* obj0
= 0 ;
16377 char *kwnames
[] = {
16378 (char *) "self", NULL
16381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16384 result
= (wxRect
*)& ((arg1
)->m_rect
);
16386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16393 static PyObject
* MoveEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16395 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16396 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
16398 return Py_BuildValue((char *)"");
16400 static PyObject
*_wrap_new_PaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16401 PyObject
*resultobj
;
16402 int arg1
= (int) 0 ;
16403 wxPaintEvent
*result
;
16404 PyObject
* obj0
= 0 ;
16405 char *kwnames
[] = {
16406 (char *) "Id", NULL
16409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
16411 arg1
= (int) SWIG_AsInt(obj0
);
16412 if (PyErr_Occurred()) SWIG_fail
;
16415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16416 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
16418 wxPyEndAllowThreads(__tstate
);
16419 if (PyErr_Occurred()) SWIG_fail
;
16421 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
16428 static PyObject
* PaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16430 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16431 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
16433 return Py_BuildValue((char *)"");
16435 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16436 PyObject
*resultobj
;
16437 int arg1
= (int) 0 ;
16438 wxNcPaintEvent
*result
;
16439 PyObject
* obj0
= 0 ;
16440 char *kwnames
[] = {
16441 (char *) "winid", NULL
16444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
16446 arg1
= (int) SWIG_AsInt(obj0
);
16447 if (PyErr_Occurred()) SWIG_fail
;
16450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16451 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
16453 wxPyEndAllowThreads(__tstate
);
16454 if (PyErr_Occurred()) SWIG_fail
;
16456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
16463 static PyObject
* NcPaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16465 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16466 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
16468 return Py_BuildValue((char *)"");
16470 static PyObject
*_wrap_new_EraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16471 PyObject
*resultobj
;
16472 int arg1
= (int) 0 ;
16473 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
16474 wxEraseEvent
*result
;
16475 PyObject
* obj0
= 0 ;
16476 PyObject
* obj1
= 0 ;
16477 char *kwnames
[] = {
16478 (char *) "Id",(char *) "dc", NULL
16481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16483 arg1
= (int) SWIG_AsInt(obj0
);
16484 if (PyErr_Occurred()) SWIG_fail
;
16487 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16492 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
16494 wxPyEndAllowThreads(__tstate
);
16495 if (PyErr_Occurred()) SWIG_fail
;
16497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
16504 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16505 PyObject
*resultobj
;
16506 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
16508 PyObject
* obj0
= 0 ;
16509 char *kwnames
[] = {
16510 (char *) "self", NULL
16513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
16514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
16515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16518 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
16520 wxPyEndAllowThreads(__tstate
);
16521 if (PyErr_Occurred()) SWIG_fail
;
16524 resultobj
= wxPyMake_wxObject(result
);
16532 static PyObject
* EraseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16534 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16535 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
16537 return Py_BuildValue((char *)"");
16539 static PyObject
*_wrap_new_FocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16540 PyObject
*resultobj
;
16541 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16542 int arg2
= (int) 0 ;
16543 wxFocusEvent
*result
;
16544 PyObject
* obj0
= 0 ;
16545 PyObject
* obj1
= 0 ;
16546 char *kwnames
[] = {
16547 (char *) "type",(char *) "winid", NULL
16550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16552 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16553 if (PyErr_Occurred()) SWIG_fail
;
16556 arg2
= (int) SWIG_AsInt(obj1
);
16557 if (PyErr_Occurred()) SWIG_fail
;
16560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16561 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
16563 wxPyEndAllowThreads(__tstate
);
16564 if (PyErr_Occurred()) SWIG_fail
;
16566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
16573 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16574 PyObject
*resultobj
;
16575 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16577 PyObject
* obj0
= 0 ;
16578 char *kwnames
[] = {
16579 (char *) "self", NULL
16582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16587 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
16589 wxPyEndAllowThreads(__tstate
);
16590 if (PyErr_Occurred()) SWIG_fail
;
16593 resultobj
= wxPyMake_wxObject(result
);
16601 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16602 PyObject
*resultobj
;
16603 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16604 wxWindow
*arg2
= (wxWindow
*) 0 ;
16605 PyObject
* obj0
= 0 ;
16606 PyObject
* obj1
= 0 ;
16607 char *kwnames
[] = {
16608 (char *) "self",(char *) "win", NULL
16611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
16612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16614 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16618 (arg1
)->SetWindow(arg2
);
16620 wxPyEndAllowThreads(__tstate
);
16621 if (PyErr_Occurred()) SWIG_fail
;
16623 Py_INCREF(Py_None
); resultobj
= Py_None
;
16630 static PyObject
* FocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16632 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16633 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
16635 return Py_BuildValue((char *)"");
16637 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16638 PyObject
*resultobj
;
16639 wxWindow
*arg1
= (wxWindow
*) NULL
;
16640 wxChildFocusEvent
*result
;
16641 PyObject
* obj0
= 0 ;
16642 char *kwnames
[] = {
16643 (char *) "win", NULL
16646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
16648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16653 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
16655 wxPyEndAllowThreads(__tstate
);
16656 if (PyErr_Occurred()) SWIG_fail
;
16658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
16665 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16666 PyObject
*resultobj
;
16667 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
16669 PyObject
* obj0
= 0 ;
16670 char *kwnames
[] = {
16671 (char *) "self", NULL
16674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
16676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16679 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
16681 wxPyEndAllowThreads(__tstate
);
16682 if (PyErr_Occurred()) SWIG_fail
;
16685 resultobj
= wxPyMake_wxObject(result
);
16693 static PyObject
* ChildFocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16695 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16696 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
16698 return Py_BuildValue((char *)"");
16700 static PyObject
*_wrap_new_ActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16701 PyObject
*resultobj
;
16702 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16703 bool arg2
= (bool) True
;
16704 int arg3
= (int) 0 ;
16705 wxActivateEvent
*result
;
16706 PyObject
* obj0
= 0 ;
16707 PyObject
* obj1
= 0 ;
16708 PyObject
* obj2
= 0 ;
16709 char *kwnames
[] = {
16710 (char *) "type",(char *) "active",(char *) "Id", NULL
16713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16715 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16716 if (PyErr_Occurred()) SWIG_fail
;
16719 arg2
= (bool) SWIG_AsBool(obj1
);
16720 if (PyErr_Occurred()) SWIG_fail
;
16723 arg3
= (int) SWIG_AsInt(obj2
);
16724 if (PyErr_Occurred()) SWIG_fail
;
16727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16728 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
16730 wxPyEndAllowThreads(__tstate
);
16731 if (PyErr_Occurred()) SWIG_fail
;
16733 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
16740 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16741 PyObject
*resultobj
;
16742 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
16744 PyObject
* obj0
= 0 ;
16745 char *kwnames
[] = {
16746 (char *) "self", NULL
16749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
16750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
16751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16754 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
16756 wxPyEndAllowThreads(__tstate
);
16757 if (PyErr_Occurred()) SWIG_fail
;
16759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16766 static PyObject
* ActivateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16768 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16769 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
16771 return Py_BuildValue((char *)"");
16773 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16774 PyObject
*resultobj
;
16775 int arg1
= (int) 0 ;
16776 wxInitDialogEvent
*result
;
16777 PyObject
* obj0
= 0 ;
16778 char *kwnames
[] = {
16779 (char *) "Id", NULL
16782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
16784 arg1
= (int) SWIG_AsInt(obj0
);
16785 if (PyErr_Occurred()) SWIG_fail
;
16788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16789 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
16791 wxPyEndAllowThreads(__tstate
);
16792 if (PyErr_Occurred()) SWIG_fail
;
16794 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
16801 static PyObject
* InitDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16803 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16804 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
16806 return Py_BuildValue((char *)"");
16808 static PyObject
*_wrap_new_MenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16809 PyObject
*resultobj
;
16810 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16811 int arg2
= (int) 0 ;
16812 wxMenu
*arg3
= (wxMenu
*) NULL
;
16813 wxMenuEvent
*result
;
16814 PyObject
* obj0
= 0 ;
16815 PyObject
* obj1
= 0 ;
16816 PyObject
* obj2
= 0 ;
16817 char *kwnames
[] = {
16818 (char *) "type",(char *) "winid",(char *) "menu", NULL
16821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16823 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16824 if (PyErr_Occurred()) SWIG_fail
;
16827 arg2
= (int) SWIG_AsInt(obj1
);
16828 if (PyErr_Occurred()) SWIG_fail
;
16831 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
16832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16836 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
16838 wxPyEndAllowThreads(__tstate
);
16839 if (PyErr_Occurred()) SWIG_fail
;
16841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
16848 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16849 PyObject
*resultobj
;
16850 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
16852 PyObject
* obj0
= 0 ;
16853 char *kwnames
[] = {
16854 (char *) "self", NULL
16857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
16858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
16859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16862 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
16864 wxPyEndAllowThreads(__tstate
);
16865 if (PyErr_Occurred()) SWIG_fail
;
16867 resultobj
= SWIG_FromInt((int)result
);
16874 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16875 PyObject
*resultobj
;
16876 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
16878 PyObject
* obj0
= 0 ;
16879 char *kwnames
[] = {
16880 (char *) "self", NULL
16883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
16884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
16885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16888 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
16890 wxPyEndAllowThreads(__tstate
);
16891 if (PyErr_Occurred()) SWIG_fail
;
16893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16900 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16901 PyObject
*resultobj
;
16902 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
16904 PyObject
* obj0
= 0 ;
16905 char *kwnames
[] = {
16906 (char *) "self", NULL
16909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
16910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
16911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16914 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
16916 wxPyEndAllowThreads(__tstate
);
16917 if (PyErr_Occurred()) SWIG_fail
;
16920 resultobj
= wxPyMake_wxObject(result
);
16928 static PyObject
* MenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16930 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16931 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
16933 return Py_BuildValue((char *)"");
16935 static PyObject
*_wrap_new_CloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16936 PyObject
*resultobj
;
16937 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16938 int arg2
= (int) 0 ;
16939 wxCloseEvent
*result
;
16940 PyObject
* obj0
= 0 ;
16941 PyObject
* obj1
= 0 ;
16942 char *kwnames
[] = {
16943 (char *) "type",(char *) "winid", NULL
16946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16948 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16949 if (PyErr_Occurred()) SWIG_fail
;
16952 arg2
= (int) SWIG_AsInt(obj1
);
16953 if (PyErr_Occurred()) SWIG_fail
;
16956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16957 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
16959 wxPyEndAllowThreads(__tstate
);
16960 if (PyErr_Occurred()) SWIG_fail
;
16962 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
16969 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16970 PyObject
*resultobj
;
16971 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
16973 PyObject
* obj0
= 0 ;
16974 PyObject
* obj1
= 0 ;
16975 char *kwnames
[] = {
16976 (char *) "self",(char *) "logOff", NULL
16979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
16980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
16981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16982 arg2
= (bool) SWIG_AsBool(obj1
);
16983 if (PyErr_Occurred()) SWIG_fail
;
16985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16986 (arg1
)->SetLoggingOff(arg2
);
16988 wxPyEndAllowThreads(__tstate
);
16989 if (PyErr_Occurred()) SWIG_fail
;
16991 Py_INCREF(Py_None
); resultobj
= Py_None
;
16998 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16999 PyObject
*resultobj
;
17000 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17002 PyObject
* obj0
= 0 ;
17003 char *kwnames
[] = {
17004 (char *) "self", NULL
17007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17012 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17014 wxPyEndAllowThreads(__tstate
);
17015 if (PyErr_Occurred()) SWIG_fail
;
17017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17024 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17025 PyObject
*resultobj
;
17026 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17027 bool arg2
= (bool) True
;
17028 PyObject
* obj0
= 0 ;
17029 PyObject
* obj1
= 0 ;
17030 char *kwnames
[] = {
17031 (char *) "self",(char *) "veto", NULL
17034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17038 arg2
= (bool) SWIG_AsBool(obj1
);
17039 if (PyErr_Occurred()) SWIG_fail
;
17042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17043 (arg1
)->Veto(arg2
);
17045 wxPyEndAllowThreads(__tstate
);
17046 if (PyErr_Occurred()) SWIG_fail
;
17048 Py_INCREF(Py_None
); resultobj
= Py_None
;
17055 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17056 PyObject
*resultobj
;
17057 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17059 PyObject
* obj0
= 0 ;
17060 PyObject
* obj1
= 0 ;
17061 char *kwnames
[] = {
17062 (char *) "self",(char *) "canVeto", NULL
17065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17068 arg2
= (bool) SWIG_AsBool(obj1
);
17069 if (PyErr_Occurred()) SWIG_fail
;
17071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17072 (arg1
)->SetCanVeto(arg2
);
17074 wxPyEndAllowThreads(__tstate
);
17075 if (PyErr_Occurred()) SWIG_fail
;
17077 Py_INCREF(Py_None
); resultobj
= Py_None
;
17084 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17085 PyObject
*resultobj
;
17086 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17088 PyObject
* obj0
= 0 ;
17089 char *kwnames
[] = {
17090 (char *) "self", NULL
17093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
17094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17098 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
17100 wxPyEndAllowThreads(__tstate
);
17101 if (PyErr_Occurred()) SWIG_fail
;
17103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17110 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17111 PyObject
*resultobj
;
17112 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17114 PyObject
* obj0
= 0 ;
17115 char *kwnames
[] = {
17116 (char *) "self", NULL
17119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17124 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17126 wxPyEndAllowThreads(__tstate
);
17127 if (PyErr_Occurred()) SWIG_fail
;
17129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17136 static PyObject
* CloseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17138 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17139 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17141 return Py_BuildValue((char *)"");
17143 static PyObject
*_wrap_new_ShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17144 PyObject
*resultobj
;
17145 int arg1
= (int) 0 ;
17146 bool arg2
= (bool) False
;
17147 wxShowEvent
*result
;
17148 PyObject
* obj0
= 0 ;
17149 PyObject
* obj1
= 0 ;
17150 char *kwnames
[] = {
17151 (char *) "winid",(char *) "show", NULL
17154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17156 arg1
= (int) SWIG_AsInt(obj0
);
17157 if (PyErr_Occurred()) SWIG_fail
;
17160 arg2
= (bool) SWIG_AsBool(obj1
);
17161 if (PyErr_Occurred()) SWIG_fail
;
17164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17165 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
17167 wxPyEndAllowThreads(__tstate
);
17168 if (PyErr_Occurred()) SWIG_fail
;
17170 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
17177 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17178 PyObject
*resultobj
;
17179 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17181 PyObject
* obj0
= 0 ;
17182 PyObject
* obj1
= 0 ;
17183 char *kwnames
[] = {
17184 (char *) "self",(char *) "show", NULL
17187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
17188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17190 arg2
= (bool) SWIG_AsBool(obj1
);
17191 if (PyErr_Occurred()) SWIG_fail
;
17193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17194 (arg1
)->SetShow(arg2
);
17196 wxPyEndAllowThreads(__tstate
);
17197 if (PyErr_Occurred()) SWIG_fail
;
17199 Py_INCREF(Py_None
); resultobj
= Py_None
;
17206 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17207 PyObject
*resultobj
;
17208 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17210 PyObject
* obj0
= 0 ;
17211 char *kwnames
[] = {
17212 (char *) "self", NULL
17215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
17216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17220 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
17222 wxPyEndAllowThreads(__tstate
);
17223 if (PyErr_Occurred()) SWIG_fail
;
17225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17232 static PyObject
* ShowEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17234 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17235 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
17237 return Py_BuildValue((char *)"");
17239 static PyObject
*_wrap_new_IconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17240 PyObject
*resultobj
;
17241 int arg1
= (int) 0 ;
17242 bool arg2
= (bool) True
;
17243 wxIconizeEvent
*result
;
17244 PyObject
* obj0
= 0 ;
17245 PyObject
* obj1
= 0 ;
17246 char *kwnames
[] = {
17247 (char *) "id",(char *) "iconized", NULL
17250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17252 arg1
= (int) SWIG_AsInt(obj0
);
17253 if (PyErr_Occurred()) SWIG_fail
;
17256 arg2
= (bool) SWIG_AsBool(obj1
);
17257 if (PyErr_Occurred()) SWIG_fail
;
17260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17261 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
17263 wxPyEndAllowThreads(__tstate
);
17264 if (PyErr_Occurred()) SWIG_fail
;
17266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
17273 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17274 PyObject
*resultobj
;
17275 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
17277 PyObject
* obj0
= 0 ;
17278 char *kwnames
[] = {
17279 (char *) "self", NULL
17282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
17283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
17284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17287 result
= (bool)(arg1
)->Iconized();
17289 wxPyEndAllowThreads(__tstate
);
17290 if (PyErr_Occurred()) SWIG_fail
;
17292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17299 static PyObject
* IconizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17301 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17302 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
17304 return Py_BuildValue((char *)"");
17306 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17307 PyObject
*resultobj
;
17308 int arg1
= (int) 0 ;
17309 wxMaximizeEvent
*result
;
17310 PyObject
* obj0
= 0 ;
17311 char *kwnames
[] = {
17312 (char *) "id", NULL
17315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
17317 arg1
= (int) SWIG_AsInt(obj0
);
17318 if (PyErr_Occurred()) SWIG_fail
;
17321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17322 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
17324 wxPyEndAllowThreads(__tstate
);
17325 if (PyErr_Occurred()) SWIG_fail
;
17327 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
17334 static PyObject
* MaximizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17336 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17337 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
17339 return Py_BuildValue((char *)"");
17341 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17342 PyObject
*resultobj
;
17343 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17345 PyObject
* obj0
= 0 ;
17346 char *kwnames
[] = {
17347 (char *) "self", NULL
17350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17355 result
= (arg1
)->GetPosition();
17357 wxPyEndAllowThreads(__tstate
);
17358 if (PyErr_Occurred()) SWIG_fail
;
17361 wxPoint
* resultptr
;
17362 resultptr
= new wxPoint((wxPoint
&) result
);
17363 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17371 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17372 PyObject
*resultobj
;
17373 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17375 PyObject
* obj0
= 0 ;
17376 char *kwnames
[] = {
17377 (char *) "self", NULL
17380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
17381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17385 result
= (int)(arg1
)->GetNumberOfFiles();
17387 wxPyEndAllowThreads(__tstate
);
17388 if (PyErr_Occurred()) SWIG_fail
;
17390 resultobj
= SWIG_FromInt((int)result
);
17397 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17398 PyObject
*resultobj
;
17399 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17401 PyObject
* obj0
= 0 ;
17402 char *kwnames
[] = {
17403 (char *) "self", NULL
17406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
17407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17411 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
17413 wxPyEndAllowThreads(__tstate
);
17414 if (PyErr_Occurred()) SWIG_fail
;
17416 resultobj
= result
;
17423 static PyObject
* DropFilesEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17425 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17426 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
17428 return Py_BuildValue((char *)"");
17430 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17431 PyObject
*resultobj
;
17432 int arg1
= (int) 0 ;
17433 wxUpdateUIEvent
*result
;
17434 PyObject
* obj0
= 0 ;
17435 char *kwnames
[] = {
17436 (char *) "commandId", NULL
17439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
17441 arg1
= (int) SWIG_AsInt(obj0
);
17442 if (PyErr_Occurred()) SWIG_fail
;
17445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17446 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
17448 wxPyEndAllowThreads(__tstate
);
17449 if (PyErr_Occurred()) SWIG_fail
;
17451 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
17458 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17459 PyObject
*resultobj
;
17460 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17462 PyObject
* obj0
= 0 ;
17463 char *kwnames
[] = {
17464 (char *) "self", NULL
17467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
17468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17472 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
17474 wxPyEndAllowThreads(__tstate
);
17475 if (PyErr_Occurred()) SWIG_fail
;
17477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17484 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17485 PyObject
*resultobj
;
17486 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17488 PyObject
* obj0
= 0 ;
17489 char *kwnames
[] = {
17490 (char *) "self", NULL
17493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
17494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17498 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
17500 wxPyEndAllowThreads(__tstate
);
17501 if (PyErr_Occurred()) SWIG_fail
;
17503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17510 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17511 PyObject
*resultobj
;
17512 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17514 PyObject
* obj0
= 0 ;
17515 char *kwnames
[] = {
17516 (char *) "self", NULL
17519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
17520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17524 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
17526 wxPyEndAllowThreads(__tstate
);
17527 if (PyErr_Occurred()) SWIG_fail
;
17531 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17533 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17542 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17543 PyObject
*resultobj
;
17544 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17546 PyObject
* obj0
= 0 ;
17547 char *kwnames
[] = {
17548 (char *) "self", NULL
17551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
17552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17556 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
17558 wxPyEndAllowThreads(__tstate
);
17559 if (PyErr_Occurred()) SWIG_fail
;
17561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17568 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17569 PyObject
*resultobj
;
17570 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17572 PyObject
* obj0
= 0 ;
17573 char *kwnames
[] = {
17574 (char *) "self", NULL
17577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
17578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17582 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
17584 wxPyEndAllowThreads(__tstate
);
17585 if (PyErr_Occurred()) SWIG_fail
;
17587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17594 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17595 PyObject
*resultobj
;
17596 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17598 PyObject
* obj0
= 0 ;
17599 char *kwnames
[] = {
17600 (char *) "self", NULL
17603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
17604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17608 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
17610 wxPyEndAllowThreads(__tstate
);
17611 if (PyErr_Occurred()) SWIG_fail
;
17613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17620 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17621 PyObject
*resultobj
;
17622 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17624 PyObject
* obj0
= 0 ;
17625 PyObject
* obj1
= 0 ;
17626 char *kwnames
[] = {
17627 (char *) "self",(char *) "check", NULL
17630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
17631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17633 arg2
= (bool) SWIG_AsBool(obj1
);
17634 if (PyErr_Occurred()) SWIG_fail
;
17636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17637 (arg1
)->Check(arg2
);
17639 wxPyEndAllowThreads(__tstate
);
17640 if (PyErr_Occurred()) SWIG_fail
;
17642 Py_INCREF(Py_None
); resultobj
= Py_None
;
17649 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17650 PyObject
*resultobj
;
17651 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17653 PyObject
* obj0
= 0 ;
17654 PyObject
* obj1
= 0 ;
17655 char *kwnames
[] = {
17656 (char *) "self",(char *) "enable", NULL
17659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
17660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17662 arg2
= (bool) SWIG_AsBool(obj1
);
17663 if (PyErr_Occurred()) SWIG_fail
;
17665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17666 (arg1
)->Enable(arg2
);
17668 wxPyEndAllowThreads(__tstate
);
17669 if (PyErr_Occurred()) SWIG_fail
;
17671 Py_INCREF(Py_None
); resultobj
= Py_None
;
17678 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17679 PyObject
*resultobj
;
17680 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17681 wxString
*arg2
= 0 ;
17682 bool temp2
= False
;
17683 PyObject
* obj0
= 0 ;
17684 PyObject
* obj1
= 0 ;
17685 char *kwnames
[] = {
17686 (char *) "self",(char *) "text", NULL
17689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
17690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17693 arg2
= wxString_in_helper(obj1
);
17694 if (arg2
== NULL
) SWIG_fail
;
17698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17699 (arg1
)->SetText((wxString
const &)*arg2
);
17701 wxPyEndAllowThreads(__tstate
);
17702 if (PyErr_Occurred()) SWIG_fail
;
17704 Py_INCREF(Py_None
); resultobj
= Py_None
;
17719 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17720 PyObject
*resultobj
;
17722 PyObject
* obj0
= 0 ;
17723 char *kwnames
[] = {
17724 (char *) "updateInterval", NULL
17727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
17728 arg1
= (long) SWIG_AsLong(obj0
);
17729 if (PyErr_Occurred()) SWIG_fail
;
17731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17732 wxUpdateUIEvent::SetUpdateInterval(arg1
);
17734 wxPyEndAllowThreads(__tstate
);
17735 if (PyErr_Occurred()) SWIG_fail
;
17737 Py_INCREF(Py_None
); resultobj
= Py_None
;
17744 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17745 PyObject
*resultobj
;
17747 char *kwnames
[] = {
17751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
17753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17754 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
17756 wxPyEndAllowThreads(__tstate
);
17757 if (PyErr_Occurred()) SWIG_fail
;
17759 resultobj
= SWIG_FromLong((long)result
);
17766 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17767 PyObject
*resultobj
;
17768 wxWindow
*arg1
= (wxWindow
*) 0 ;
17770 PyObject
* obj0
= 0 ;
17771 char *kwnames
[] = {
17772 (char *) "win", NULL
17775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
17776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17780 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
17782 wxPyEndAllowThreads(__tstate
);
17783 if (PyErr_Occurred()) SWIG_fail
;
17785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17792 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17793 PyObject
*resultobj
;
17794 char *kwnames
[] = {
17798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
17800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17801 wxUpdateUIEvent::ResetUpdateTime();
17803 wxPyEndAllowThreads(__tstate
);
17804 if (PyErr_Occurred()) SWIG_fail
;
17806 Py_INCREF(Py_None
); resultobj
= Py_None
;
17813 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17814 PyObject
*resultobj
;
17816 PyObject
* obj0
= 0 ;
17817 char *kwnames
[] = {
17818 (char *) "mode", NULL
17821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
17822 arg1
= (wxUpdateUIMode
) SWIG_AsInt(obj0
);
17823 if (PyErr_Occurred()) SWIG_fail
;
17825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17826 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
17828 wxPyEndAllowThreads(__tstate
);
17829 if (PyErr_Occurred()) SWIG_fail
;
17831 Py_INCREF(Py_None
); resultobj
= Py_None
;
17838 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17839 PyObject
*resultobj
;
17841 char *kwnames
[] = {
17845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
17847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17848 result
= (int)wxUpdateUIEvent::GetMode();
17850 wxPyEndAllowThreads(__tstate
);
17851 if (PyErr_Occurred()) SWIG_fail
;
17853 resultobj
= SWIG_FromInt((int)result
);
17860 static PyObject
* UpdateUIEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17862 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17863 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
17865 return Py_BuildValue((char *)"");
17867 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17868 PyObject
*resultobj
;
17869 wxSysColourChangedEvent
*result
;
17870 char *kwnames
[] = {
17874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
17876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17877 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
17879 wxPyEndAllowThreads(__tstate
);
17880 if (PyErr_Occurred()) SWIG_fail
;
17882 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
17889 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17891 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17892 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
17894 return Py_BuildValue((char *)"");
17896 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17897 PyObject
*resultobj
;
17898 int arg1
= (int) 0 ;
17899 wxWindow
*arg2
= (wxWindow
*) NULL
;
17900 wxMouseCaptureChangedEvent
*result
;
17901 PyObject
* obj0
= 0 ;
17902 PyObject
* obj1
= 0 ;
17903 char *kwnames
[] = {
17904 (char *) "winid",(char *) "gainedCapture", NULL
17907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17909 arg1
= (int) SWIG_AsInt(obj0
);
17910 if (PyErr_Occurred()) SWIG_fail
;
17913 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17918 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
17920 wxPyEndAllowThreads(__tstate
);
17921 if (PyErr_Occurred()) SWIG_fail
;
17923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
17930 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17931 PyObject
*resultobj
;
17932 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
17934 PyObject
* obj0
= 0 ;
17935 char *kwnames
[] = {
17936 (char *) "self", NULL
17939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
17940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
17941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17944 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
17946 wxPyEndAllowThreads(__tstate
);
17947 if (PyErr_Occurred()) SWIG_fail
;
17950 resultobj
= wxPyMake_wxObject(result
);
17958 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17960 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17961 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
17963 return Py_BuildValue((char *)"");
17965 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17966 PyObject
*resultobj
;
17967 wxDisplayChangedEvent
*result
;
17968 char *kwnames
[] = {
17972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
17974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17975 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
17977 wxPyEndAllowThreads(__tstate
);
17978 if (PyErr_Occurred()) SWIG_fail
;
17980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
17987 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17989 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17990 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
17992 return Py_BuildValue((char *)"");
17994 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17995 PyObject
*resultobj
;
17996 int arg1
= (int) 0 ;
17997 wxPaletteChangedEvent
*result
;
17998 PyObject
* obj0
= 0 ;
17999 char *kwnames
[] = {
18000 (char *) "id", NULL
18003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18005 arg1
= (int) SWIG_AsInt(obj0
);
18006 if (PyErr_Occurred()) SWIG_fail
;
18009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18010 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18012 wxPyEndAllowThreads(__tstate
);
18013 if (PyErr_Occurred()) SWIG_fail
;
18015 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18022 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18023 PyObject
*resultobj
;
18024 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18025 wxWindow
*arg2
= (wxWindow
*) 0 ;
18026 PyObject
* obj0
= 0 ;
18027 PyObject
* obj1
= 0 ;
18028 char *kwnames
[] = {
18029 (char *) "self",(char *) "win", NULL
18032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18035 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18039 (arg1
)->SetChangedWindow(arg2
);
18041 wxPyEndAllowThreads(__tstate
);
18042 if (PyErr_Occurred()) SWIG_fail
;
18044 Py_INCREF(Py_None
); resultobj
= Py_None
;
18051 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18052 PyObject
*resultobj
;
18053 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18055 PyObject
* obj0
= 0 ;
18056 char *kwnames
[] = {
18057 (char *) "self", NULL
18060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18065 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18067 wxPyEndAllowThreads(__tstate
);
18068 if (PyErr_Occurred()) SWIG_fail
;
18071 resultobj
= wxPyMake_wxObject(result
);
18079 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18081 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18082 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18084 return Py_BuildValue((char *)"");
18086 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18087 PyObject
*resultobj
;
18088 int arg1
= (int) 0 ;
18089 wxQueryNewPaletteEvent
*result
;
18090 PyObject
* obj0
= 0 ;
18091 char *kwnames
[] = {
18092 (char *) "winid", NULL
18095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18097 arg1
= (int) SWIG_AsInt(obj0
);
18098 if (PyErr_Occurred()) SWIG_fail
;
18101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18102 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18104 wxPyEndAllowThreads(__tstate
);
18105 if (PyErr_Occurred()) SWIG_fail
;
18107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18114 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18115 PyObject
*resultobj
;
18116 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18118 PyObject
* obj0
= 0 ;
18119 PyObject
* obj1
= 0 ;
18120 char *kwnames
[] = {
18121 (char *) "self",(char *) "realized", NULL
18124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18127 arg2
= (bool) SWIG_AsBool(obj1
);
18128 if (PyErr_Occurred()) SWIG_fail
;
18130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18131 (arg1
)->SetPaletteRealized(arg2
);
18133 wxPyEndAllowThreads(__tstate
);
18134 if (PyErr_Occurred()) SWIG_fail
;
18136 Py_INCREF(Py_None
); resultobj
= Py_None
;
18143 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18144 PyObject
*resultobj
;
18145 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18147 PyObject
* obj0
= 0 ;
18148 char *kwnames
[] = {
18149 (char *) "self", NULL
18152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
18153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18157 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
18159 wxPyEndAllowThreads(__tstate
);
18160 if (PyErr_Occurred()) SWIG_fail
;
18162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18169 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18171 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18172 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
18174 return Py_BuildValue((char *)"");
18176 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18177 PyObject
*resultobj
;
18178 wxNavigationKeyEvent
*result
;
18179 char *kwnames
[] = {
18183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
18185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18186 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
18188 wxPyEndAllowThreads(__tstate
);
18189 if (PyErr_Occurred()) SWIG_fail
;
18191 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
18198 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18199 PyObject
*resultobj
;
18200 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18202 PyObject
* obj0
= 0 ;
18203 char *kwnames
[] = {
18204 (char *) "self", NULL
18207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
18208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18212 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
18214 wxPyEndAllowThreads(__tstate
);
18215 if (PyErr_Occurred()) SWIG_fail
;
18217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18224 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18225 PyObject
*resultobj
;
18226 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18228 PyObject
* obj0
= 0 ;
18229 PyObject
* obj1
= 0 ;
18230 char *kwnames
[] = {
18231 (char *) "self",(char *) "bForward", NULL
18234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
18235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18237 arg2
= (bool) SWIG_AsBool(obj1
);
18238 if (PyErr_Occurred()) SWIG_fail
;
18240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18241 (arg1
)->SetDirection(arg2
);
18243 wxPyEndAllowThreads(__tstate
);
18244 if (PyErr_Occurred()) SWIG_fail
;
18246 Py_INCREF(Py_None
); resultobj
= Py_None
;
18253 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18254 PyObject
*resultobj
;
18255 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18257 PyObject
* obj0
= 0 ;
18258 char *kwnames
[] = {
18259 (char *) "self", NULL
18262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
18263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18267 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
18269 wxPyEndAllowThreads(__tstate
);
18270 if (PyErr_Occurred()) SWIG_fail
;
18272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18279 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18280 PyObject
*resultobj
;
18281 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18283 PyObject
* obj0
= 0 ;
18284 PyObject
* obj1
= 0 ;
18285 char *kwnames
[] = {
18286 (char *) "self",(char *) "bIs", NULL
18289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
18290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18292 arg2
= (bool) SWIG_AsBool(obj1
);
18293 if (PyErr_Occurred()) SWIG_fail
;
18295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18296 (arg1
)->SetWindowChange(arg2
);
18298 wxPyEndAllowThreads(__tstate
);
18299 if (PyErr_Occurred()) SWIG_fail
;
18301 Py_INCREF(Py_None
); resultobj
= Py_None
;
18308 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18309 PyObject
*resultobj
;
18310 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18312 PyObject
* obj0
= 0 ;
18313 char *kwnames
[] = {
18314 (char *) "self", NULL
18317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
18318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18322 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
18324 wxPyEndAllowThreads(__tstate
);
18325 if (PyErr_Occurred()) SWIG_fail
;
18328 resultobj
= wxPyMake_wxObject(result
);
18336 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18337 PyObject
*resultobj
;
18338 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18339 wxWindow
*arg2
= (wxWindow
*) 0 ;
18340 PyObject
* obj0
= 0 ;
18341 PyObject
* obj1
= 0 ;
18342 char *kwnames
[] = {
18343 (char *) "self",(char *) "win", NULL
18346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
18347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18349 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18353 (arg1
)->SetCurrentFocus(arg2
);
18355 wxPyEndAllowThreads(__tstate
);
18356 if (PyErr_Occurred()) SWIG_fail
;
18358 Py_INCREF(Py_None
); resultobj
= Py_None
;
18365 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18367 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18368 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
18370 return Py_BuildValue((char *)"");
18372 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18373 PyObject
*resultobj
;
18374 wxWindow
*arg1
= (wxWindow
*) NULL
;
18375 wxWindowCreateEvent
*result
;
18376 PyObject
* obj0
= 0 ;
18377 char *kwnames
[] = {
18378 (char *) "win", NULL
18381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
18383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18388 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
18390 wxPyEndAllowThreads(__tstate
);
18391 if (PyErr_Occurred()) SWIG_fail
;
18393 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
18400 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18401 PyObject
*resultobj
;
18402 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
18404 PyObject
* obj0
= 0 ;
18405 char *kwnames
[] = {
18406 (char *) "self", NULL
18409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
18411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18414 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
18416 wxPyEndAllowThreads(__tstate
);
18417 if (PyErr_Occurred()) SWIG_fail
;
18420 resultobj
= wxPyMake_wxObject(result
);
18428 static PyObject
* WindowCreateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18430 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18431 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
18433 return Py_BuildValue((char *)"");
18435 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18436 PyObject
*resultobj
;
18437 wxWindow
*arg1
= (wxWindow
*) NULL
;
18438 wxWindowDestroyEvent
*result
;
18439 PyObject
* obj0
= 0 ;
18440 char *kwnames
[] = {
18441 (char *) "win", NULL
18444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
18446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18451 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
18453 wxPyEndAllowThreads(__tstate
);
18454 if (PyErr_Occurred()) SWIG_fail
;
18456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
18463 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18464 PyObject
*resultobj
;
18465 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
18467 PyObject
* obj0
= 0 ;
18468 char *kwnames
[] = {
18469 (char *) "self", NULL
18472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
18474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18477 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
18479 wxPyEndAllowThreads(__tstate
);
18480 if (PyErr_Occurred()) SWIG_fail
;
18483 resultobj
= wxPyMake_wxObject(result
);
18491 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18493 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18494 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
18496 return Py_BuildValue((char *)"");
18498 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18499 PyObject
*resultobj
;
18500 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18501 int arg2
= (int) 0 ;
18502 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18503 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18504 wxContextMenuEvent
*result
;
18506 PyObject
* obj0
= 0 ;
18507 PyObject
* obj1
= 0 ;
18508 PyObject
* obj2
= 0 ;
18509 char *kwnames
[] = {
18510 (char *) "type",(char *) "winid",(char *) "pt", NULL
18513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18515 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
18516 if (PyErr_Occurred()) SWIG_fail
;
18519 arg2
= (int) SWIG_AsInt(obj1
);
18520 if (PyErr_Occurred()) SWIG_fail
;
18525 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18530 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
18532 wxPyEndAllowThreads(__tstate
);
18533 if (PyErr_Occurred()) SWIG_fail
;
18535 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
18542 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18543 PyObject
*resultobj
;
18544 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18546 PyObject
* obj0
= 0 ;
18547 char *kwnames
[] = {
18548 (char *) "self", NULL
18551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18557 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
18558 result
= (wxPoint
*) &_result_ref
;
18561 wxPyEndAllowThreads(__tstate
);
18562 if (PyErr_Occurred()) SWIG_fail
;
18564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
18571 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18572 PyObject
*resultobj
;
18573 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18574 wxPoint
*arg2
= 0 ;
18576 PyObject
* obj0
= 0 ;
18577 PyObject
* obj1
= 0 ;
18578 char *kwnames
[] = {
18579 (char *) "self",(char *) "pos", NULL
18582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
18583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18587 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18591 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
18593 wxPyEndAllowThreads(__tstate
);
18594 if (PyErr_Occurred()) SWIG_fail
;
18596 Py_INCREF(Py_None
); resultobj
= Py_None
;
18603 static PyObject
* ContextMenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18605 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18606 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
18608 return Py_BuildValue((char *)"");
18610 static PyObject
*_wrap_new_IdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18611 PyObject
*resultobj
;
18612 wxIdleEvent
*result
;
18613 char *kwnames
[] = {
18617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
18619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18620 result
= (wxIdleEvent
*)new wxIdleEvent();
18622 wxPyEndAllowThreads(__tstate
);
18623 if (PyErr_Occurred()) SWIG_fail
;
18625 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
18632 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18633 PyObject
*resultobj
;
18634 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18635 bool arg2
= (bool) True
;
18636 PyObject
* obj0
= 0 ;
18637 PyObject
* obj1
= 0 ;
18638 char *kwnames
[] = {
18639 (char *) "self",(char *) "needMore", NULL
18642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
18643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
18644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18646 arg2
= (bool) SWIG_AsBool(obj1
);
18647 if (PyErr_Occurred()) SWIG_fail
;
18650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18651 (arg1
)->RequestMore(arg2
);
18653 wxPyEndAllowThreads(__tstate
);
18654 if (PyErr_Occurred()) SWIG_fail
;
18656 Py_INCREF(Py_None
); resultobj
= Py_None
;
18663 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18664 PyObject
*resultobj
;
18665 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18667 PyObject
* obj0
= 0 ;
18668 char *kwnames
[] = {
18669 (char *) "self", NULL
18672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
18673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
18674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18677 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
18679 wxPyEndAllowThreads(__tstate
);
18680 if (PyErr_Occurred()) SWIG_fail
;
18682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18689 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18690 PyObject
*resultobj
;
18692 PyObject
* obj0
= 0 ;
18693 char *kwnames
[] = {
18694 (char *) "mode", NULL
18697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18698 arg1
= (wxIdleMode
) SWIG_AsInt(obj0
);
18699 if (PyErr_Occurred()) SWIG_fail
;
18701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18702 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
18704 wxPyEndAllowThreads(__tstate
);
18705 if (PyErr_Occurred()) SWIG_fail
;
18707 Py_INCREF(Py_None
); resultobj
= Py_None
;
18714 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18715 PyObject
*resultobj
;
18717 char *kwnames
[] = {
18721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
18723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18724 result
= (int)wxIdleEvent::GetMode();
18726 wxPyEndAllowThreads(__tstate
);
18727 if (PyErr_Occurred()) SWIG_fail
;
18729 resultobj
= SWIG_FromInt((int)result
);
18736 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18737 PyObject
*resultobj
;
18738 wxWindow
*arg1
= (wxWindow
*) 0 ;
18740 PyObject
* obj0
= 0 ;
18741 char *kwnames
[] = {
18742 (char *) "win", NULL
18745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
18746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18750 result
= (bool)wxIdleEvent::CanSend(arg1
);
18752 wxPyEndAllowThreads(__tstate
);
18753 if (PyErr_Occurred()) SWIG_fail
;
18755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18762 static PyObject
* IdleEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18764 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18765 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
18767 return Py_BuildValue((char *)"");
18769 static PyObject
*_wrap_new_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18770 PyObject
*resultobj
;
18771 int arg1
= (int) 0 ;
18772 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
18774 PyObject
* obj0
= 0 ;
18775 PyObject
* obj1
= 0 ;
18776 char *kwnames
[] = {
18777 (char *) "winid",(char *) "commandType", NULL
18780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18782 arg1
= (int) SWIG_AsInt(obj0
);
18783 if (PyErr_Occurred()) SWIG_fail
;
18786 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
18787 if (PyErr_Occurred()) SWIG_fail
;
18790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18791 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
18793 wxPyEndAllowThreads(__tstate
);
18794 if (PyErr_Occurred()) SWIG_fail
;
18796 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
18803 static PyObject
*_wrap_delete_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18804 PyObject
*resultobj
;
18805 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
18806 PyObject
* obj0
= 0 ;
18807 char *kwnames
[] = {
18808 (char *) "self", NULL
18811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
18812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
18813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18818 wxPyEndAllowThreads(__tstate
);
18819 if (PyErr_Occurred()) SWIG_fail
;
18821 Py_INCREF(Py_None
); resultobj
= Py_None
;
18828 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18829 PyObject
*resultobj
;
18830 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
18831 PyObject
*arg2
= (PyObject
*) 0 ;
18832 PyObject
* obj0
= 0 ;
18833 PyObject
* obj1
= 0 ;
18834 char *kwnames
[] = {
18835 (char *) "self",(char *) "self", NULL
18838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
18839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
18840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18844 (arg1
)->SetSelf(arg2
);
18846 wxPyEndAllowThreads(__tstate
);
18847 if (PyErr_Occurred()) SWIG_fail
;
18849 Py_INCREF(Py_None
); resultobj
= Py_None
;
18856 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18857 PyObject
*resultobj
;
18858 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
18860 PyObject
* obj0
= 0 ;
18861 char *kwnames
[] = {
18862 (char *) "self", NULL
18865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
18866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
18867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18870 result
= (PyObject
*)(arg1
)->GetSelf();
18872 wxPyEndAllowThreads(__tstate
);
18873 if (PyErr_Occurred()) SWIG_fail
;
18875 resultobj
= result
;
18882 static PyObject
* PyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18884 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18885 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
18887 return Py_BuildValue((char *)"");
18889 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18890 PyObject
*resultobj
;
18891 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18892 int arg2
= (int) 0 ;
18893 wxPyCommandEvent
*result
;
18894 PyObject
* obj0
= 0 ;
18895 PyObject
* obj1
= 0 ;
18896 char *kwnames
[] = {
18897 (char *) "commandType",(char *) "id", NULL
18900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18902 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
18903 if (PyErr_Occurred()) SWIG_fail
;
18906 arg2
= (int) SWIG_AsInt(obj1
);
18907 if (PyErr_Occurred()) SWIG_fail
;
18910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18911 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
18913 wxPyEndAllowThreads(__tstate
);
18914 if (PyErr_Occurred()) SWIG_fail
;
18916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
18923 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18924 PyObject
*resultobj
;
18925 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
18926 PyObject
* obj0
= 0 ;
18927 char *kwnames
[] = {
18928 (char *) "self", NULL
18931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
18932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
18933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18938 wxPyEndAllowThreads(__tstate
);
18939 if (PyErr_Occurred()) SWIG_fail
;
18941 Py_INCREF(Py_None
); resultobj
= Py_None
;
18948 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18949 PyObject
*resultobj
;
18950 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
18951 PyObject
*arg2
= (PyObject
*) 0 ;
18952 PyObject
* obj0
= 0 ;
18953 PyObject
* obj1
= 0 ;
18954 char *kwnames
[] = {
18955 (char *) "self",(char *) "self", NULL
18958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
18959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
18960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18964 (arg1
)->SetSelf(arg2
);
18966 wxPyEndAllowThreads(__tstate
);
18967 if (PyErr_Occurred()) SWIG_fail
;
18969 Py_INCREF(Py_None
); resultobj
= Py_None
;
18976 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18977 PyObject
*resultobj
;
18978 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
18980 PyObject
* obj0
= 0 ;
18981 char *kwnames
[] = {
18982 (char *) "self", NULL
18985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
18986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
18987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18990 result
= (PyObject
*)(arg1
)->GetSelf();
18992 wxPyEndAllowThreads(__tstate
);
18993 if (PyErr_Occurred()) SWIG_fail
;
18995 resultobj
= result
;
19002 static PyObject
* PyCommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19004 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19005 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19007 return Py_BuildValue((char *)"");
19009 static PyObject
*_wrap_new_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19010 PyObject
*resultobj
;
19012 char *kwnames
[] = {
19016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19019 result
= (wxPyApp
*)new_wxPyApp();
19021 wxPyEndAllowThreads(__tstate
);
19022 if (PyErr_Occurred()) SWIG_fail
;
19025 resultobj
= wxPyMake_wxObject(result
);
19033 static PyObject
*_wrap_delete_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19034 PyObject
*resultobj
;
19035 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19036 PyObject
* obj0
= 0 ;
19037 char *kwnames
[] = {
19038 (char *) "self", NULL
19041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19048 wxPyEndAllowThreads(__tstate
);
19049 if (PyErr_Occurred()) SWIG_fail
;
19051 Py_INCREF(Py_None
); resultobj
= Py_None
;
19058 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19059 PyObject
*resultobj
;
19060 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19061 PyObject
*arg2
= (PyObject
*) 0 ;
19062 PyObject
*arg3
= (PyObject
*) 0 ;
19063 PyObject
* obj0
= 0 ;
19064 PyObject
* obj1
= 0 ;
19065 PyObject
* obj2
= 0 ;
19066 char *kwnames
[] = {
19067 (char *) "self",(char *) "self",(char *) "_class", NULL
19070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19077 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19079 wxPyEndAllowThreads(__tstate
);
19080 if (PyErr_Occurred()) SWIG_fail
;
19082 Py_INCREF(Py_None
); resultobj
= Py_None
;
19089 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19090 PyObject
*resultobj
;
19091 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19093 PyObject
* obj0
= 0 ;
19094 char *kwnames
[] = {
19095 (char *) "self", NULL
19098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
19099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19103 result
= ((wxPyApp
const *)arg1
)->GetAppName();
19105 wxPyEndAllowThreads(__tstate
);
19106 if (PyErr_Occurred()) SWIG_fail
;
19110 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19112 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19121 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19122 PyObject
*resultobj
;
19123 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19124 wxString
*arg2
= 0 ;
19125 bool temp2
= False
;
19126 PyObject
* obj0
= 0 ;
19127 PyObject
* obj1
= 0 ;
19128 char *kwnames
[] = {
19129 (char *) "self",(char *) "name", NULL
19132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19136 arg2
= wxString_in_helper(obj1
);
19137 if (arg2
== NULL
) SWIG_fail
;
19141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19142 (arg1
)->SetAppName((wxString
const &)*arg2
);
19144 wxPyEndAllowThreads(__tstate
);
19145 if (PyErr_Occurred()) SWIG_fail
;
19147 Py_INCREF(Py_None
); resultobj
= Py_None
;
19162 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19163 PyObject
*resultobj
;
19164 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19166 PyObject
* obj0
= 0 ;
19167 char *kwnames
[] = {
19168 (char *) "self", NULL
19171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
19172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19176 result
= ((wxPyApp
const *)arg1
)->GetClassName();
19178 wxPyEndAllowThreads(__tstate
);
19179 if (PyErr_Occurred()) SWIG_fail
;
19183 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19185 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19194 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19195 PyObject
*resultobj
;
19196 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19197 wxString
*arg2
= 0 ;
19198 bool temp2
= False
;
19199 PyObject
* obj0
= 0 ;
19200 PyObject
* obj1
= 0 ;
19201 char *kwnames
[] = {
19202 (char *) "self",(char *) "name", NULL
19205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
19206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19209 arg2
= wxString_in_helper(obj1
);
19210 if (arg2
== NULL
) SWIG_fail
;
19214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19215 (arg1
)->SetClassName((wxString
const &)*arg2
);
19217 wxPyEndAllowThreads(__tstate
);
19218 if (PyErr_Occurred()) SWIG_fail
;
19220 Py_INCREF(Py_None
); resultobj
= Py_None
;
19235 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19236 PyObject
*resultobj
;
19237 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19239 PyObject
* obj0
= 0 ;
19240 char *kwnames
[] = {
19241 (char *) "self", NULL
19244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
19245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19250 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
19251 result
= (wxString
*) &_result_ref
;
19254 wxPyEndAllowThreads(__tstate
);
19255 if (PyErr_Occurred()) SWIG_fail
;
19259 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19261 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19270 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19271 PyObject
*resultobj
;
19272 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19273 wxString
*arg2
= 0 ;
19274 bool temp2
= False
;
19275 PyObject
* obj0
= 0 ;
19276 PyObject
* obj1
= 0 ;
19277 char *kwnames
[] = {
19278 (char *) "self",(char *) "name", NULL
19281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
19282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19285 arg2
= wxString_in_helper(obj1
);
19286 if (arg2
== NULL
) SWIG_fail
;
19290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19291 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19293 wxPyEndAllowThreads(__tstate
);
19294 if (PyErr_Occurred()) SWIG_fail
;
19296 Py_INCREF(Py_None
); resultobj
= Py_None
;
19311 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19312 PyObject
*resultobj
;
19313 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19314 wxAppTraits
*result
;
19315 PyObject
* obj0
= 0 ;
19316 char *kwnames
[] = {
19317 (char *) "self", NULL
19320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
19321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19325 result
= (wxAppTraits
*)(arg1
)->GetTraits();
19327 wxPyEndAllowThreads(__tstate
);
19328 if (PyErr_Occurred()) SWIG_fail
;
19330 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
19337 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19338 PyObject
*resultobj
;
19339 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19340 PyObject
* obj0
= 0 ;
19341 char *kwnames
[] = {
19342 (char *) "self", NULL
19345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
19346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19350 (arg1
)->ProcessPendingEvents();
19352 wxPyEndAllowThreads(__tstate
);
19353 if (PyErr_Occurred()) SWIG_fail
;
19355 Py_INCREF(Py_None
); resultobj
= Py_None
;
19362 static PyObject
*_wrap_PyApp_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19363 PyObject
*resultobj
;
19364 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19365 bool arg2
= (bool) False
;
19367 PyObject
* obj0
= 0 ;
19368 PyObject
* obj1
= 0 ;
19369 char *kwnames
[] = {
19370 (char *) "self",(char *) "onlyIfNeeded", NULL
19373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
19374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19377 arg2
= (bool) SWIG_AsBool(obj1
);
19378 if (PyErr_Occurred()) SWIG_fail
;
19381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19382 result
= (bool)(arg1
)->Yield(arg2
);
19384 wxPyEndAllowThreads(__tstate
);
19385 if (PyErr_Occurred()) SWIG_fail
;
19387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19394 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19395 PyObject
*resultobj
;
19396 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19397 PyObject
* obj0
= 0 ;
19398 char *kwnames
[] = {
19399 (char *) "self", NULL
19402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
19403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19407 (arg1
)->WakeUpIdle();
19409 wxPyEndAllowThreads(__tstate
);
19410 if (PyErr_Occurred()) SWIG_fail
;
19412 Py_INCREF(Py_None
); resultobj
= Py_None
;
19419 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19420 PyObject
*resultobj
;
19421 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19423 PyObject
* obj0
= 0 ;
19424 char *kwnames
[] = {
19425 (char *) "self", NULL
19428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
19429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19433 result
= (int)(arg1
)->MainLoop();
19435 wxPyEndAllowThreads(__tstate
);
19436 if (PyErr_Occurred()) SWIG_fail
;
19438 resultobj
= SWIG_FromInt((int)result
);
19445 static PyObject
*_wrap_PyApp_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19446 PyObject
*resultobj
;
19447 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19448 PyObject
* obj0
= 0 ;
19449 char *kwnames
[] = {
19450 (char *) "self", NULL
19453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
19454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19460 wxPyEndAllowThreads(__tstate
);
19461 if (PyErr_Occurred()) SWIG_fail
;
19463 Py_INCREF(Py_None
); resultobj
= Py_None
;
19470 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19471 PyObject
*resultobj
;
19472 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19473 PyObject
* obj0
= 0 ;
19474 char *kwnames
[] = {
19475 (char *) "self", NULL
19478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
19479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19483 (arg1
)->ExitMainLoop();
19485 wxPyEndAllowThreads(__tstate
);
19486 if (PyErr_Occurred()) SWIG_fail
;
19488 Py_INCREF(Py_None
); resultobj
= Py_None
;
19495 static PyObject
*_wrap_PyApp_Pending(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19496 PyObject
*resultobj
;
19497 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19499 PyObject
* obj0
= 0 ;
19500 char *kwnames
[] = {
19501 (char *) "self", NULL
19504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
19505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19509 result
= (bool)(arg1
)->Pending();
19511 wxPyEndAllowThreads(__tstate
);
19512 if (PyErr_Occurred()) SWIG_fail
;
19514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19521 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19522 PyObject
*resultobj
;
19523 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19525 PyObject
* obj0
= 0 ;
19526 char *kwnames
[] = {
19527 (char *) "self", NULL
19530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
19531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19535 result
= (bool)(arg1
)->Dispatch();
19537 wxPyEndAllowThreads(__tstate
);
19538 if (PyErr_Occurred()) SWIG_fail
;
19540 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19547 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19548 PyObject
*resultobj
;
19549 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19551 PyObject
* obj0
= 0 ;
19552 char *kwnames
[] = {
19553 (char *) "self", NULL
19556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
19557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19561 result
= (bool)(arg1
)->ProcessIdle();
19563 wxPyEndAllowThreads(__tstate
);
19564 if (PyErr_Occurred()) SWIG_fail
;
19566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19573 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19574 PyObject
*resultobj
;
19575 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19576 wxWindow
*arg2
= (wxWindow
*) 0 ;
19577 wxIdleEvent
*arg3
= 0 ;
19579 PyObject
* obj0
= 0 ;
19580 PyObject
* obj1
= 0 ;
19581 PyObject
* obj2
= 0 ;
19582 char *kwnames
[] = {
19583 (char *) "self",(char *) "win",(char *) "event", NULL
19586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19589 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19591 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
19592 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19594 if (arg3
== NULL
) {
19595 PyErr_SetString(PyExc_TypeError
,"null reference");
19599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19600 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
19602 wxPyEndAllowThreads(__tstate
);
19603 if (PyErr_Occurred()) SWIG_fail
;
19605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19612 static PyObject
*_wrap_PyApp_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19613 PyObject
*resultobj
;
19614 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19616 PyObject
* obj0
= 0 ;
19617 char *kwnames
[] = {
19618 (char *) "self", NULL
19621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
19622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19626 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
19628 wxPyEndAllowThreads(__tstate
);
19629 if (PyErr_Occurred()) SWIG_fail
;
19631 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19638 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19639 PyObject
*resultobj
;
19640 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19641 wxWindow
*arg2
= (wxWindow
*) 0 ;
19642 PyObject
* obj0
= 0 ;
19643 PyObject
* obj1
= 0 ;
19644 char *kwnames
[] = {
19645 (char *) "self",(char *) "win", NULL
19648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19651 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19655 (arg1
)->SetTopWindow(arg2
);
19657 wxPyEndAllowThreads(__tstate
);
19658 if (PyErr_Occurred()) SWIG_fail
;
19660 Py_INCREF(Py_None
); resultobj
= Py_None
;
19667 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19668 PyObject
*resultobj
;
19669 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19671 PyObject
* obj0
= 0 ;
19672 char *kwnames
[] = {
19673 (char *) "self", NULL
19676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
19677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19681 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
19683 wxPyEndAllowThreads(__tstate
);
19684 if (PyErr_Occurred()) SWIG_fail
;
19687 resultobj
= wxPyMake_wxObject(result
);
19695 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19696 PyObject
*resultobj
;
19697 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19699 PyObject
* obj0
= 0 ;
19700 PyObject
* obj1
= 0 ;
19701 char *kwnames
[] = {
19702 (char *) "self",(char *) "flag", NULL
19705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
19706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19708 arg2
= (bool) SWIG_AsBool(obj1
);
19709 if (PyErr_Occurred()) SWIG_fail
;
19711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19712 (arg1
)->SetExitOnFrameDelete(arg2
);
19714 wxPyEndAllowThreads(__tstate
);
19715 if (PyErr_Occurred()) SWIG_fail
;
19717 Py_INCREF(Py_None
); resultobj
= Py_None
;
19724 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19725 PyObject
*resultobj
;
19726 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19728 PyObject
* obj0
= 0 ;
19729 char *kwnames
[] = {
19730 (char *) "self", NULL
19733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
19734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19738 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
19740 wxPyEndAllowThreads(__tstate
);
19741 if (PyErr_Occurred()) SWIG_fail
;
19743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19750 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19751 PyObject
*resultobj
;
19752 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19754 PyObject
* obj0
= 0 ;
19755 PyObject
* obj1
= 0 ;
19756 char *kwnames
[] = {
19757 (char *) "self",(char *) "flag", NULL
19760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
19761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19763 arg2
= (bool) SWIG_AsBool(obj1
);
19764 if (PyErr_Occurred()) SWIG_fail
;
19766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19767 (arg1
)->SetUseBestVisual(arg2
);
19769 wxPyEndAllowThreads(__tstate
);
19770 if (PyErr_Occurred()) SWIG_fail
;
19772 Py_INCREF(Py_None
); resultobj
= Py_None
;
19779 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19780 PyObject
*resultobj
;
19781 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19783 PyObject
* obj0
= 0 ;
19784 char *kwnames
[] = {
19785 (char *) "self", NULL
19788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
19789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19793 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
19795 wxPyEndAllowThreads(__tstate
);
19796 if (PyErr_Occurred()) SWIG_fail
;
19798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19805 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19806 PyObject
*resultobj
;
19807 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19809 PyObject
* obj0
= 0 ;
19810 PyObject
* obj1
= 0 ;
19811 char *kwnames
[] = {
19812 (char *) "self",(char *) "mode", NULL
19815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19818 arg2
= (int) SWIG_AsInt(obj1
);
19819 if (PyErr_Occurred()) SWIG_fail
;
19821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19822 (arg1
)->SetPrintMode(arg2
);
19824 wxPyEndAllowThreads(__tstate
);
19825 if (PyErr_Occurred()) SWIG_fail
;
19827 Py_INCREF(Py_None
); resultobj
= Py_None
;
19834 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19835 PyObject
*resultobj
;
19836 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19838 PyObject
* obj0
= 0 ;
19839 char *kwnames
[] = {
19840 (char *) "self", NULL
19843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
19844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19848 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
19850 wxPyEndAllowThreads(__tstate
);
19851 if (PyErr_Occurred()) SWIG_fail
;
19853 resultobj
= SWIG_FromInt((int)result
);
19860 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19861 PyObject
*resultobj
;
19862 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19864 PyObject
* obj0
= 0 ;
19865 PyObject
* obj1
= 0 ;
19866 char *kwnames
[] = {
19867 (char *) "self",(char *) "mode", NULL
19870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19873 arg2
= (int) SWIG_AsInt(obj1
);
19874 if (PyErr_Occurred()) SWIG_fail
;
19876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19877 (arg1
)->SetAssertMode(arg2
);
19879 wxPyEndAllowThreads(__tstate
);
19880 if (PyErr_Occurred()) SWIG_fail
;
19882 Py_INCREF(Py_None
); resultobj
= Py_None
;
19889 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19890 PyObject
*resultobj
;
19891 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19893 PyObject
* obj0
= 0 ;
19894 char *kwnames
[] = {
19895 (char *) "self", NULL
19898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
19899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19903 result
= (int)(arg1
)->GetAssertMode();
19905 wxPyEndAllowThreads(__tstate
);
19906 if (PyErr_Occurred()) SWIG_fail
;
19908 resultobj
= SWIG_FromInt((int)result
);
19915 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19916 PyObject
*resultobj
;
19918 char *kwnames
[] = {
19922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
19924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19925 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
19927 wxPyEndAllowThreads(__tstate
);
19928 if (PyErr_Occurred()) SWIG_fail
;
19930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19937 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19938 PyObject
*resultobj
;
19940 char *kwnames
[] = {
19944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
19946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19947 result
= (long)wxPyApp::GetMacAboutMenuItemId();
19949 wxPyEndAllowThreads(__tstate
);
19950 if (PyErr_Occurred()) SWIG_fail
;
19952 resultobj
= SWIG_FromLong((long)result
);
19959 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19960 PyObject
*resultobj
;
19962 char *kwnames
[] = {
19966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
19968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19969 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
19971 wxPyEndAllowThreads(__tstate
);
19972 if (PyErr_Occurred()) SWIG_fail
;
19974 resultobj
= SWIG_FromLong((long)result
);
19981 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19982 PyObject
*resultobj
;
19984 char *kwnames
[] = {
19988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
19990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19991 result
= (long)wxPyApp::GetMacExitMenuItemId();
19993 wxPyEndAllowThreads(__tstate
);
19994 if (PyErr_Occurred()) SWIG_fail
;
19996 resultobj
= SWIG_FromLong((long)result
);
20003 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20004 PyObject
*resultobj
;
20006 char *kwnames
[] = {
20010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
20012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20013 result
= wxPyApp::GetMacHelpMenuTitleName();
20015 wxPyEndAllowThreads(__tstate
);
20016 if (PyErr_Occurred()) SWIG_fail
;
20020 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20022 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20031 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20032 PyObject
*resultobj
;
20034 PyObject
* obj0
= 0 ;
20035 char *kwnames
[] = {
20036 (char *) "val", NULL
20039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20040 arg1
= (bool) SWIG_AsBool(obj0
);
20041 if (PyErr_Occurred()) SWIG_fail
;
20043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20044 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20046 wxPyEndAllowThreads(__tstate
);
20047 if (PyErr_Occurred()) SWIG_fail
;
20049 Py_INCREF(Py_None
); resultobj
= Py_None
;
20056 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20057 PyObject
*resultobj
;
20059 PyObject
* obj0
= 0 ;
20060 char *kwnames
[] = {
20061 (char *) "val", NULL
20064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
20065 arg1
= (long) SWIG_AsLong(obj0
);
20066 if (PyErr_Occurred()) SWIG_fail
;
20068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20069 wxPyApp::SetMacAboutMenuItemId(arg1
);
20071 wxPyEndAllowThreads(__tstate
);
20072 if (PyErr_Occurred()) SWIG_fail
;
20074 Py_INCREF(Py_None
); resultobj
= Py_None
;
20081 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20082 PyObject
*resultobj
;
20084 PyObject
* obj0
= 0 ;
20085 char *kwnames
[] = {
20086 (char *) "val", NULL
20089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
20090 arg1
= (long) SWIG_AsLong(obj0
);
20091 if (PyErr_Occurred()) SWIG_fail
;
20093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20094 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
20096 wxPyEndAllowThreads(__tstate
);
20097 if (PyErr_Occurred()) SWIG_fail
;
20099 Py_INCREF(Py_None
); resultobj
= Py_None
;
20106 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20107 PyObject
*resultobj
;
20109 PyObject
* obj0
= 0 ;
20110 char *kwnames
[] = {
20111 (char *) "val", NULL
20114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
20115 arg1
= (long) SWIG_AsLong(obj0
);
20116 if (PyErr_Occurred()) SWIG_fail
;
20118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20119 wxPyApp::SetMacExitMenuItemId(arg1
);
20121 wxPyEndAllowThreads(__tstate
);
20122 if (PyErr_Occurred()) SWIG_fail
;
20124 Py_INCREF(Py_None
); resultobj
= Py_None
;
20131 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20132 PyObject
*resultobj
;
20133 wxString
*arg1
= 0 ;
20134 bool temp1
= False
;
20135 PyObject
* obj0
= 0 ;
20136 char *kwnames
[] = {
20137 (char *) "val", NULL
20140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
20142 arg1
= wxString_in_helper(obj0
);
20143 if (arg1
== NULL
) SWIG_fail
;
20147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20148 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
20150 wxPyEndAllowThreads(__tstate
);
20151 if (PyErr_Occurred()) SWIG_fail
;
20153 Py_INCREF(Py_None
); resultobj
= Py_None
;
20168 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20169 PyObject
*resultobj
;
20170 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20171 PyObject
* obj0
= 0 ;
20172 char *kwnames
[] = {
20173 (char *) "self", NULL
20176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
20177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20181 (arg1
)->_BootstrapApp();
20183 wxPyEndAllowThreads(__tstate
);
20184 if (PyErr_Occurred()) SWIG_fail
;
20186 Py_INCREF(Py_None
); resultobj
= Py_None
;
20193 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20194 PyObject
*resultobj
;
20196 char *kwnames
[] = {
20200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
20202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20203 result
= (int)wxPyApp::GetComCtl32Version();
20205 wxPyEndAllowThreads(__tstate
);
20206 if (PyErr_Occurred()) SWIG_fail
;
20208 resultobj
= SWIG_FromInt((int)result
);
20215 static PyObject
* PyApp_swigregister(PyObject
*self
, PyObject
*args
) {
20217 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20218 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
20220 return Py_BuildValue((char *)"");
20222 static PyObject
*_wrap_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20223 PyObject
*resultobj
;
20224 char *kwnames
[] = {
20228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
20230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20233 wxPyEndAllowThreads(__tstate
);
20234 if (PyErr_Occurred()) SWIG_fail
;
20236 Py_INCREF(Py_None
); resultobj
= Py_None
;
20243 static PyObject
*_wrap_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20244 PyObject
*resultobj
;
20246 char *kwnames
[] = {
20250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
20252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20253 result
= (bool)wxYield();
20255 wxPyEndAllowThreads(__tstate
);
20256 if (PyErr_Occurred()) SWIG_fail
;
20258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20265 static PyObject
*_wrap_YieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20266 PyObject
*resultobj
;
20268 char *kwnames
[] = {
20272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
20274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20275 result
= (bool)wxYieldIfNeeded();
20277 wxPyEndAllowThreads(__tstate
);
20278 if (PyErr_Occurred()) SWIG_fail
;
20280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20287 static PyObject
*_wrap_SafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20288 PyObject
*resultobj
;
20289 wxWindow
*arg1
= (wxWindow
*) NULL
;
20290 bool arg2
= (bool) False
;
20292 PyObject
* obj0
= 0 ;
20293 PyObject
* obj1
= 0 ;
20294 char *kwnames
[] = {
20295 (char *) "win",(char *) "onlyIfNeeded", NULL
20298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
20300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20304 arg2
= (bool) SWIG_AsBool(obj1
);
20305 if (PyErr_Occurred()) SWIG_fail
;
20308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20309 result
= (bool)wxSafeYield(arg1
,arg2
);
20311 wxPyEndAllowThreads(__tstate
);
20312 if (PyErr_Occurred()) SWIG_fail
;
20314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20321 static PyObject
*_wrap_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20322 PyObject
*resultobj
;
20323 char *kwnames
[] = {
20327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
20329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20332 wxPyEndAllowThreads(__tstate
);
20333 if (PyErr_Occurred()) SWIG_fail
;
20335 Py_INCREF(Py_None
); resultobj
= Py_None
;
20342 static PyObject
*_wrap_PostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20343 PyObject
*resultobj
;
20344 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20345 wxEvent
*arg2
= 0 ;
20346 PyObject
* obj0
= 0 ;
20347 PyObject
* obj1
= 0 ;
20348 char *kwnames
[] = {
20349 (char *) "dest",(char *) "event", NULL
20352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
20354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20355 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
20356 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20358 if (arg2
== NULL
) {
20359 PyErr_SetString(PyExc_TypeError
,"null reference");
20363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20364 wxPostEvent(arg1
,*arg2
);
20366 wxPyEndAllowThreads(__tstate
);
20367 if (PyErr_Occurred()) SWIG_fail
;
20369 Py_INCREF(Py_None
); resultobj
= Py_None
;
20376 static PyObject
*_wrap_App_CleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20377 PyObject
*resultobj
;
20378 char *kwnames
[] = {
20382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
20384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20387 wxPyEndAllowThreads(__tstate
);
20388 if (PyErr_Occurred()) SWIG_fail
;
20390 Py_INCREF(Py_None
); resultobj
= Py_None
;
20397 static PyObject
*_wrap_GetApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20398 PyObject
*resultobj
;
20400 char *kwnames
[] = {
20404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
20406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20407 result
= (wxPyApp
*)wxGetApp();
20409 wxPyEndAllowThreads(__tstate
);
20410 if (PyErr_Occurred()) SWIG_fail
;
20413 resultobj
= wxPyMake_wxObject(result
);
20421 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20422 PyObject
*resultobj
;
20423 int arg1
= (int) 0 ;
20424 int arg2
= (int) 0 ;
20425 int arg3
= (int) 0 ;
20426 wxMenuItem
*arg4
= (wxMenuItem
*) NULL
;
20427 wxAcceleratorEntry
*result
;
20428 PyObject
* obj0
= 0 ;
20429 PyObject
* obj1
= 0 ;
20430 PyObject
* obj2
= 0 ;
20431 PyObject
* obj3
= 0 ;
20432 char *kwnames
[] = {
20433 (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20438 arg1
= (int) SWIG_AsInt(obj0
);
20439 if (PyErr_Occurred()) SWIG_fail
;
20442 arg2
= (int) SWIG_AsInt(obj1
);
20443 if (PyErr_Occurred()) SWIG_fail
;
20446 arg3
= (int) SWIG_AsInt(obj2
);
20447 if (PyErr_Occurred()) SWIG_fail
;
20450 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenuItem
,
20451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20455 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
,arg4
);
20457 wxPyEndAllowThreads(__tstate
);
20458 if (PyErr_Occurred()) SWIG_fail
;
20460 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
20467 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20468 PyObject
*resultobj
;
20469 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20470 PyObject
* obj0
= 0 ;
20471 char *kwnames
[] = {
20472 (char *) "self", NULL
20475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
20476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20482 wxPyEndAllowThreads(__tstate
);
20483 if (PyErr_Occurred()) SWIG_fail
;
20485 Py_INCREF(Py_None
); resultobj
= Py_None
;
20492 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20493 PyObject
*resultobj
;
20494 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20498 wxMenuItem
*arg5
= (wxMenuItem
*) NULL
;
20499 PyObject
* obj0
= 0 ;
20500 PyObject
* obj1
= 0 ;
20501 PyObject
* obj2
= 0 ;
20502 PyObject
* obj3
= 0 ;
20503 PyObject
* obj4
= 0 ;
20504 char *kwnames
[] = {
20505 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20511 arg2
= (int) SWIG_AsInt(obj1
);
20512 if (PyErr_Occurred()) SWIG_fail
;
20513 arg3
= (int) SWIG_AsInt(obj2
);
20514 if (PyErr_Occurred()) SWIG_fail
;
20515 arg4
= (int) SWIG_AsInt(obj3
);
20516 if (PyErr_Occurred()) SWIG_fail
;
20518 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenuItem
,
20519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20523 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
20525 wxPyEndAllowThreads(__tstate
);
20526 if (PyErr_Occurred()) SWIG_fail
;
20528 Py_INCREF(Py_None
); resultobj
= Py_None
;
20535 static PyObject
*_wrap_AcceleratorEntry_SetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20536 PyObject
*resultobj
;
20537 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20538 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
20539 PyObject
* obj0
= 0 ;
20540 PyObject
* obj1
= 0 ;
20541 char *kwnames
[] = {
20542 (char *) "self",(char *) "item", NULL
20545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20548 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
20549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20552 (arg1
)->SetMenuItem(arg2
);
20554 wxPyEndAllowThreads(__tstate
);
20555 if (PyErr_Occurred()) SWIG_fail
;
20557 Py_INCREF(Py_None
); resultobj
= Py_None
;
20564 static PyObject
*_wrap_AcceleratorEntry_GetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20565 PyObject
*resultobj
;
20566 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20567 wxMenuItem
*result
;
20568 PyObject
* obj0
= 0 ;
20569 char *kwnames
[] = {
20570 (char *) "self", NULL
20573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames
,&obj0
)) goto fail
;
20574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20578 result
= (wxMenuItem
*)((wxAcceleratorEntry
const *)arg1
)->GetMenuItem();
20580 wxPyEndAllowThreads(__tstate
);
20581 if (PyErr_Occurred()) SWIG_fail
;
20584 resultobj
= wxPyMake_wxObject(result
);
20592 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20593 PyObject
*resultobj
;
20594 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20596 PyObject
* obj0
= 0 ;
20597 char *kwnames
[] = {
20598 (char *) "self", NULL
20601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
20602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20606 result
= (int)(arg1
)->GetFlags();
20608 wxPyEndAllowThreads(__tstate
);
20609 if (PyErr_Occurred()) SWIG_fail
;
20611 resultobj
= SWIG_FromInt((int)result
);
20618 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20619 PyObject
*resultobj
;
20620 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20622 PyObject
* obj0
= 0 ;
20623 char *kwnames
[] = {
20624 (char *) "self", NULL
20627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20632 result
= (int)(arg1
)->GetKeyCode();
20634 wxPyEndAllowThreads(__tstate
);
20635 if (PyErr_Occurred()) SWIG_fail
;
20637 resultobj
= SWIG_FromInt((int)result
);
20644 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20645 PyObject
*resultobj
;
20646 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20648 PyObject
* obj0
= 0 ;
20649 char *kwnames
[] = {
20650 (char *) "self", NULL
20653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
20654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20658 result
= (int)(arg1
)->GetCommand();
20660 wxPyEndAllowThreads(__tstate
);
20661 if (PyErr_Occurred()) SWIG_fail
;
20663 resultobj
= SWIG_FromInt((int)result
);
20670 static PyObject
* AcceleratorEntry_swigregister(PyObject
*self
, PyObject
*args
) {
20672 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20673 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
20675 return Py_BuildValue((char *)"");
20677 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20678 PyObject
*resultobj
;
20680 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
20681 wxAcceleratorTable
*result
;
20682 PyObject
* obj0
= 0 ;
20683 char *kwnames
[] = {
20687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
20689 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
20690 if (arg2
) arg1
= PyList_Size(obj0
);
20694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20695 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
20697 wxPyEndAllowThreads(__tstate
);
20698 if (PyErr_Occurred()) SWIG_fail
;
20700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
20713 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20714 PyObject
*resultobj
;
20715 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
20716 PyObject
* obj0
= 0 ;
20717 char *kwnames
[] = {
20718 (char *) "self", NULL
20721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
20722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
20723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20728 wxPyEndAllowThreads(__tstate
);
20729 if (PyErr_Occurred()) SWIG_fail
;
20731 Py_INCREF(Py_None
); resultobj
= Py_None
;
20738 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20739 PyObject
*resultobj
;
20740 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
20742 PyObject
* obj0
= 0 ;
20743 char *kwnames
[] = {
20744 (char *) "self", NULL
20747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
20748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
20749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20752 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
20754 wxPyEndAllowThreads(__tstate
);
20755 if (PyErr_Occurred()) SWIG_fail
;
20757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20764 static PyObject
* AcceleratorTable_swigregister(PyObject
*self
, PyObject
*args
) {
20766 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20767 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
20769 return Py_BuildValue((char *)"");
20771 static int _wrap_NullAcceleratorTable_set(PyObject
*_val
) {
20772 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
20777 static PyObject
*_wrap_NullAcceleratorTable_get() {
20780 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
20785 static PyObject
*_wrap_GetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20786 PyObject
*resultobj
;
20787 wxString
*arg1
= 0 ;
20788 wxAcceleratorEntry
*result
;
20789 bool temp1
= False
;
20790 PyObject
* obj0
= 0 ;
20791 char *kwnames
[] = {
20792 (char *) "label", NULL
20795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
20797 arg1
= wxString_in_helper(obj0
);
20798 if (arg1
== NULL
) SWIG_fail
;
20802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20803 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
20805 wxPyEndAllowThreads(__tstate
);
20806 if (PyErr_Occurred()) SWIG_fail
;
20808 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
20823 static int _wrap_PanelNameStr_set(PyObject
*_val
) {
20824 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
20829 static PyObject
*_wrap_PanelNameStr_get() {
20834 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
20836 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
20843 static PyObject
*_wrap_new_Window(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20844 PyObject
*resultobj
;
20845 wxWindow
*arg1
= (wxWindow
*) 0 ;
20847 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20848 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20849 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20850 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20851 long arg5
= (long) 0 ;
20852 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
20853 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20857 bool temp6
= False
;
20858 PyObject
* obj0
= 0 ;
20859 PyObject
* obj1
= 0 ;
20860 PyObject
* obj2
= 0 ;
20861 PyObject
* obj3
= 0 ;
20862 PyObject
* obj4
= 0 ;
20863 PyObject
* obj5
= 0 ;
20864 char *kwnames
[] = {
20865 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20871 arg2
= (int const) SWIG_AsInt(obj1
);
20872 if (PyErr_Occurred()) SWIG_fail
;
20876 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20882 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20886 arg5
= (long) SWIG_AsLong(obj4
);
20887 if (PyErr_Occurred()) SWIG_fail
;
20891 arg6
= wxString_in_helper(obj5
);
20892 if (arg6
== NULL
) SWIG_fail
;
20897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20898 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20900 wxPyEndAllowThreads(__tstate
);
20901 if (PyErr_Occurred()) SWIG_fail
;
20904 resultobj
= wxPyMake_wxObject(result
);
20920 static PyObject
*_wrap_new_PreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20921 PyObject
*resultobj
;
20923 char *kwnames
[] = {
20927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
20929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20930 result
= (wxWindow
*)new wxWindow();
20932 wxPyEndAllowThreads(__tstate
);
20933 if (PyErr_Occurred()) SWIG_fail
;
20936 resultobj
= wxPyMake_wxObject(result
);
20944 static PyObject
*_wrap_Window_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20945 PyObject
*resultobj
;
20946 wxWindow
*arg1
= (wxWindow
*) 0 ;
20947 wxWindow
*arg2
= (wxWindow
*) 0 ;
20949 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20950 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20951 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20952 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20953 long arg6
= (long) 0 ;
20954 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
20955 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20959 bool temp7
= False
;
20960 PyObject
* obj0
= 0 ;
20961 PyObject
* obj1
= 0 ;
20962 PyObject
* obj2
= 0 ;
20963 PyObject
* obj3
= 0 ;
20964 PyObject
* obj4
= 0 ;
20965 PyObject
* obj5
= 0 ;
20966 PyObject
* obj6
= 0 ;
20967 char *kwnames
[] = {
20968 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20974 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20976 arg3
= (int const) SWIG_AsInt(obj2
);
20977 if (PyErr_Occurred()) SWIG_fail
;
20981 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20987 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20991 arg6
= (long) SWIG_AsLong(obj5
);
20992 if (PyErr_Occurred()) SWIG_fail
;
20996 arg7
= wxString_in_helper(obj6
);
20997 if (arg7
== NULL
) SWIG_fail
;
21002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21003 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21005 wxPyEndAllowThreads(__tstate
);
21006 if (PyErr_Occurred()) SWIG_fail
;
21008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21023 static PyObject
*_wrap_Window_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21024 PyObject
*resultobj
;
21025 wxWindow
*arg1
= (wxWindow
*) 0 ;
21026 bool arg2
= (bool) False
;
21028 PyObject
* obj0
= 0 ;
21029 PyObject
* obj1
= 0 ;
21030 char *kwnames
[] = {
21031 (char *) "self",(char *) "force", NULL
21034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
21035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21038 arg2
= (bool) SWIG_AsBool(obj1
);
21039 if (PyErr_Occurred()) SWIG_fail
;
21042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21043 result
= (bool)(arg1
)->Close(arg2
);
21045 wxPyEndAllowThreads(__tstate
);
21046 if (PyErr_Occurred()) SWIG_fail
;
21048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21055 static PyObject
*_wrap_Window_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21056 PyObject
*resultobj
;
21057 wxWindow
*arg1
= (wxWindow
*) 0 ;
21059 PyObject
* obj0
= 0 ;
21060 char *kwnames
[] = {
21061 (char *) "self", NULL
21064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
21065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21069 result
= (bool)(arg1
)->Destroy();
21071 wxPyEndAllowThreads(__tstate
);
21072 if (PyErr_Occurred()) SWIG_fail
;
21074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21081 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21082 PyObject
*resultobj
;
21083 wxWindow
*arg1
= (wxWindow
*) 0 ;
21085 PyObject
* obj0
= 0 ;
21086 char *kwnames
[] = {
21087 (char *) "self", NULL
21090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
21091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21095 result
= (bool)(arg1
)->DestroyChildren();
21097 wxPyEndAllowThreads(__tstate
);
21098 if (PyErr_Occurred()) SWIG_fail
;
21100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21107 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21108 PyObject
*resultobj
;
21109 wxWindow
*arg1
= (wxWindow
*) 0 ;
21111 PyObject
* obj0
= 0 ;
21112 char *kwnames
[] = {
21113 (char *) "self", NULL
21116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
21117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21121 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
21123 wxPyEndAllowThreads(__tstate
);
21124 if (PyErr_Occurred()) SWIG_fail
;
21126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21133 static PyObject
*_wrap_Window_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21134 PyObject
*resultobj
;
21135 wxWindow
*arg1
= (wxWindow
*) 0 ;
21136 wxString
*arg2
= 0 ;
21137 bool temp2
= False
;
21138 PyObject
* obj0
= 0 ;
21139 PyObject
* obj1
= 0 ;
21140 char *kwnames
[] = {
21141 (char *) "self",(char *) "title", NULL
21144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
21145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21148 arg2
= wxString_in_helper(obj1
);
21149 if (arg2
== NULL
) SWIG_fail
;
21153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21154 (arg1
)->SetTitle((wxString
const &)*arg2
);
21156 wxPyEndAllowThreads(__tstate
);
21157 if (PyErr_Occurred()) SWIG_fail
;
21159 Py_INCREF(Py_None
); resultobj
= Py_None
;
21174 static PyObject
*_wrap_Window_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21175 PyObject
*resultobj
;
21176 wxWindow
*arg1
= (wxWindow
*) 0 ;
21178 PyObject
* obj0
= 0 ;
21179 char *kwnames
[] = {
21180 (char *) "self", NULL
21183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
21184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21188 result
= ((wxWindow
const *)arg1
)->GetTitle();
21190 wxPyEndAllowThreads(__tstate
);
21191 if (PyErr_Occurred()) SWIG_fail
;
21195 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21197 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21206 static PyObject
*_wrap_Window_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21207 PyObject
*resultobj
;
21208 wxWindow
*arg1
= (wxWindow
*) 0 ;
21209 wxString
*arg2
= 0 ;
21210 bool temp2
= False
;
21211 PyObject
* obj0
= 0 ;
21212 PyObject
* obj1
= 0 ;
21213 char *kwnames
[] = {
21214 (char *) "self",(char *) "label", NULL
21217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21221 arg2
= wxString_in_helper(obj1
);
21222 if (arg2
== NULL
) SWIG_fail
;
21226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21227 (arg1
)->SetLabel((wxString
const &)*arg2
);
21229 wxPyEndAllowThreads(__tstate
);
21230 if (PyErr_Occurred()) SWIG_fail
;
21232 Py_INCREF(Py_None
); resultobj
= Py_None
;
21247 static PyObject
*_wrap_Window_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21248 PyObject
*resultobj
;
21249 wxWindow
*arg1
= (wxWindow
*) 0 ;
21251 PyObject
* obj0
= 0 ;
21252 char *kwnames
[] = {
21253 (char *) "self", NULL
21256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
21257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21261 result
= ((wxWindow
const *)arg1
)->GetLabel();
21263 wxPyEndAllowThreads(__tstate
);
21264 if (PyErr_Occurred()) SWIG_fail
;
21268 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21270 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21279 static PyObject
*_wrap_Window_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21280 PyObject
*resultobj
;
21281 wxWindow
*arg1
= (wxWindow
*) 0 ;
21282 wxString
*arg2
= 0 ;
21283 bool temp2
= False
;
21284 PyObject
* obj0
= 0 ;
21285 PyObject
* obj1
= 0 ;
21286 char *kwnames
[] = {
21287 (char *) "self",(char *) "name", NULL
21290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
21291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21294 arg2
= wxString_in_helper(obj1
);
21295 if (arg2
== NULL
) SWIG_fail
;
21299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21300 (arg1
)->SetName((wxString
const &)*arg2
);
21302 wxPyEndAllowThreads(__tstate
);
21303 if (PyErr_Occurred()) SWIG_fail
;
21305 Py_INCREF(Py_None
); resultobj
= Py_None
;
21320 static PyObject
*_wrap_Window_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21321 PyObject
*resultobj
;
21322 wxWindow
*arg1
= (wxWindow
*) 0 ;
21324 PyObject
* obj0
= 0 ;
21325 char *kwnames
[] = {
21326 (char *) "self", NULL
21329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
21330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21334 result
= ((wxWindow
const *)arg1
)->GetName();
21336 wxPyEndAllowThreads(__tstate
);
21337 if (PyErr_Occurred()) SWIG_fail
;
21341 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21343 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21352 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21353 PyObject
*resultobj
;
21354 wxWindow
*arg1
= (wxWindow
*) 0 ;
21356 PyObject
* obj0
= 0 ;
21357 PyObject
* obj1
= 0 ;
21358 char *kwnames
[] = {
21359 (char *) "self",(char *) "variant", NULL
21362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
21363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21365 arg2
= (wxWindowVariant
) SWIG_AsInt(obj1
);
21366 if (PyErr_Occurred()) SWIG_fail
;
21368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21369 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
21371 wxPyEndAllowThreads(__tstate
);
21372 if (PyErr_Occurred()) SWIG_fail
;
21374 Py_INCREF(Py_None
); resultobj
= Py_None
;
21381 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21382 PyObject
*resultobj
;
21383 wxWindow
*arg1
= (wxWindow
*) 0 ;
21385 PyObject
* obj0
= 0 ;
21386 char *kwnames
[] = {
21387 (char *) "self", NULL
21390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
21391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21395 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
21397 wxPyEndAllowThreads(__tstate
);
21398 if (PyErr_Occurred()) SWIG_fail
;
21400 resultobj
= SWIG_FromInt((int)result
);
21407 static PyObject
*_wrap_Window_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21408 PyObject
*resultobj
;
21409 wxWindow
*arg1
= (wxWindow
*) 0 ;
21411 PyObject
* obj0
= 0 ;
21412 PyObject
* obj1
= 0 ;
21413 char *kwnames
[] = {
21414 (char *) "self",(char *) "winid", NULL
21417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21420 arg2
= (int) SWIG_AsInt(obj1
);
21421 if (PyErr_Occurred()) SWIG_fail
;
21423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21424 (arg1
)->SetId(arg2
);
21426 wxPyEndAllowThreads(__tstate
);
21427 if (PyErr_Occurred()) SWIG_fail
;
21429 Py_INCREF(Py_None
); resultobj
= Py_None
;
21436 static PyObject
*_wrap_Window_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21437 PyObject
*resultobj
;
21438 wxWindow
*arg1
= (wxWindow
*) 0 ;
21440 PyObject
* obj0
= 0 ;
21441 char *kwnames
[] = {
21442 (char *) "self", NULL
21445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
21446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21450 result
= (int)((wxWindow
const *)arg1
)->GetId();
21452 wxPyEndAllowThreads(__tstate
);
21453 if (PyErr_Occurred()) SWIG_fail
;
21455 resultobj
= SWIG_FromInt((int)result
);
21462 static PyObject
*_wrap_Window_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21463 PyObject
*resultobj
;
21465 char *kwnames
[] = {
21469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
21471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21472 result
= (int)wxWindow::NewControlId();
21474 wxPyEndAllowThreads(__tstate
);
21475 if (PyErr_Occurred()) SWIG_fail
;
21477 resultobj
= SWIG_FromInt((int)result
);
21484 static PyObject
*_wrap_Window_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21485 PyObject
*resultobj
;
21488 PyObject
* obj0
= 0 ;
21489 char *kwnames
[] = {
21490 (char *) "winid", NULL
21493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
21494 arg1
= (int) SWIG_AsInt(obj0
);
21495 if (PyErr_Occurred()) SWIG_fail
;
21497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21498 result
= (int)wxWindow::NextControlId(arg1
);
21500 wxPyEndAllowThreads(__tstate
);
21501 if (PyErr_Occurred()) SWIG_fail
;
21503 resultobj
= SWIG_FromInt((int)result
);
21510 static PyObject
*_wrap_Window_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21511 PyObject
*resultobj
;
21514 PyObject
* obj0
= 0 ;
21515 char *kwnames
[] = {
21516 (char *) "winid", NULL
21519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
21520 arg1
= (int) SWIG_AsInt(obj0
);
21521 if (PyErr_Occurred()) SWIG_fail
;
21523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21524 result
= (int)wxWindow::PrevControlId(arg1
);
21526 wxPyEndAllowThreads(__tstate
);
21527 if (PyErr_Occurred()) SWIG_fail
;
21529 resultobj
= SWIG_FromInt((int)result
);
21536 static PyObject
*_wrap_Window_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21537 PyObject
*resultobj
;
21538 wxWindow
*arg1
= (wxWindow
*) 0 ;
21541 PyObject
* obj0
= 0 ;
21542 PyObject
* obj1
= 0 ;
21543 char *kwnames
[] = {
21544 (char *) "self",(char *) "size", NULL
21547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
21548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21552 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21556 (arg1
)->SetSize((wxSize
const &)*arg2
);
21558 wxPyEndAllowThreads(__tstate
);
21559 if (PyErr_Occurred()) SWIG_fail
;
21561 Py_INCREF(Py_None
); resultobj
= Py_None
;
21568 static PyObject
*_wrap_Window_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21569 PyObject
*resultobj
;
21570 wxWindow
*arg1
= (wxWindow
*) 0 ;
21575 int arg6
= (int) wxSIZE_AUTO
;
21576 PyObject
* obj0
= 0 ;
21577 PyObject
* obj1
= 0 ;
21578 PyObject
* obj2
= 0 ;
21579 PyObject
* obj3
= 0 ;
21580 PyObject
* obj4
= 0 ;
21581 PyObject
* obj5
= 0 ;
21582 char *kwnames
[] = {
21583 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21589 arg2
= (int) SWIG_AsInt(obj1
);
21590 if (PyErr_Occurred()) SWIG_fail
;
21591 arg3
= (int) SWIG_AsInt(obj2
);
21592 if (PyErr_Occurred()) SWIG_fail
;
21593 arg4
= (int) SWIG_AsInt(obj3
);
21594 if (PyErr_Occurred()) SWIG_fail
;
21595 arg5
= (int) SWIG_AsInt(obj4
);
21596 if (PyErr_Occurred()) SWIG_fail
;
21598 arg6
= (int) SWIG_AsInt(obj5
);
21599 if (PyErr_Occurred()) SWIG_fail
;
21602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21603 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21605 wxPyEndAllowThreads(__tstate
);
21606 if (PyErr_Occurred()) SWIG_fail
;
21608 Py_INCREF(Py_None
); resultobj
= Py_None
;
21615 static PyObject
*_wrap_Window_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21616 PyObject
*resultobj
;
21617 wxWindow
*arg1
= (wxWindow
*) 0 ;
21619 int arg3
= (int) wxSIZE_AUTO
;
21621 PyObject
* obj0
= 0 ;
21622 PyObject
* obj1
= 0 ;
21623 PyObject
* obj2
= 0 ;
21624 char *kwnames
[] = {
21625 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
21628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21633 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
21636 arg3
= (int) SWIG_AsInt(obj2
);
21637 if (PyErr_Occurred()) SWIG_fail
;
21640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21641 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
21643 wxPyEndAllowThreads(__tstate
);
21644 if (PyErr_Occurred()) SWIG_fail
;
21646 Py_INCREF(Py_None
); resultobj
= Py_None
;
21653 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21654 PyObject
*resultobj
;
21655 wxWindow
*arg1
= (wxWindow
*) 0 ;
21658 PyObject
* obj0
= 0 ;
21659 PyObject
* obj1
= 0 ;
21660 PyObject
* obj2
= 0 ;
21661 char *kwnames
[] = {
21662 (char *) "self",(char *) "width",(char *) "height", NULL
21665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21668 arg2
= (int) SWIG_AsInt(obj1
);
21669 if (PyErr_Occurred()) SWIG_fail
;
21670 arg3
= (int) SWIG_AsInt(obj2
);
21671 if (PyErr_Occurred()) SWIG_fail
;
21673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21674 (arg1
)->SetSize(arg2
,arg3
);
21676 wxPyEndAllowThreads(__tstate
);
21677 if (PyErr_Occurred()) SWIG_fail
;
21679 Py_INCREF(Py_None
); resultobj
= Py_None
;
21686 static PyObject
*_wrap_Window_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21687 PyObject
*resultobj
;
21688 wxWindow
*arg1
= (wxWindow
*) 0 ;
21689 wxPoint
*arg2
= 0 ;
21690 int arg3
= (int) wxSIZE_USE_EXISTING
;
21692 PyObject
* obj0
= 0 ;
21693 PyObject
* obj1
= 0 ;
21694 PyObject
* obj2
= 0 ;
21695 char *kwnames
[] = {
21696 (char *) "self",(char *) "pt",(char *) "flags", NULL
21699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21704 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21707 arg3
= (int) SWIG_AsInt(obj2
);
21708 if (PyErr_Occurred()) SWIG_fail
;
21711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21712 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
21714 wxPyEndAllowThreads(__tstate
);
21715 if (PyErr_Occurred()) SWIG_fail
;
21717 Py_INCREF(Py_None
); resultobj
= Py_None
;
21724 static PyObject
*_wrap_Window_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21725 PyObject
*resultobj
;
21726 wxWindow
*arg1
= (wxWindow
*) 0 ;
21729 int arg4
= (int) wxSIZE_USE_EXISTING
;
21730 PyObject
* obj0
= 0 ;
21731 PyObject
* obj1
= 0 ;
21732 PyObject
* obj2
= 0 ;
21733 PyObject
* obj3
= 0 ;
21734 char *kwnames
[] = {
21735 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
21738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21741 arg2
= (int) SWIG_AsInt(obj1
);
21742 if (PyErr_Occurred()) SWIG_fail
;
21743 arg3
= (int) SWIG_AsInt(obj2
);
21744 if (PyErr_Occurred()) SWIG_fail
;
21746 arg4
= (int) SWIG_AsInt(obj3
);
21747 if (PyErr_Occurred()) SWIG_fail
;
21750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21751 (arg1
)->Move(arg2
,arg3
,arg4
);
21753 wxPyEndAllowThreads(__tstate
);
21754 if (PyErr_Occurred()) SWIG_fail
;
21756 Py_INCREF(Py_None
); resultobj
= Py_None
;
21763 static PyObject
*_wrap_Window_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21764 PyObject
*resultobj
;
21765 wxWindow
*arg1
= (wxWindow
*) 0 ;
21766 PyObject
* obj0
= 0 ;
21767 char *kwnames
[] = {
21768 (char *) "self", NULL
21771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
21772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21778 wxPyEndAllowThreads(__tstate
);
21779 if (PyErr_Occurred()) SWIG_fail
;
21781 Py_INCREF(Py_None
); resultobj
= Py_None
;
21788 static PyObject
*_wrap_Window_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21789 PyObject
*resultobj
;
21790 wxWindow
*arg1
= (wxWindow
*) 0 ;
21791 PyObject
* obj0
= 0 ;
21792 char *kwnames
[] = {
21793 (char *) "self", NULL
21796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
21797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21803 wxPyEndAllowThreads(__tstate
);
21804 if (PyErr_Occurred()) SWIG_fail
;
21806 Py_INCREF(Py_None
); resultobj
= Py_None
;
21813 static PyObject
*_wrap_Window_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21814 PyObject
*resultobj
;
21815 wxWindow
*arg1
= (wxWindow
*) 0 ;
21818 PyObject
* obj0
= 0 ;
21819 PyObject
* obj1
= 0 ;
21820 char *kwnames
[] = {
21821 (char *) "self",(char *) "size", NULL
21824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
21825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21829 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21833 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
21835 wxPyEndAllowThreads(__tstate
);
21836 if (PyErr_Occurred()) SWIG_fail
;
21838 Py_INCREF(Py_None
); resultobj
= Py_None
;
21845 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21846 PyObject
*resultobj
;
21847 wxWindow
*arg1
= (wxWindow
*) 0 ;
21850 PyObject
* obj0
= 0 ;
21851 PyObject
* obj1
= 0 ;
21852 PyObject
* obj2
= 0 ;
21853 char *kwnames
[] = {
21854 (char *) "self",(char *) "width",(char *) "height", NULL
21857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21860 arg2
= (int) SWIG_AsInt(obj1
);
21861 if (PyErr_Occurred()) SWIG_fail
;
21862 arg3
= (int) SWIG_AsInt(obj2
);
21863 if (PyErr_Occurred()) SWIG_fail
;
21865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21866 (arg1
)->SetClientSize(arg2
,arg3
);
21868 wxPyEndAllowThreads(__tstate
);
21869 if (PyErr_Occurred()) SWIG_fail
;
21871 Py_INCREF(Py_None
); resultobj
= Py_None
;
21878 static PyObject
*_wrap_Window_SetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21879 PyObject
*resultobj
;
21880 wxWindow
*arg1
= (wxWindow
*) 0 ;
21883 PyObject
* obj0
= 0 ;
21884 PyObject
* obj1
= 0 ;
21885 char *kwnames
[] = {
21886 (char *) "self",(char *) "rect", NULL
21889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
21890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21894 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
21897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21898 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
21900 wxPyEndAllowThreads(__tstate
);
21901 if (PyErr_Occurred()) SWIG_fail
;
21903 Py_INCREF(Py_None
); resultobj
= Py_None
;
21910 static PyObject
*_wrap_Window_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21911 PyObject
*resultobj
;
21912 wxWindow
*arg1
= (wxWindow
*) 0 ;
21914 PyObject
* obj0
= 0 ;
21915 char *kwnames
[] = {
21916 (char *) "self", NULL
21919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
21920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21924 result
= (arg1
)->GetPosition();
21926 wxPyEndAllowThreads(__tstate
);
21927 if (PyErr_Occurred()) SWIG_fail
;
21930 wxPoint
* resultptr
;
21931 resultptr
= new wxPoint((wxPoint
&) result
);
21932 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
21940 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21941 PyObject
*resultobj
;
21942 wxWindow
*arg1
= (wxWindow
*) 0 ;
21943 int *arg2
= (int *) 0 ;
21944 int *arg3
= (int *) 0 ;
21947 PyObject
* obj0
= 0 ;
21948 char *kwnames
[] = {
21949 (char *) "self", NULL
21954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
21955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21959 (arg1
)->GetPosition(arg2
,arg3
);
21961 wxPyEndAllowThreads(__tstate
);
21962 if (PyErr_Occurred()) SWIG_fail
;
21964 Py_INCREF(Py_None
); resultobj
= Py_None
;
21966 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21967 resultobj
= t_output_helper(resultobj
,o
);
21970 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21971 resultobj
= t_output_helper(resultobj
,o
);
21979 static PyObject
*_wrap_Window_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21980 PyObject
*resultobj
;
21981 wxWindow
*arg1
= (wxWindow
*) 0 ;
21983 PyObject
* obj0
= 0 ;
21984 char *kwnames
[] = {
21985 (char *) "self", NULL
21988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
21989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21993 result
= ((wxWindow
const *)arg1
)->GetSize();
21995 wxPyEndAllowThreads(__tstate
);
21996 if (PyErr_Occurred()) SWIG_fail
;
21999 wxSize
* resultptr
;
22000 resultptr
= new wxSize((wxSize
&) result
);
22001 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22009 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22010 PyObject
*resultobj
;
22011 wxWindow
*arg1
= (wxWindow
*) 0 ;
22012 int *arg2
= (int *) 0 ;
22013 int *arg3
= (int *) 0 ;
22016 PyObject
* obj0
= 0 ;
22017 char *kwnames
[] = {
22018 (char *) "self", NULL
22023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
22024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22028 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
22030 wxPyEndAllowThreads(__tstate
);
22031 if (PyErr_Occurred()) SWIG_fail
;
22033 Py_INCREF(Py_None
); resultobj
= Py_None
;
22035 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22036 resultobj
= t_output_helper(resultobj
,o
);
22039 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22040 resultobj
= t_output_helper(resultobj
,o
);
22048 static PyObject
*_wrap_Window_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22049 PyObject
*resultobj
;
22050 wxWindow
*arg1
= (wxWindow
*) 0 ;
22052 PyObject
* obj0
= 0 ;
22053 char *kwnames
[] = {
22054 (char *) "self", NULL
22057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
22058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22062 result
= ((wxWindow
const *)arg1
)->GetRect();
22064 wxPyEndAllowThreads(__tstate
);
22065 if (PyErr_Occurred()) SWIG_fail
;
22068 wxRect
* resultptr
;
22069 resultptr
= new wxRect((wxRect
&) result
);
22070 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22078 static PyObject
*_wrap_Window_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22079 PyObject
*resultobj
;
22080 wxWindow
*arg1
= (wxWindow
*) 0 ;
22082 PyObject
* obj0
= 0 ;
22083 char *kwnames
[] = {
22084 (char *) "self", NULL
22087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
22088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22092 result
= ((wxWindow
const *)arg1
)->GetClientSize();
22094 wxPyEndAllowThreads(__tstate
);
22095 if (PyErr_Occurred()) SWIG_fail
;
22098 wxSize
* resultptr
;
22099 resultptr
= new wxSize((wxSize
&) result
);
22100 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22108 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22109 PyObject
*resultobj
;
22110 wxWindow
*arg1
= (wxWindow
*) 0 ;
22111 int *arg2
= (int *) 0 ;
22112 int *arg3
= (int *) 0 ;
22115 PyObject
* obj0
= 0 ;
22116 char *kwnames
[] = {
22117 (char *) "self", NULL
22122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
22123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22127 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
22129 wxPyEndAllowThreads(__tstate
);
22130 if (PyErr_Occurred()) SWIG_fail
;
22132 Py_INCREF(Py_None
); resultobj
= Py_None
;
22134 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22135 resultobj
= t_output_helper(resultobj
,o
);
22138 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22139 resultobj
= t_output_helper(resultobj
,o
);
22147 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22148 PyObject
*resultobj
;
22149 wxWindow
*arg1
= (wxWindow
*) 0 ;
22151 PyObject
* obj0
= 0 ;
22152 char *kwnames
[] = {
22153 (char *) "self", NULL
22156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
22157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22161 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
22163 wxPyEndAllowThreads(__tstate
);
22164 if (PyErr_Occurred()) SWIG_fail
;
22167 wxPoint
* resultptr
;
22168 resultptr
= new wxPoint((wxPoint
&) result
);
22169 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22177 static PyObject
*_wrap_Window_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22178 PyObject
*resultobj
;
22179 wxWindow
*arg1
= (wxWindow
*) 0 ;
22181 PyObject
* obj0
= 0 ;
22182 char *kwnames
[] = {
22183 (char *) "self", NULL
22186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
22187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22191 result
= ((wxWindow
const *)arg1
)->GetClientRect();
22193 wxPyEndAllowThreads(__tstate
);
22194 if (PyErr_Occurred()) SWIG_fail
;
22197 wxRect
* resultptr
;
22198 resultptr
= new wxRect((wxRect
&) result
);
22199 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22207 static PyObject
*_wrap_Window_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22208 PyObject
*resultobj
;
22209 wxWindow
*arg1
= (wxWindow
*) 0 ;
22211 PyObject
* obj0
= 0 ;
22212 char *kwnames
[] = {
22213 (char *) "self", NULL
22216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
22217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22221 result
= ((wxWindow
const *)arg1
)->GetBestSize();
22223 wxPyEndAllowThreads(__tstate
);
22224 if (PyErr_Occurred()) SWIG_fail
;
22227 wxSize
* resultptr
;
22228 resultptr
= new wxSize((wxSize
&) result
);
22229 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22237 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22238 PyObject
*resultobj
;
22239 wxWindow
*arg1
= (wxWindow
*) 0 ;
22240 int *arg2
= (int *) 0 ;
22241 int *arg3
= (int *) 0 ;
22244 PyObject
* obj0
= 0 ;
22245 char *kwnames
[] = {
22246 (char *) "self", NULL
22251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
22252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22256 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
22258 wxPyEndAllowThreads(__tstate
);
22259 if (PyErr_Occurred()) SWIG_fail
;
22261 Py_INCREF(Py_None
); resultobj
= Py_None
;
22263 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22264 resultobj
= t_output_helper(resultobj
,o
);
22267 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22268 resultobj
= t_output_helper(resultobj
,o
);
22276 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22277 PyObject
*resultobj
;
22278 wxWindow
*arg1
= (wxWindow
*) 0 ;
22280 PyObject
* obj0
= 0 ;
22281 char *kwnames
[] = {
22282 (char *) "self", NULL
22285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
22286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22290 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
22292 wxPyEndAllowThreads(__tstate
);
22293 if (PyErr_Occurred()) SWIG_fail
;
22296 wxSize
* resultptr
;
22297 resultptr
= new wxSize((wxSize
&) result
);
22298 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22306 static PyObject
*_wrap_Window_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22307 PyObject
*resultobj
;
22308 wxWindow
*arg1
= (wxWindow
*) 0 ;
22309 int arg2
= (int) wxBOTH
;
22310 PyObject
* obj0
= 0 ;
22311 PyObject
* obj1
= 0 ;
22312 char *kwnames
[] = {
22313 (char *) "self",(char *) "direction", NULL
22316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
22317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22320 arg2
= (int) SWIG_AsInt(obj1
);
22321 if (PyErr_Occurred()) SWIG_fail
;
22324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22325 (arg1
)->Center(arg2
);
22327 wxPyEndAllowThreads(__tstate
);
22328 if (PyErr_Occurred()) SWIG_fail
;
22330 Py_INCREF(Py_None
); resultobj
= Py_None
;
22337 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22338 PyObject
*resultobj
;
22339 wxWindow
*arg1
= (wxWindow
*) 0 ;
22340 int arg2
= (int) wxBOTH
;
22341 PyObject
* obj0
= 0 ;
22342 PyObject
* obj1
= 0 ;
22343 char *kwnames
[] = {
22344 (char *) "self",(char *) "dir", NULL
22347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
22348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22351 arg2
= (int) SWIG_AsInt(obj1
);
22352 if (PyErr_Occurred()) SWIG_fail
;
22355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22356 (arg1
)->CenterOnScreen(arg2
);
22358 wxPyEndAllowThreads(__tstate
);
22359 if (PyErr_Occurred()) SWIG_fail
;
22361 Py_INCREF(Py_None
); resultobj
= Py_None
;
22368 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22369 PyObject
*resultobj
;
22370 wxWindow
*arg1
= (wxWindow
*) 0 ;
22371 int arg2
= (int) wxBOTH
;
22372 PyObject
* obj0
= 0 ;
22373 PyObject
* obj1
= 0 ;
22374 char *kwnames
[] = {
22375 (char *) "self",(char *) "dir", NULL
22378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
22379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22382 arg2
= (int) SWIG_AsInt(obj1
);
22383 if (PyErr_Occurred()) SWIG_fail
;
22386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22387 (arg1
)->CenterOnParent(arg2
);
22389 wxPyEndAllowThreads(__tstate
);
22390 if (PyErr_Occurred()) SWIG_fail
;
22392 Py_INCREF(Py_None
); resultobj
= Py_None
;
22399 static PyObject
*_wrap_Window_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22400 PyObject
*resultobj
;
22401 wxWindow
*arg1
= (wxWindow
*) 0 ;
22402 PyObject
* obj0
= 0 ;
22403 char *kwnames
[] = {
22404 (char *) "self", NULL
22407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
22408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22414 wxPyEndAllowThreads(__tstate
);
22415 if (PyErr_Occurred()) SWIG_fail
;
22417 Py_INCREF(Py_None
); resultobj
= Py_None
;
22424 static PyObject
*_wrap_Window_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22425 PyObject
*resultobj
;
22426 wxWindow
*arg1
= (wxWindow
*) 0 ;
22427 PyObject
* obj0
= 0 ;
22428 char *kwnames
[] = {
22429 (char *) "self", NULL
22432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
22433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22437 (arg1
)->FitInside();
22439 wxPyEndAllowThreads(__tstate
);
22440 if (PyErr_Occurred()) SWIG_fail
;
22442 Py_INCREF(Py_None
); resultobj
= Py_None
;
22449 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22450 PyObject
*resultobj
;
22451 wxWindow
*arg1
= (wxWindow
*) 0 ;
22454 int arg4
= (int) -1 ;
22455 int arg5
= (int) -1 ;
22456 int arg6
= (int) -1 ;
22457 int arg7
= (int) -1 ;
22458 PyObject
* obj0
= 0 ;
22459 PyObject
* obj1
= 0 ;
22460 PyObject
* obj2
= 0 ;
22461 PyObject
* obj3
= 0 ;
22462 PyObject
* obj4
= 0 ;
22463 PyObject
* obj5
= 0 ;
22464 PyObject
* obj6
= 0 ;
22465 char *kwnames
[] = {
22466 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
22469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22472 arg2
= (int) SWIG_AsInt(obj1
);
22473 if (PyErr_Occurred()) SWIG_fail
;
22474 arg3
= (int) SWIG_AsInt(obj2
);
22475 if (PyErr_Occurred()) SWIG_fail
;
22477 arg4
= (int) SWIG_AsInt(obj3
);
22478 if (PyErr_Occurred()) SWIG_fail
;
22481 arg5
= (int) SWIG_AsInt(obj4
);
22482 if (PyErr_Occurred()) SWIG_fail
;
22485 arg6
= (int) SWIG_AsInt(obj5
);
22486 if (PyErr_Occurred()) SWIG_fail
;
22489 arg7
= (int) SWIG_AsInt(obj6
);
22490 if (PyErr_Occurred()) SWIG_fail
;
22493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22494 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22496 wxPyEndAllowThreads(__tstate
);
22497 if (PyErr_Occurred()) SWIG_fail
;
22499 Py_INCREF(Py_None
); resultobj
= Py_None
;
22506 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22507 PyObject
*resultobj
;
22508 wxWindow
*arg1
= (wxWindow
*) 0 ;
22511 int arg4
= (int) -1 ;
22512 int arg5
= (int) -1 ;
22513 PyObject
* obj0
= 0 ;
22514 PyObject
* obj1
= 0 ;
22515 PyObject
* obj2
= 0 ;
22516 PyObject
* obj3
= 0 ;
22517 PyObject
* obj4
= 0 ;
22518 char *kwnames
[] = {
22519 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
22522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22525 arg2
= (int) SWIG_AsInt(obj1
);
22526 if (PyErr_Occurred()) SWIG_fail
;
22527 arg3
= (int) SWIG_AsInt(obj2
);
22528 if (PyErr_Occurred()) SWIG_fail
;
22530 arg4
= (int) SWIG_AsInt(obj3
);
22531 if (PyErr_Occurred()) SWIG_fail
;
22534 arg5
= (int) SWIG_AsInt(obj4
);
22535 if (PyErr_Occurred()) SWIG_fail
;
22538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22539 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
22541 wxPyEndAllowThreads(__tstate
);
22542 if (PyErr_Occurred()) SWIG_fail
;
22544 Py_INCREF(Py_None
); resultobj
= Py_None
;
22551 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22552 PyObject
*resultobj
;
22553 wxWindow
*arg1
= (wxWindow
*) 0 ;
22555 PyObject
* obj0
= 0 ;
22556 char *kwnames
[] = {
22557 (char *) "self", NULL
22560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
22561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22565 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
22567 wxPyEndAllowThreads(__tstate
);
22568 if (PyErr_Occurred()) SWIG_fail
;
22570 resultobj
= SWIG_FromInt((int)result
);
22577 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22578 PyObject
*resultobj
;
22579 wxWindow
*arg1
= (wxWindow
*) 0 ;
22581 PyObject
* obj0
= 0 ;
22582 char *kwnames
[] = {
22583 (char *) "self", NULL
22586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
22587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22591 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
22593 wxPyEndAllowThreads(__tstate
);
22594 if (PyErr_Occurred()) SWIG_fail
;
22596 resultobj
= SWIG_FromInt((int)result
);
22603 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22604 PyObject
*resultobj
;
22605 wxWindow
*arg1
= (wxWindow
*) 0 ;
22607 PyObject
* obj0
= 0 ;
22608 char *kwnames
[] = {
22609 (char *) "self", NULL
22612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
22613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22617 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
22619 wxPyEndAllowThreads(__tstate
);
22620 if (PyErr_Occurred()) SWIG_fail
;
22622 resultobj
= SWIG_FromInt((int)result
);
22629 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22630 PyObject
*resultobj
;
22631 wxWindow
*arg1
= (wxWindow
*) 0 ;
22633 PyObject
* obj0
= 0 ;
22634 char *kwnames
[] = {
22635 (char *) "self", NULL
22638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
22639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22643 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
22645 wxPyEndAllowThreads(__tstate
);
22646 if (PyErr_Occurred()) SWIG_fail
;
22648 resultobj
= SWIG_FromInt((int)result
);
22655 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22656 PyObject
*resultobj
;
22657 wxWindow
*arg1
= (wxWindow
*) 0 ;
22659 PyObject
* obj0
= 0 ;
22660 char *kwnames
[] = {
22661 (char *) "self", NULL
22664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
22665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22669 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
22671 wxPyEndAllowThreads(__tstate
);
22672 if (PyErr_Occurred()) SWIG_fail
;
22675 wxSize
* resultptr
;
22676 resultptr
= new wxSize((wxSize
&) result
);
22677 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22685 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22686 PyObject
*resultobj
;
22687 wxWindow
*arg1
= (wxWindow
*) 0 ;
22690 PyObject
* obj0
= 0 ;
22691 PyObject
* obj1
= 0 ;
22692 char *kwnames
[] = {
22693 (char *) "self",(char *) "size", NULL
22696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22701 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22705 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
22707 wxPyEndAllowThreads(__tstate
);
22708 if (PyErr_Occurred()) SWIG_fail
;
22710 Py_INCREF(Py_None
); resultobj
= Py_None
;
22717 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22718 PyObject
*resultobj
;
22719 wxWindow
*arg1
= (wxWindow
*) 0 ;
22722 PyObject
* obj0
= 0 ;
22723 PyObject
* obj1
= 0 ;
22724 PyObject
* obj2
= 0 ;
22725 char *kwnames
[] = {
22726 (char *) "self",(char *) "w",(char *) "h", NULL
22729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22732 arg2
= (int) SWIG_AsInt(obj1
);
22733 if (PyErr_Occurred()) SWIG_fail
;
22734 arg3
= (int) SWIG_AsInt(obj2
);
22735 if (PyErr_Occurred()) SWIG_fail
;
22737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22738 (arg1
)->SetVirtualSize(arg2
,arg3
);
22740 wxPyEndAllowThreads(__tstate
);
22741 if (PyErr_Occurred()) SWIG_fail
;
22743 Py_INCREF(Py_None
); resultobj
= Py_None
;
22750 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22751 PyObject
*resultobj
;
22752 wxWindow
*arg1
= (wxWindow
*) 0 ;
22754 PyObject
* obj0
= 0 ;
22755 char *kwnames
[] = {
22756 (char *) "self", NULL
22759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
22760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22764 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
22766 wxPyEndAllowThreads(__tstate
);
22767 if (PyErr_Occurred()) SWIG_fail
;
22770 wxSize
* resultptr
;
22771 resultptr
= new wxSize((wxSize
&) result
);
22772 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22780 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22781 PyObject
*resultobj
;
22782 wxWindow
*arg1
= (wxWindow
*) 0 ;
22783 int *arg2
= (int *) 0 ;
22784 int *arg3
= (int *) 0 ;
22787 PyObject
* obj0
= 0 ;
22788 char *kwnames
[] = {
22789 (char *) "self", NULL
22794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
22795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22799 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
22801 wxPyEndAllowThreads(__tstate
);
22802 if (PyErr_Occurred()) SWIG_fail
;
22804 Py_INCREF(Py_None
); resultobj
= Py_None
;
22806 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22807 resultobj
= t_output_helper(resultobj
,o
);
22810 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22811 resultobj
= t_output_helper(resultobj
,o
);
22819 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*self
, 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_GetBestVirtualSize",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
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
22835 wxPyEndAllowThreads(__tstate
);
22836 if (PyErr_Occurred()) SWIG_fail
;
22839 wxSize
* resultptr
;
22840 resultptr
= new wxSize((wxSize
&) result
);
22841 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22849 static PyObject
*_wrap_Window_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22850 PyObject
*resultobj
;
22851 wxWindow
*arg1
= (wxWindow
*) 0 ;
22852 bool arg2
= (bool) True
;
22854 PyObject
* obj0
= 0 ;
22855 PyObject
* obj1
= 0 ;
22856 char *kwnames
[] = {
22857 (char *) "self",(char *) "show", NULL
22860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
22861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22864 arg2
= (bool) SWIG_AsBool(obj1
);
22865 if (PyErr_Occurred()) SWIG_fail
;
22868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22869 result
= (bool)(arg1
)->Show(arg2
);
22871 wxPyEndAllowThreads(__tstate
);
22872 if (PyErr_Occurred()) SWIG_fail
;
22874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22881 static PyObject
*_wrap_Window_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22882 PyObject
*resultobj
;
22883 wxWindow
*arg1
= (wxWindow
*) 0 ;
22885 PyObject
* obj0
= 0 ;
22886 char *kwnames
[] = {
22887 (char *) "self", NULL
22890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
22891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22895 result
= (bool)(arg1
)->Hide();
22897 wxPyEndAllowThreads(__tstate
);
22898 if (PyErr_Occurred()) SWIG_fail
;
22900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22907 static PyObject
*_wrap_Window_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22908 PyObject
*resultobj
;
22909 wxWindow
*arg1
= (wxWindow
*) 0 ;
22910 bool arg2
= (bool) True
;
22912 PyObject
* obj0
= 0 ;
22913 PyObject
* obj1
= 0 ;
22914 char *kwnames
[] = {
22915 (char *) "self",(char *) "enable", NULL
22918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
22919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22922 arg2
= (bool) SWIG_AsBool(obj1
);
22923 if (PyErr_Occurred()) SWIG_fail
;
22926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22927 result
= (bool)(arg1
)->Enable(arg2
);
22929 wxPyEndAllowThreads(__tstate
);
22930 if (PyErr_Occurred()) SWIG_fail
;
22932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22939 static PyObject
*_wrap_Window_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22940 PyObject
*resultobj
;
22941 wxWindow
*arg1
= (wxWindow
*) 0 ;
22943 PyObject
* obj0
= 0 ;
22944 char *kwnames
[] = {
22945 (char *) "self", NULL
22948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
22949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22953 result
= (bool)(arg1
)->Disable();
22955 wxPyEndAllowThreads(__tstate
);
22956 if (PyErr_Occurred()) SWIG_fail
;
22958 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22965 static PyObject
*_wrap_Window_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22966 PyObject
*resultobj
;
22967 wxWindow
*arg1
= (wxWindow
*) 0 ;
22969 PyObject
* obj0
= 0 ;
22970 char *kwnames
[] = {
22971 (char *) "self", NULL
22974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
22975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22979 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
22981 wxPyEndAllowThreads(__tstate
);
22982 if (PyErr_Occurred()) SWIG_fail
;
22984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22991 static PyObject
*_wrap_Window_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22992 PyObject
*resultobj
;
22993 wxWindow
*arg1
= (wxWindow
*) 0 ;
22995 PyObject
* obj0
= 0 ;
22996 char *kwnames
[] = {
22997 (char *) "self", NULL
23000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
23001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23005 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
23007 wxPyEndAllowThreads(__tstate
);
23008 if (PyErr_Occurred()) SWIG_fail
;
23010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23017 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23018 PyObject
*resultobj
;
23019 wxWindow
*arg1
= (wxWindow
*) 0 ;
23021 PyObject
* obj0
= 0 ;
23022 PyObject
* obj1
= 0 ;
23023 char *kwnames
[] = {
23024 (char *) "self",(char *) "style", NULL
23027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23030 arg2
= (long) SWIG_AsLong(obj1
);
23031 if (PyErr_Occurred()) SWIG_fail
;
23033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23034 (arg1
)->SetWindowStyleFlag(arg2
);
23036 wxPyEndAllowThreads(__tstate
);
23037 if (PyErr_Occurred()) SWIG_fail
;
23039 Py_INCREF(Py_None
); resultobj
= Py_None
;
23046 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23047 PyObject
*resultobj
;
23048 wxWindow
*arg1
= (wxWindow
*) 0 ;
23050 PyObject
* obj0
= 0 ;
23051 char *kwnames
[] = {
23052 (char *) "self", NULL
23055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
23056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23060 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
23062 wxPyEndAllowThreads(__tstate
);
23063 if (PyErr_Occurred()) SWIG_fail
;
23065 resultobj
= SWIG_FromLong((long)result
);
23072 static PyObject
*_wrap_Window_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23073 PyObject
*resultobj
;
23074 wxWindow
*arg1
= (wxWindow
*) 0 ;
23077 PyObject
* obj0
= 0 ;
23078 PyObject
* obj1
= 0 ;
23079 char *kwnames
[] = {
23080 (char *) "self",(char *) "flag", NULL
23083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23086 arg2
= (int) SWIG_AsInt(obj1
);
23087 if (PyErr_Occurred()) SWIG_fail
;
23089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23090 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
23092 wxPyEndAllowThreads(__tstate
);
23093 if (PyErr_Occurred()) SWIG_fail
;
23095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23102 static PyObject
*_wrap_Window_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23103 PyObject
*resultobj
;
23104 wxWindow
*arg1
= (wxWindow
*) 0 ;
23106 PyObject
* obj0
= 0 ;
23107 char *kwnames
[] = {
23108 (char *) "self", NULL
23111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
23112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23116 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
23118 wxPyEndAllowThreads(__tstate
);
23119 if (PyErr_Occurred()) SWIG_fail
;
23121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23128 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23129 PyObject
*resultobj
;
23130 wxWindow
*arg1
= (wxWindow
*) 0 ;
23132 PyObject
* obj0
= 0 ;
23133 PyObject
* obj1
= 0 ;
23134 char *kwnames
[] = {
23135 (char *) "self",(char *) "exStyle", NULL
23138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
23139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23141 arg2
= (long) SWIG_AsLong(obj1
);
23142 if (PyErr_Occurred()) SWIG_fail
;
23144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23145 (arg1
)->SetExtraStyle(arg2
);
23147 wxPyEndAllowThreads(__tstate
);
23148 if (PyErr_Occurred()) SWIG_fail
;
23150 Py_INCREF(Py_None
); resultobj
= Py_None
;
23157 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23158 PyObject
*resultobj
;
23159 wxWindow
*arg1
= (wxWindow
*) 0 ;
23161 PyObject
* obj0
= 0 ;
23162 char *kwnames
[] = {
23163 (char *) "self", NULL
23166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
23167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23171 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
23173 wxPyEndAllowThreads(__tstate
);
23174 if (PyErr_Occurred()) SWIG_fail
;
23176 resultobj
= SWIG_FromLong((long)result
);
23183 static PyObject
*_wrap_Window_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23184 PyObject
*resultobj
;
23185 wxWindow
*arg1
= (wxWindow
*) 0 ;
23186 bool arg2
= (bool) True
;
23187 PyObject
* obj0
= 0 ;
23188 PyObject
* obj1
= 0 ;
23189 char *kwnames
[] = {
23190 (char *) "self",(char *) "modal", NULL
23193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
23194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23197 arg2
= (bool) SWIG_AsBool(obj1
);
23198 if (PyErr_Occurred()) SWIG_fail
;
23201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23202 (arg1
)->MakeModal(arg2
);
23204 wxPyEndAllowThreads(__tstate
);
23205 if (PyErr_Occurred()) SWIG_fail
;
23207 Py_INCREF(Py_None
); resultobj
= Py_None
;
23214 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23215 PyObject
*resultobj
;
23216 wxWindow
*arg1
= (wxWindow
*) 0 ;
23218 PyObject
* obj0
= 0 ;
23219 PyObject
* obj1
= 0 ;
23220 char *kwnames
[] = {
23221 (char *) "self",(char *) "enableTheme", NULL
23224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
23225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23227 arg2
= (bool) SWIG_AsBool(obj1
);
23228 if (PyErr_Occurred()) SWIG_fail
;
23230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23231 (arg1
)->SetThemeEnabled(arg2
);
23233 wxPyEndAllowThreads(__tstate
);
23234 if (PyErr_Occurred()) SWIG_fail
;
23236 Py_INCREF(Py_None
); resultobj
= Py_None
;
23243 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23244 PyObject
*resultobj
;
23245 wxWindow
*arg1
= (wxWindow
*) 0 ;
23247 PyObject
* obj0
= 0 ;
23248 char *kwnames
[] = {
23249 (char *) "self", NULL
23252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
23253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23257 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
23259 wxPyEndAllowThreads(__tstate
);
23260 if (PyErr_Occurred()) SWIG_fail
;
23262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23269 static PyObject
*_wrap_Window_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23270 PyObject
*resultobj
;
23271 wxWindow
*arg1
= (wxWindow
*) 0 ;
23272 PyObject
* obj0
= 0 ;
23273 char *kwnames
[] = {
23274 (char *) "self", NULL
23277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
23278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23282 (arg1
)->SetFocus();
23284 wxPyEndAllowThreads(__tstate
);
23285 if (PyErr_Occurred()) SWIG_fail
;
23287 Py_INCREF(Py_None
); resultobj
= Py_None
;
23294 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23295 PyObject
*resultobj
;
23296 wxWindow
*arg1
= (wxWindow
*) 0 ;
23297 PyObject
* obj0
= 0 ;
23298 char *kwnames
[] = {
23299 (char *) "self", NULL
23302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
23303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23307 (arg1
)->SetFocusFromKbd();
23309 wxPyEndAllowThreads(__tstate
);
23310 if (PyErr_Occurred()) SWIG_fail
;
23312 Py_INCREF(Py_None
); resultobj
= Py_None
;
23319 static PyObject
*_wrap_Window_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23320 PyObject
*resultobj
;
23322 char *kwnames
[] = {
23326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
23328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23329 result
= (wxWindow
*)wxWindow::FindFocus();
23331 wxPyEndAllowThreads(__tstate
);
23332 if (PyErr_Occurred()) SWIG_fail
;
23335 resultobj
= wxPyMake_wxObject(result
);
23343 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23344 PyObject
*resultobj
;
23345 wxWindow
*arg1
= (wxWindow
*) 0 ;
23347 PyObject
* obj0
= 0 ;
23348 char *kwnames
[] = {
23349 (char *) "self", NULL
23352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
23353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23357 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
23359 wxPyEndAllowThreads(__tstate
);
23360 if (PyErr_Occurred()) SWIG_fail
;
23362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23369 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23370 PyObject
*resultobj
;
23371 wxWindow
*arg1
= (wxWindow
*) 0 ;
23373 PyObject
* obj0
= 0 ;
23374 char *kwnames
[] = {
23375 (char *) "self", NULL
23378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
23379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23383 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
23385 wxPyEndAllowThreads(__tstate
);
23386 if (PyErr_Occurred()) SWIG_fail
;
23388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23395 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23396 PyObject
*resultobj
;
23397 wxWindow
*arg1
= (wxWindow
*) 0 ;
23399 PyObject
* obj0
= 0 ;
23400 char *kwnames
[] = {
23401 (char *) "self", NULL
23404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
23405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23409 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
23411 wxPyEndAllowThreads(__tstate
);
23412 if (PyErr_Occurred()) SWIG_fail
;
23415 resultobj
= wxPyMake_wxObject(result
);
23423 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23424 PyObject
*resultobj
;
23425 wxWindow
*arg1
= (wxWindow
*) 0 ;
23426 wxWindow
*arg2
= (wxWindow
*) 0 ;
23428 PyObject
* obj0
= 0 ;
23429 PyObject
* obj1
= 0 ;
23430 char *kwnames
[] = {
23431 (char *) "self",(char *) "child", NULL
23434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23437 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23441 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
23443 wxPyEndAllowThreads(__tstate
);
23444 if (PyErr_Occurred()) SWIG_fail
;
23447 resultobj
= wxPyMake_wxObject(result
);
23455 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23456 PyObject
*resultobj
;
23457 wxWindow
*arg1
= (wxWindow
*) 0 ;
23458 wxWindow
*arg2
= (wxWindow
*) 0 ;
23459 PyObject
* obj0
= 0 ;
23460 PyObject
* obj1
= 0 ;
23461 char *kwnames
[] = {
23462 (char *) "self",(char *) "win", NULL
23465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23468 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23472 (arg1
)->SetTmpDefaultItem(arg2
);
23474 wxPyEndAllowThreads(__tstate
);
23475 if (PyErr_Occurred()) SWIG_fail
;
23477 Py_INCREF(Py_None
); resultobj
= Py_None
;
23484 static PyObject
*_wrap_Window_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23485 PyObject
*resultobj
;
23486 wxWindow
*arg1
= (wxWindow
*) 0 ;
23488 PyObject
* obj0
= 0 ;
23489 char *kwnames
[] = {
23490 (char *) "self", NULL
23493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
23494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23498 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
23500 wxPyEndAllowThreads(__tstate
);
23501 if (PyErr_Occurred()) SWIG_fail
;
23503 resultobj
= result
;
23510 static PyObject
*_wrap_Window_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23511 PyObject
*resultobj
;
23512 wxWindow
*arg1
= (wxWindow
*) 0 ;
23514 PyObject
* obj0
= 0 ;
23515 char *kwnames
[] = {
23516 (char *) "self", NULL
23519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
23520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23524 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
23526 wxPyEndAllowThreads(__tstate
);
23527 if (PyErr_Occurred()) SWIG_fail
;
23530 resultobj
= wxPyMake_wxObject(result
);
23538 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23539 PyObject
*resultobj
;
23540 wxWindow
*arg1
= (wxWindow
*) 0 ;
23542 PyObject
* obj0
= 0 ;
23543 char *kwnames
[] = {
23544 (char *) "self", NULL
23547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
23548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23552 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
23554 wxPyEndAllowThreads(__tstate
);
23555 if (PyErr_Occurred()) SWIG_fail
;
23558 resultobj
= wxPyMake_wxObject(result
);
23566 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23567 PyObject
*resultobj
;
23568 wxWindow
*arg1
= (wxWindow
*) 0 ;
23570 PyObject
* obj0
= 0 ;
23571 char *kwnames
[] = {
23572 (char *) "self", NULL
23575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
23576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23580 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
23582 wxPyEndAllowThreads(__tstate
);
23583 if (PyErr_Occurred()) SWIG_fail
;
23585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23592 static PyObject
*_wrap_Window_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23593 PyObject
*resultobj
;
23594 wxWindow
*arg1
= (wxWindow
*) 0 ;
23595 wxWindow
*arg2
= (wxWindow
*) 0 ;
23597 PyObject
* obj0
= 0 ;
23598 PyObject
* obj1
= 0 ;
23599 char *kwnames
[] = {
23600 (char *) "self",(char *) "newParent", NULL
23603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
23604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23606 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23610 result
= (bool)(arg1
)->Reparent(arg2
);
23612 wxPyEndAllowThreads(__tstate
);
23613 if (PyErr_Occurred()) SWIG_fail
;
23615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23622 static PyObject
*_wrap_Window_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23623 PyObject
*resultobj
;
23624 wxWindow
*arg1
= (wxWindow
*) 0 ;
23625 wxWindow
*arg2
= (wxWindow
*) 0 ;
23626 PyObject
* obj0
= 0 ;
23627 PyObject
* obj1
= 0 ;
23628 char *kwnames
[] = {
23629 (char *) "self",(char *) "child", NULL
23632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
23633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23635 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23639 (arg1
)->AddChild(arg2
);
23641 wxPyEndAllowThreads(__tstate
);
23642 if (PyErr_Occurred()) SWIG_fail
;
23644 Py_INCREF(Py_None
); resultobj
= Py_None
;
23651 static PyObject
*_wrap_Window_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23652 PyObject
*resultobj
;
23653 wxWindow
*arg1
= (wxWindow
*) 0 ;
23654 wxWindow
*arg2
= (wxWindow
*) 0 ;
23655 PyObject
* obj0
= 0 ;
23656 PyObject
* obj1
= 0 ;
23657 char *kwnames
[] = {
23658 (char *) "self",(char *) "child", NULL
23661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
23662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23664 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23668 (arg1
)->RemoveChild(arg2
);
23670 wxPyEndAllowThreads(__tstate
);
23671 if (PyErr_Occurred()) SWIG_fail
;
23673 Py_INCREF(Py_None
); resultobj
= Py_None
;
23680 static PyObject
*_wrap_Window_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23681 PyObject
*resultobj
;
23682 wxWindow
*arg1
= (wxWindow
*) 0 ;
23685 PyObject
* obj0
= 0 ;
23686 PyObject
* obj1
= 0 ;
23687 char *kwnames
[] = {
23688 (char *) "self",(char *) "winid", NULL
23691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
23692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23694 arg2
= (long) SWIG_AsLong(obj1
);
23695 if (PyErr_Occurred()) SWIG_fail
;
23697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23698 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
23700 wxPyEndAllowThreads(__tstate
);
23701 if (PyErr_Occurred()) SWIG_fail
;
23704 resultobj
= wxPyMake_wxObject(result
);
23712 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23713 PyObject
*resultobj
;
23714 wxWindow
*arg1
= (wxWindow
*) 0 ;
23715 wxString
*arg2
= 0 ;
23717 bool temp2
= False
;
23718 PyObject
* obj0
= 0 ;
23719 PyObject
* obj1
= 0 ;
23720 char *kwnames
[] = {
23721 (char *) "self",(char *) "name", NULL
23724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
23725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23728 arg2
= wxString_in_helper(obj1
);
23729 if (arg2
== NULL
) SWIG_fail
;
23733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23734 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
23736 wxPyEndAllowThreads(__tstate
);
23737 if (PyErr_Occurred()) SWIG_fail
;
23740 resultobj
= wxPyMake_wxObject(result
);
23756 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23757 PyObject
*resultobj
;
23758 wxWindow
*arg1
= (wxWindow
*) 0 ;
23759 wxEvtHandler
*result
;
23760 PyObject
* obj0
= 0 ;
23761 char *kwnames
[] = {
23762 (char *) "self", NULL
23765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
23766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23770 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
23772 wxPyEndAllowThreads(__tstate
);
23773 if (PyErr_Occurred()) SWIG_fail
;
23776 resultobj
= wxPyMake_wxObject(result
);
23784 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23785 PyObject
*resultobj
;
23786 wxWindow
*arg1
= (wxWindow
*) 0 ;
23787 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
23788 PyObject
* obj0
= 0 ;
23789 PyObject
* obj1
= 0 ;
23790 char *kwnames
[] = {
23791 (char *) "self",(char *) "handler", NULL
23794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
23795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23797 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
23798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23801 (arg1
)->SetEventHandler(arg2
);
23803 wxPyEndAllowThreads(__tstate
);
23804 if (PyErr_Occurred()) SWIG_fail
;
23806 Py_INCREF(Py_None
); resultobj
= Py_None
;
23813 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23814 PyObject
*resultobj
;
23815 wxWindow
*arg1
= (wxWindow
*) 0 ;
23816 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
23817 PyObject
* obj0
= 0 ;
23818 PyObject
* obj1
= 0 ;
23819 char *kwnames
[] = {
23820 (char *) "self",(char *) "handler", NULL
23823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
23824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23826 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
23827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23830 (arg1
)->PushEventHandler(arg2
);
23832 wxPyEndAllowThreads(__tstate
);
23833 if (PyErr_Occurred()) SWIG_fail
;
23835 Py_INCREF(Py_None
); resultobj
= Py_None
;
23842 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23843 PyObject
*resultobj
;
23844 wxWindow
*arg1
= (wxWindow
*) 0 ;
23845 bool arg2
= (bool) False
;
23846 wxEvtHandler
*result
;
23847 PyObject
* obj0
= 0 ;
23848 PyObject
* obj1
= 0 ;
23849 char *kwnames
[] = {
23850 (char *) "self",(char *) "deleteHandler", NULL
23853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
23854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23857 arg2
= (bool) SWIG_AsBool(obj1
);
23858 if (PyErr_Occurred()) SWIG_fail
;
23861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23862 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
23864 wxPyEndAllowThreads(__tstate
);
23865 if (PyErr_Occurred()) SWIG_fail
;
23868 resultobj
= wxPyMake_wxObject(result
);
23876 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23877 PyObject
*resultobj
;
23878 wxWindow
*arg1
= (wxWindow
*) 0 ;
23879 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
23881 PyObject
* obj0
= 0 ;
23882 PyObject
* obj1
= 0 ;
23883 char *kwnames
[] = {
23884 (char *) "self",(char *) "handler", NULL
23887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
23888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23890 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
23891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23894 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
23896 wxPyEndAllowThreads(__tstate
);
23897 if (PyErr_Occurred()) SWIG_fail
;
23899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23906 static PyObject
*_wrap_Window_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23907 PyObject
*resultobj
;
23908 wxWindow
*arg1
= (wxWindow
*) 0 ;
23909 wxValidator
*arg2
= 0 ;
23910 PyObject
* obj0
= 0 ;
23911 PyObject
* obj1
= 0 ;
23912 char *kwnames
[] = {
23913 (char *) "self",(char *) "validator", NULL
23916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
23917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23919 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
23920 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23922 if (arg2
== NULL
) {
23923 PyErr_SetString(PyExc_TypeError
,"null reference");
23927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23928 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
23930 wxPyEndAllowThreads(__tstate
);
23931 if (PyErr_Occurred()) SWIG_fail
;
23933 Py_INCREF(Py_None
); resultobj
= Py_None
;
23940 static PyObject
*_wrap_Window_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23941 PyObject
*resultobj
;
23942 wxWindow
*arg1
= (wxWindow
*) 0 ;
23943 wxValidator
*result
;
23944 PyObject
* obj0
= 0 ;
23945 char *kwnames
[] = {
23946 (char *) "self", NULL
23949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
23950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23954 result
= (wxValidator
*)(arg1
)->GetValidator();
23956 wxPyEndAllowThreads(__tstate
);
23957 if (PyErr_Occurred()) SWIG_fail
;
23960 resultobj
= wxPyMake_wxObject(result
);
23968 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23969 PyObject
*resultobj
;
23970 wxWindow
*arg1
= (wxWindow
*) 0 ;
23971 wxAcceleratorTable
*arg2
= 0 ;
23972 PyObject
* obj0
= 0 ;
23973 PyObject
* obj1
= 0 ;
23974 char *kwnames
[] = {
23975 (char *) "self",(char *) "accel", NULL
23978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
23979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23981 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
23982 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23984 if (arg2
== NULL
) {
23985 PyErr_SetString(PyExc_TypeError
,"null reference");
23989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23990 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
23992 wxPyEndAllowThreads(__tstate
);
23993 if (PyErr_Occurred()) SWIG_fail
;
23995 Py_INCREF(Py_None
); resultobj
= Py_None
;
24002 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24003 PyObject
*resultobj
;
24004 wxWindow
*arg1
= (wxWindow
*) 0 ;
24005 wxAcceleratorTable
*result
;
24006 PyObject
* obj0
= 0 ;
24007 char *kwnames
[] = {
24008 (char *) "self", NULL
24011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
24012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24016 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
24018 wxPyEndAllowThreads(__tstate
);
24019 if (PyErr_Occurred()) SWIG_fail
;
24021 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
24028 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24029 PyObject
*resultobj
;
24030 wxWindow
*arg1
= (wxWindow
*) 0 ;
24035 PyObject
* obj0
= 0 ;
24036 PyObject
* obj1
= 0 ;
24037 PyObject
* obj2
= 0 ;
24038 PyObject
* obj3
= 0 ;
24039 char *kwnames
[] = {
24040 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
24043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24046 arg2
= (int) SWIG_AsInt(obj1
);
24047 if (PyErr_Occurred()) SWIG_fail
;
24048 arg3
= (int) SWIG_AsInt(obj2
);
24049 if (PyErr_Occurred()) SWIG_fail
;
24050 arg4
= (int) SWIG_AsInt(obj3
);
24051 if (PyErr_Occurred()) SWIG_fail
;
24053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24054 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
24056 wxPyEndAllowThreads(__tstate
);
24057 if (PyErr_Occurred()) SWIG_fail
;
24059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24066 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24067 PyObject
*resultobj
;
24068 wxWindow
*arg1
= (wxWindow
*) 0 ;
24071 PyObject
* obj0
= 0 ;
24072 PyObject
* obj1
= 0 ;
24073 char *kwnames
[] = {
24074 (char *) "self",(char *) "hotkeyId", NULL
24077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
24078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24080 arg2
= (int) SWIG_AsInt(obj1
);
24081 if (PyErr_Occurred()) SWIG_fail
;
24083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24084 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
24086 wxPyEndAllowThreads(__tstate
);
24087 if (PyErr_Occurred()) SWIG_fail
;
24089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24096 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24097 PyObject
*resultobj
;
24098 wxWindow
*arg1
= (wxWindow
*) 0 ;
24099 wxPoint
*arg2
= 0 ;
24102 PyObject
* obj0
= 0 ;
24103 PyObject
* obj1
= 0 ;
24104 char *kwnames
[] = {
24105 (char *) "self",(char *) "pt", NULL
24108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
24109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24113 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24117 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
24119 wxPyEndAllowThreads(__tstate
);
24120 if (PyErr_Occurred()) SWIG_fail
;
24123 wxPoint
* resultptr
;
24124 resultptr
= new wxPoint((wxPoint
&) result
);
24125 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24133 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24134 PyObject
*resultobj
;
24135 wxWindow
*arg1
= (wxWindow
*) 0 ;
24139 PyObject
* obj0
= 0 ;
24140 PyObject
* obj1
= 0 ;
24141 char *kwnames
[] = {
24142 (char *) "self",(char *) "sz", NULL
24145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
24146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24150 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24154 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
24156 wxPyEndAllowThreads(__tstate
);
24157 if (PyErr_Occurred()) SWIG_fail
;
24160 wxSize
* resultptr
;
24161 resultptr
= new wxSize((wxSize
&) result
);
24162 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24170 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24171 PyObject
*resultobj
;
24172 wxWindow
*arg1
= (wxWindow
*) 0 ;
24173 wxPoint
*arg2
= 0 ;
24176 PyObject
* obj0
= 0 ;
24177 PyObject
* obj1
= 0 ;
24178 char *kwnames
[] = {
24179 (char *) "self",(char *) "pt", NULL
24182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
24183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24187 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24191 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
24193 wxPyEndAllowThreads(__tstate
);
24194 if (PyErr_Occurred()) SWIG_fail
;
24197 wxPoint
* resultptr
;
24198 resultptr
= new wxPoint((wxPoint
&) result
);
24199 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24207 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24208 PyObject
*resultobj
;
24209 wxWindow
*arg1
= (wxWindow
*) 0 ;
24213 PyObject
* obj0
= 0 ;
24214 PyObject
* obj1
= 0 ;
24215 char *kwnames
[] = {
24216 (char *) "self",(char *) "sz", NULL
24219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
24220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24224 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24228 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
24230 wxPyEndAllowThreads(__tstate
);
24231 if (PyErr_Occurred()) SWIG_fail
;
24234 wxSize
* resultptr
;
24235 resultptr
= new wxSize((wxSize
&) result
);
24236 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24244 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24245 PyObject
*resultobj
;
24246 wxWindow
*arg1
= (wxWindow
*) 0 ;
24247 wxPoint
*arg2
= 0 ;
24250 PyObject
* obj0
= 0 ;
24251 PyObject
* obj1
= 0 ;
24252 char *kwnames
[] = {
24253 (char *) "self",(char *) "pt", NULL
24256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24261 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24265 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
24267 wxPyEndAllowThreads(__tstate
);
24268 if (PyErr_Occurred()) SWIG_fail
;
24271 wxPoint
* resultptr
;
24272 resultptr
= new wxPoint((wxPoint
&) result
);
24273 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24281 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24282 PyObject
*resultobj
;
24283 wxWindow
*arg1
= (wxWindow
*) 0 ;
24287 PyObject
* obj0
= 0 ;
24288 PyObject
* obj1
= 0 ;
24289 char *kwnames
[] = {
24290 (char *) "self",(char *) "sz", NULL
24293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24298 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24302 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
24304 wxPyEndAllowThreads(__tstate
);
24305 if (PyErr_Occurred()) SWIG_fail
;
24308 wxSize
* resultptr
;
24309 resultptr
= new wxSize((wxSize
&) result
);
24310 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24318 static PyObject
*_wrap_Window_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24319 PyObject
*resultobj
;
24320 wxWindow
*arg1
= (wxWindow
*) 0 ;
24323 PyObject
* obj0
= 0 ;
24324 PyObject
* obj1
= 0 ;
24325 PyObject
* obj2
= 0 ;
24326 char *kwnames
[] = {
24327 (char *) "self",(char *) "x",(char *) "y", NULL
24330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24333 arg2
= (int) SWIG_AsInt(obj1
);
24334 if (PyErr_Occurred()) SWIG_fail
;
24335 arg3
= (int) SWIG_AsInt(obj2
);
24336 if (PyErr_Occurred()) SWIG_fail
;
24338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24339 (arg1
)->WarpPointer(arg2
,arg3
);
24341 wxPyEndAllowThreads(__tstate
);
24342 if (PyErr_Occurred()) SWIG_fail
;
24344 Py_INCREF(Py_None
); resultobj
= Py_None
;
24351 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24352 PyObject
*resultobj
;
24353 wxWindow
*arg1
= (wxWindow
*) 0 ;
24354 PyObject
* obj0
= 0 ;
24355 char *kwnames
[] = {
24356 (char *) "self", NULL
24359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
24360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24364 (arg1
)->CaptureMouse();
24366 wxPyEndAllowThreads(__tstate
);
24367 if (PyErr_Occurred()) SWIG_fail
;
24369 Py_INCREF(Py_None
); resultobj
= Py_None
;
24376 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24377 PyObject
*resultobj
;
24378 wxWindow
*arg1
= (wxWindow
*) 0 ;
24379 PyObject
* obj0
= 0 ;
24380 char *kwnames
[] = {
24381 (char *) "self", NULL
24384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
24385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24389 (arg1
)->ReleaseMouse();
24391 wxPyEndAllowThreads(__tstate
);
24392 if (PyErr_Occurred()) SWIG_fail
;
24394 Py_INCREF(Py_None
); resultobj
= Py_None
;
24401 static PyObject
*_wrap_Window_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24402 PyObject
*resultobj
;
24404 char *kwnames
[] = {
24408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
24410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24411 result
= (wxWindow
*)wxWindow::GetCapture();
24413 wxPyEndAllowThreads(__tstate
);
24414 if (PyErr_Occurred()) SWIG_fail
;
24417 resultobj
= wxPyMake_wxObject(result
);
24425 static PyObject
*_wrap_Window_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24426 PyObject
*resultobj
;
24427 wxWindow
*arg1
= (wxWindow
*) 0 ;
24429 PyObject
* obj0
= 0 ;
24430 char *kwnames
[] = {
24431 (char *) "self", NULL
24434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
24435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24439 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
24441 wxPyEndAllowThreads(__tstate
);
24442 if (PyErr_Occurred()) SWIG_fail
;
24444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24451 static PyObject
*_wrap_Window_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24452 PyObject
*resultobj
;
24453 wxWindow
*arg1
= (wxWindow
*) 0 ;
24454 bool arg2
= (bool) True
;
24455 wxRect
*arg3
= (wxRect
*) NULL
;
24456 PyObject
* obj0
= 0 ;
24457 PyObject
* obj1
= 0 ;
24458 PyObject
* obj2
= 0 ;
24459 char *kwnames
[] = {
24460 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
24463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24467 arg2
= (bool) SWIG_AsBool(obj1
);
24468 if (PyErr_Occurred()) SWIG_fail
;
24471 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
24472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24476 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
24478 wxPyEndAllowThreads(__tstate
);
24479 if (PyErr_Occurred()) SWIG_fail
;
24481 Py_INCREF(Py_None
); resultobj
= Py_None
;
24488 static PyObject
*_wrap_Window_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24489 PyObject
*resultobj
;
24490 wxWindow
*arg1
= (wxWindow
*) 0 ;
24493 PyObject
* obj0
= 0 ;
24494 PyObject
* obj1
= 0 ;
24495 char *kwnames
[] = {
24496 (char *) "self",(char *) "rect", NULL
24499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
24500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24504 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
24507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24508 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
24510 wxPyEndAllowThreads(__tstate
);
24511 if (PyErr_Occurred()) SWIG_fail
;
24513 Py_INCREF(Py_None
); resultobj
= Py_None
;
24520 static PyObject
*_wrap_Window_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24521 PyObject
*resultobj
;
24522 wxWindow
*arg1
= (wxWindow
*) 0 ;
24523 PyObject
* obj0
= 0 ;
24524 char *kwnames
[] = {
24525 (char *) "self", NULL
24528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
24529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24535 wxPyEndAllowThreads(__tstate
);
24536 if (PyErr_Occurred()) SWIG_fail
;
24538 Py_INCREF(Py_None
); resultobj
= Py_None
;
24545 static PyObject
*_wrap_Window_ClearBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24546 PyObject
*resultobj
;
24547 wxWindow
*arg1
= (wxWindow
*) 0 ;
24548 PyObject
* obj0
= 0 ;
24549 char *kwnames
[] = {
24550 (char *) "self", NULL
24553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
24554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24558 (arg1
)->ClearBackground();
24560 wxPyEndAllowThreads(__tstate
);
24561 if (PyErr_Occurred()) SWIG_fail
;
24563 Py_INCREF(Py_None
); resultobj
= Py_None
;
24570 static PyObject
*_wrap_Window_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24571 PyObject
*resultobj
;
24572 wxWindow
*arg1
= (wxWindow
*) 0 ;
24573 PyObject
* obj0
= 0 ;
24574 char *kwnames
[] = {
24575 (char *) "self", NULL
24578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
24579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24585 wxPyEndAllowThreads(__tstate
);
24586 if (PyErr_Occurred()) SWIG_fail
;
24588 Py_INCREF(Py_None
); resultobj
= Py_None
;
24595 static PyObject
*_wrap_Window_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24596 PyObject
*resultobj
;
24597 wxWindow
*arg1
= (wxWindow
*) 0 ;
24598 PyObject
* obj0
= 0 ;
24599 char *kwnames
[] = {
24600 (char *) "self", NULL
24603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
24604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24610 wxPyEndAllowThreads(__tstate
);
24611 if (PyErr_Occurred()) SWIG_fail
;
24613 Py_INCREF(Py_None
); resultobj
= Py_None
;
24620 static PyObject
*_wrap_Window_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24621 PyObject
*resultobj
;
24622 wxWindow
*arg1
= (wxWindow
*) 0 ;
24624 PyObject
* obj0
= 0 ;
24625 PyObject
* obj1
= 0 ;
24626 char *kwnames
[] = {
24627 (char *) "self",(char *) "dc", NULL
24630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
24631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24633 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24634 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24636 if (arg2
== NULL
) {
24637 PyErr_SetString(PyExc_TypeError
,"null reference");
24641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24642 (arg1
)->PrepareDC(*arg2
);
24644 wxPyEndAllowThreads(__tstate
);
24645 if (PyErr_Occurred()) SWIG_fail
;
24647 Py_INCREF(Py_None
); resultobj
= Py_None
;
24654 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24655 PyObject
*resultobj
;
24656 wxWindow
*arg1
= (wxWindow
*) 0 ;
24658 PyObject
* obj0
= 0 ;
24659 char *kwnames
[] = {
24660 (char *) "self", NULL
24663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
24664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24669 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
24670 result
= (wxRegion
*) &_result_ref
;
24673 wxPyEndAllowThreads(__tstate
);
24674 if (PyErr_Occurred()) SWIG_fail
;
24676 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
24683 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24684 PyObject
*resultobj
;
24685 wxWindow
*arg1
= (wxWindow
*) 0 ;
24687 PyObject
* obj0
= 0 ;
24688 char *kwnames
[] = {
24689 (char *) "self", NULL
24692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
24693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24697 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
24699 wxPyEndAllowThreads(__tstate
);
24700 if (PyErr_Occurred()) SWIG_fail
;
24703 wxRect
* resultptr
;
24704 resultptr
= new wxRect((wxRect
&) result
);
24705 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24713 static PyObject
*_wrap_Window_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24714 PyObject
*resultobj
;
24715 wxWindow
*arg1
= (wxWindow
*) 0 ;
24718 int arg4
= (int) 1 ;
24719 int arg5
= (int) 1 ;
24721 PyObject
* obj0
= 0 ;
24722 PyObject
* obj1
= 0 ;
24723 PyObject
* obj2
= 0 ;
24724 PyObject
* obj3
= 0 ;
24725 PyObject
* obj4
= 0 ;
24726 char *kwnames
[] = {
24727 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24733 arg2
= (int) SWIG_AsInt(obj1
);
24734 if (PyErr_Occurred()) SWIG_fail
;
24735 arg3
= (int) SWIG_AsInt(obj2
);
24736 if (PyErr_Occurred()) SWIG_fail
;
24738 arg4
= (int) SWIG_AsInt(obj3
);
24739 if (PyErr_Occurred()) SWIG_fail
;
24742 arg5
= (int) SWIG_AsInt(obj4
);
24743 if (PyErr_Occurred()) SWIG_fail
;
24746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24747 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
24749 wxPyEndAllowThreads(__tstate
);
24750 if (PyErr_Occurred()) SWIG_fail
;
24752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24759 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24760 PyObject
*resultobj
;
24761 wxWindow
*arg1
= (wxWindow
*) 0 ;
24762 wxPoint
*arg2
= 0 ;
24765 PyObject
* obj0
= 0 ;
24766 PyObject
* obj1
= 0 ;
24767 char *kwnames
[] = {
24768 (char *) "self",(char *) "pt", NULL
24771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
24772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24776 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24780 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
24782 wxPyEndAllowThreads(__tstate
);
24783 if (PyErr_Occurred()) SWIG_fail
;
24785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24792 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24793 PyObject
*resultobj
;
24794 wxWindow
*arg1
= (wxWindow
*) 0 ;
24798 PyObject
* obj0
= 0 ;
24799 PyObject
* obj1
= 0 ;
24800 char *kwnames
[] = {
24801 (char *) "self",(char *) "rect", NULL
24804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
24805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24809 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
24812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24813 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
24815 wxPyEndAllowThreads(__tstate
);
24816 if (PyErr_Occurred()) SWIG_fail
;
24818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24825 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24826 PyObject
*resultobj
;
24827 wxWindow
*arg1
= (wxWindow
*) 0 ;
24828 wxColour
*arg2
= 0 ;
24831 PyObject
* obj0
= 0 ;
24832 PyObject
* obj1
= 0 ;
24833 char *kwnames
[] = {
24834 (char *) "self",(char *) "colour", NULL
24837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24842 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24846 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
24848 wxPyEndAllowThreads(__tstate
);
24849 if (PyErr_Occurred()) SWIG_fail
;
24851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24858 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24859 PyObject
*resultobj
;
24860 wxWindow
*arg1
= (wxWindow
*) 0 ;
24861 wxColour
*arg2
= 0 ;
24864 PyObject
* obj0
= 0 ;
24865 PyObject
* obj1
= 0 ;
24866 char *kwnames
[] = {
24867 (char *) "self",(char *) "colour", NULL
24870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24875 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24879 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
24881 wxPyEndAllowThreads(__tstate
);
24882 if (PyErr_Occurred()) SWIG_fail
;
24884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24891 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24892 PyObject
*resultobj
;
24893 wxWindow
*arg1
= (wxWindow
*) 0 ;
24895 PyObject
* obj0
= 0 ;
24896 char *kwnames
[] = {
24897 (char *) "self", NULL
24900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
24901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24905 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
24907 wxPyEndAllowThreads(__tstate
);
24908 if (PyErr_Occurred()) SWIG_fail
;
24911 wxColour
* resultptr
;
24912 resultptr
= new wxColour((wxColour
&) result
);
24913 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24921 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24922 PyObject
*resultobj
;
24923 wxWindow
*arg1
= (wxWindow
*) 0 ;
24925 PyObject
* obj0
= 0 ;
24926 char *kwnames
[] = {
24927 (char *) "self", NULL
24930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
24931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24935 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
24937 wxPyEndAllowThreads(__tstate
);
24938 if (PyErr_Occurred()) SWIG_fail
;
24941 wxColour
* resultptr
;
24942 resultptr
= new wxColour((wxColour
&) result
);
24943 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24951 static PyObject
*_wrap_Window_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24952 PyObject
*resultobj
;
24953 wxWindow
*arg1
= (wxWindow
*) 0 ;
24954 wxCursor
*arg2
= 0 ;
24956 PyObject
* obj0
= 0 ;
24957 PyObject
* obj1
= 0 ;
24958 char *kwnames
[] = {
24959 (char *) "self",(char *) "cursor", NULL
24962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
24963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24965 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
24966 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24968 if (arg2
== NULL
) {
24969 PyErr_SetString(PyExc_TypeError
,"null reference");
24973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24974 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
24976 wxPyEndAllowThreads(__tstate
);
24977 if (PyErr_Occurred()) SWIG_fail
;
24979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24986 static PyObject
*_wrap_Window_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24987 PyObject
*resultobj
;
24988 wxWindow
*arg1
= (wxWindow
*) 0 ;
24990 PyObject
* obj0
= 0 ;
24991 char *kwnames
[] = {
24992 (char *) "self", NULL
24995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
24996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25001 wxCursor
&_result_ref
= (arg1
)->GetCursor();
25002 result
= (wxCursor
*) &_result_ref
;
25005 wxPyEndAllowThreads(__tstate
);
25006 if (PyErr_Occurred()) SWIG_fail
;
25009 wxCursor
* resultptr
= new wxCursor(*result
);
25010 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
25018 static PyObject
*_wrap_Window_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25019 PyObject
*resultobj
;
25020 wxWindow
*arg1
= (wxWindow
*) 0 ;
25023 PyObject
* obj0
= 0 ;
25024 PyObject
* obj1
= 0 ;
25025 char *kwnames
[] = {
25026 (char *) "self",(char *) "font", NULL
25029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
25030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25032 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
25033 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25035 if (arg2
== NULL
) {
25036 PyErr_SetString(PyExc_TypeError
,"null reference");
25040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25041 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
25043 wxPyEndAllowThreads(__tstate
);
25044 if (PyErr_Occurred()) SWIG_fail
;
25046 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25053 static PyObject
*_wrap_Window_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25054 PyObject
*resultobj
;
25055 wxWindow
*arg1
= (wxWindow
*) 0 ;
25057 PyObject
* obj0
= 0 ;
25058 char *kwnames
[] = {
25059 (char *) "self", NULL
25062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
25063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25068 wxFont
&_result_ref
= (arg1
)->GetFont();
25069 result
= (wxFont
*) &_result_ref
;
25072 wxPyEndAllowThreads(__tstate
);
25073 if (PyErr_Occurred()) SWIG_fail
;
25076 wxFont
* resultptr
= new wxFont(*result
);
25077 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
25085 static PyObject
*_wrap_Window_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25086 PyObject
*resultobj
;
25087 wxWindow
*arg1
= (wxWindow
*) 0 ;
25088 wxCaret
*arg2
= (wxCaret
*) 0 ;
25089 PyObject
* obj0
= 0 ;
25090 PyObject
* obj1
= 0 ;
25091 char *kwnames
[] = {
25092 (char *) "self",(char *) "caret", NULL
25095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
25096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25098 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
25099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25102 (arg1
)->SetCaret(arg2
);
25104 wxPyEndAllowThreads(__tstate
);
25105 if (PyErr_Occurred()) SWIG_fail
;
25107 Py_INCREF(Py_None
); resultobj
= Py_None
;
25114 static PyObject
*_wrap_Window_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25115 PyObject
*resultobj
;
25116 wxWindow
*arg1
= (wxWindow
*) 0 ;
25118 PyObject
* obj0
= 0 ;
25119 char *kwnames
[] = {
25120 (char *) "self", NULL
25123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
25124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25128 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
25130 wxPyEndAllowThreads(__tstate
);
25131 if (PyErr_Occurred()) SWIG_fail
;
25133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
25140 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25141 PyObject
*resultobj
;
25142 wxWindow
*arg1
= (wxWindow
*) 0 ;
25144 PyObject
* obj0
= 0 ;
25145 char *kwnames
[] = {
25146 (char *) "self", NULL
25149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
25150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25154 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
25156 wxPyEndAllowThreads(__tstate
);
25157 if (PyErr_Occurred()) SWIG_fail
;
25159 resultobj
= SWIG_FromInt((int)result
);
25166 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25167 PyObject
*resultobj
;
25168 wxWindow
*arg1
= (wxWindow
*) 0 ;
25170 PyObject
* obj0
= 0 ;
25171 char *kwnames
[] = {
25172 (char *) "self", NULL
25175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
25176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25180 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
25182 wxPyEndAllowThreads(__tstate
);
25183 if (PyErr_Occurred()) SWIG_fail
;
25185 resultobj
= SWIG_FromInt((int)result
);
25192 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25193 PyObject
*resultobj
;
25194 wxWindow
*arg1
= (wxWindow
*) 0 ;
25195 wxString
*arg2
= 0 ;
25196 int *arg3
= (int *) 0 ;
25197 int *arg4
= (int *) 0 ;
25198 bool temp2
= False
;
25201 PyObject
* obj0
= 0 ;
25202 PyObject
* obj1
= 0 ;
25203 char *kwnames
[] = {
25204 (char *) "self",(char *) "string", NULL
25209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
25210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25213 arg2
= wxString_in_helper(obj1
);
25214 if (arg2
== NULL
) SWIG_fail
;
25218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25219 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
25221 wxPyEndAllowThreads(__tstate
);
25222 if (PyErr_Occurred()) SWIG_fail
;
25224 Py_INCREF(Py_None
); resultobj
= Py_None
;
25226 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25227 resultobj
= t_output_helper(resultobj
,o
);
25230 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
25231 resultobj
= t_output_helper(resultobj
,o
);
25247 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25248 PyObject
*resultobj
;
25249 wxWindow
*arg1
= (wxWindow
*) 0 ;
25250 wxString
*arg2
= 0 ;
25251 int *arg3
= (int *) 0 ;
25252 int *arg4
= (int *) 0 ;
25253 int *arg5
= (int *) 0 ;
25254 int *arg6
= (int *) 0 ;
25255 wxFont
*arg7
= (wxFont
*) NULL
;
25256 bool temp2
= False
;
25261 PyObject
* obj0
= 0 ;
25262 PyObject
* obj1
= 0 ;
25263 PyObject
* obj2
= 0 ;
25264 char *kwnames
[] = {
25265 (char *) "self",(char *) "string",(char *) "font", NULL
25272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25276 arg2
= wxString_in_helper(obj1
);
25277 if (arg2
== NULL
) SWIG_fail
;
25281 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
25282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25286 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
25288 wxPyEndAllowThreads(__tstate
);
25289 if (PyErr_Occurred()) SWIG_fail
;
25291 Py_INCREF(Py_None
); resultobj
= Py_None
;
25293 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25294 resultobj
= t_output_helper(resultobj
,o
);
25297 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
25298 resultobj
= t_output_helper(resultobj
,o
);
25301 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
25302 resultobj
= t_output_helper(resultobj
,o
);
25305 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
25306 resultobj
= t_output_helper(resultobj
,o
);
25322 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25323 PyObject
*resultobj
;
25324 wxWindow
*arg1
= (wxWindow
*) 0 ;
25325 int *arg2
= (int *) 0 ;
25326 int *arg3
= (int *) 0 ;
25329 PyObject
* obj0
= 0 ;
25330 PyObject
* obj1
= 0 ;
25331 PyObject
* obj2
= 0 ;
25332 char *kwnames
[] = {
25333 (char *) "self",(char *) "x",(char *) "y", NULL
25336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25340 temp2
= PyInt_AsLong(obj1
);
25341 if (PyErr_Occurred()) SWIG_fail
;
25345 temp3
= PyInt_AsLong(obj2
);
25346 if (PyErr_Occurred()) SWIG_fail
;
25350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25351 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
25353 wxPyEndAllowThreads(__tstate
);
25354 if (PyErr_Occurred()) SWIG_fail
;
25356 Py_INCREF(Py_None
); resultobj
= Py_None
;
25358 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
25359 resultobj
= t_output_helper(resultobj
,o
);
25362 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25363 resultobj
= t_output_helper(resultobj
,o
);
25371 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25372 PyObject
*resultobj
;
25373 wxWindow
*arg1
= (wxWindow
*) 0 ;
25374 int *arg2
= (int *) 0 ;
25375 int *arg3
= (int *) 0 ;
25378 PyObject
* obj0
= 0 ;
25379 PyObject
* obj1
= 0 ;
25380 PyObject
* obj2
= 0 ;
25381 char *kwnames
[] = {
25382 (char *) "self",(char *) "x",(char *) "y", NULL
25385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25389 temp2
= PyInt_AsLong(obj1
);
25390 if (PyErr_Occurred()) SWIG_fail
;
25394 temp3
= PyInt_AsLong(obj2
);
25395 if (PyErr_Occurred()) SWIG_fail
;
25399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25400 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
25402 wxPyEndAllowThreads(__tstate
);
25403 if (PyErr_Occurred()) SWIG_fail
;
25405 Py_INCREF(Py_None
); resultobj
= Py_None
;
25407 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
25408 resultobj
= t_output_helper(resultobj
,o
);
25411 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25412 resultobj
= t_output_helper(resultobj
,o
);
25420 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25421 PyObject
*resultobj
;
25422 wxWindow
*arg1
= (wxWindow
*) 0 ;
25423 wxPoint
*arg2
= 0 ;
25426 PyObject
* obj0
= 0 ;
25427 PyObject
* obj1
= 0 ;
25428 char *kwnames
[] = {
25429 (char *) "self",(char *) "pt", NULL
25432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
25433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25437 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25441 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
25443 wxPyEndAllowThreads(__tstate
);
25444 if (PyErr_Occurred()) SWIG_fail
;
25447 wxPoint
* resultptr
;
25448 resultptr
= new wxPoint((wxPoint
&) result
);
25449 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25457 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25458 PyObject
*resultobj
;
25459 wxWindow
*arg1
= (wxWindow
*) 0 ;
25460 wxPoint
*arg2
= 0 ;
25463 PyObject
* obj0
= 0 ;
25464 PyObject
* obj1
= 0 ;
25465 char *kwnames
[] = {
25466 (char *) "self",(char *) "pt", NULL
25469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
25470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25474 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25478 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
25480 wxPyEndAllowThreads(__tstate
);
25481 if (PyErr_Occurred()) SWIG_fail
;
25484 wxPoint
* resultptr
;
25485 resultptr
= new wxPoint((wxPoint
&) result
);
25486 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25494 static PyObject
*_wrap_Window_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25495 PyObject
*resultobj
;
25496 wxWindow
*arg1
= (wxWindow
*) 0 ;
25500 PyObject
* obj0
= 0 ;
25501 PyObject
* obj1
= 0 ;
25502 PyObject
* obj2
= 0 ;
25503 char *kwnames
[] = {
25504 (char *) "self",(char *) "x",(char *) "y", NULL
25507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25510 arg2
= (int) SWIG_AsInt(obj1
);
25511 if (PyErr_Occurred()) SWIG_fail
;
25512 arg3
= (int) SWIG_AsInt(obj2
);
25513 if (PyErr_Occurred()) SWIG_fail
;
25515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25516 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
25518 wxPyEndAllowThreads(__tstate
);
25519 if (PyErr_Occurred()) SWIG_fail
;
25521 resultobj
= SWIG_FromInt((int)result
);
25528 static PyObject
*_wrap_Window_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25529 PyObject
*resultobj
;
25530 wxWindow
*arg1
= (wxWindow
*) 0 ;
25531 wxPoint
*arg2
= 0 ;
25534 PyObject
* obj0
= 0 ;
25535 PyObject
* obj1
= 0 ;
25536 char *kwnames
[] = {
25537 (char *) "self",(char *) "pt", NULL
25540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
25541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25545 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25549 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
25551 wxPyEndAllowThreads(__tstate
);
25552 if (PyErr_Occurred()) SWIG_fail
;
25554 resultobj
= SWIG_FromInt((int)result
);
25561 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*self
, PyObject
*args
) {
25562 PyObject
*resultobj
;
25563 wxWindow
*arg1
= (wxWindow
*) 0 ;
25566 PyObject
* obj0
= 0 ;
25567 PyObject
* obj1
= 0 ;
25569 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
25570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25572 arg2
= (long) SWIG_AsLong(obj1
);
25573 if (PyErr_Occurred()) SWIG_fail
;
25575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25576 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
25578 wxPyEndAllowThreads(__tstate
);
25579 if (PyErr_Occurred()) SWIG_fail
;
25581 resultobj
= SWIG_FromInt((int)result
);
25588 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*self
, PyObject
*args
) {
25589 PyObject
*resultobj
;
25590 wxWindow
*arg1
= (wxWindow
*) 0 ;
25592 PyObject
* obj0
= 0 ;
25594 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
25595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25599 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
25601 wxPyEndAllowThreads(__tstate
);
25602 if (PyErr_Occurred()) SWIG_fail
;
25604 resultobj
= SWIG_FromInt((int)result
);
25611 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
25616 argc
= PyObject_Length(args
);
25617 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
25618 argv
[ii
] = PyTuple_GetItem(args
,ii
);
25624 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
25632 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
25639 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
25647 _v
= SWIG_CheckLong(argv
[1]);
25649 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
25654 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
25659 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25660 PyObject
*resultobj
;
25661 wxWindow
*arg1
= (wxWindow
*) 0 ;
25662 long arg2
= (long) wxUPDATE_UI_NONE
;
25663 PyObject
* obj0
= 0 ;
25664 PyObject
* obj1
= 0 ;
25665 char *kwnames
[] = {
25666 (char *) "self",(char *) "flags", NULL
25669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
25670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25673 arg2
= (long) SWIG_AsLong(obj1
);
25674 if (PyErr_Occurred()) SWIG_fail
;
25677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25678 (arg1
)->UpdateWindowUI(arg2
);
25680 wxPyEndAllowThreads(__tstate
);
25681 if (PyErr_Occurred()) SWIG_fail
;
25683 Py_INCREF(Py_None
); resultobj
= Py_None
;
25690 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25691 PyObject
*resultobj
;
25692 wxWindow
*arg1
= (wxWindow
*) 0 ;
25693 wxMenu
*arg2
= (wxMenu
*) 0 ;
25697 PyObject
* obj0
= 0 ;
25698 PyObject
* obj1
= 0 ;
25699 PyObject
* obj2
= 0 ;
25700 PyObject
* obj3
= 0 ;
25701 char *kwnames
[] = {
25702 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
25705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25708 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
25709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25710 arg3
= (int) SWIG_AsInt(obj2
);
25711 if (PyErr_Occurred()) SWIG_fail
;
25712 arg4
= (int) SWIG_AsInt(obj3
);
25713 if (PyErr_Occurred()) SWIG_fail
;
25715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25716 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
25718 wxPyEndAllowThreads(__tstate
);
25719 if (PyErr_Occurred()) SWIG_fail
;
25721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25728 static PyObject
*_wrap_Window_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25729 PyObject
*resultobj
;
25730 wxWindow
*arg1
= (wxWindow
*) 0 ;
25731 wxMenu
*arg2
= (wxMenu
*) 0 ;
25732 wxPoint
*arg3
= 0 ;
25735 PyObject
* obj0
= 0 ;
25736 PyObject
* obj1
= 0 ;
25737 PyObject
* obj2
= 0 ;
25738 char *kwnames
[] = {
25739 (char *) "self",(char *) "menu",(char *) "pos", NULL
25742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25745 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
25746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25749 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25753 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
25755 wxPyEndAllowThreads(__tstate
);
25756 if (PyErr_Occurred()) SWIG_fail
;
25758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25765 static PyObject
*_wrap_Window_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25766 PyObject
*resultobj
;
25767 wxWindow
*arg1
= (wxWindow
*) 0 ;
25769 PyObject
* obj0
= 0 ;
25770 char *kwnames
[] = {
25771 (char *) "self", NULL
25774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
25775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25779 result
= (long)wxWindow_GetHandle(arg1
);
25781 wxPyEndAllowThreads(__tstate
);
25782 if (PyErr_Occurred()) SWIG_fail
;
25784 resultobj
= SWIG_FromLong((long)result
);
25791 static PyObject
*_wrap_Window_OnPaint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25792 PyObject
*resultobj
;
25793 wxWindow
*arg1
= (wxWindow
*) 0 ;
25794 wxPaintEvent
*arg2
= 0 ;
25795 PyObject
* obj0
= 0 ;
25796 PyObject
* obj1
= 0 ;
25797 char *kwnames
[] = {
25798 (char *) "self",(char *) "event", NULL
25801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
25802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25804 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPaintEvent
,
25805 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25807 if (arg2
== NULL
) {
25808 PyErr_SetString(PyExc_TypeError
,"null reference");
25812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25813 (arg1
)->OnPaint(*arg2
);
25815 wxPyEndAllowThreads(__tstate
);
25816 if (PyErr_Occurred()) SWIG_fail
;
25818 Py_INCREF(Py_None
); resultobj
= Py_None
;
25825 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25826 PyObject
*resultobj
;
25827 wxWindow
*arg1
= (wxWindow
*) 0 ;
25830 PyObject
* obj0
= 0 ;
25831 PyObject
* obj1
= 0 ;
25832 char *kwnames
[] = {
25833 (char *) "self",(char *) "orient", NULL
25836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
25837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25839 arg2
= (int) SWIG_AsInt(obj1
);
25840 if (PyErr_Occurred()) SWIG_fail
;
25842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25843 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
25845 wxPyEndAllowThreads(__tstate
);
25846 if (PyErr_Occurred()) SWIG_fail
;
25848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25855 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25856 PyObject
*resultobj
;
25857 wxWindow
*arg1
= (wxWindow
*) 0 ;
25862 bool arg6
= (bool) True
;
25863 PyObject
* obj0
= 0 ;
25864 PyObject
* obj1
= 0 ;
25865 PyObject
* obj2
= 0 ;
25866 PyObject
* obj3
= 0 ;
25867 PyObject
* obj4
= 0 ;
25868 PyObject
* obj5
= 0 ;
25869 char *kwnames
[] = {
25870 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
25873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25876 arg2
= (int) SWIG_AsInt(obj1
);
25877 if (PyErr_Occurred()) SWIG_fail
;
25878 arg3
= (int) SWIG_AsInt(obj2
);
25879 if (PyErr_Occurred()) SWIG_fail
;
25880 arg4
= (int) SWIG_AsInt(obj3
);
25881 if (PyErr_Occurred()) SWIG_fail
;
25882 arg5
= (int) SWIG_AsInt(obj4
);
25883 if (PyErr_Occurred()) SWIG_fail
;
25885 arg6
= (bool) SWIG_AsBool(obj5
);
25886 if (PyErr_Occurred()) SWIG_fail
;
25889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25890 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
25892 wxPyEndAllowThreads(__tstate
);
25893 if (PyErr_Occurred()) SWIG_fail
;
25895 Py_INCREF(Py_None
); resultobj
= Py_None
;
25902 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25903 PyObject
*resultobj
;
25904 wxWindow
*arg1
= (wxWindow
*) 0 ;
25907 bool arg4
= (bool) True
;
25908 PyObject
* obj0
= 0 ;
25909 PyObject
* obj1
= 0 ;
25910 PyObject
* obj2
= 0 ;
25911 PyObject
* obj3
= 0 ;
25912 char *kwnames
[] = {
25913 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
25916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25919 arg2
= (int) SWIG_AsInt(obj1
);
25920 if (PyErr_Occurred()) SWIG_fail
;
25921 arg3
= (int) SWIG_AsInt(obj2
);
25922 if (PyErr_Occurred()) SWIG_fail
;
25924 arg4
= (bool) SWIG_AsBool(obj3
);
25925 if (PyErr_Occurred()) SWIG_fail
;
25928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25929 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
25931 wxPyEndAllowThreads(__tstate
);
25932 if (PyErr_Occurred()) SWIG_fail
;
25934 Py_INCREF(Py_None
); resultobj
= Py_None
;
25941 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25942 PyObject
*resultobj
;
25943 wxWindow
*arg1
= (wxWindow
*) 0 ;
25946 PyObject
* obj0
= 0 ;
25947 PyObject
* obj1
= 0 ;
25948 char *kwnames
[] = {
25949 (char *) "self",(char *) "orientation", NULL
25952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
25953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25955 arg2
= (int) SWIG_AsInt(obj1
);
25956 if (PyErr_Occurred()) SWIG_fail
;
25958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25959 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
25961 wxPyEndAllowThreads(__tstate
);
25962 if (PyErr_Occurred()) SWIG_fail
;
25964 resultobj
= SWIG_FromInt((int)result
);
25971 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25972 PyObject
*resultobj
;
25973 wxWindow
*arg1
= (wxWindow
*) 0 ;
25976 PyObject
* obj0
= 0 ;
25977 PyObject
* obj1
= 0 ;
25978 char *kwnames
[] = {
25979 (char *) "self",(char *) "orientation", NULL
25982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
25983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25985 arg2
= (int) SWIG_AsInt(obj1
);
25986 if (PyErr_Occurred()) SWIG_fail
;
25988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25989 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
25991 wxPyEndAllowThreads(__tstate
);
25992 if (PyErr_Occurred()) SWIG_fail
;
25994 resultobj
= SWIG_FromInt((int)result
);
26001 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26002 PyObject
*resultobj
;
26003 wxWindow
*arg1
= (wxWindow
*) 0 ;
26006 PyObject
* obj0
= 0 ;
26007 PyObject
* obj1
= 0 ;
26008 char *kwnames
[] = {
26009 (char *) "self",(char *) "orientation", NULL
26012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
26013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26015 arg2
= (int) SWIG_AsInt(obj1
);
26016 if (PyErr_Occurred()) SWIG_fail
;
26018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26019 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
26021 wxPyEndAllowThreads(__tstate
);
26022 if (PyErr_Occurred()) SWIG_fail
;
26024 resultobj
= SWIG_FromInt((int)result
);
26031 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26032 PyObject
*resultobj
;
26033 wxWindow
*arg1
= (wxWindow
*) 0 ;
26036 wxRect
*arg4
= (wxRect
*) NULL
;
26037 PyObject
* obj0
= 0 ;
26038 PyObject
* obj1
= 0 ;
26039 PyObject
* obj2
= 0 ;
26040 PyObject
* obj3
= 0 ;
26041 char *kwnames
[] = {
26042 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
26045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26048 arg2
= (int) SWIG_AsInt(obj1
);
26049 if (PyErr_Occurred()) SWIG_fail
;
26050 arg3
= (int) SWIG_AsInt(obj2
);
26051 if (PyErr_Occurred()) SWIG_fail
;
26053 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
26054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26058 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
26060 wxPyEndAllowThreads(__tstate
);
26061 if (PyErr_Occurred()) SWIG_fail
;
26063 Py_INCREF(Py_None
); resultobj
= Py_None
;
26070 static PyObject
*_wrap_Window_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26071 PyObject
*resultobj
;
26072 wxWindow
*arg1
= (wxWindow
*) 0 ;
26075 PyObject
* obj0
= 0 ;
26076 PyObject
* obj1
= 0 ;
26077 char *kwnames
[] = {
26078 (char *) "self",(char *) "lines", NULL
26081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
26082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26084 arg2
= (int) SWIG_AsInt(obj1
);
26085 if (PyErr_Occurred()) SWIG_fail
;
26087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26088 result
= (bool)(arg1
)->ScrollLines(arg2
);
26090 wxPyEndAllowThreads(__tstate
);
26091 if (PyErr_Occurred()) SWIG_fail
;
26093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26100 static PyObject
*_wrap_Window_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26101 PyObject
*resultobj
;
26102 wxWindow
*arg1
= (wxWindow
*) 0 ;
26105 PyObject
* obj0
= 0 ;
26106 PyObject
* obj1
= 0 ;
26107 char *kwnames
[] = {
26108 (char *) "self",(char *) "pages", NULL
26111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
26112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26114 arg2
= (int) SWIG_AsInt(obj1
);
26115 if (PyErr_Occurred()) SWIG_fail
;
26117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26118 result
= (bool)(arg1
)->ScrollPages(arg2
);
26120 wxPyEndAllowThreads(__tstate
);
26121 if (PyErr_Occurred()) SWIG_fail
;
26123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26130 static PyObject
*_wrap_Window_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26131 PyObject
*resultobj
;
26132 wxWindow
*arg1
= (wxWindow
*) 0 ;
26134 PyObject
* obj0
= 0 ;
26135 char *kwnames
[] = {
26136 (char *) "self", NULL
26139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
26140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26144 result
= (bool)(arg1
)->LineUp();
26146 wxPyEndAllowThreads(__tstate
);
26147 if (PyErr_Occurred()) SWIG_fail
;
26149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26156 static PyObject
*_wrap_Window_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26157 PyObject
*resultobj
;
26158 wxWindow
*arg1
= (wxWindow
*) 0 ;
26160 PyObject
* obj0
= 0 ;
26161 char *kwnames
[] = {
26162 (char *) "self", NULL
26165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
26166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26170 result
= (bool)(arg1
)->LineDown();
26172 wxPyEndAllowThreads(__tstate
);
26173 if (PyErr_Occurred()) SWIG_fail
;
26175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26182 static PyObject
*_wrap_Window_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26183 PyObject
*resultobj
;
26184 wxWindow
*arg1
= (wxWindow
*) 0 ;
26186 PyObject
* obj0
= 0 ;
26187 char *kwnames
[] = {
26188 (char *) "self", NULL
26191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
26192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26196 result
= (bool)(arg1
)->PageUp();
26198 wxPyEndAllowThreads(__tstate
);
26199 if (PyErr_Occurred()) SWIG_fail
;
26201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26208 static PyObject
*_wrap_Window_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26209 PyObject
*resultobj
;
26210 wxWindow
*arg1
= (wxWindow
*) 0 ;
26212 PyObject
* obj0
= 0 ;
26213 char *kwnames
[] = {
26214 (char *) "self", NULL
26217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
26218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26222 result
= (bool)(arg1
)->PageDown();
26224 wxPyEndAllowThreads(__tstate
);
26225 if (PyErr_Occurred()) SWIG_fail
;
26227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26234 static PyObject
*_wrap_Window_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26235 PyObject
*resultobj
;
26236 wxWindow
*arg1
= (wxWindow
*) 0 ;
26237 wxString
*arg2
= 0 ;
26238 bool temp2
= False
;
26239 PyObject
* obj0
= 0 ;
26240 PyObject
* obj1
= 0 ;
26241 char *kwnames
[] = {
26242 (char *) "self",(char *) "text", NULL
26245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
26246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26249 arg2
= wxString_in_helper(obj1
);
26250 if (arg2
== NULL
) SWIG_fail
;
26254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26255 (arg1
)->SetHelpText((wxString
const &)*arg2
);
26257 wxPyEndAllowThreads(__tstate
);
26258 if (PyErr_Occurred()) SWIG_fail
;
26260 Py_INCREF(Py_None
); resultobj
= Py_None
;
26275 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26276 PyObject
*resultobj
;
26277 wxWindow
*arg1
= (wxWindow
*) 0 ;
26278 wxString
*arg2
= 0 ;
26279 bool temp2
= False
;
26280 PyObject
* obj0
= 0 ;
26281 PyObject
* obj1
= 0 ;
26282 char *kwnames
[] = {
26283 (char *) "self",(char *) "text", NULL
26286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
26287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26290 arg2
= wxString_in_helper(obj1
);
26291 if (arg2
== NULL
) SWIG_fail
;
26295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26296 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
26298 wxPyEndAllowThreads(__tstate
);
26299 if (PyErr_Occurred()) SWIG_fail
;
26301 Py_INCREF(Py_None
); resultobj
= Py_None
;
26316 static PyObject
*_wrap_Window_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26317 PyObject
*resultobj
;
26318 wxWindow
*arg1
= (wxWindow
*) 0 ;
26320 PyObject
* obj0
= 0 ;
26321 char *kwnames
[] = {
26322 (char *) "self", NULL
26325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
26326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26330 result
= ((wxWindow
const *)arg1
)->GetHelpText();
26332 wxPyEndAllowThreads(__tstate
);
26333 if (PyErr_Occurred()) SWIG_fail
;
26337 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26339 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26348 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26349 PyObject
*resultobj
;
26350 wxWindow
*arg1
= (wxWindow
*) 0 ;
26351 wxString
*arg2
= 0 ;
26352 bool temp2
= False
;
26353 PyObject
* obj0
= 0 ;
26354 PyObject
* obj1
= 0 ;
26355 char *kwnames
[] = {
26356 (char *) "self",(char *) "tip", NULL
26359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
26360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26363 arg2
= wxString_in_helper(obj1
);
26364 if (arg2
== NULL
) SWIG_fail
;
26368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26369 (arg1
)->SetToolTip((wxString
const &)*arg2
);
26371 wxPyEndAllowThreads(__tstate
);
26372 if (PyErr_Occurred()) SWIG_fail
;
26374 Py_INCREF(Py_None
); resultobj
= Py_None
;
26389 static PyObject
*_wrap_Window_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26390 PyObject
*resultobj
;
26391 wxWindow
*arg1
= (wxWindow
*) 0 ;
26392 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
26393 PyObject
* obj0
= 0 ;
26394 PyObject
* obj1
= 0 ;
26395 char *kwnames
[] = {
26396 (char *) "self",(char *) "tip", NULL
26399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
26400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26402 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
26403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26406 (arg1
)->SetToolTip(arg2
);
26408 wxPyEndAllowThreads(__tstate
);
26409 if (PyErr_Occurred()) SWIG_fail
;
26411 Py_INCREF(Py_None
); resultobj
= Py_None
;
26418 static PyObject
*_wrap_Window_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26419 PyObject
*resultobj
;
26420 wxWindow
*arg1
= (wxWindow
*) 0 ;
26422 PyObject
* obj0
= 0 ;
26423 char *kwnames
[] = {
26424 (char *) "self", NULL
26427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
26428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26432 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
26434 wxPyEndAllowThreads(__tstate
);
26435 if (PyErr_Occurred()) SWIG_fail
;
26438 resultobj
= wxPyMake_wxObject(result
);
26446 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26447 PyObject
*resultobj
;
26448 wxWindow
*arg1
= (wxWindow
*) 0 ;
26449 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
26450 PyObject
* obj0
= 0 ;
26451 PyObject
* obj1
= 0 ;
26452 char *kwnames
[] = {
26453 (char *) "self",(char *) "dropTarget", NULL
26456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
26457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26459 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
26460 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26463 (arg1
)->SetDropTarget(arg2
);
26465 wxPyEndAllowThreads(__tstate
);
26466 if (PyErr_Occurred()) SWIG_fail
;
26468 Py_INCREF(Py_None
); resultobj
= Py_None
;
26475 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26476 PyObject
*resultobj
;
26477 wxWindow
*arg1
= (wxWindow
*) 0 ;
26478 wxPyDropTarget
*result
;
26479 PyObject
* obj0
= 0 ;
26480 char *kwnames
[] = {
26481 (char *) "self", NULL
26484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
26485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26489 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
26491 wxPyEndAllowThreads(__tstate
);
26492 if (PyErr_Occurred()) SWIG_fail
;
26494 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
26501 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26502 PyObject
*resultobj
;
26503 wxWindow
*arg1
= (wxWindow
*) 0 ;
26505 PyObject
* obj0
= 0 ;
26506 PyObject
* obj1
= 0 ;
26507 char *kwnames
[] = {
26508 (char *) "self",(char *) "accept", NULL
26511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
26512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26514 arg2
= (bool) SWIG_AsBool(obj1
);
26515 if (PyErr_Occurred()) SWIG_fail
;
26517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26518 (arg1
)->DragAcceptFiles(arg2
);
26520 wxPyEndAllowThreads(__tstate
);
26521 if (PyErr_Occurred()) SWIG_fail
;
26523 Py_INCREF(Py_None
); resultobj
= Py_None
;
26530 static PyObject
*_wrap_Window_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26531 PyObject
*resultobj
;
26532 wxWindow
*arg1
= (wxWindow
*) 0 ;
26533 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
26534 PyObject
* obj0
= 0 ;
26535 PyObject
* obj1
= 0 ;
26536 char *kwnames
[] = {
26537 (char *) "self",(char *) "constraints", NULL
26540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
26541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26543 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
26544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26547 (arg1
)->SetConstraints(arg2
);
26549 wxPyEndAllowThreads(__tstate
);
26550 if (PyErr_Occurred()) SWIG_fail
;
26552 Py_INCREF(Py_None
); resultobj
= Py_None
;
26559 static PyObject
*_wrap_Window_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26560 PyObject
*resultobj
;
26561 wxWindow
*arg1
= (wxWindow
*) 0 ;
26562 wxLayoutConstraints
*result
;
26563 PyObject
* obj0
= 0 ;
26564 char *kwnames
[] = {
26565 (char *) "self", NULL
26568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
26569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26573 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
26575 wxPyEndAllowThreads(__tstate
);
26576 if (PyErr_Occurred()) SWIG_fail
;
26578 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
26585 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26586 PyObject
*resultobj
;
26587 wxWindow
*arg1
= (wxWindow
*) 0 ;
26589 PyObject
* obj0
= 0 ;
26590 PyObject
* obj1
= 0 ;
26591 char *kwnames
[] = {
26592 (char *) "self",(char *) "autoLayout", NULL
26595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
26596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26598 arg2
= (bool) SWIG_AsBool(obj1
);
26599 if (PyErr_Occurred()) SWIG_fail
;
26601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26602 (arg1
)->SetAutoLayout(arg2
);
26604 wxPyEndAllowThreads(__tstate
);
26605 if (PyErr_Occurred()) SWIG_fail
;
26607 Py_INCREF(Py_None
); resultobj
= Py_None
;
26614 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26615 PyObject
*resultobj
;
26616 wxWindow
*arg1
= (wxWindow
*) 0 ;
26618 PyObject
* obj0
= 0 ;
26619 char *kwnames
[] = {
26620 (char *) "self", NULL
26623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
26624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26628 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
26630 wxPyEndAllowThreads(__tstate
);
26631 if (PyErr_Occurred()) SWIG_fail
;
26633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26640 static PyObject
*_wrap_Window_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26641 PyObject
*resultobj
;
26642 wxWindow
*arg1
= (wxWindow
*) 0 ;
26644 PyObject
* obj0
= 0 ;
26645 char *kwnames
[] = {
26646 (char *) "self", NULL
26649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
26650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26654 result
= (bool)(arg1
)->Layout();
26656 wxPyEndAllowThreads(__tstate
);
26657 if (PyErr_Occurred()) SWIG_fail
;
26659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26666 static PyObject
*_wrap_Window_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26667 PyObject
*resultobj
;
26668 wxWindow
*arg1
= (wxWindow
*) 0 ;
26669 wxSizer
*arg2
= (wxSizer
*) 0 ;
26670 bool arg3
= (bool) True
;
26671 PyObject
* obj0
= 0 ;
26672 PyObject
* obj1
= 0 ;
26673 PyObject
* obj2
= 0 ;
26674 char *kwnames
[] = {
26675 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
26678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26681 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
26682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26684 arg3
= (bool) SWIG_AsBool(obj2
);
26685 if (PyErr_Occurred()) SWIG_fail
;
26688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26689 (arg1
)->SetSizer(arg2
,arg3
);
26691 wxPyEndAllowThreads(__tstate
);
26692 if (PyErr_Occurred()) SWIG_fail
;
26694 Py_INCREF(Py_None
); resultobj
= Py_None
;
26701 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26702 PyObject
*resultobj
;
26703 wxWindow
*arg1
= (wxWindow
*) 0 ;
26704 wxSizer
*arg2
= (wxSizer
*) 0 ;
26705 bool arg3
= (bool) True
;
26706 PyObject
* obj0
= 0 ;
26707 PyObject
* obj1
= 0 ;
26708 PyObject
* obj2
= 0 ;
26709 char *kwnames
[] = {
26710 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
26713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26716 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
26717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26719 arg3
= (bool) SWIG_AsBool(obj2
);
26720 if (PyErr_Occurred()) SWIG_fail
;
26723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26724 (arg1
)->SetSizerAndFit(arg2
,arg3
);
26726 wxPyEndAllowThreads(__tstate
);
26727 if (PyErr_Occurred()) SWIG_fail
;
26729 Py_INCREF(Py_None
); resultobj
= Py_None
;
26736 static PyObject
*_wrap_Window_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26737 PyObject
*resultobj
;
26738 wxWindow
*arg1
= (wxWindow
*) 0 ;
26740 PyObject
* obj0
= 0 ;
26741 char *kwnames
[] = {
26742 (char *) "self", NULL
26745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
26746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26750 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
26752 wxPyEndAllowThreads(__tstate
);
26753 if (PyErr_Occurred()) SWIG_fail
;
26756 resultobj
= wxPyMake_wxSizer(result
);
26764 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26765 PyObject
*resultobj
;
26766 wxWindow
*arg1
= (wxWindow
*) 0 ;
26767 wxSizer
*arg2
= (wxSizer
*) 0 ;
26768 PyObject
* obj0
= 0 ;
26769 PyObject
* obj1
= 0 ;
26770 char *kwnames
[] = {
26771 (char *) "self",(char *) "sizer", NULL
26774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
26775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26777 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
26778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26781 (arg1
)->SetContainingSizer(arg2
);
26783 wxPyEndAllowThreads(__tstate
);
26784 if (PyErr_Occurred()) SWIG_fail
;
26786 Py_INCREF(Py_None
); resultobj
= Py_None
;
26793 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26794 PyObject
*resultobj
;
26795 wxWindow
*arg1
= (wxWindow
*) 0 ;
26797 PyObject
* obj0
= 0 ;
26798 char *kwnames
[] = {
26799 (char *) "self", NULL
26802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
26803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26807 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
26809 wxPyEndAllowThreads(__tstate
);
26810 if (PyErr_Occurred()) SWIG_fail
;
26813 resultobj
= wxPyMake_wxSizer(result
);
26821 static PyObject
* Window_swigregister(PyObject
*self
, PyObject
*args
) {
26823 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26824 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
26826 return Py_BuildValue((char *)"");
26828 static PyObject
*_wrap_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26829 PyObject
*resultobj
;
26831 wxWindow
*arg2
= (wxWindow
*) NULL
;
26833 PyObject
* obj0
= 0 ;
26834 PyObject
* obj1
= 0 ;
26835 char *kwnames
[] = {
26836 (char *) "id",(char *) "parent", NULL
26839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
26840 arg1
= (long) SWIG_AsLong(obj0
);
26841 if (PyErr_Occurred()) SWIG_fail
;
26843 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
26844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26848 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
26850 wxPyEndAllowThreads(__tstate
);
26851 if (PyErr_Occurred()) SWIG_fail
;
26854 resultobj
= wxPyMake_wxObject(result
);
26862 static PyObject
*_wrap_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26863 PyObject
*resultobj
;
26864 wxString
*arg1
= 0 ;
26865 wxWindow
*arg2
= (wxWindow
*) NULL
;
26867 bool temp1
= False
;
26868 PyObject
* obj0
= 0 ;
26869 PyObject
* obj1
= 0 ;
26870 char *kwnames
[] = {
26871 (char *) "name",(char *) "parent", NULL
26874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
26876 arg1
= wxString_in_helper(obj0
);
26877 if (arg1
== NULL
) SWIG_fail
;
26881 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
26882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26886 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
26888 wxPyEndAllowThreads(__tstate
);
26889 if (PyErr_Occurred()) SWIG_fail
;
26892 resultobj
= wxPyMake_wxObject(result
);
26908 static PyObject
*_wrap_FindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26909 PyObject
*resultobj
;
26910 wxString
*arg1
= 0 ;
26911 wxWindow
*arg2
= (wxWindow
*) NULL
;
26913 bool temp1
= False
;
26914 PyObject
* obj0
= 0 ;
26915 PyObject
* obj1
= 0 ;
26916 char *kwnames
[] = {
26917 (char *) "label",(char *) "parent", NULL
26920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
26922 arg1
= wxString_in_helper(obj0
);
26923 if (arg1
== NULL
) SWIG_fail
;
26927 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
26928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26932 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
26934 wxPyEndAllowThreads(__tstate
);
26935 if (PyErr_Occurred()) SWIG_fail
;
26938 resultobj
= wxPyMake_wxObject(result
);
26954 static PyObject
*_wrap_Window_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26955 PyObject
*resultobj
;
26956 wxWindow
*arg1
= (wxWindow
*) 0 ;
26957 unsigned long arg2
;
26959 PyObject
* obj0
= 0 ;
26960 PyObject
* obj1
= 0 ;
26961 char *kwnames
[] = {
26962 (char *) "parent",(char *) "_hWnd", NULL
26965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
26966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26968 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
26969 if (PyErr_Occurred()) SWIG_fail
;
26971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26972 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
26974 wxPyEndAllowThreads(__tstate
);
26975 if (PyErr_Occurred()) SWIG_fail
;
26978 resultobj
= wxPyMake_wxObject(result
);
26986 static PyObject
*_wrap_new_Validator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26987 PyObject
*resultobj
;
26988 wxValidator
*result
;
26989 char *kwnames
[] = {
26993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
26995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26996 result
= (wxValidator
*)new wxValidator();
26998 wxPyEndAllowThreads(__tstate
);
26999 if (PyErr_Occurred()) SWIG_fail
;
27002 resultobj
= wxPyMake_wxObject(result
);
27010 static PyObject
*_wrap_Validator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27011 PyObject
*resultobj
;
27012 wxValidator
*arg1
= (wxValidator
*) 0 ;
27013 wxValidator
*result
;
27014 PyObject
* obj0
= 0 ;
27015 char *kwnames
[] = {
27016 (char *) "self", NULL
27019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
27020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
27021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27024 result
= (wxValidator
*)(arg1
)->Clone();
27026 wxPyEndAllowThreads(__tstate
);
27027 if (PyErr_Occurred()) SWIG_fail
;
27030 resultobj
= wxPyMake_wxObject(result
);
27038 static PyObject
*_wrap_Validator_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27039 PyObject
*resultobj
;
27040 wxValidator
*arg1
= (wxValidator
*) 0 ;
27041 wxWindow
*arg2
= (wxWindow
*) 0 ;
27043 PyObject
* obj0
= 0 ;
27044 PyObject
* obj1
= 0 ;
27045 char *kwnames
[] = {
27046 (char *) "self",(char *) "parent", NULL
27049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
27050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
27051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27052 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27056 result
= (bool)(arg1
)->Validate(arg2
);
27058 wxPyEndAllowThreads(__tstate
);
27059 if (PyErr_Occurred()) SWIG_fail
;
27061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27068 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27069 PyObject
*resultobj
;
27070 wxValidator
*arg1
= (wxValidator
*) 0 ;
27072 PyObject
* obj0
= 0 ;
27073 char *kwnames
[] = {
27074 (char *) "self", NULL
27077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
27078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
27079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27082 result
= (bool)(arg1
)->TransferToWindow();
27084 wxPyEndAllowThreads(__tstate
);
27085 if (PyErr_Occurred()) SWIG_fail
;
27087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27094 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27095 PyObject
*resultobj
;
27096 wxValidator
*arg1
= (wxValidator
*) 0 ;
27098 PyObject
* obj0
= 0 ;
27099 char *kwnames
[] = {
27100 (char *) "self", NULL
27103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
27104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
27105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27108 result
= (bool)(arg1
)->TransferFromWindow();
27110 wxPyEndAllowThreads(__tstate
);
27111 if (PyErr_Occurred()) SWIG_fail
;
27113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27120 static PyObject
*_wrap_Validator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27121 PyObject
*resultobj
;
27122 wxValidator
*arg1
= (wxValidator
*) 0 ;
27124 PyObject
* obj0
= 0 ;
27125 char *kwnames
[] = {
27126 (char *) "self", NULL
27129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
27130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
27131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27134 result
= (wxWindow
*)(arg1
)->GetWindow();
27136 wxPyEndAllowThreads(__tstate
);
27137 if (PyErr_Occurred()) SWIG_fail
;
27140 resultobj
= wxPyMake_wxObject(result
);
27148 static PyObject
*_wrap_Validator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27149 PyObject
*resultobj
;
27150 wxValidator
*arg1
= (wxValidator
*) 0 ;
27151 wxWindow
*arg2
= (wxWindow
*) 0 ;
27152 PyObject
* obj0
= 0 ;
27153 PyObject
* obj1
= 0 ;
27154 char *kwnames
[] = {
27155 (char *) "self",(char *) "window", NULL
27158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
27159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
27160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27161 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27165 (arg1
)->SetWindow(arg2
);
27167 wxPyEndAllowThreads(__tstate
);
27168 if (PyErr_Occurred()) SWIG_fail
;
27170 Py_INCREF(Py_None
); resultobj
= Py_None
;
27177 static PyObject
*_wrap_Validator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27178 PyObject
*resultobj
;
27180 char *kwnames
[] = {
27184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
27186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27187 result
= (bool)wxValidator::IsSilent();
27189 wxPyEndAllowThreads(__tstate
);
27190 if (PyErr_Occurred()) SWIG_fail
;
27192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27199 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27200 PyObject
*resultobj
;
27201 int arg1
= (int) True
;
27202 PyObject
* obj0
= 0 ;
27203 char *kwnames
[] = {
27204 (char *) "doIt", NULL
27207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
27209 arg1
= (int) SWIG_AsInt(obj0
);
27210 if (PyErr_Occurred()) SWIG_fail
;
27213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27214 wxValidator::SetBellOnError(arg1
);
27216 wxPyEndAllowThreads(__tstate
);
27217 if (PyErr_Occurred()) SWIG_fail
;
27219 Py_INCREF(Py_None
); resultobj
= Py_None
;
27226 static PyObject
* Validator_swigregister(PyObject
*self
, PyObject
*args
) {
27228 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27229 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
27231 return Py_BuildValue((char *)"");
27233 static PyObject
*_wrap_new_PyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27234 PyObject
*resultobj
;
27235 wxPyValidator
*result
;
27236 char *kwnames
[] = {
27240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
27242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27243 result
= (wxPyValidator
*)new wxPyValidator();
27245 wxPyEndAllowThreads(__tstate
);
27246 if (PyErr_Occurred()) SWIG_fail
;
27248 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
27255 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27256 PyObject
*resultobj
;
27257 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
27258 PyObject
*arg2
= (PyObject
*) 0 ;
27259 PyObject
*arg3
= (PyObject
*) 0 ;
27260 int arg4
= (int) True
;
27261 PyObject
* obj0
= 0 ;
27262 PyObject
* obj1
= 0 ;
27263 PyObject
* obj2
= 0 ;
27264 PyObject
* obj3
= 0 ;
27265 char *kwnames
[] = {
27266 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
27269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
27271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27275 arg4
= (int) SWIG_AsInt(obj3
);
27276 if (PyErr_Occurred()) SWIG_fail
;
27279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27280 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
27282 wxPyEndAllowThreads(__tstate
);
27283 if (PyErr_Occurred()) SWIG_fail
;
27285 Py_INCREF(Py_None
); resultobj
= Py_None
;
27292 static PyObject
* PyValidator_swigregister(PyObject
*self
, PyObject
*args
) {
27294 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27295 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
27297 return Py_BuildValue((char *)"");
27299 static int _wrap_DefaultValidator_set(PyObject
*_val
) {
27300 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
27305 static PyObject
*_wrap_DefaultValidator_get() {
27308 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
27313 static PyObject
*_wrap_new_Menu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27314 PyObject
*resultobj
;
27315 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27316 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27317 long arg2
= (long) 0 ;
27319 bool temp1
= False
;
27320 PyObject
* obj0
= 0 ;
27321 PyObject
* obj1
= 0 ;
27322 char *kwnames
[] = {
27323 (char *) "title",(char *) "style", NULL
27326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
27329 arg1
= wxString_in_helper(obj0
);
27330 if (arg1
== NULL
) SWIG_fail
;
27335 arg2
= (long) SWIG_AsLong(obj1
);
27336 if (PyErr_Occurred()) SWIG_fail
;
27339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27340 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
27342 wxPyEndAllowThreads(__tstate
);
27343 if (PyErr_Occurred()) SWIG_fail
;
27346 resultobj
= wxPyMake_wxObject(result
);
27362 static PyObject
*_wrap_Menu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27363 PyObject
*resultobj
;
27364 wxMenu
*arg1
= (wxMenu
*) 0 ;
27366 wxString
*arg3
= 0 ;
27367 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27368 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27369 int arg5
= (int) wxITEM_NORMAL
;
27370 wxMenuItem
*result
;
27371 bool temp3
= False
;
27372 bool temp4
= False
;
27373 PyObject
* obj0
= 0 ;
27374 PyObject
* obj1
= 0 ;
27375 PyObject
* obj2
= 0 ;
27376 PyObject
* obj3
= 0 ;
27377 PyObject
* obj4
= 0 ;
27378 char *kwnames
[] = {
27379 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
27382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27385 arg2
= (int) SWIG_AsInt(obj1
);
27386 if (PyErr_Occurred()) SWIG_fail
;
27388 arg3
= wxString_in_helper(obj2
);
27389 if (arg3
== NULL
) SWIG_fail
;
27394 arg4
= wxString_in_helper(obj3
);
27395 if (arg4
== NULL
) SWIG_fail
;
27400 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
27401 if (PyErr_Occurred()) SWIG_fail
;
27404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27405 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
27407 wxPyEndAllowThreads(__tstate
);
27408 if (PyErr_Occurred()) SWIG_fail
;
27411 resultobj
= wxPyMake_wxObject(result
);
27435 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27436 PyObject
*resultobj
;
27437 wxMenu
*arg1
= (wxMenu
*) 0 ;
27438 wxMenuItem
*result
;
27439 PyObject
* obj0
= 0 ;
27440 char *kwnames
[] = {
27441 (char *) "self", NULL
27444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
27445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27449 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
27451 wxPyEndAllowThreads(__tstate
);
27452 if (PyErr_Occurred()) SWIG_fail
;
27455 resultobj
= wxPyMake_wxObject(result
);
27463 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27464 PyObject
*resultobj
;
27465 wxMenu
*arg1
= (wxMenu
*) 0 ;
27467 wxString
*arg3
= 0 ;
27468 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27469 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27470 wxMenuItem
*result
;
27471 bool temp3
= False
;
27472 bool temp4
= False
;
27473 PyObject
* obj0
= 0 ;
27474 PyObject
* obj1
= 0 ;
27475 PyObject
* obj2
= 0 ;
27476 PyObject
* obj3
= 0 ;
27477 char *kwnames
[] = {
27478 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
27481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27484 arg2
= (int) SWIG_AsInt(obj1
);
27485 if (PyErr_Occurred()) SWIG_fail
;
27487 arg3
= wxString_in_helper(obj2
);
27488 if (arg3
== NULL
) SWIG_fail
;
27493 arg4
= wxString_in_helper(obj3
);
27494 if (arg4
== NULL
) SWIG_fail
;
27499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27500 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
27502 wxPyEndAllowThreads(__tstate
);
27503 if (PyErr_Occurred()) SWIG_fail
;
27506 resultobj
= wxPyMake_wxObject(result
);
27530 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27531 PyObject
*resultobj
;
27532 wxMenu
*arg1
= (wxMenu
*) 0 ;
27534 wxString
*arg3
= 0 ;
27535 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27536 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27537 wxMenuItem
*result
;
27538 bool temp3
= False
;
27539 bool temp4
= False
;
27540 PyObject
* obj0
= 0 ;
27541 PyObject
* obj1
= 0 ;
27542 PyObject
* obj2
= 0 ;
27543 PyObject
* obj3
= 0 ;
27544 char *kwnames
[] = {
27545 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
27548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27551 arg2
= (int) SWIG_AsInt(obj1
);
27552 if (PyErr_Occurred()) SWIG_fail
;
27554 arg3
= wxString_in_helper(obj2
);
27555 if (arg3
== NULL
) SWIG_fail
;
27560 arg4
= wxString_in_helper(obj3
);
27561 if (arg4
== NULL
) SWIG_fail
;
27566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27567 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
27569 wxPyEndAllowThreads(__tstate
);
27570 if (PyErr_Occurred()) SWIG_fail
;
27573 resultobj
= wxPyMake_wxObject(result
);
27597 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27598 PyObject
*resultobj
;
27599 wxMenu
*arg1
= (wxMenu
*) 0 ;
27601 wxString
*arg3
= 0 ;
27602 wxMenu
*arg4
= (wxMenu
*) 0 ;
27603 wxString
const &arg5_defvalue
= wxPyEmptyString
;
27604 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
27605 wxMenuItem
*result
;
27606 bool temp3
= False
;
27607 bool temp5
= False
;
27608 PyObject
* obj0
= 0 ;
27609 PyObject
* obj1
= 0 ;
27610 PyObject
* obj2
= 0 ;
27611 PyObject
* obj3
= 0 ;
27612 PyObject
* obj4
= 0 ;
27613 char *kwnames
[] = {
27614 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
27617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27620 arg2
= (int) SWIG_AsInt(obj1
);
27621 if (PyErr_Occurred()) SWIG_fail
;
27623 arg3
= wxString_in_helper(obj2
);
27624 if (arg3
== NULL
) SWIG_fail
;
27627 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
27628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27631 arg5
= wxString_in_helper(obj4
);
27632 if (arg5
== NULL
) SWIG_fail
;
27637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27638 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
27640 wxPyEndAllowThreads(__tstate
);
27641 if (PyErr_Occurred()) SWIG_fail
;
27644 resultobj
= wxPyMake_wxObject(result
);
27668 static PyObject
*_wrap_Menu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27669 PyObject
*resultobj
;
27670 wxMenu
*arg1
= (wxMenu
*) 0 ;
27671 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
27672 wxMenuItem
*result
;
27673 PyObject
* obj0
= 0 ;
27674 PyObject
* obj1
= 0 ;
27675 char *kwnames
[] = {
27676 (char *) "self",(char *) "item", NULL
27679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27682 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
27683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27686 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
27688 wxPyEndAllowThreads(__tstate
);
27689 if (PyErr_Occurred()) SWIG_fail
;
27692 resultobj
= wxPyMake_wxObject(result
);
27700 static PyObject
*_wrap_Menu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27701 PyObject
*resultobj
;
27702 wxMenu
*arg1
= (wxMenu
*) 0 ;
27703 PyObject
* obj0
= 0 ;
27704 char *kwnames
[] = {
27705 (char *) "self", NULL
27708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
27709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27715 wxPyEndAllowThreads(__tstate
);
27716 if (PyErr_Occurred()) SWIG_fail
;
27718 Py_INCREF(Py_None
); resultobj
= Py_None
;
27725 static PyObject
*_wrap_Menu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27726 PyObject
*resultobj
;
27727 wxMenu
*arg1
= (wxMenu
*) 0 ;
27729 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
27730 wxMenuItem
*result
;
27731 PyObject
* obj0
= 0 ;
27732 PyObject
* obj1
= 0 ;
27733 PyObject
* obj2
= 0 ;
27734 char *kwnames
[] = {
27735 (char *) "self",(char *) "pos",(char *) "item", NULL
27738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27741 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
27742 if (PyErr_Occurred()) SWIG_fail
;
27743 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
27744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27747 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
27749 wxPyEndAllowThreads(__tstate
);
27750 if (PyErr_Occurred()) SWIG_fail
;
27753 resultobj
= wxPyMake_wxObject(result
);
27761 static PyObject
*_wrap_Menu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27762 PyObject
*resultobj
;
27763 wxMenu
*arg1
= (wxMenu
*) 0 ;
27766 wxString
*arg4
= 0 ;
27767 wxString
const &arg5_defvalue
= wxPyEmptyString
;
27768 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
27769 int arg6
= (int) wxITEM_NORMAL
;
27770 wxMenuItem
*result
;
27771 bool temp4
= False
;
27772 bool temp5
= False
;
27773 PyObject
* obj0
= 0 ;
27774 PyObject
* obj1
= 0 ;
27775 PyObject
* obj2
= 0 ;
27776 PyObject
* obj3
= 0 ;
27777 PyObject
* obj4
= 0 ;
27778 PyObject
* obj5
= 0 ;
27779 char *kwnames
[] = {
27780 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
27783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27786 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
27787 if (PyErr_Occurred()) SWIG_fail
;
27788 arg3
= (int) SWIG_AsInt(obj2
);
27789 if (PyErr_Occurred()) SWIG_fail
;
27791 arg4
= wxString_in_helper(obj3
);
27792 if (arg4
== NULL
) SWIG_fail
;
27797 arg5
= wxString_in_helper(obj4
);
27798 if (arg5
== NULL
) SWIG_fail
;
27803 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
27804 if (PyErr_Occurred()) SWIG_fail
;
27807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27808 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
27810 wxPyEndAllowThreads(__tstate
);
27811 if (PyErr_Occurred()) SWIG_fail
;
27814 resultobj
= wxPyMake_wxObject(result
);
27838 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27839 PyObject
*resultobj
;
27840 wxMenu
*arg1
= (wxMenu
*) 0 ;
27842 wxMenuItem
*result
;
27843 PyObject
* obj0
= 0 ;
27844 PyObject
* obj1
= 0 ;
27845 char *kwnames
[] = {
27846 (char *) "self",(char *) "pos", NULL
27849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
27850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27852 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
27853 if (PyErr_Occurred()) SWIG_fail
;
27855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27856 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
27858 wxPyEndAllowThreads(__tstate
);
27859 if (PyErr_Occurred()) SWIG_fail
;
27862 resultobj
= wxPyMake_wxObject(result
);
27870 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27871 PyObject
*resultobj
;
27872 wxMenu
*arg1
= (wxMenu
*) 0 ;
27875 wxString
*arg4
= 0 ;
27876 wxString
const &arg5_defvalue
= wxPyEmptyString
;
27877 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
27878 wxMenuItem
*result
;
27879 bool temp4
= False
;
27880 bool temp5
= False
;
27881 PyObject
* obj0
= 0 ;
27882 PyObject
* obj1
= 0 ;
27883 PyObject
* obj2
= 0 ;
27884 PyObject
* obj3
= 0 ;
27885 PyObject
* obj4
= 0 ;
27886 char *kwnames
[] = {
27887 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
27890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27893 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
27894 if (PyErr_Occurred()) SWIG_fail
;
27895 arg3
= (int) SWIG_AsInt(obj2
);
27896 if (PyErr_Occurred()) SWIG_fail
;
27898 arg4
= wxString_in_helper(obj3
);
27899 if (arg4
== NULL
) SWIG_fail
;
27904 arg5
= wxString_in_helper(obj4
);
27905 if (arg5
== NULL
) SWIG_fail
;
27910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27911 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
27913 wxPyEndAllowThreads(__tstate
);
27914 if (PyErr_Occurred()) SWIG_fail
;
27917 resultobj
= wxPyMake_wxObject(result
);
27941 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27942 PyObject
*resultobj
;
27943 wxMenu
*arg1
= (wxMenu
*) 0 ;
27946 wxString
*arg4
= 0 ;
27947 wxString
const &arg5_defvalue
= wxPyEmptyString
;
27948 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
27949 wxMenuItem
*result
;
27950 bool temp4
= False
;
27951 bool temp5
= False
;
27952 PyObject
* obj0
= 0 ;
27953 PyObject
* obj1
= 0 ;
27954 PyObject
* obj2
= 0 ;
27955 PyObject
* obj3
= 0 ;
27956 PyObject
* obj4
= 0 ;
27957 char *kwnames
[] = {
27958 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
27961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27964 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
27965 if (PyErr_Occurred()) SWIG_fail
;
27966 arg3
= (int) SWIG_AsInt(obj2
);
27967 if (PyErr_Occurred()) SWIG_fail
;
27969 arg4
= wxString_in_helper(obj3
);
27970 if (arg4
== NULL
) SWIG_fail
;
27975 arg5
= wxString_in_helper(obj4
);
27976 if (arg5
== NULL
) SWIG_fail
;
27981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27982 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
27984 wxPyEndAllowThreads(__tstate
);
27985 if (PyErr_Occurred()) SWIG_fail
;
27988 resultobj
= wxPyMake_wxObject(result
);
28012 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28013 PyObject
*resultobj
;
28014 wxMenu
*arg1
= (wxMenu
*) 0 ;
28017 wxString
*arg4
= 0 ;
28018 wxMenu
*arg5
= (wxMenu
*) 0 ;
28019 wxString
const &arg6_defvalue
= wxPyEmptyString
;
28020 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
28021 wxMenuItem
*result
;
28022 bool temp4
= False
;
28023 bool temp6
= False
;
28024 PyObject
* obj0
= 0 ;
28025 PyObject
* obj1
= 0 ;
28026 PyObject
* obj2
= 0 ;
28027 PyObject
* obj3
= 0 ;
28028 PyObject
* obj4
= 0 ;
28029 PyObject
* obj5
= 0 ;
28030 char *kwnames
[] = {
28031 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
28034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28037 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28038 if (PyErr_Occurred()) SWIG_fail
;
28039 arg3
= (int) SWIG_AsInt(obj2
);
28040 if (PyErr_Occurred()) SWIG_fail
;
28042 arg4
= wxString_in_helper(obj3
);
28043 if (arg4
== NULL
) SWIG_fail
;
28046 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
28047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28050 arg6
= wxString_in_helper(obj5
);
28051 if (arg6
== NULL
) SWIG_fail
;
28056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28057 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
28059 wxPyEndAllowThreads(__tstate
);
28060 if (PyErr_Occurred()) SWIG_fail
;
28063 resultobj
= wxPyMake_wxObject(result
);
28087 static PyObject
*_wrap_Menu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28088 PyObject
*resultobj
;
28089 wxMenu
*arg1
= (wxMenu
*) 0 ;
28090 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28091 wxMenuItem
*result
;
28092 PyObject
* obj0
= 0 ;
28093 PyObject
* obj1
= 0 ;
28094 char *kwnames
[] = {
28095 (char *) "self",(char *) "item", NULL
28098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28101 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28105 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
28107 wxPyEndAllowThreads(__tstate
);
28108 if (PyErr_Occurred()) SWIG_fail
;
28111 resultobj
= wxPyMake_wxObject(result
);
28119 static PyObject
*_wrap_Menu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28120 PyObject
*resultobj
;
28121 wxMenu
*arg1
= (wxMenu
*) 0 ;
28123 wxString
*arg3
= 0 ;
28124 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28125 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28126 int arg5
= (int) wxITEM_NORMAL
;
28127 wxMenuItem
*result
;
28128 bool temp3
= False
;
28129 bool temp4
= False
;
28130 PyObject
* obj0
= 0 ;
28131 PyObject
* obj1
= 0 ;
28132 PyObject
* obj2
= 0 ;
28133 PyObject
* obj3
= 0 ;
28134 PyObject
* obj4
= 0 ;
28135 char *kwnames
[] = {
28136 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28142 arg2
= (int) SWIG_AsInt(obj1
);
28143 if (PyErr_Occurred()) SWIG_fail
;
28145 arg3
= wxString_in_helper(obj2
);
28146 if (arg3
== NULL
) SWIG_fail
;
28151 arg4
= wxString_in_helper(obj3
);
28152 if (arg4
== NULL
) SWIG_fail
;
28157 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
28158 if (PyErr_Occurred()) SWIG_fail
;
28161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28162 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
28164 wxPyEndAllowThreads(__tstate
);
28165 if (PyErr_Occurred()) SWIG_fail
;
28168 resultobj
= wxPyMake_wxObject(result
);
28192 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28193 PyObject
*resultobj
;
28194 wxMenu
*arg1
= (wxMenu
*) 0 ;
28195 wxMenuItem
*result
;
28196 PyObject
* obj0
= 0 ;
28197 char *kwnames
[] = {
28198 (char *) "self", NULL
28201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
28202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28206 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
28208 wxPyEndAllowThreads(__tstate
);
28209 if (PyErr_Occurred()) SWIG_fail
;
28212 resultobj
= wxPyMake_wxObject(result
);
28220 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28221 PyObject
*resultobj
;
28222 wxMenu
*arg1
= (wxMenu
*) 0 ;
28224 wxString
*arg3
= 0 ;
28225 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28226 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28227 wxMenuItem
*result
;
28228 bool temp3
= False
;
28229 bool temp4
= False
;
28230 PyObject
* obj0
= 0 ;
28231 PyObject
* obj1
= 0 ;
28232 PyObject
* obj2
= 0 ;
28233 PyObject
* obj3
= 0 ;
28234 char *kwnames
[] = {
28235 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28241 arg2
= (int) SWIG_AsInt(obj1
);
28242 if (PyErr_Occurred()) SWIG_fail
;
28244 arg3
= wxString_in_helper(obj2
);
28245 if (arg3
== NULL
) SWIG_fail
;
28250 arg4
= wxString_in_helper(obj3
);
28251 if (arg4
== NULL
) SWIG_fail
;
28256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28257 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28259 wxPyEndAllowThreads(__tstate
);
28260 if (PyErr_Occurred()) SWIG_fail
;
28263 resultobj
= wxPyMake_wxObject(result
);
28287 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28288 PyObject
*resultobj
;
28289 wxMenu
*arg1
= (wxMenu
*) 0 ;
28291 wxString
*arg3
= 0 ;
28292 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28293 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28294 wxMenuItem
*result
;
28295 bool temp3
= False
;
28296 bool temp4
= False
;
28297 PyObject
* obj0
= 0 ;
28298 PyObject
* obj1
= 0 ;
28299 PyObject
* obj2
= 0 ;
28300 PyObject
* obj3
= 0 ;
28301 char *kwnames
[] = {
28302 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28308 arg2
= (int) SWIG_AsInt(obj1
);
28309 if (PyErr_Occurred()) SWIG_fail
;
28311 arg3
= wxString_in_helper(obj2
);
28312 if (arg3
== NULL
) SWIG_fail
;
28317 arg4
= wxString_in_helper(obj3
);
28318 if (arg4
== NULL
) SWIG_fail
;
28323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28324 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28326 wxPyEndAllowThreads(__tstate
);
28327 if (PyErr_Occurred()) SWIG_fail
;
28330 resultobj
= wxPyMake_wxObject(result
);
28354 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28355 PyObject
*resultobj
;
28356 wxMenu
*arg1
= (wxMenu
*) 0 ;
28358 wxString
*arg3
= 0 ;
28359 wxMenu
*arg4
= (wxMenu
*) 0 ;
28360 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28361 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28362 wxMenuItem
*result
;
28363 bool temp3
= False
;
28364 bool temp5
= False
;
28365 PyObject
* obj0
= 0 ;
28366 PyObject
* obj1
= 0 ;
28367 PyObject
* obj2
= 0 ;
28368 PyObject
* obj3
= 0 ;
28369 PyObject
* obj4
= 0 ;
28370 char *kwnames
[] = {
28371 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
28374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28377 arg2
= (int) SWIG_AsInt(obj1
);
28378 if (PyErr_Occurred()) SWIG_fail
;
28380 arg3
= wxString_in_helper(obj2
);
28381 if (arg3
== NULL
) SWIG_fail
;
28384 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
28385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28388 arg5
= wxString_in_helper(obj4
);
28389 if (arg5
== NULL
) SWIG_fail
;
28394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28395 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
28397 wxPyEndAllowThreads(__tstate
);
28398 if (PyErr_Occurred()) SWIG_fail
;
28401 resultobj
= wxPyMake_wxObject(result
);
28425 static PyObject
*_wrap_Menu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28426 PyObject
*resultobj
;
28427 wxMenu
*arg1
= (wxMenu
*) 0 ;
28429 wxMenuItem
*result
;
28430 PyObject
* obj0
= 0 ;
28431 PyObject
* obj1
= 0 ;
28432 char *kwnames
[] = {
28433 (char *) "self",(char *) "id", NULL
28436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
28437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28439 arg2
= (int) SWIG_AsInt(obj1
);
28440 if (PyErr_Occurred()) SWIG_fail
;
28442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28443 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
28445 wxPyEndAllowThreads(__tstate
);
28446 if (PyErr_Occurred()) SWIG_fail
;
28449 resultobj
= wxPyMake_wxObject(result
);
28457 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28458 PyObject
*resultobj
;
28459 wxMenu
*arg1
= (wxMenu
*) 0 ;
28460 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28461 wxMenuItem
*result
;
28462 PyObject
* obj0
= 0 ;
28463 PyObject
* obj1
= 0 ;
28464 char *kwnames
[] = {
28465 (char *) "self",(char *) "item", NULL
28468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28471 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28475 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
28477 wxPyEndAllowThreads(__tstate
);
28478 if (PyErr_Occurred()) SWIG_fail
;
28481 resultobj
= wxPyMake_wxObject(result
);
28489 static PyObject
*_wrap_Menu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28490 PyObject
*resultobj
;
28491 wxMenu
*arg1
= (wxMenu
*) 0 ;
28494 PyObject
* obj0
= 0 ;
28495 PyObject
* obj1
= 0 ;
28496 char *kwnames
[] = {
28497 (char *) "self",(char *) "id", NULL
28500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
28501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28503 arg2
= (int) SWIG_AsInt(obj1
);
28504 if (PyErr_Occurred()) SWIG_fail
;
28506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28507 result
= (bool)(arg1
)->Delete(arg2
);
28509 wxPyEndAllowThreads(__tstate
);
28510 if (PyErr_Occurred()) SWIG_fail
;
28512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28519 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28520 PyObject
*resultobj
;
28521 wxMenu
*arg1
= (wxMenu
*) 0 ;
28522 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28524 PyObject
* obj0
= 0 ;
28525 PyObject
* obj1
= 0 ;
28526 char *kwnames
[] = {
28527 (char *) "self",(char *) "item", NULL
28530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28533 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28537 result
= (bool)(arg1
)->Delete(arg2
);
28539 wxPyEndAllowThreads(__tstate
);
28540 if (PyErr_Occurred()) SWIG_fail
;
28542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28549 static PyObject
*_wrap_Menu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28550 PyObject
*resultobj
;
28551 wxMenu
*arg1
= (wxMenu
*) 0 ;
28552 PyObject
* obj0
= 0 ;
28553 char *kwnames
[] = {
28554 (char *) "self", NULL
28557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
28558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28562 wxMenu_Destroy(arg1
);
28564 wxPyEndAllowThreads(__tstate
);
28565 if (PyErr_Occurred()) SWIG_fail
;
28567 Py_INCREF(Py_None
); resultobj
= Py_None
;
28574 static PyObject
*_wrap_Menu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28575 PyObject
*resultobj
;
28576 wxMenu
*arg1
= (wxMenu
*) 0 ;
28579 PyObject
* obj0
= 0 ;
28580 PyObject
* obj1
= 0 ;
28581 char *kwnames
[] = {
28582 (char *) "self",(char *) "id", NULL
28585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
28586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28588 arg2
= (int) SWIG_AsInt(obj1
);
28589 if (PyErr_Occurred()) SWIG_fail
;
28591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28592 result
= (bool)(arg1
)->Destroy(arg2
);
28594 wxPyEndAllowThreads(__tstate
);
28595 if (PyErr_Occurred()) SWIG_fail
;
28597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28604 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28605 PyObject
*resultobj
;
28606 wxMenu
*arg1
= (wxMenu
*) 0 ;
28607 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28609 PyObject
* obj0
= 0 ;
28610 PyObject
* obj1
= 0 ;
28611 char *kwnames
[] = {
28612 (char *) "self",(char *) "item", NULL
28615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28618 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28622 result
= (bool)(arg1
)->Destroy(arg2
);
28624 wxPyEndAllowThreads(__tstate
);
28625 if (PyErr_Occurred()) SWIG_fail
;
28627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28634 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28635 PyObject
*resultobj
;
28636 wxMenu
*arg1
= (wxMenu
*) 0 ;
28638 PyObject
* obj0
= 0 ;
28639 char *kwnames
[] = {
28640 (char *) "self", NULL
28643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
28644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28648 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
28650 wxPyEndAllowThreads(__tstate
);
28651 if (PyErr_Occurred()) SWIG_fail
;
28653 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
28660 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28661 PyObject
*resultobj
;
28662 wxMenu
*arg1
= (wxMenu
*) 0 ;
28664 PyObject
* obj0
= 0 ;
28665 char *kwnames
[] = {
28666 (char *) "self", NULL
28669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
28670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28674 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
28676 wxPyEndAllowThreads(__tstate
);
28677 if (PyErr_Occurred()) SWIG_fail
;
28679 resultobj
= result
;
28686 static PyObject
*_wrap_Menu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28687 PyObject
*resultobj
;
28688 wxMenu
*arg1
= (wxMenu
*) 0 ;
28689 wxString
*arg2
= 0 ;
28691 bool temp2
= False
;
28692 PyObject
* obj0
= 0 ;
28693 PyObject
* obj1
= 0 ;
28694 char *kwnames
[] = {
28695 (char *) "self",(char *) "item", NULL
28698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28702 arg2
= wxString_in_helper(obj1
);
28703 if (arg2
== NULL
) SWIG_fail
;
28707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28708 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
28710 wxPyEndAllowThreads(__tstate
);
28711 if (PyErr_Occurred()) SWIG_fail
;
28713 resultobj
= SWIG_FromInt((int)result
);
28728 static PyObject
*_wrap_Menu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28729 PyObject
*resultobj
;
28730 wxMenu
*arg1
= (wxMenu
*) 0 ;
28732 wxMenuItem
*result
;
28733 PyObject
* obj0
= 0 ;
28734 PyObject
* obj1
= 0 ;
28735 char *kwnames
[] = {
28736 (char *) "self",(char *) "id", NULL
28739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
28740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28742 arg2
= (int) SWIG_AsInt(obj1
);
28743 if (PyErr_Occurred()) SWIG_fail
;
28745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28746 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
28748 wxPyEndAllowThreads(__tstate
);
28749 if (PyErr_Occurred()) SWIG_fail
;
28752 resultobj
= wxPyMake_wxObject(result
);
28760 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28761 PyObject
*resultobj
;
28762 wxMenu
*arg1
= (wxMenu
*) 0 ;
28764 wxMenuItem
*result
;
28765 PyObject
* obj0
= 0 ;
28766 PyObject
* obj1
= 0 ;
28767 char *kwnames
[] = {
28768 (char *) "self",(char *) "position", NULL
28771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
28772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28774 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28775 if (PyErr_Occurred()) SWIG_fail
;
28777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28778 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
28780 wxPyEndAllowThreads(__tstate
);
28781 if (PyErr_Occurred()) SWIG_fail
;
28784 resultobj
= wxPyMake_wxObject(result
);
28792 static PyObject
*_wrap_Menu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28793 PyObject
*resultobj
;
28794 wxMenu
*arg1
= (wxMenu
*) 0 ;
28797 PyObject
* obj0
= 0 ;
28798 PyObject
* obj1
= 0 ;
28799 PyObject
* obj2
= 0 ;
28800 char *kwnames
[] = {
28801 (char *) "self",(char *) "id",(char *) "enable", NULL
28804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28807 arg2
= (int) SWIG_AsInt(obj1
);
28808 if (PyErr_Occurred()) SWIG_fail
;
28809 arg3
= (bool) SWIG_AsBool(obj2
);
28810 if (PyErr_Occurred()) SWIG_fail
;
28812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28813 (arg1
)->Enable(arg2
,arg3
);
28815 wxPyEndAllowThreads(__tstate
);
28816 if (PyErr_Occurred()) SWIG_fail
;
28818 Py_INCREF(Py_None
); resultobj
= Py_None
;
28825 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28826 PyObject
*resultobj
;
28827 wxMenu
*arg1
= (wxMenu
*) 0 ;
28830 PyObject
* obj0
= 0 ;
28831 PyObject
* obj1
= 0 ;
28832 char *kwnames
[] = {
28833 (char *) "self",(char *) "id", NULL
28836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
28837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28839 arg2
= (int) SWIG_AsInt(obj1
);
28840 if (PyErr_Occurred()) SWIG_fail
;
28842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28843 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
28845 wxPyEndAllowThreads(__tstate
);
28846 if (PyErr_Occurred()) SWIG_fail
;
28848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28855 static PyObject
*_wrap_Menu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28856 PyObject
*resultobj
;
28857 wxMenu
*arg1
= (wxMenu
*) 0 ;
28860 PyObject
* obj0
= 0 ;
28861 PyObject
* obj1
= 0 ;
28862 PyObject
* obj2
= 0 ;
28863 char *kwnames
[] = {
28864 (char *) "self",(char *) "id",(char *) "check", NULL
28867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28870 arg2
= (int) SWIG_AsInt(obj1
);
28871 if (PyErr_Occurred()) SWIG_fail
;
28872 arg3
= (bool) SWIG_AsBool(obj2
);
28873 if (PyErr_Occurred()) SWIG_fail
;
28875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28876 (arg1
)->Check(arg2
,arg3
);
28878 wxPyEndAllowThreads(__tstate
);
28879 if (PyErr_Occurred()) SWIG_fail
;
28881 Py_INCREF(Py_None
); resultobj
= Py_None
;
28888 static PyObject
*_wrap_Menu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28889 PyObject
*resultobj
;
28890 wxMenu
*arg1
= (wxMenu
*) 0 ;
28893 PyObject
* obj0
= 0 ;
28894 PyObject
* obj1
= 0 ;
28895 char *kwnames
[] = {
28896 (char *) "self",(char *) "id", NULL
28899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
28900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28902 arg2
= (int) SWIG_AsInt(obj1
);
28903 if (PyErr_Occurred()) SWIG_fail
;
28905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28906 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
28908 wxPyEndAllowThreads(__tstate
);
28909 if (PyErr_Occurred()) SWIG_fail
;
28911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28918 static PyObject
*_wrap_Menu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28919 PyObject
*resultobj
;
28920 wxMenu
*arg1
= (wxMenu
*) 0 ;
28922 wxString
*arg3
= 0 ;
28923 bool temp3
= False
;
28924 PyObject
* obj0
= 0 ;
28925 PyObject
* obj1
= 0 ;
28926 PyObject
* obj2
= 0 ;
28927 char *kwnames
[] = {
28928 (char *) "self",(char *) "id",(char *) "label", NULL
28931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28934 arg2
= (int) SWIG_AsInt(obj1
);
28935 if (PyErr_Occurred()) SWIG_fail
;
28937 arg3
= wxString_in_helper(obj2
);
28938 if (arg3
== NULL
) SWIG_fail
;
28942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28943 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
28945 wxPyEndAllowThreads(__tstate
);
28946 if (PyErr_Occurred()) SWIG_fail
;
28948 Py_INCREF(Py_None
); resultobj
= Py_None
;
28963 static PyObject
*_wrap_Menu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28964 PyObject
*resultobj
;
28965 wxMenu
*arg1
= (wxMenu
*) 0 ;
28968 PyObject
* obj0
= 0 ;
28969 PyObject
* obj1
= 0 ;
28970 char *kwnames
[] = {
28971 (char *) "self",(char *) "id", NULL
28974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28977 arg2
= (int) SWIG_AsInt(obj1
);
28978 if (PyErr_Occurred()) SWIG_fail
;
28980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28981 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
28983 wxPyEndAllowThreads(__tstate
);
28984 if (PyErr_Occurred()) SWIG_fail
;
28988 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28990 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28999 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29000 PyObject
*resultobj
;
29001 wxMenu
*arg1
= (wxMenu
*) 0 ;
29003 wxString
*arg3
= 0 ;
29004 bool temp3
= False
;
29005 PyObject
* obj0
= 0 ;
29006 PyObject
* obj1
= 0 ;
29007 PyObject
* obj2
= 0 ;
29008 char *kwnames
[] = {
29009 (char *) "self",(char *) "id",(char *) "helpString", NULL
29012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29015 arg2
= (int) SWIG_AsInt(obj1
);
29016 if (PyErr_Occurred()) SWIG_fail
;
29018 arg3
= wxString_in_helper(obj2
);
29019 if (arg3
== NULL
) SWIG_fail
;
29023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29024 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
29026 wxPyEndAllowThreads(__tstate
);
29027 if (PyErr_Occurred()) SWIG_fail
;
29029 Py_INCREF(Py_None
); resultobj
= Py_None
;
29044 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29045 PyObject
*resultobj
;
29046 wxMenu
*arg1
= (wxMenu
*) 0 ;
29049 PyObject
* obj0
= 0 ;
29050 PyObject
* obj1
= 0 ;
29051 char *kwnames
[] = {
29052 (char *) "self",(char *) "id", NULL
29055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
29056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29058 arg2
= (int) SWIG_AsInt(obj1
);
29059 if (PyErr_Occurred()) SWIG_fail
;
29061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29062 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
29064 wxPyEndAllowThreads(__tstate
);
29065 if (PyErr_Occurred()) SWIG_fail
;
29069 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29071 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29080 static PyObject
*_wrap_Menu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29081 PyObject
*resultobj
;
29082 wxMenu
*arg1
= (wxMenu
*) 0 ;
29083 wxString
*arg2
= 0 ;
29084 bool temp2
= False
;
29085 PyObject
* obj0
= 0 ;
29086 PyObject
* obj1
= 0 ;
29087 char *kwnames
[] = {
29088 (char *) "self",(char *) "title", NULL
29091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
29092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29095 arg2
= wxString_in_helper(obj1
);
29096 if (arg2
== NULL
) SWIG_fail
;
29100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29101 (arg1
)->SetTitle((wxString
const &)*arg2
);
29103 wxPyEndAllowThreads(__tstate
);
29104 if (PyErr_Occurred()) SWIG_fail
;
29106 Py_INCREF(Py_None
); resultobj
= Py_None
;
29121 static PyObject
*_wrap_Menu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29122 PyObject
*resultobj
;
29123 wxMenu
*arg1
= (wxMenu
*) 0 ;
29125 PyObject
* obj0
= 0 ;
29126 char *kwnames
[] = {
29127 (char *) "self", NULL
29130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
29131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29135 result
= ((wxMenu
const *)arg1
)->GetTitle();
29137 wxPyEndAllowThreads(__tstate
);
29138 if (PyErr_Occurred()) SWIG_fail
;
29142 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29144 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29153 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29154 PyObject
*resultobj
;
29155 wxMenu
*arg1
= (wxMenu
*) 0 ;
29156 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
29157 PyObject
* obj0
= 0 ;
29158 PyObject
* obj1
= 0 ;
29159 char *kwnames
[] = {
29160 (char *) "self",(char *) "handler", NULL
29163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
29164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29166 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
29167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29170 (arg1
)->SetEventHandler(arg2
);
29172 wxPyEndAllowThreads(__tstate
);
29173 if (PyErr_Occurred()) SWIG_fail
;
29175 Py_INCREF(Py_None
); resultobj
= Py_None
;
29182 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29183 PyObject
*resultobj
;
29184 wxMenu
*arg1
= (wxMenu
*) 0 ;
29185 wxEvtHandler
*result
;
29186 PyObject
* obj0
= 0 ;
29187 char *kwnames
[] = {
29188 (char *) "self", NULL
29191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
29192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29196 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
29198 wxPyEndAllowThreads(__tstate
);
29199 if (PyErr_Occurred()) SWIG_fail
;
29202 resultobj
= wxPyMake_wxObject(result
);
29210 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29211 PyObject
*resultobj
;
29212 wxMenu
*arg1
= (wxMenu
*) 0 ;
29213 wxWindow
*arg2
= (wxWindow
*) 0 ;
29214 PyObject
* obj0
= 0 ;
29215 PyObject
* obj1
= 0 ;
29216 char *kwnames
[] = {
29217 (char *) "self",(char *) "win", NULL
29220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
29221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29223 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29227 (arg1
)->SetInvokingWindow(arg2
);
29229 wxPyEndAllowThreads(__tstate
);
29230 if (PyErr_Occurred()) SWIG_fail
;
29232 Py_INCREF(Py_None
); resultobj
= Py_None
;
29239 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29240 PyObject
*resultobj
;
29241 wxMenu
*arg1
= (wxMenu
*) 0 ;
29243 PyObject
* obj0
= 0 ;
29244 char *kwnames
[] = {
29245 (char *) "self", NULL
29248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
29249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29253 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
29255 wxPyEndAllowThreads(__tstate
);
29256 if (PyErr_Occurred()) SWIG_fail
;
29259 resultobj
= wxPyMake_wxObject(result
);
29267 static PyObject
*_wrap_Menu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29268 PyObject
*resultobj
;
29269 wxMenu
*arg1
= (wxMenu
*) 0 ;
29271 PyObject
* obj0
= 0 ;
29272 char *kwnames
[] = {
29273 (char *) "self", NULL
29276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
29277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29281 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
29283 wxPyEndAllowThreads(__tstate
);
29284 if (PyErr_Occurred()) SWIG_fail
;
29286 resultobj
= SWIG_FromLong((long)result
);
29293 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29294 PyObject
*resultobj
;
29295 wxMenu
*arg1
= (wxMenu
*) 0 ;
29296 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
29297 PyObject
* obj0
= 0 ;
29298 PyObject
* obj1
= 0 ;
29299 char *kwnames
[] = {
29300 (char *) "self",(char *) "source", NULL
29303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
29304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29307 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
29308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29312 (arg1
)->UpdateUI(arg2
);
29314 wxPyEndAllowThreads(__tstate
);
29315 if (PyErr_Occurred()) SWIG_fail
;
29317 Py_INCREF(Py_None
); resultobj
= Py_None
;
29324 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29325 PyObject
*resultobj
;
29326 wxMenu
*arg1
= (wxMenu
*) 0 ;
29328 PyObject
* obj0
= 0 ;
29329 char *kwnames
[] = {
29330 (char *) "self", NULL
29333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
29334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29338 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
29340 wxPyEndAllowThreads(__tstate
);
29341 if (PyErr_Occurred()) SWIG_fail
;
29344 resultobj
= wxPyMake_wxObject(result
);
29352 static PyObject
*_wrap_Menu_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29353 PyObject
*resultobj
;
29354 wxMenu
*arg1
= (wxMenu
*) 0 ;
29355 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
29356 PyObject
* obj0
= 0 ;
29357 PyObject
* obj1
= 0 ;
29358 char *kwnames
[] = {
29359 (char *) "self",(char *) "menubar", NULL
29362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
29363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29365 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
29366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29369 (arg1
)->Attach(arg2
);
29371 wxPyEndAllowThreads(__tstate
);
29372 if (PyErr_Occurred()) SWIG_fail
;
29374 Py_INCREF(Py_None
); resultobj
= Py_None
;
29381 static PyObject
*_wrap_Menu_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29382 PyObject
*resultobj
;
29383 wxMenu
*arg1
= (wxMenu
*) 0 ;
29384 PyObject
* obj0
= 0 ;
29385 char *kwnames
[] = {
29386 (char *) "self", NULL
29389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
29390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29396 wxPyEndAllowThreads(__tstate
);
29397 if (PyErr_Occurred()) SWIG_fail
;
29399 Py_INCREF(Py_None
); resultobj
= Py_None
;
29406 static PyObject
*_wrap_Menu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29407 PyObject
*resultobj
;
29408 wxMenu
*arg1
= (wxMenu
*) 0 ;
29410 PyObject
* obj0
= 0 ;
29411 char *kwnames
[] = {
29412 (char *) "self", NULL
29415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
29416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29420 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
29422 wxPyEndAllowThreads(__tstate
);
29423 if (PyErr_Occurred()) SWIG_fail
;
29425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29432 static PyObject
*_wrap_Menu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29433 PyObject
*resultobj
;
29434 wxMenu
*arg1
= (wxMenu
*) 0 ;
29435 wxMenu
*arg2
= (wxMenu
*) 0 ;
29436 PyObject
* obj0
= 0 ;
29437 PyObject
* obj1
= 0 ;
29438 char *kwnames
[] = {
29439 (char *) "self",(char *) "parent", NULL
29442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
29443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29445 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
29446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29449 (arg1
)->SetParent(arg2
);
29451 wxPyEndAllowThreads(__tstate
);
29452 if (PyErr_Occurred()) SWIG_fail
;
29454 Py_INCREF(Py_None
); resultobj
= Py_None
;
29461 static PyObject
*_wrap_Menu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29462 PyObject
*resultobj
;
29463 wxMenu
*arg1
= (wxMenu
*) 0 ;
29465 PyObject
* obj0
= 0 ;
29466 char *kwnames
[] = {
29467 (char *) "self", NULL
29470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
29471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29475 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
29477 wxPyEndAllowThreads(__tstate
);
29478 if (PyErr_Occurred()) SWIG_fail
;
29481 resultobj
= wxPyMake_wxObject(result
);
29489 static PyObject
* Menu_swigregister(PyObject
*self
, PyObject
*args
) {
29491 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29492 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
29494 return Py_BuildValue((char *)"");
29496 static PyObject
*_wrap_new_MenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29497 PyObject
*resultobj
;
29498 long arg1
= (long) 0 ;
29500 PyObject
* obj0
= 0 ;
29501 char *kwnames
[] = {
29502 (char *) "style", NULL
29505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
29507 arg1
= (long) SWIG_AsLong(obj0
);
29508 if (PyErr_Occurred()) SWIG_fail
;
29511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29512 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
29514 wxPyEndAllowThreads(__tstate
);
29515 if (PyErr_Occurred()) SWIG_fail
;
29518 resultobj
= wxPyMake_wxObject(result
);
29526 static PyObject
*_wrap_MenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29527 PyObject
*resultobj
;
29528 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29529 wxMenu
*arg2
= (wxMenu
*) 0 ;
29530 wxString
*arg3
= 0 ;
29532 bool temp3
= False
;
29533 PyObject
* obj0
= 0 ;
29534 PyObject
* obj1
= 0 ;
29535 PyObject
* obj2
= 0 ;
29536 char *kwnames
[] = {
29537 (char *) "self",(char *) "menu",(char *) "title", NULL
29540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29543 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
29544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29546 arg3
= wxString_in_helper(obj2
);
29547 if (arg3
== NULL
) SWIG_fail
;
29551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29552 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
29554 wxPyEndAllowThreads(__tstate
);
29555 if (PyErr_Occurred()) SWIG_fail
;
29557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29572 static PyObject
*_wrap_MenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29573 PyObject
*resultobj
;
29574 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29576 wxMenu
*arg3
= (wxMenu
*) 0 ;
29577 wxString
*arg4
= 0 ;
29579 bool temp4
= False
;
29580 PyObject
* obj0
= 0 ;
29581 PyObject
* obj1
= 0 ;
29582 PyObject
* obj2
= 0 ;
29583 PyObject
* obj3
= 0 ;
29584 char *kwnames
[] = {
29585 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
29588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29591 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29592 if (PyErr_Occurred()) SWIG_fail
;
29593 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
29594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29596 arg4
= wxString_in_helper(obj3
);
29597 if (arg4
== NULL
) SWIG_fail
;
29601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29602 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
29604 wxPyEndAllowThreads(__tstate
);
29605 if (PyErr_Occurred()) SWIG_fail
;
29607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29622 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29623 PyObject
*resultobj
;
29624 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29626 PyObject
* obj0
= 0 ;
29627 char *kwnames
[] = {
29628 (char *) "self", NULL
29631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
29632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29636 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
29638 wxPyEndAllowThreads(__tstate
);
29639 if (PyErr_Occurred()) SWIG_fail
;
29641 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
29648 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29649 PyObject
*resultobj
;
29650 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29653 PyObject
* obj0
= 0 ;
29654 PyObject
* obj1
= 0 ;
29655 char *kwnames
[] = {
29656 (char *) "self",(char *) "pos", NULL
29659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
29660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29662 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29663 if (PyErr_Occurred()) SWIG_fail
;
29665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29666 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
29668 wxPyEndAllowThreads(__tstate
);
29669 if (PyErr_Occurred()) SWIG_fail
;
29672 resultobj
= wxPyMake_wxObject(result
);
29680 static PyObject
*_wrap_MenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29681 PyObject
*resultobj
;
29682 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29684 wxMenu
*arg3
= (wxMenu
*) 0 ;
29685 wxString
*arg4
= 0 ;
29687 bool temp4
= False
;
29688 PyObject
* obj0
= 0 ;
29689 PyObject
* obj1
= 0 ;
29690 PyObject
* obj2
= 0 ;
29691 PyObject
* obj3
= 0 ;
29692 char *kwnames
[] = {
29693 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
29696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29699 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29700 if (PyErr_Occurred()) SWIG_fail
;
29701 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
29702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29704 arg4
= wxString_in_helper(obj3
);
29705 if (arg4
== NULL
) SWIG_fail
;
29709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29710 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
29712 wxPyEndAllowThreads(__tstate
);
29713 if (PyErr_Occurred()) SWIG_fail
;
29716 resultobj
= wxPyMake_wxObject(result
);
29732 static PyObject
*_wrap_MenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29733 PyObject
*resultobj
;
29734 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29737 PyObject
* obj0
= 0 ;
29738 PyObject
* obj1
= 0 ;
29739 char *kwnames
[] = {
29740 (char *) "self",(char *) "pos", NULL
29743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
29744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29746 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29747 if (PyErr_Occurred()) SWIG_fail
;
29749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29750 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
29752 wxPyEndAllowThreads(__tstate
);
29753 if (PyErr_Occurred()) SWIG_fail
;
29756 resultobj
= wxPyMake_wxObject(result
);
29764 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29765 PyObject
*resultobj
;
29766 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29769 PyObject
* obj0
= 0 ;
29770 PyObject
* obj1
= 0 ;
29771 PyObject
* obj2
= 0 ;
29772 char *kwnames
[] = {
29773 (char *) "self",(char *) "pos",(char *) "enable", NULL
29776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29779 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29780 if (PyErr_Occurred()) SWIG_fail
;
29781 arg3
= (bool) SWIG_AsBool(obj2
);
29782 if (PyErr_Occurred()) SWIG_fail
;
29784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29785 (arg1
)->EnableTop(arg2
,arg3
);
29787 wxPyEndAllowThreads(__tstate
);
29788 if (PyErr_Occurred()) SWIG_fail
;
29790 Py_INCREF(Py_None
); resultobj
= Py_None
;
29797 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29798 PyObject
*resultobj
;
29799 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29802 PyObject
* obj0
= 0 ;
29803 PyObject
* obj1
= 0 ;
29804 char *kwnames
[] = {
29805 (char *) "self",(char *) "pos", NULL
29808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
29809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29811 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29812 if (PyErr_Occurred()) SWIG_fail
;
29814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29815 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
29817 wxPyEndAllowThreads(__tstate
);
29818 if (PyErr_Occurred()) SWIG_fail
;
29820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29827 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29828 PyObject
*resultobj
;
29829 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29831 wxString
*arg3
= 0 ;
29832 bool temp3
= False
;
29833 PyObject
* obj0
= 0 ;
29834 PyObject
* obj1
= 0 ;
29835 PyObject
* obj2
= 0 ;
29836 char *kwnames
[] = {
29837 (char *) "self",(char *) "pos",(char *) "label", NULL
29840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29843 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29844 if (PyErr_Occurred()) SWIG_fail
;
29846 arg3
= wxString_in_helper(obj2
);
29847 if (arg3
== NULL
) SWIG_fail
;
29851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29852 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
29854 wxPyEndAllowThreads(__tstate
);
29855 if (PyErr_Occurred()) SWIG_fail
;
29857 Py_INCREF(Py_None
); resultobj
= Py_None
;
29872 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29873 PyObject
*resultobj
;
29874 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29877 PyObject
* obj0
= 0 ;
29878 PyObject
* obj1
= 0 ;
29879 char *kwnames
[] = {
29880 (char *) "self",(char *) "pos", NULL
29883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
29884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29886 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29887 if (PyErr_Occurred()) SWIG_fail
;
29889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29890 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
29892 wxPyEndAllowThreads(__tstate
);
29893 if (PyErr_Occurred()) SWIG_fail
;
29897 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29899 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29908 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29909 PyObject
*resultobj
;
29910 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29911 wxString
*arg2
= 0 ;
29912 wxString
*arg3
= 0 ;
29914 bool temp2
= False
;
29915 bool temp3
= False
;
29916 PyObject
* obj0
= 0 ;
29917 PyObject
* obj1
= 0 ;
29918 PyObject
* obj2
= 0 ;
29919 char *kwnames
[] = {
29920 (char *) "self",(char *) "menu",(char *) "item", NULL
29923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29927 arg2
= wxString_in_helper(obj1
);
29928 if (arg2
== NULL
) SWIG_fail
;
29932 arg3
= wxString_in_helper(obj2
);
29933 if (arg3
== NULL
) SWIG_fail
;
29937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29938 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
29940 wxPyEndAllowThreads(__tstate
);
29941 if (PyErr_Occurred()) SWIG_fail
;
29943 resultobj
= SWIG_FromInt((int)result
);
29966 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29967 PyObject
*resultobj
;
29968 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29970 wxMenuItem
*result
;
29971 PyObject
* obj0
= 0 ;
29972 PyObject
* obj1
= 0 ;
29973 char *kwnames
[] = {
29974 (char *) "self",(char *) "id", NULL
29977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
29978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29980 arg2
= (int) SWIG_AsInt(obj1
);
29981 if (PyErr_Occurred()) SWIG_fail
;
29983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29984 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
29986 wxPyEndAllowThreads(__tstate
);
29987 if (PyErr_Occurred()) SWIG_fail
;
29990 resultobj
= wxPyMake_wxObject(result
);
29998 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29999 PyObject
*resultobj
;
30000 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30001 wxString
*arg2
= 0 ;
30003 bool temp2
= False
;
30004 PyObject
* obj0
= 0 ;
30005 PyObject
* obj1
= 0 ;
30006 char *kwnames
[] = {
30007 (char *) "self",(char *) "title", NULL
30010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
30011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30014 arg2
= wxString_in_helper(obj1
);
30015 if (arg2
== NULL
) SWIG_fail
;
30019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30020 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
30022 wxPyEndAllowThreads(__tstate
);
30023 if (PyErr_Occurred()) SWIG_fail
;
30025 resultobj
= SWIG_FromInt((int)result
);
30040 static PyObject
*_wrap_MenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30041 PyObject
*resultobj
;
30042 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30045 PyObject
* obj0
= 0 ;
30046 PyObject
* obj1
= 0 ;
30047 PyObject
* obj2
= 0 ;
30048 char *kwnames
[] = {
30049 (char *) "self",(char *) "id",(char *) "enable", NULL
30052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30055 arg2
= (int) SWIG_AsInt(obj1
);
30056 if (PyErr_Occurred()) SWIG_fail
;
30057 arg3
= (bool) SWIG_AsBool(obj2
);
30058 if (PyErr_Occurred()) SWIG_fail
;
30060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30061 (arg1
)->Enable(arg2
,arg3
);
30063 wxPyEndAllowThreads(__tstate
);
30064 if (PyErr_Occurred()) SWIG_fail
;
30066 Py_INCREF(Py_None
); resultobj
= Py_None
;
30073 static PyObject
*_wrap_MenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30074 PyObject
*resultobj
;
30075 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30078 PyObject
* obj0
= 0 ;
30079 PyObject
* obj1
= 0 ;
30080 PyObject
* obj2
= 0 ;
30081 char *kwnames
[] = {
30082 (char *) "self",(char *) "id",(char *) "check", NULL
30085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30088 arg2
= (int) SWIG_AsInt(obj1
);
30089 if (PyErr_Occurred()) SWIG_fail
;
30090 arg3
= (bool) SWIG_AsBool(obj2
);
30091 if (PyErr_Occurred()) SWIG_fail
;
30093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30094 (arg1
)->Check(arg2
,arg3
);
30096 wxPyEndAllowThreads(__tstate
);
30097 if (PyErr_Occurred()) SWIG_fail
;
30099 Py_INCREF(Py_None
); resultobj
= Py_None
;
30106 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30107 PyObject
*resultobj
;
30108 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30111 PyObject
* obj0
= 0 ;
30112 PyObject
* obj1
= 0 ;
30113 char *kwnames
[] = {
30114 (char *) "self",(char *) "id", NULL
30117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
30118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30120 arg2
= (int) SWIG_AsInt(obj1
);
30121 if (PyErr_Occurred()) SWIG_fail
;
30123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30124 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
30126 wxPyEndAllowThreads(__tstate
);
30127 if (PyErr_Occurred()) SWIG_fail
;
30129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30136 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30137 PyObject
*resultobj
;
30138 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30141 PyObject
* obj0
= 0 ;
30142 PyObject
* obj1
= 0 ;
30143 char *kwnames
[] = {
30144 (char *) "self",(char *) "id", NULL
30147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
30148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30150 arg2
= (int) SWIG_AsInt(obj1
);
30151 if (PyErr_Occurred()) SWIG_fail
;
30153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30154 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
30156 wxPyEndAllowThreads(__tstate
);
30157 if (PyErr_Occurred()) SWIG_fail
;
30159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30166 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30167 PyObject
*resultobj
;
30168 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30170 wxString
*arg3
= 0 ;
30171 bool temp3
= False
;
30172 PyObject
* obj0
= 0 ;
30173 PyObject
* obj1
= 0 ;
30174 PyObject
* obj2
= 0 ;
30175 char *kwnames
[] = {
30176 (char *) "self",(char *) "id",(char *) "label", NULL
30179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30182 arg2
= (int) SWIG_AsInt(obj1
);
30183 if (PyErr_Occurred()) SWIG_fail
;
30185 arg3
= wxString_in_helper(obj2
);
30186 if (arg3
== NULL
) SWIG_fail
;
30190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30191 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
30193 wxPyEndAllowThreads(__tstate
);
30194 if (PyErr_Occurred()) SWIG_fail
;
30196 Py_INCREF(Py_None
); resultobj
= Py_None
;
30211 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30212 PyObject
*resultobj
;
30213 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30216 PyObject
* obj0
= 0 ;
30217 PyObject
* obj1
= 0 ;
30218 char *kwnames
[] = {
30219 (char *) "self",(char *) "id", NULL
30222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30225 arg2
= (int) SWIG_AsInt(obj1
);
30226 if (PyErr_Occurred()) SWIG_fail
;
30228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30229 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
30231 wxPyEndAllowThreads(__tstate
);
30232 if (PyErr_Occurred()) SWIG_fail
;
30236 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30238 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30247 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30248 PyObject
*resultobj
;
30249 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30251 wxString
*arg3
= 0 ;
30252 bool temp3
= False
;
30253 PyObject
* obj0
= 0 ;
30254 PyObject
* obj1
= 0 ;
30255 PyObject
* obj2
= 0 ;
30256 char *kwnames
[] = {
30257 (char *) "self",(char *) "id",(char *) "helpString", NULL
30260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30263 arg2
= (int) SWIG_AsInt(obj1
);
30264 if (PyErr_Occurred()) SWIG_fail
;
30266 arg3
= wxString_in_helper(obj2
);
30267 if (arg3
== NULL
) SWIG_fail
;
30271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30272 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
30274 wxPyEndAllowThreads(__tstate
);
30275 if (PyErr_Occurred()) SWIG_fail
;
30277 Py_INCREF(Py_None
); resultobj
= Py_None
;
30292 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30293 PyObject
*resultobj
;
30294 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30297 PyObject
* obj0
= 0 ;
30298 PyObject
* obj1
= 0 ;
30299 char *kwnames
[] = {
30300 (char *) "self",(char *) "id", NULL
30303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
30304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30306 arg2
= (int) SWIG_AsInt(obj1
);
30307 if (PyErr_Occurred()) SWIG_fail
;
30309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30310 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
30312 wxPyEndAllowThreads(__tstate
);
30313 if (PyErr_Occurred()) SWIG_fail
;
30317 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30319 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30328 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30329 PyObject
*resultobj
;
30330 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30332 PyObject
* obj0
= 0 ;
30333 char *kwnames
[] = {
30334 (char *) "self", NULL
30337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
30338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30342 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
30344 wxPyEndAllowThreads(__tstate
);
30345 if (PyErr_Occurred()) SWIG_fail
;
30348 resultobj
= wxPyMake_wxObject(result
);
30356 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30357 PyObject
*resultobj
;
30358 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30360 PyObject
* obj0
= 0 ;
30361 char *kwnames
[] = {
30362 (char *) "self", NULL
30365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
30366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30370 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
30372 wxPyEndAllowThreads(__tstate
);
30373 if (PyErr_Occurred()) SWIG_fail
;
30375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30382 static PyObject
*_wrap_MenuBar_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30383 PyObject
*resultobj
;
30384 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30385 wxFrame
*arg2
= (wxFrame
*) 0 ;
30386 PyObject
* obj0
= 0 ;
30387 PyObject
* obj1
= 0 ;
30388 char *kwnames
[] = {
30389 (char *) "self",(char *) "frame", NULL
30392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
30393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30395 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
30396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30399 (arg1
)->Attach(arg2
);
30401 wxPyEndAllowThreads(__tstate
);
30402 if (PyErr_Occurred()) SWIG_fail
;
30404 Py_INCREF(Py_None
); resultobj
= Py_None
;
30411 static PyObject
*_wrap_MenuBar_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30412 PyObject
*resultobj
;
30413 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30414 PyObject
* obj0
= 0 ;
30415 char *kwnames
[] = {
30416 (char *) "self", NULL
30419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
30420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30426 wxPyEndAllowThreads(__tstate
);
30427 if (PyErr_Occurred()) SWIG_fail
;
30429 Py_INCREF(Py_None
); resultobj
= Py_None
;
30436 static PyObject
* MenuBar_swigregister(PyObject
*self
, PyObject
*args
) {
30438 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30439 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
30441 return Py_BuildValue((char *)"");
30443 static PyObject
*_wrap_new_MenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30444 PyObject
*resultobj
;
30445 wxMenu
*arg1
= (wxMenu
*) NULL
;
30446 int arg2
= (int) wxID_SEPARATOR
;
30447 wxString
const &arg3_defvalue
= wxPyEmptyString
;
30448 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
30449 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30450 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30451 int arg5
= (int) wxITEM_NORMAL
;
30452 wxMenu
*arg6
= (wxMenu
*) NULL
;
30453 wxMenuItem
*result
;
30454 bool temp3
= False
;
30455 bool temp4
= False
;
30456 PyObject
* obj0
= 0 ;
30457 PyObject
* obj1
= 0 ;
30458 PyObject
* obj2
= 0 ;
30459 PyObject
* obj3
= 0 ;
30460 PyObject
* obj4
= 0 ;
30461 PyObject
* obj5
= 0 ;
30462 char *kwnames
[] = {
30463 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
30466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30472 arg2
= (int) SWIG_AsInt(obj1
);
30473 if (PyErr_Occurred()) SWIG_fail
;
30477 arg3
= wxString_in_helper(obj2
);
30478 if (arg3
== NULL
) SWIG_fail
;
30484 arg4
= wxString_in_helper(obj3
);
30485 if (arg4
== NULL
) SWIG_fail
;
30490 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
30491 if (PyErr_Occurred()) SWIG_fail
;
30494 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
30495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30499 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
30501 wxPyEndAllowThreads(__tstate
);
30502 if (PyErr_Occurred()) SWIG_fail
;
30505 resultobj
= wxPyMake_wxObject(result
);
30529 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30530 PyObject
*resultobj
;
30531 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30533 PyObject
* obj0
= 0 ;
30534 char *kwnames
[] = {
30535 (char *) "self", NULL
30538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
30539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30543 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
30545 wxPyEndAllowThreads(__tstate
);
30546 if (PyErr_Occurred()) SWIG_fail
;
30549 resultobj
= wxPyMake_wxObject(result
);
30557 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30558 PyObject
*resultobj
;
30559 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30560 wxMenu
*arg2
= (wxMenu
*) 0 ;
30561 PyObject
* obj0
= 0 ;
30562 PyObject
* obj1
= 0 ;
30563 char *kwnames
[] = {
30564 (char *) "self",(char *) "menu", NULL
30567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
30568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30570 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30574 (arg1
)->SetMenu(arg2
);
30576 wxPyEndAllowThreads(__tstate
);
30577 if (PyErr_Occurred()) SWIG_fail
;
30579 Py_INCREF(Py_None
); resultobj
= Py_None
;
30586 static PyObject
*_wrap_MenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30587 PyObject
*resultobj
;
30588 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30590 PyObject
* obj0
= 0 ;
30591 PyObject
* obj1
= 0 ;
30592 char *kwnames
[] = {
30593 (char *) "self",(char *) "id", NULL
30596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
30597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30599 arg2
= (int) SWIG_AsInt(obj1
);
30600 if (PyErr_Occurred()) SWIG_fail
;
30602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30603 (arg1
)->SetId(arg2
);
30605 wxPyEndAllowThreads(__tstate
);
30606 if (PyErr_Occurred()) SWIG_fail
;
30608 Py_INCREF(Py_None
); resultobj
= Py_None
;
30615 static PyObject
*_wrap_MenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30616 PyObject
*resultobj
;
30617 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30619 PyObject
* obj0
= 0 ;
30620 char *kwnames
[] = {
30621 (char *) "self", NULL
30624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
30625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30629 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
30631 wxPyEndAllowThreads(__tstate
);
30632 if (PyErr_Occurred()) SWIG_fail
;
30634 resultobj
= SWIG_FromInt((int)result
);
30641 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30642 PyObject
*resultobj
;
30643 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30645 PyObject
* obj0
= 0 ;
30646 char *kwnames
[] = {
30647 (char *) "self", NULL
30650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
30651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30655 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
30657 wxPyEndAllowThreads(__tstate
);
30658 if (PyErr_Occurred()) SWIG_fail
;
30660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30667 static PyObject
*_wrap_MenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30668 PyObject
*resultobj
;
30669 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30670 wxString
*arg2
= 0 ;
30671 bool temp2
= False
;
30672 PyObject
* obj0
= 0 ;
30673 PyObject
* obj1
= 0 ;
30674 char *kwnames
[] = {
30675 (char *) "self",(char *) "str", NULL
30678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
30679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30682 arg2
= wxString_in_helper(obj1
);
30683 if (arg2
== NULL
) SWIG_fail
;
30687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30688 (arg1
)->SetText((wxString
const &)*arg2
);
30690 wxPyEndAllowThreads(__tstate
);
30691 if (PyErr_Occurred()) SWIG_fail
;
30693 Py_INCREF(Py_None
); resultobj
= Py_None
;
30708 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30709 PyObject
*resultobj
;
30710 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30712 PyObject
* obj0
= 0 ;
30713 char *kwnames
[] = {
30714 (char *) "self", NULL
30717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
30718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30722 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
30724 wxPyEndAllowThreads(__tstate
);
30725 if (PyErr_Occurred()) SWIG_fail
;
30729 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30731 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30740 static PyObject
*_wrap_MenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30741 PyObject
*resultobj
;
30742 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30744 PyObject
* obj0
= 0 ;
30745 char *kwnames
[] = {
30746 (char *) "self", NULL
30749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
30750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30755 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
30756 result
= (wxString
*) &_result_ref
;
30759 wxPyEndAllowThreads(__tstate
);
30760 if (PyErr_Occurred()) SWIG_fail
;
30764 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30766 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30775 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30776 PyObject
*resultobj
;
30777 wxString
*arg1
= 0 ;
30779 bool temp1
= False
;
30780 PyObject
* obj0
= 0 ;
30781 char *kwnames
[] = {
30782 (char *) "text", NULL
30785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
30787 arg1
= wxString_in_helper(obj0
);
30788 if (arg1
== NULL
) SWIG_fail
;
30792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30793 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
30795 wxPyEndAllowThreads(__tstate
);
30796 if (PyErr_Occurred()) SWIG_fail
;
30800 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30802 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30819 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30820 PyObject
*resultobj
;
30821 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30823 PyObject
* obj0
= 0 ;
30824 char *kwnames
[] = {
30825 (char *) "self", NULL
30828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
30829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30833 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
30835 wxPyEndAllowThreads(__tstate
);
30836 if (PyErr_Occurred()) SWIG_fail
;
30838 resultobj
= SWIG_FromInt((int)result
);
30845 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30846 PyObject
*resultobj
;
30847 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30849 PyObject
* obj0
= 0 ;
30850 PyObject
* obj1
= 0 ;
30851 char *kwnames
[] = {
30852 (char *) "self",(char *) "checkable", NULL
30855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
30856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30858 arg2
= (bool) SWIG_AsBool(obj1
);
30859 if (PyErr_Occurred()) SWIG_fail
;
30861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30862 (arg1
)->SetCheckable(arg2
);
30864 wxPyEndAllowThreads(__tstate
);
30865 if (PyErr_Occurred()) SWIG_fail
;
30867 Py_INCREF(Py_None
); resultobj
= Py_None
;
30874 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30875 PyObject
*resultobj
;
30876 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30878 PyObject
* obj0
= 0 ;
30879 char *kwnames
[] = {
30880 (char *) "self", NULL
30883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
30884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30888 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
30890 wxPyEndAllowThreads(__tstate
);
30891 if (PyErr_Occurred()) SWIG_fail
;
30893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30900 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30901 PyObject
*resultobj
;
30902 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30904 PyObject
* obj0
= 0 ;
30905 char *kwnames
[] = {
30906 (char *) "self", NULL
30909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
30910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30914 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
30916 wxPyEndAllowThreads(__tstate
);
30917 if (PyErr_Occurred()) SWIG_fail
;
30919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30926 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30927 PyObject
*resultobj
;
30928 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30929 wxMenu
*arg2
= (wxMenu
*) 0 ;
30930 PyObject
* obj0
= 0 ;
30931 PyObject
* obj1
= 0 ;
30932 char *kwnames
[] = {
30933 (char *) "self",(char *) "menu", NULL
30936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
30937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30939 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30943 (arg1
)->SetSubMenu(arg2
);
30945 wxPyEndAllowThreads(__tstate
);
30946 if (PyErr_Occurred()) SWIG_fail
;
30948 Py_INCREF(Py_None
); resultobj
= Py_None
;
30955 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30956 PyObject
*resultobj
;
30957 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30959 PyObject
* obj0
= 0 ;
30960 char *kwnames
[] = {
30961 (char *) "self", NULL
30964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
30965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30969 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
30971 wxPyEndAllowThreads(__tstate
);
30972 if (PyErr_Occurred()) SWIG_fail
;
30975 resultobj
= wxPyMake_wxObject(result
);
30983 static PyObject
*_wrap_MenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30984 PyObject
*resultobj
;
30985 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30986 bool arg2
= (bool) True
;
30987 PyObject
* obj0
= 0 ;
30988 PyObject
* obj1
= 0 ;
30989 char *kwnames
[] = {
30990 (char *) "self",(char *) "enable", NULL
30993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
30994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30997 arg2
= (bool) SWIG_AsBool(obj1
);
30998 if (PyErr_Occurred()) SWIG_fail
;
31001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31002 (arg1
)->Enable(arg2
);
31004 wxPyEndAllowThreads(__tstate
);
31005 if (PyErr_Occurred()) SWIG_fail
;
31007 Py_INCREF(Py_None
); resultobj
= Py_None
;
31014 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31015 PyObject
*resultobj
;
31016 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31018 PyObject
* obj0
= 0 ;
31019 char *kwnames
[] = {
31020 (char *) "self", NULL
31023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
31024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31028 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
31030 wxPyEndAllowThreads(__tstate
);
31031 if (PyErr_Occurred()) SWIG_fail
;
31033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31040 static PyObject
*_wrap_MenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31041 PyObject
*resultobj
;
31042 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31043 bool arg2
= (bool) True
;
31044 PyObject
* obj0
= 0 ;
31045 PyObject
* obj1
= 0 ;
31046 char *kwnames
[] = {
31047 (char *) "self",(char *) "check", NULL
31050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
31051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31054 arg2
= (bool) SWIG_AsBool(obj1
);
31055 if (PyErr_Occurred()) SWIG_fail
;
31058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31059 (arg1
)->Check(arg2
);
31061 wxPyEndAllowThreads(__tstate
);
31062 if (PyErr_Occurred()) SWIG_fail
;
31064 Py_INCREF(Py_None
); resultobj
= Py_None
;
31071 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31072 PyObject
*resultobj
;
31073 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31075 PyObject
* obj0
= 0 ;
31076 char *kwnames
[] = {
31077 (char *) "self", NULL
31080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
31081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31085 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
31087 wxPyEndAllowThreads(__tstate
);
31088 if (PyErr_Occurred()) SWIG_fail
;
31090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31097 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31098 PyObject
*resultobj
;
31099 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31100 PyObject
* obj0
= 0 ;
31101 char *kwnames
[] = {
31102 (char *) "self", NULL
31105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
31106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31112 wxPyEndAllowThreads(__tstate
);
31113 if (PyErr_Occurred()) SWIG_fail
;
31115 Py_INCREF(Py_None
); resultobj
= Py_None
;
31122 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31123 PyObject
*resultobj
;
31124 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31125 wxString
*arg2
= 0 ;
31126 bool temp2
= False
;
31127 PyObject
* obj0
= 0 ;
31128 PyObject
* obj1
= 0 ;
31129 char *kwnames
[] = {
31130 (char *) "self",(char *) "str", NULL
31133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
31134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31137 arg2
= wxString_in_helper(obj1
);
31138 if (arg2
== NULL
) SWIG_fail
;
31142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31143 (arg1
)->SetHelp((wxString
const &)*arg2
);
31145 wxPyEndAllowThreads(__tstate
);
31146 if (PyErr_Occurred()) SWIG_fail
;
31148 Py_INCREF(Py_None
); resultobj
= Py_None
;
31163 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31164 PyObject
*resultobj
;
31165 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31167 PyObject
* obj0
= 0 ;
31168 char *kwnames
[] = {
31169 (char *) "self", NULL
31172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
31173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31178 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
31179 result
= (wxString
*) &_result_ref
;
31182 wxPyEndAllowThreads(__tstate
);
31183 if (PyErr_Occurred()) SWIG_fail
;
31187 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
31189 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
31198 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31199 PyObject
*resultobj
;
31200 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31201 wxAcceleratorEntry
*result
;
31202 PyObject
* obj0
= 0 ;
31203 char *kwnames
[] = {
31204 (char *) "self", NULL
31207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
31208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31212 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
31214 wxPyEndAllowThreads(__tstate
);
31215 if (PyErr_Occurred()) SWIG_fail
;
31217 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
31224 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31225 PyObject
*resultobj
;
31226 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31227 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
31228 PyObject
* obj0
= 0 ;
31229 PyObject
* obj1
= 0 ;
31230 char *kwnames
[] = {
31231 (char *) "self",(char *) "accel", NULL
31234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
31235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31237 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
31238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31241 (arg1
)->SetAccel(arg2
);
31243 wxPyEndAllowThreads(__tstate
);
31244 if (PyErr_Occurred()) SWIG_fail
;
31246 Py_INCREF(Py_None
); resultobj
= Py_None
;
31253 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31254 PyObject
*resultobj
;
31255 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31257 PyObject
* obj0
= 0 ;
31258 PyObject
* obj1
= 0 ;
31259 char *kwnames
[] = {
31260 (char *) "self",(char *) "font", NULL
31263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
31264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31266 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
31267 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31269 if (arg2
== NULL
) {
31270 PyErr_SetString(PyExc_TypeError
,"null reference");
31274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31275 (arg1
)->SetFont((wxFont
const &)*arg2
);
31277 wxPyEndAllowThreads(__tstate
);
31278 if (PyErr_Occurred()) SWIG_fail
;
31280 Py_INCREF(Py_None
); resultobj
= Py_None
;
31287 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31288 PyObject
*resultobj
;
31289 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31291 PyObject
* obj0
= 0 ;
31292 char *kwnames
[] = {
31293 (char *) "self", NULL
31296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
31297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31301 result
= (arg1
)->GetFont();
31303 wxPyEndAllowThreads(__tstate
);
31304 if (PyErr_Occurred()) SWIG_fail
;
31307 wxFont
* resultptr
;
31308 resultptr
= new wxFont((wxFont
&) result
);
31309 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
31317 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31318 PyObject
*resultobj
;
31319 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31320 wxColour
*arg2
= 0 ;
31322 PyObject
* obj0
= 0 ;
31323 PyObject
* obj1
= 0 ;
31324 char *kwnames
[] = {
31325 (char *) "self",(char *) "colText", NULL
31328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
31329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31333 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
31336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31337 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
31339 wxPyEndAllowThreads(__tstate
);
31340 if (PyErr_Occurred()) SWIG_fail
;
31342 Py_INCREF(Py_None
); resultobj
= Py_None
;
31349 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31350 PyObject
*resultobj
;
31351 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31353 PyObject
* obj0
= 0 ;
31354 char *kwnames
[] = {
31355 (char *) "self", NULL
31358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
31359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31363 result
= (arg1
)->GetTextColour();
31365 wxPyEndAllowThreads(__tstate
);
31366 if (PyErr_Occurred()) SWIG_fail
;
31369 wxColour
* resultptr
;
31370 resultptr
= new wxColour((wxColour
&) result
);
31371 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
31379 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31380 PyObject
*resultobj
;
31381 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31382 wxColour
*arg2
= 0 ;
31384 PyObject
* obj0
= 0 ;
31385 PyObject
* obj1
= 0 ;
31386 char *kwnames
[] = {
31387 (char *) "self",(char *) "colBack", NULL
31390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
31391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31395 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
31398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31399 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
31401 wxPyEndAllowThreads(__tstate
);
31402 if (PyErr_Occurred()) SWIG_fail
;
31404 Py_INCREF(Py_None
); resultobj
= Py_None
;
31411 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31412 PyObject
*resultobj
;
31413 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31415 PyObject
* obj0
= 0 ;
31416 char *kwnames
[] = {
31417 (char *) "self", NULL
31420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
31421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31425 result
= (arg1
)->GetBackgroundColour();
31427 wxPyEndAllowThreads(__tstate
);
31428 if (PyErr_Occurred()) SWIG_fail
;
31431 wxColour
* resultptr
;
31432 resultptr
= new wxColour((wxColour
&) result
);
31433 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
31441 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31442 PyObject
*resultobj
;
31443 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31444 wxBitmap
*arg2
= 0 ;
31445 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
31446 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
31447 PyObject
* obj0
= 0 ;
31448 PyObject
* obj1
= 0 ;
31449 PyObject
* obj2
= 0 ;
31450 char *kwnames
[] = {
31451 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
31454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31457 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
31458 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31460 if (arg2
== NULL
) {
31461 PyErr_SetString(PyExc_TypeError
,"null reference");
31465 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
31466 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31468 if (arg3
== NULL
) {
31469 PyErr_SetString(PyExc_TypeError
,"null reference");
31474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31475 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
31477 wxPyEndAllowThreads(__tstate
);
31478 if (PyErr_Occurred()) SWIG_fail
;
31480 Py_INCREF(Py_None
); resultobj
= Py_None
;
31487 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31488 PyObject
*resultobj
;
31489 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31490 wxBitmap
*arg2
= 0 ;
31491 PyObject
* obj0
= 0 ;
31492 PyObject
* obj1
= 0 ;
31493 char *kwnames
[] = {
31494 (char *) "self",(char *) "bmpDisabled", NULL
31497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
31498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31500 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
31501 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31503 if (arg2
== NULL
) {
31504 PyErr_SetString(PyExc_TypeError
,"null reference");
31508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31509 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
31511 wxPyEndAllowThreads(__tstate
);
31512 if (PyErr_Occurred()) SWIG_fail
;
31514 Py_INCREF(Py_None
); resultobj
= Py_None
;
31521 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31522 PyObject
*resultobj
;
31523 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31525 PyObject
* obj0
= 0 ;
31526 char *kwnames
[] = {
31527 (char *) "self", NULL
31530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
31531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31536 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
31537 result
= (wxBitmap
*) &_result_ref
;
31540 wxPyEndAllowThreads(__tstate
);
31541 if (PyErr_Occurred()) SWIG_fail
;
31544 wxBitmap
* resultptr
= new wxBitmap(*result
);
31545 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
31553 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31554 PyObject
*resultobj
;
31555 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31557 PyObject
* obj0
= 0 ;
31558 PyObject
* obj1
= 0 ;
31559 char *kwnames
[] = {
31560 (char *) "self",(char *) "nWidth", NULL
31563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
31564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31566 arg2
= (int) SWIG_AsInt(obj1
);
31567 if (PyErr_Occurred()) SWIG_fail
;
31569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31570 (arg1
)->SetMarginWidth(arg2
);
31572 wxPyEndAllowThreads(__tstate
);
31573 if (PyErr_Occurred()) SWIG_fail
;
31575 Py_INCREF(Py_None
); resultobj
= Py_None
;
31582 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31583 PyObject
*resultobj
;
31584 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31586 PyObject
* obj0
= 0 ;
31587 char *kwnames
[] = {
31588 (char *) "self", NULL
31591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
31592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31596 result
= (int)(arg1
)->GetMarginWidth();
31598 wxPyEndAllowThreads(__tstate
);
31599 if (PyErr_Occurred()) SWIG_fail
;
31601 resultobj
= SWIG_FromInt((int)result
);
31608 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31609 PyObject
*resultobj
;
31611 char *kwnames
[] = {
31615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
31617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31618 result
= (int)wxMenuItem::GetDefaultMarginWidth();
31620 wxPyEndAllowThreads(__tstate
);
31621 if (PyErr_Occurred()) SWIG_fail
;
31623 resultobj
= SWIG_FromInt((int)result
);
31630 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31631 PyObject
*resultobj
;
31632 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31634 PyObject
* obj0
= 0 ;
31635 char *kwnames
[] = {
31636 (char *) "self", NULL
31639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
31640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31644 result
= (bool)(arg1
)->IsOwnerDrawn();
31646 wxPyEndAllowThreads(__tstate
);
31647 if (PyErr_Occurred()) SWIG_fail
;
31649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31656 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31657 PyObject
*resultobj
;
31658 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31659 bool arg2
= (bool) True
;
31660 PyObject
* obj0
= 0 ;
31661 PyObject
* obj1
= 0 ;
31662 char *kwnames
[] = {
31663 (char *) "self",(char *) "ownerDrawn", NULL
31666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
31667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31670 arg2
= (bool) SWIG_AsBool(obj1
);
31671 if (PyErr_Occurred()) SWIG_fail
;
31674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31675 (arg1
)->SetOwnerDrawn(arg2
);
31677 wxPyEndAllowThreads(__tstate
);
31678 if (PyErr_Occurred()) SWIG_fail
;
31680 Py_INCREF(Py_None
); resultobj
= Py_None
;
31687 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31688 PyObject
*resultobj
;
31689 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31690 PyObject
* obj0
= 0 ;
31691 char *kwnames
[] = {
31692 (char *) "self", NULL
31695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
31696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31700 (arg1
)->ResetOwnerDrawn();
31702 wxPyEndAllowThreads(__tstate
);
31703 if (PyErr_Occurred()) SWIG_fail
;
31705 Py_INCREF(Py_None
); resultobj
= Py_None
;
31712 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31713 PyObject
*resultobj
;
31714 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31715 wxBitmap
*arg2
= 0 ;
31716 PyObject
* obj0
= 0 ;
31717 PyObject
* obj1
= 0 ;
31718 char *kwnames
[] = {
31719 (char *) "self",(char *) "bitmap", NULL
31722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
31723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31725 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
31726 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31728 if (arg2
== NULL
) {
31729 PyErr_SetString(PyExc_TypeError
,"null reference");
31733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31734 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
31736 wxPyEndAllowThreads(__tstate
);
31737 if (PyErr_Occurred()) SWIG_fail
;
31739 Py_INCREF(Py_None
); resultobj
= Py_None
;
31746 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31747 PyObject
*resultobj
;
31748 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31750 PyObject
* obj0
= 0 ;
31751 char *kwnames
[] = {
31752 (char *) "self", NULL
31755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
31756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31761 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
31762 result
= (wxBitmap
*) &_result_ref
;
31765 wxPyEndAllowThreads(__tstate
);
31766 if (PyErr_Occurred()) SWIG_fail
;
31769 wxBitmap
* resultptr
= new wxBitmap(*result
);
31770 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
31778 static PyObject
* MenuItem_swigregister(PyObject
*self
, PyObject
*args
) {
31780 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31781 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
31783 return Py_BuildValue((char *)"");
31785 static int _wrap_ControlNameStr_set(PyObject
*_val
) {
31786 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
31791 static PyObject
*_wrap_ControlNameStr_get() {
31796 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
31798 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
31805 static PyObject
*_wrap_new_Control(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31806 PyObject
*resultobj
;
31807 wxWindow
*arg1
= (wxWindow
*) 0 ;
31809 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31810 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31811 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31812 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31813 long arg5
= (long) 0 ;
31814 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
31815 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
31816 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
31817 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31821 bool temp7
= False
;
31822 PyObject
* obj0
= 0 ;
31823 PyObject
* obj1
= 0 ;
31824 PyObject
* obj2
= 0 ;
31825 PyObject
* obj3
= 0 ;
31826 PyObject
* obj4
= 0 ;
31827 PyObject
* obj5
= 0 ;
31828 PyObject
* obj6
= 0 ;
31829 char *kwnames
[] = {
31830 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
31834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
31835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31836 arg2
= (int) SWIG_AsInt(obj1
);
31837 if (PyErr_Occurred()) SWIG_fail
;
31841 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31847 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31851 arg5
= (long) SWIG_AsLong(obj4
);
31852 if (PyErr_Occurred()) SWIG_fail
;
31855 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
31856 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31858 if (arg6
== NULL
) {
31859 PyErr_SetString(PyExc_TypeError
,"null reference");
31865 arg7
= wxString_in_helper(obj6
);
31866 if (arg7
== NULL
) SWIG_fail
;
31871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31872 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
31874 wxPyEndAllowThreads(__tstate
);
31875 if (PyErr_Occurred()) SWIG_fail
;
31878 resultobj
= wxPyMake_wxObject(result
);
31894 static PyObject
*_wrap_new_PreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31895 PyObject
*resultobj
;
31897 char *kwnames
[] = {
31901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
31903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31904 result
= (wxControl
*)new wxControl();
31906 wxPyEndAllowThreads(__tstate
);
31907 if (PyErr_Occurred()) SWIG_fail
;
31910 resultobj
= wxPyMake_wxObject(result
);
31918 static PyObject
*_wrap_Control_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31919 PyObject
*resultobj
;
31920 wxControl
*arg1
= (wxControl
*) 0 ;
31921 wxWindow
*arg2
= (wxWindow
*) 0 ;
31923 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31924 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31925 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31926 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31927 long arg6
= (long) 0 ;
31928 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
31929 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
31930 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
31931 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31935 bool temp8
= False
;
31936 PyObject
* obj0
= 0 ;
31937 PyObject
* obj1
= 0 ;
31938 PyObject
* obj2
= 0 ;
31939 PyObject
* obj3
= 0 ;
31940 PyObject
* obj4
= 0 ;
31941 PyObject
* obj5
= 0 ;
31942 PyObject
* obj6
= 0 ;
31943 PyObject
* obj7
= 0 ;
31944 char *kwnames
[] = {
31945 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
31949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
31950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31951 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
31952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31953 arg3
= (int) SWIG_AsInt(obj2
);
31954 if (PyErr_Occurred()) SWIG_fail
;
31958 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31964 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31968 arg6
= (long) SWIG_AsLong(obj5
);
31969 if (PyErr_Occurred()) SWIG_fail
;
31972 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
31973 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31975 if (arg7
== NULL
) {
31976 PyErr_SetString(PyExc_TypeError
,"null reference");
31982 arg8
= wxString_in_helper(obj7
);
31983 if (arg8
== NULL
) SWIG_fail
;
31988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31989 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
31991 wxPyEndAllowThreads(__tstate
);
31992 if (PyErr_Occurred()) SWIG_fail
;
31994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32009 static PyObject
*_wrap_Control_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32010 PyObject
*resultobj
;
32011 wxControl
*arg1
= (wxControl
*) 0 ;
32012 wxCommandEvent
*arg2
= 0 ;
32013 PyObject
* obj0
= 0 ;
32014 PyObject
* obj1
= 0 ;
32015 char *kwnames
[] = {
32016 (char *) "self",(char *) "event", NULL
32019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
32020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32022 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
32023 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32025 if (arg2
== NULL
) {
32026 PyErr_SetString(PyExc_TypeError
,"null reference");
32030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32031 (arg1
)->Command(*arg2
);
32033 wxPyEndAllowThreads(__tstate
);
32034 if (PyErr_Occurred()) SWIG_fail
;
32036 Py_INCREF(Py_None
); resultobj
= Py_None
;
32043 static PyObject
*_wrap_Control_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32044 PyObject
*resultobj
;
32045 wxControl
*arg1
= (wxControl
*) 0 ;
32047 PyObject
* obj0
= 0 ;
32048 char *kwnames
[] = {
32049 (char *) "self", NULL
32052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
32053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32057 result
= (arg1
)->GetLabel();
32059 wxPyEndAllowThreads(__tstate
);
32060 if (PyErr_Occurred()) SWIG_fail
;
32064 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32066 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32075 static PyObject
*_wrap_Control_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32076 PyObject
*resultobj
;
32077 wxControl
*arg1
= (wxControl
*) 0 ;
32078 wxString
*arg2
= 0 ;
32079 bool temp2
= False
;
32080 PyObject
* obj0
= 0 ;
32081 PyObject
* obj1
= 0 ;
32082 char *kwnames
[] = {
32083 (char *) "self",(char *) "label", NULL
32086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32090 arg2
= wxString_in_helper(obj1
);
32091 if (arg2
== NULL
) SWIG_fail
;
32095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32096 (arg1
)->SetLabel((wxString
const &)*arg2
);
32098 wxPyEndAllowThreads(__tstate
);
32099 if (PyErr_Occurred()) SWIG_fail
;
32101 Py_INCREF(Py_None
); resultobj
= Py_None
;
32116 static PyObject
* Control_swigregister(PyObject
*self
, PyObject
*args
) {
32118 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32119 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
32121 return Py_BuildValue((char *)"");
32123 static PyObject
*_wrap_ItemContainer_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32124 PyObject
*resultobj
;
32125 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32126 wxString
*arg2
= 0 ;
32127 PyObject
*arg3
= (PyObject
*) NULL
;
32129 bool temp2
= False
;
32130 PyObject
* obj0
= 0 ;
32131 PyObject
* obj1
= 0 ;
32132 PyObject
* obj2
= 0 ;
32133 char *kwnames
[] = {
32134 (char *) "self",(char *) "item",(char *) "clientData", NULL
32137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32141 arg2
= wxString_in_helper(obj1
);
32142 if (arg2
== NULL
) SWIG_fail
;
32149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32150 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
32152 wxPyEndAllowThreads(__tstate
);
32153 if (PyErr_Occurred()) SWIG_fail
;
32155 resultobj
= SWIG_FromInt((int)result
);
32170 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32171 PyObject
*resultobj
;
32172 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32173 wxArrayString
*arg2
= 0 ;
32174 bool temp2
= False
;
32175 PyObject
* obj0
= 0 ;
32176 PyObject
* obj1
= 0 ;
32177 char *kwnames
[] = {
32178 (char *) "self",(char *) "strings", NULL
32181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
32182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32185 if (! PySequence_Check(obj1
)) {
32186 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
32189 arg2
= new wxArrayString
;
32191 int i
, len
=PySequence_Length(obj1
);
32192 for (i
=0; i
<len
; i
++) {
32193 PyObject
* item
= PySequence_GetItem(obj1
, i
);
32195 PyObject
* str
= PyObject_Unicode(item
);
32197 PyObject
* str
= PyObject_Str(item
);
32199 arg2
->Add(Py2wxString(str
));
32205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32206 (arg1
)->Append((wxArrayString
const &)*arg2
);
32208 wxPyEndAllowThreads(__tstate
);
32209 if (PyErr_Occurred()) SWIG_fail
;
32211 Py_INCREF(Py_None
); resultobj
= Py_None
;
32213 if (temp2
) delete arg2
;
32218 if (temp2
) delete arg2
;
32224 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32225 PyObject
*resultobj
;
32226 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32227 wxString
*arg2
= 0 ;
32229 PyObject
*arg4
= (PyObject
*) NULL
;
32231 bool temp2
= False
;
32232 PyObject
* obj0
= 0 ;
32233 PyObject
* obj1
= 0 ;
32234 PyObject
* obj2
= 0 ;
32235 PyObject
* obj3
= 0 ;
32236 char *kwnames
[] = {
32237 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
32240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32244 arg2
= wxString_in_helper(obj1
);
32245 if (arg2
== NULL
) SWIG_fail
;
32248 arg3
= (int) SWIG_AsInt(obj2
);
32249 if (PyErr_Occurred()) SWIG_fail
;
32254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32255 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
32257 wxPyEndAllowThreads(__tstate
);
32258 if (PyErr_Occurred()) SWIG_fail
;
32260 resultobj
= SWIG_FromInt((int)result
);
32275 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32276 PyObject
*resultobj
;
32277 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32278 PyObject
* obj0
= 0 ;
32279 char *kwnames
[] = {
32280 (char *) "self", NULL
32283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
32284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32290 wxPyEndAllowThreads(__tstate
);
32291 if (PyErr_Occurred()) SWIG_fail
;
32293 Py_INCREF(Py_None
); resultobj
= Py_None
;
32300 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32301 PyObject
*resultobj
;
32302 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32304 PyObject
* obj0
= 0 ;
32305 PyObject
* obj1
= 0 ;
32306 char *kwnames
[] = {
32307 (char *) "self",(char *) "n", NULL
32310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
32311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32313 arg2
= (int) SWIG_AsInt(obj1
);
32314 if (PyErr_Occurred()) SWIG_fail
;
32316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32317 (arg1
)->Delete(arg2
);
32319 wxPyEndAllowThreads(__tstate
);
32320 if (PyErr_Occurred()) SWIG_fail
;
32322 Py_INCREF(Py_None
); resultobj
= Py_None
;
32329 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32330 PyObject
*resultobj
;
32331 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32333 PyObject
* obj0
= 0 ;
32334 char *kwnames
[] = {
32335 (char *) "self", NULL
32338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
32339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32343 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
32345 wxPyEndAllowThreads(__tstate
);
32346 if (PyErr_Occurred()) SWIG_fail
;
32348 resultobj
= SWIG_FromInt((int)result
);
32355 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32356 PyObject
*resultobj
;
32357 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32359 PyObject
* obj0
= 0 ;
32360 char *kwnames
[] = {
32361 (char *) "self", NULL
32364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
32365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32369 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
32371 wxPyEndAllowThreads(__tstate
);
32372 if (PyErr_Occurred()) SWIG_fail
;
32374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32381 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32382 PyObject
*resultobj
;
32383 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32386 PyObject
* obj0
= 0 ;
32387 PyObject
* obj1
= 0 ;
32388 char *kwnames
[] = {
32389 (char *) "self",(char *) "n", NULL
32392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
32393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32395 arg2
= (int) SWIG_AsInt(obj1
);
32396 if (PyErr_Occurred()) SWIG_fail
;
32398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32399 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
32401 wxPyEndAllowThreads(__tstate
);
32402 if (PyErr_Occurred()) SWIG_fail
;
32406 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32408 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32417 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32418 PyObject
*resultobj
;
32419 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32420 wxArrayString result
;
32421 PyObject
* obj0
= 0 ;
32422 char *kwnames
[] = {
32423 (char *) "self", NULL
32426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
32427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32431 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
32433 wxPyEndAllowThreads(__tstate
);
32434 if (PyErr_Occurred()) SWIG_fail
;
32437 resultobj
= wxArrayString2PyList_helper(result
);
32445 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32446 PyObject
*resultobj
;
32447 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32449 wxString
*arg3
= 0 ;
32450 bool temp3
= False
;
32451 PyObject
* obj0
= 0 ;
32452 PyObject
* obj1
= 0 ;
32453 PyObject
* obj2
= 0 ;
32454 char *kwnames
[] = {
32455 (char *) "self",(char *) "n",(char *) "s", NULL
32458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32461 arg2
= (int) SWIG_AsInt(obj1
);
32462 if (PyErr_Occurred()) SWIG_fail
;
32464 arg3
= wxString_in_helper(obj2
);
32465 if (arg3
== NULL
) SWIG_fail
;
32469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32470 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
32472 wxPyEndAllowThreads(__tstate
);
32473 if (PyErr_Occurred()) SWIG_fail
;
32475 Py_INCREF(Py_None
); resultobj
= Py_None
;
32490 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32491 PyObject
*resultobj
;
32492 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32493 wxString
*arg2
= 0 ;
32495 bool temp2
= False
;
32496 PyObject
* obj0
= 0 ;
32497 PyObject
* obj1
= 0 ;
32498 char *kwnames
[] = {
32499 (char *) "self",(char *) "s", NULL
32502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
32503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32506 arg2
= wxString_in_helper(obj1
);
32507 if (arg2
== NULL
) SWIG_fail
;
32511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32512 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
32514 wxPyEndAllowThreads(__tstate
);
32515 if (PyErr_Occurred()) SWIG_fail
;
32517 resultobj
= SWIG_FromInt((int)result
);
32532 static PyObject
*_wrap_ItemContainer_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32533 PyObject
*resultobj
;
32534 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32536 PyObject
* obj0
= 0 ;
32537 PyObject
* obj1
= 0 ;
32538 char *kwnames
[] = {
32539 (char *) "self",(char *) "n", NULL
32542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
32543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32545 arg2
= (int) SWIG_AsInt(obj1
);
32546 if (PyErr_Occurred()) SWIG_fail
;
32548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32549 (arg1
)->Select(arg2
);
32551 wxPyEndAllowThreads(__tstate
);
32552 if (PyErr_Occurred()) SWIG_fail
;
32554 Py_INCREF(Py_None
); resultobj
= Py_None
;
32561 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32562 PyObject
*resultobj
;
32563 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32565 PyObject
* obj0
= 0 ;
32566 char *kwnames
[] = {
32567 (char *) "self", NULL
32570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
32571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32575 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
32577 wxPyEndAllowThreads(__tstate
);
32578 if (PyErr_Occurred()) SWIG_fail
;
32580 resultobj
= SWIG_FromInt((int)result
);
32587 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32588 PyObject
*resultobj
;
32589 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32591 PyObject
* obj0
= 0 ;
32592 char *kwnames
[] = {
32593 (char *) "self", NULL
32596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
32597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32601 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
32603 wxPyEndAllowThreads(__tstate
);
32604 if (PyErr_Occurred()) SWIG_fail
;
32608 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32610 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32619 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32620 PyObject
*resultobj
;
32621 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32624 PyObject
* obj0
= 0 ;
32625 PyObject
* obj1
= 0 ;
32626 char *kwnames
[] = {
32627 (char *) "self",(char *) "n", NULL
32630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
32631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32633 arg2
= (int) SWIG_AsInt(obj1
);
32634 if (PyErr_Occurred()) SWIG_fail
;
32636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32637 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
32639 wxPyEndAllowThreads(__tstate
);
32640 if (PyErr_Occurred()) SWIG_fail
;
32642 resultobj
= result
;
32649 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32650 PyObject
*resultobj
;
32651 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32653 PyObject
*arg3
= (PyObject
*) 0 ;
32654 PyObject
* obj0
= 0 ;
32655 PyObject
* obj1
= 0 ;
32656 PyObject
* obj2
= 0 ;
32657 char *kwnames
[] = {
32658 (char *) "self",(char *) "n",(char *) "clientData", NULL
32661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32664 arg2
= (int) SWIG_AsInt(obj1
);
32665 if (PyErr_Occurred()) SWIG_fail
;
32668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32669 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
32671 wxPyEndAllowThreads(__tstate
);
32672 if (PyErr_Occurred()) SWIG_fail
;
32674 Py_INCREF(Py_None
); resultobj
= Py_None
;
32681 static PyObject
* ItemContainer_swigregister(PyObject
*self
, PyObject
*args
) {
32683 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32684 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
32686 return Py_BuildValue((char *)"");
32688 static PyObject
* ControlWithItems_swigregister(PyObject
*self
, PyObject
*args
) {
32690 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32691 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
32693 return Py_BuildValue((char *)"");
32695 static PyObject
*_wrap_new_SizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32696 PyObject
*resultobj
;
32697 wxSizerItem
*result
;
32698 char *kwnames
[] = {
32702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
32704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32705 result
= (wxSizerItem
*)new wxSizerItem();
32707 wxPyEndAllowThreads(__tstate
);
32708 if (PyErr_Occurred()) SWIG_fail
;
32710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
32717 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32718 PyObject
*resultobj
;
32724 wxObject
*arg6
= (wxObject
*) 0 ;
32725 wxSizerItem
*result
;
32726 PyObject
* obj0
= 0 ;
32727 PyObject
* obj1
= 0 ;
32728 PyObject
* obj2
= 0 ;
32729 PyObject
* obj3
= 0 ;
32730 PyObject
* obj4
= 0 ;
32731 PyObject
* obj5
= 0 ;
32732 char *kwnames
[] = {
32733 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32737 arg1
= (int) SWIG_AsInt(obj0
);
32738 if (PyErr_Occurred()) SWIG_fail
;
32739 arg2
= (int) SWIG_AsInt(obj1
);
32740 if (PyErr_Occurred()) SWIG_fail
;
32741 arg3
= (int) SWIG_AsInt(obj2
);
32742 if (PyErr_Occurred()) SWIG_fail
;
32743 arg4
= (int) SWIG_AsInt(obj3
);
32744 if (PyErr_Occurred()) SWIG_fail
;
32745 arg5
= (int) SWIG_AsInt(obj4
);
32746 if (PyErr_Occurred()) SWIG_fail
;
32747 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
32748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32751 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
32753 wxPyEndAllowThreads(__tstate
);
32754 if (PyErr_Occurred()) SWIG_fail
;
32756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
32763 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32764 PyObject
*resultobj
;
32765 wxWindow
*arg1
= (wxWindow
*) 0 ;
32769 wxObject
*arg5
= (wxObject
*) 0 ;
32770 wxSizerItem
*result
;
32771 PyObject
* obj0
= 0 ;
32772 PyObject
* obj1
= 0 ;
32773 PyObject
* obj2
= 0 ;
32774 PyObject
* obj3
= 0 ;
32775 PyObject
* obj4
= 0 ;
32776 char *kwnames
[] = {
32777 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
32782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32783 arg2
= (int) SWIG_AsInt(obj1
);
32784 if (PyErr_Occurred()) SWIG_fail
;
32785 arg3
= (int) SWIG_AsInt(obj2
);
32786 if (PyErr_Occurred()) SWIG_fail
;
32787 arg4
= (int) SWIG_AsInt(obj3
);
32788 if (PyErr_Occurred()) SWIG_fail
;
32789 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
32790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32793 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
32795 wxPyEndAllowThreads(__tstate
);
32796 if (PyErr_Occurred()) SWIG_fail
;
32798 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
32805 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32806 PyObject
*resultobj
;
32807 wxSizer
*arg1
= (wxSizer
*) 0 ;
32811 wxObject
*arg5
= (wxObject
*) 0 ;
32812 wxSizerItem
*result
;
32813 PyObject
* obj0
= 0 ;
32814 PyObject
* obj1
= 0 ;
32815 PyObject
* obj2
= 0 ;
32816 PyObject
* obj3
= 0 ;
32817 PyObject
* obj4
= 0 ;
32818 char *kwnames
[] = {
32819 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
32824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32825 arg2
= (int) SWIG_AsInt(obj1
);
32826 if (PyErr_Occurred()) SWIG_fail
;
32827 arg3
= (int) SWIG_AsInt(obj2
);
32828 if (PyErr_Occurred()) SWIG_fail
;
32829 arg4
= (int) SWIG_AsInt(obj3
);
32830 if (PyErr_Occurred()) SWIG_fail
;
32831 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
32832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32835 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
32837 wxPyEndAllowThreads(__tstate
);
32838 if (PyErr_Occurred()) SWIG_fail
;
32840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
32847 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32848 PyObject
*resultobj
;
32849 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32850 PyObject
* obj0
= 0 ;
32851 char *kwnames
[] = {
32852 (char *) "self", NULL
32855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
32856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32860 (arg1
)->DeleteWindows();
32862 wxPyEndAllowThreads(__tstate
);
32863 if (PyErr_Occurred()) SWIG_fail
;
32865 Py_INCREF(Py_None
); resultobj
= Py_None
;
32872 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32873 PyObject
*resultobj
;
32874 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32875 PyObject
* obj0
= 0 ;
32876 char *kwnames
[] = {
32877 (char *) "self", NULL
32880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
32881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32885 (arg1
)->DetachSizer();
32887 wxPyEndAllowThreads(__tstate
);
32888 if (PyErr_Occurred()) SWIG_fail
;
32890 Py_INCREF(Py_None
); resultobj
= Py_None
;
32897 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32898 PyObject
*resultobj
;
32899 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32901 PyObject
* obj0
= 0 ;
32902 char *kwnames
[] = {
32903 (char *) "self", NULL
32906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
32907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32911 result
= (arg1
)->GetSize();
32913 wxPyEndAllowThreads(__tstate
);
32914 if (PyErr_Occurred()) SWIG_fail
;
32917 wxSize
* resultptr
;
32918 resultptr
= new wxSize((wxSize
&) result
);
32919 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32927 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32928 PyObject
*resultobj
;
32929 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32931 PyObject
* obj0
= 0 ;
32932 char *kwnames
[] = {
32933 (char *) "self", NULL
32936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
32937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32941 result
= (arg1
)->CalcMin();
32943 wxPyEndAllowThreads(__tstate
);
32944 if (PyErr_Occurred()) SWIG_fail
;
32947 wxSize
* resultptr
;
32948 resultptr
= new wxSize((wxSize
&) result
);
32949 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32957 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32958 PyObject
*resultobj
;
32959 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32964 PyObject
* obj0
= 0 ;
32965 PyObject
* obj1
= 0 ;
32966 PyObject
* obj2
= 0 ;
32967 char *kwnames
[] = {
32968 (char *) "self",(char *) "pos",(char *) "size", NULL
32971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32974 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
32975 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
32977 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
32978 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
32981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32982 (arg1
)->SetDimension(arg2
,arg3
);
32984 wxPyEndAllowThreads(__tstate
);
32985 if (PyErr_Occurred()) SWIG_fail
;
32987 Py_INCREF(Py_None
); resultobj
= Py_None
;
32994 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32995 PyObject
*resultobj
;
32996 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32998 PyObject
* obj0
= 0 ;
32999 char *kwnames
[] = {
33000 (char *) "self", NULL
33003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
33004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33008 result
= (arg1
)->GetMinSize();
33010 wxPyEndAllowThreads(__tstate
);
33011 if (PyErr_Occurred()) SWIG_fail
;
33014 wxSize
* resultptr
;
33015 resultptr
= new wxSize((wxSize
&) result
);
33016 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33024 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33025 PyObject
*resultobj
;
33026 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33029 PyObject
* obj0
= 0 ;
33030 PyObject
* obj1
= 0 ;
33031 PyObject
* obj2
= 0 ;
33032 char *kwnames
[] = {
33033 (char *) "self",(char *) "x",(char *) "y", NULL
33036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33039 arg2
= (int) SWIG_AsInt(obj1
);
33040 if (PyErr_Occurred()) SWIG_fail
;
33041 arg3
= (int) SWIG_AsInt(obj2
);
33042 if (PyErr_Occurred()) SWIG_fail
;
33044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33045 (arg1
)->SetInitSize(arg2
,arg3
);
33047 wxPyEndAllowThreads(__tstate
);
33048 if (PyErr_Occurred()) SWIG_fail
;
33050 Py_INCREF(Py_None
); resultobj
= Py_None
;
33057 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33058 PyObject
*resultobj
;
33059 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33062 PyObject
* obj0
= 0 ;
33063 PyObject
* obj1
= 0 ;
33064 PyObject
* obj2
= 0 ;
33065 char *kwnames
[] = {
33066 (char *) "self",(char *) "width",(char *) "height", NULL
33069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33072 arg2
= (int) SWIG_AsInt(obj1
);
33073 if (PyErr_Occurred()) SWIG_fail
;
33074 arg3
= (int) SWIG_AsInt(obj2
);
33075 if (PyErr_Occurred()) SWIG_fail
;
33077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33078 (arg1
)->SetRatio(arg2
,arg3
);
33080 wxPyEndAllowThreads(__tstate
);
33081 if (PyErr_Occurred()) SWIG_fail
;
33083 Py_INCREF(Py_None
); resultobj
= Py_None
;
33090 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33091 PyObject
*resultobj
;
33092 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33095 PyObject
* obj0
= 0 ;
33096 PyObject
* obj1
= 0 ;
33097 char *kwnames
[] = {
33098 (char *) "self",(char *) "size", NULL
33101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
33102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33104 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
33105 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
33108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33109 (arg1
)->SetRatio(arg2
);
33111 wxPyEndAllowThreads(__tstate
);
33112 if (PyErr_Occurred()) SWIG_fail
;
33114 Py_INCREF(Py_None
); resultobj
= Py_None
;
33121 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33122 PyObject
*resultobj
;
33123 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33125 PyObject
* obj0
= 0 ;
33126 PyObject
* obj1
= 0 ;
33127 char *kwnames
[] = {
33128 (char *) "self",(char *) "ratio", NULL
33131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
33132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33134 arg2
= (float) SWIG_AsFloat(obj1
);
33135 if (PyErr_Occurred()) SWIG_fail
;
33137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33138 (arg1
)->SetRatio(arg2
);
33140 wxPyEndAllowThreads(__tstate
);
33141 if (PyErr_Occurred()) SWIG_fail
;
33143 Py_INCREF(Py_None
); resultobj
= Py_None
;
33150 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33151 PyObject
*resultobj
;
33152 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33154 PyObject
* obj0
= 0 ;
33155 char *kwnames
[] = {
33156 (char *) "self", NULL
33159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
33160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33164 result
= (float)(arg1
)->GetRatio();
33166 wxPyEndAllowThreads(__tstate
);
33167 if (PyErr_Occurred()) SWIG_fail
;
33169 resultobj
= SWIG_FromFloat((float)result
);
33176 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33177 PyObject
*resultobj
;
33178 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33180 PyObject
* obj0
= 0 ;
33181 char *kwnames
[] = {
33182 (char *) "self", NULL
33185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
33186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33190 result
= (bool)(arg1
)->IsWindow();
33192 wxPyEndAllowThreads(__tstate
);
33193 if (PyErr_Occurred()) SWIG_fail
;
33195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33202 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33203 PyObject
*resultobj
;
33204 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33206 PyObject
* obj0
= 0 ;
33207 char *kwnames
[] = {
33208 (char *) "self", NULL
33211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
33212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33216 result
= (bool)(arg1
)->IsSizer();
33218 wxPyEndAllowThreads(__tstate
);
33219 if (PyErr_Occurred()) SWIG_fail
;
33221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33228 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33229 PyObject
*resultobj
;
33230 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33232 PyObject
* obj0
= 0 ;
33233 char *kwnames
[] = {
33234 (char *) "self", NULL
33237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
33238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33242 result
= (bool)(arg1
)->IsSpacer();
33244 wxPyEndAllowThreads(__tstate
);
33245 if (PyErr_Occurred()) SWIG_fail
;
33247 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33254 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33255 PyObject
*resultobj
;
33256 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33258 PyObject
* obj0
= 0 ;
33259 PyObject
* obj1
= 0 ;
33260 char *kwnames
[] = {
33261 (char *) "self",(char *) "proportion", NULL
33264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
33265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33267 arg2
= (int) SWIG_AsInt(obj1
);
33268 if (PyErr_Occurred()) SWIG_fail
;
33270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33271 (arg1
)->SetProportion(arg2
);
33273 wxPyEndAllowThreads(__tstate
);
33274 if (PyErr_Occurred()) SWIG_fail
;
33276 Py_INCREF(Py_None
); resultobj
= Py_None
;
33283 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33284 PyObject
*resultobj
;
33285 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33287 PyObject
* obj0
= 0 ;
33288 char *kwnames
[] = {
33289 (char *) "self", NULL
33292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
33293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33297 result
= (int)(arg1
)->GetProportion();
33299 wxPyEndAllowThreads(__tstate
);
33300 if (PyErr_Occurred()) SWIG_fail
;
33302 resultobj
= SWIG_FromInt((int)result
);
33309 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33310 PyObject
*resultobj
;
33311 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33313 PyObject
* obj0
= 0 ;
33314 PyObject
* obj1
= 0 ;
33315 char *kwnames
[] = {
33316 (char *) "self",(char *) "flag", NULL
33319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
33320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33322 arg2
= (int) SWIG_AsInt(obj1
);
33323 if (PyErr_Occurred()) SWIG_fail
;
33325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33326 (arg1
)->SetFlag(arg2
);
33328 wxPyEndAllowThreads(__tstate
);
33329 if (PyErr_Occurred()) SWIG_fail
;
33331 Py_INCREF(Py_None
); resultobj
= Py_None
;
33338 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33339 PyObject
*resultobj
;
33340 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33342 PyObject
* obj0
= 0 ;
33343 char *kwnames
[] = {
33344 (char *) "self", NULL
33347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
33348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33352 result
= (int)(arg1
)->GetFlag();
33354 wxPyEndAllowThreads(__tstate
);
33355 if (PyErr_Occurred()) SWIG_fail
;
33357 resultobj
= SWIG_FromInt((int)result
);
33364 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33365 PyObject
*resultobj
;
33366 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33368 PyObject
* obj0
= 0 ;
33369 PyObject
* obj1
= 0 ;
33370 char *kwnames
[] = {
33371 (char *) "self",(char *) "border", NULL
33374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
33375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33377 arg2
= (int) SWIG_AsInt(obj1
);
33378 if (PyErr_Occurred()) SWIG_fail
;
33380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33381 (arg1
)->SetBorder(arg2
);
33383 wxPyEndAllowThreads(__tstate
);
33384 if (PyErr_Occurred()) SWIG_fail
;
33386 Py_INCREF(Py_None
); resultobj
= Py_None
;
33393 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33394 PyObject
*resultobj
;
33395 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33397 PyObject
* obj0
= 0 ;
33398 char *kwnames
[] = {
33399 (char *) "self", NULL
33402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
33403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33407 result
= (int)(arg1
)->GetBorder();
33409 wxPyEndAllowThreads(__tstate
);
33410 if (PyErr_Occurred()) SWIG_fail
;
33412 resultobj
= SWIG_FromInt((int)result
);
33419 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33420 PyObject
*resultobj
;
33421 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33423 PyObject
* obj0
= 0 ;
33424 char *kwnames
[] = {
33425 (char *) "self", NULL
33428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
33429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33433 result
= (wxWindow
*)(arg1
)->GetWindow();
33435 wxPyEndAllowThreads(__tstate
);
33436 if (PyErr_Occurred()) SWIG_fail
;
33439 resultobj
= wxPyMake_wxObject(result
);
33447 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33448 PyObject
*resultobj
;
33449 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33450 wxWindow
*arg2
= (wxWindow
*) 0 ;
33451 PyObject
* obj0
= 0 ;
33452 PyObject
* obj1
= 0 ;
33453 char *kwnames
[] = {
33454 (char *) "self",(char *) "window", NULL
33457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
33458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33460 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
33461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33464 (arg1
)->SetWindow(arg2
);
33466 wxPyEndAllowThreads(__tstate
);
33467 if (PyErr_Occurred()) SWIG_fail
;
33469 Py_INCREF(Py_None
); resultobj
= Py_None
;
33476 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33477 PyObject
*resultobj
;
33478 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33480 PyObject
* obj0
= 0 ;
33481 char *kwnames
[] = {
33482 (char *) "self", NULL
33485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
33486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33490 result
= (wxSizer
*)(arg1
)->GetSizer();
33492 wxPyEndAllowThreads(__tstate
);
33493 if (PyErr_Occurred()) SWIG_fail
;
33496 resultobj
= wxPyMake_wxSizer(result
);
33504 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33505 PyObject
*resultobj
;
33506 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33507 wxSizer
*arg2
= (wxSizer
*) 0 ;
33508 PyObject
* obj0
= 0 ;
33509 PyObject
* obj1
= 0 ;
33510 char *kwnames
[] = {
33511 (char *) "self",(char *) "sizer", NULL
33514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
33515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33517 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
33518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33521 (arg1
)->SetSizer(arg2
);
33523 wxPyEndAllowThreads(__tstate
);
33524 if (PyErr_Occurred()) SWIG_fail
;
33526 Py_INCREF(Py_None
); resultobj
= Py_None
;
33533 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33534 PyObject
*resultobj
;
33535 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33537 PyObject
* obj0
= 0 ;
33538 char *kwnames
[] = {
33539 (char *) "self", NULL
33542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
33543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33548 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
33549 result
= (wxSize
*) &_result_ref
;
33552 wxPyEndAllowThreads(__tstate
);
33553 if (PyErr_Occurred()) SWIG_fail
;
33555 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
33562 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33563 PyObject
*resultobj
;
33564 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33567 PyObject
* obj0
= 0 ;
33568 PyObject
* obj1
= 0 ;
33569 char *kwnames
[] = {
33570 (char *) "self",(char *) "size", NULL
33573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
33574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33578 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33582 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
33584 wxPyEndAllowThreads(__tstate
);
33585 if (PyErr_Occurred()) SWIG_fail
;
33587 Py_INCREF(Py_None
); resultobj
= Py_None
;
33594 static PyObject
*_wrap_SizerItem_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33595 PyObject
*resultobj
;
33596 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33598 PyObject
* obj0
= 0 ;
33599 PyObject
* obj1
= 0 ;
33600 char *kwnames
[] = {
33601 (char *) "self",(char *) "show", NULL
33604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
33605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33607 arg2
= (bool) SWIG_AsBool(obj1
);
33608 if (PyErr_Occurred()) SWIG_fail
;
33610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33611 (arg1
)->Show(arg2
);
33613 wxPyEndAllowThreads(__tstate
);
33614 if (PyErr_Occurred()) SWIG_fail
;
33616 Py_INCREF(Py_None
); resultobj
= Py_None
;
33623 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33624 PyObject
*resultobj
;
33625 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33627 PyObject
* obj0
= 0 ;
33628 char *kwnames
[] = {
33629 (char *) "self", NULL
33632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
33633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33637 result
= (bool)(arg1
)->IsShown();
33639 wxPyEndAllowThreads(__tstate
);
33640 if (PyErr_Occurred()) SWIG_fail
;
33642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33649 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33650 PyObject
*resultobj
;
33651 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33653 PyObject
* obj0
= 0 ;
33654 char *kwnames
[] = {
33655 (char *) "self", NULL
33658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
33659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33663 result
= (arg1
)->GetPosition();
33665 wxPyEndAllowThreads(__tstate
);
33666 if (PyErr_Occurred()) SWIG_fail
;
33669 wxPoint
* resultptr
;
33670 resultptr
= new wxPoint((wxPoint
&) result
);
33671 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
33679 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33680 PyObject
*resultobj
;
33681 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33683 PyObject
* obj0
= 0 ;
33684 char *kwnames
[] = {
33685 (char *) "self", NULL
33688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
33689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33693 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
33695 wxPyEndAllowThreads(__tstate
);
33696 if (PyErr_Occurred()) SWIG_fail
;
33698 resultobj
= result
;
33705 static PyObject
* SizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
33707 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33708 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
33710 return Py_BuildValue((char *)"");
33712 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33713 PyObject
*resultobj
;
33714 wxSizer
*arg1
= (wxSizer
*) 0 ;
33715 PyObject
*arg2
= (PyObject
*) 0 ;
33716 PyObject
* obj0
= 0 ;
33717 PyObject
* obj1
= 0 ;
33718 char *kwnames
[] = {
33719 (char *) "self",(char *) "_self", NULL
33722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
33723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33728 wxSizer__setOORInfo(arg1
,arg2
);
33730 wxPyEndAllowThreads(__tstate
);
33731 if (PyErr_Occurred()) SWIG_fail
;
33733 Py_INCREF(Py_None
); resultobj
= Py_None
;
33740 static PyObject
*_wrap_Sizer_Add(PyObject
*self
, 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_Add",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_Add(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_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33792 PyObject
*resultobj
;
33793 wxSizer
*arg1
= (wxSizer
*) 0 ;
33795 PyObject
*arg3
= (PyObject
*) 0 ;
33796 int arg4
= (int) 0 ;
33797 int arg5
= (int) 0 ;
33798 int arg6
= (int) 0 ;
33799 PyObject
*arg7
= (PyObject
*) NULL
;
33800 PyObject
* obj0
= 0 ;
33801 PyObject
* obj1
= 0 ;
33802 PyObject
* obj2
= 0 ;
33803 PyObject
* obj3
= 0 ;
33804 PyObject
* obj4
= 0 ;
33805 PyObject
* obj5
= 0 ;
33806 PyObject
* obj6
= 0 ;
33807 char *kwnames
[] = {
33808 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
33812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33814 arg2
= (int) SWIG_AsInt(obj1
);
33815 if (PyErr_Occurred()) SWIG_fail
;
33818 arg4
= (int) SWIG_AsInt(obj3
);
33819 if (PyErr_Occurred()) SWIG_fail
;
33822 arg5
= (int) SWIG_AsInt(obj4
);
33823 if (PyErr_Occurred()) SWIG_fail
;
33826 arg6
= (int) SWIG_AsInt(obj5
);
33827 if (PyErr_Occurred()) SWIG_fail
;
33833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33834 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
33836 wxPyEndAllowThreads(__tstate
);
33837 if (PyErr_Occurred()) SWIG_fail
;
33839 Py_INCREF(Py_None
); resultobj
= Py_None
;
33846 static PyObject
*_wrap_Sizer_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33847 PyObject
*resultobj
;
33848 wxSizer
*arg1
= (wxSizer
*) 0 ;
33849 PyObject
*arg2
= (PyObject
*) 0 ;
33850 int arg3
= (int) 0 ;
33851 int arg4
= (int) 0 ;
33852 int arg5
= (int) 0 ;
33853 PyObject
*arg6
= (PyObject
*) NULL
;
33854 PyObject
* obj0
= 0 ;
33855 PyObject
* obj1
= 0 ;
33856 PyObject
* obj2
= 0 ;
33857 PyObject
* obj3
= 0 ;
33858 PyObject
* obj4
= 0 ;
33859 PyObject
* obj5
= 0 ;
33860 char *kwnames
[] = {
33861 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33869 arg3
= (int) SWIG_AsInt(obj2
);
33870 if (PyErr_Occurred()) SWIG_fail
;
33873 arg4
= (int) SWIG_AsInt(obj3
);
33874 if (PyErr_Occurred()) SWIG_fail
;
33877 arg5
= (int) SWIG_AsInt(obj4
);
33878 if (PyErr_Occurred()) SWIG_fail
;
33884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33885 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
33887 wxPyEndAllowThreads(__tstate
);
33888 if (PyErr_Occurred()) SWIG_fail
;
33890 Py_INCREF(Py_None
); resultobj
= Py_None
;
33897 static PyObject
*_wrap_Sizer_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33898 PyObject
*resultobj
;
33899 wxSizer
*arg1
= (wxSizer
*) 0 ;
33900 PyObject
*arg2
= (PyObject
*) 0 ;
33902 PyObject
* obj0
= 0 ;
33903 PyObject
* obj1
= 0 ;
33904 char *kwnames
[] = {
33905 (char *) "self",(char *) "item", NULL
33908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
33909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33914 result
= (bool)wxSizer_Remove(arg1
,arg2
);
33916 wxPyEndAllowThreads(__tstate
);
33917 if (PyErr_Occurred()) SWIG_fail
;
33919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33926 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33927 PyObject
*resultobj
;
33928 wxSizer
*arg1
= (wxSizer
*) 0 ;
33929 PyObject
*arg2
= (PyObject
*) 0 ;
33932 PyObject
* obj0
= 0 ;
33933 PyObject
* obj1
= 0 ;
33934 PyObject
* obj2
= 0 ;
33935 char *kwnames
[] = {
33936 (char *) "self",(char *) "item",(char *) "size", NULL
33939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33945 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
33948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33949 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
33951 wxPyEndAllowThreads(__tstate
);
33952 if (PyErr_Occurred()) SWIG_fail
;
33954 Py_INCREF(Py_None
); resultobj
= Py_None
;
33961 static PyObject
*_wrap_Sizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33962 PyObject
*resultobj
;
33963 wxSizer
*arg1
= (wxSizer
*) 0 ;
33964 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
33965 PyObject
* obj0
= 0 ;
33966 PyObject
* obj1
= 0 ;
33967 char *kwnames
[] = {
33968 (char *) "self",(char *) "item", NULL
33971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33974 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
33975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33980 wxPyEndAllowThreads(__tstate
);
33981 if (PyErr_Occurred()) SWIG_fail
;
33983 Py_INCREF(Py_None
); resultobj
= Py_None
;
33990 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33991 PyObject
*resultobj
;
33992 wxSizer
*arg1
= (wxSizer
*) 0 ;
33994 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
33995 PyObject
* obj0
= 0 ;
33996 PyObject
* obj1
= 0 ;
33997 PyObject
* obj2
= 0 ;
33998 char *kwnames
[] = {
33999 (char *) "self",(char *) "index",(char *) "item", NULL
34002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34005 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
34006 if (PyErr_Occurred()) SWIG_fail
;
34007 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
34008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34011 (arg1
)->Insert(arg2
,arg3
);
34013 wxPyEndAllowThreads(__tstate
);
34014 if (PyErr_Occurred()) SWIG_fail
;
34016 Py_INCREF(Py_None
); resultobj
= Py_None
;
34023 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34024 PyObject
*resultobj
;
34025 wxSizer
*arg1
= (wxSizer
*) 0 ;
34026 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
34027 PyObject
* obj0
= 0 ;
34028 PyObject
* obj1
= 0 ;
34029 char *kwnames
[] = {
34030 (char *) "self",(char *) "item", NULL
34033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34036 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
34037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34040 (arg1
)->Prepend(arg2
);
34042 wxPyEndAllowThreads(__tstate
);
34043 if (PyErr_Occurred()) SWIG_fail
;
34045 Py_INCREF(Py_None
); resultobj
= Py_None
;
34052 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34053 PyObject
*resultobj
;
34054 wxSizer
*arg1
= (wxSizer
*) 0 ;
34059 PyObject
* obj0
= 0 ;
34060 PyObject
* obj1
= 0 ;
34061 PyObject
* obj2
= 0 ;
34062 PyObject
* obj3
= 0 ;
34063 PyObject
* obj4
= 0 ;
34064 char *kwnames
[] = {
34065 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
34068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34071 arg2
= (int) SWIG_AsInt(obj1
);
34072 if (PyErr_Occurred()) SWIG_fail
;
34073 arg3
= (int) SWIG_AsInt(obj2
);
34074 if (PyErr_Occurred()) SWIG_fail
;
34075 arg4
= (int) SWIG_AsInt(obj3
);
34076 if (PyErr_Occurred()) SWIG_fail
;
34077 arg5
= (int) SWIG_AsInt(obj4
);
34078 if (PyErr_Occurred()) SWIG_fail
;
34080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34081 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
34083 wxPyEndAllowThreads(__tstate
);
34084 if (PyErr_Occurred()) SWIG_fail
;
34086 Py_INCREF(Py_None
); resultobj
= Py_None
;
34093 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34094 PyObject
*resultobj
;
34095 wxSizer
*arg1
= (wxSizer
*) 0 ;
34098 PyObject
* obj0
= 0 ;
34099 PyObject
* obj1
= 0 ;
34100 char *kwnames
[] = {
34101 (char *) "self",(char *) "size", NULL
34104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
34105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34109 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
34112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34113 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
34115 wxPyEndAllowThreads(__tstate
);
34116 if (PyErr_Occurred()) SWIG_fail
;
34118 Py_INCREF(Py_None
); resultobj
= Py_None
;
34125 static PyObject
*_wrap_Sizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34126 PyObject
*resultobj
;
34127 wxSizer
*arg1
= (wxSizer
*) 0 ;
34129 PyObject
* obj0
= 0 ;
34130 char *kwnames
[] = {
34131 (char *) "self", NULL
34134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
34135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34139 result
= (arg1
)->GetSize();
34141 wxPyEndAllowThreads(__tstate
);
34142 if (PyErr_Occurred()) SWIG_fail
;
34145 wxSize
* resultptr
;
34146 resultptr
= new wxSize((wxSize
&) result
);
34147 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34155 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34156 PyObject
*resultobj
;
34157 wxSizer
*arg1
= (wxSizer
*) 0 ;
34159 PyObject
* obj0
= 0 ;
34160 char *kwnames
[] = {
34161 (char *) "self", NULL
34164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
34165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34169 result
= (arg1
)->GetPosition();
34171 wxPyEndAllowThreads(__tstate
);
34172 if (PyErr_Occurred()) SWIG_fail
;
34175 wxPoint
* resultptr
;
34176 resultptr
= new wxPoint((wxPoint
&) result
);
34177 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
34185 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34186 PyObject
*resultobj
;
34187 wxSizer
*arg1
= (wxSizer
*) 0 ;
34189 PyObject
* obj0
= 0 ;
34190 char *kwnames
[] = {
34191 (char *) "self", NULL
34194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
34195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34199 result
= (arg1
)->GetMinSize();
34201 wxPyEndAllowThreads(__tstate
);
34202 if (PyErr_Occurred()) SWIG_fail
;
34205 wxSize
* resultptr
;
34206 resultptr
= new wxSize((wxSize
&) result
);
34207 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34215 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34216 PyObject
*resultobj
;
34217 wxSizer
*arg1
= (wxSizer
*) 0 ;
34218 PyObject
* obj0
= 0 ;
34219 char *kwnames
[] = {
34220 (char *) "self", NULL
34223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34228 (arg1
)->RecalcSizes();
34230 wxPyEndAllowThreads(__tstate
);
34231 if (PyErr_Occurred()) SWIG_fail
;
34233 Py_INCREF(Py_None
); resultobj
= Py_None
;
34240 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34241 PyObject
*resultobj
;
34242 wxSizer
*arg1
= (wxSizer
*) 0 ;
34244 PyObject
* obj0
= 0 ;
34245 char *kwnames
[] = {
34246 (char *) "self", NULL
34249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34254 result
= (arg1
)->CalcMin();
34256 wxPyEndAllowThreads(__tstate
);
34257 if (PyErr_Occurred()) SWIG_fail
;
34260 wxSize
* resultptr
;
34261 resultptr
= new wxSize((wxSize
&) result
);
34262 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34270 static PyObject
*_wrap_Sizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34271 PyObject
*resultobj
;
34272 wxSizer
*arg1
= (wxSizer
*) 0 ;
34273 PyObject
* obj0
= 0 ;
34274 char *kwnames
[] = {
34275 (char *) "self", NULL
34278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
34279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34285 wxPyEndAllowThreads(__tstate
);
34286 if (PyErr_Occurred()) SWIG_fail
;
34288 Py_INCREF(Py_None
); resultobj
= Py_None
;
34295 static PyObject
*_wrap_Sizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34296 PyObject
*resultobj
;
34297 wxSizer
*arg1
= (wxSizer
*) 0 ;
34298 wxWindow
*arg2
= (wxWindow
*) 0 ;
34300 PyObject
* obj0
= 0 ;
34301 PyObject
* obj1
= 0 ;
34302 char *kwnames
[] = {
34303 (char *) "self",(char *) "window", NULL
34306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
34307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34309 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34313 result
= (arg1
)->Fit(arg2
);
34315 wxPyEndAllowThreads(__tstate
);
34316 if (PyErr_Occurred()) SWIG_fail
;
34319 wxSize
* resultptr
;
34320 resultptr
= new wxSize((wxSize
&) result
);
34321 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34329 static PyObject
*_wrap_Sizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34330 PyObject
*resultobj
;
34331 wxSizer
*arg1
= (wxSizer
*) 0 ;
34332 wxWindow
*arg2
= (wxWindow
*) 0 ;
34333 PyObject
* obj0
= 0 ;
34334 PyObject
* obj1
= 0 ;
34335 char *kwnames
[] = {
34336 (char *) "self",(char *) "window", NULL
34339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
34340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34342 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34346 (arg1
)->FitInside(arg2
);
34348 wxPyEndAllowThreads(__tstate
);
34349 if (PyErr_Occurred()) SWIG_fail
;
34351 Py_INCREF(Py_None
); resultobj
= Py_None
;
34358 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34359 PyObject
*resultobj
;
34360 wxSizer
*arg1
= (wxSizer
*) 0 ;
34361 wxWindow
*arg2
= (wxWindow
*) 0 ;
34362 PyObject
* obj0
= 0 ;
34363 PyObject
* obj1
= 0 ;
34364 char *kwnames
[] = {
34365 (char *) "self",(char *) "window", NULL
34368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
34369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34371 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34375 (arg1
)->SetSizeHints(arg2
);
34377 wxPyEndAllowThreads(__tstate
);
34378 if (PyErr_Occurred()) SWIG_fail
;
34380 Py_INCREF(Py_None
); resultobj
= Py_None
;
34387 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34388 PyObject
*resultobj
;
34389 wxSizer
*arg1
= (wxSizer
*) 0 ;
34390 wxWindow
*arg2
= (wxWindow
*) 0 ;
34391 PyObject
* obj0
= 0 ;
34392 PyObject
* obj1
= 0 ;
34393 char *kwnames
[] = {
34394 (char *) "self",(char *) "window", NULL
34397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
34398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34400 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34404 (arg1
)->SetVirtualSizeHints(arg2
);
34406 wxPyEndAllowThreads(__tstate
);
34407 if (PyErr_Occurred()) SWIG_fail
;
34409 Py_INCREF(Py_None
); resultobj
= Py_None
;
34416 static PyObject
*_wrap_Sizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34417 PyObject
*resultobj
;
34418 wxSizer
*arg1
= (wxSizer
*) 0 ;
34419 bool arg2
= (bool) False
;
34420 PyObject
* obj0
= 0 ;
34421 PyObject
* obj1
= 0 ;
34422 char *kwnames
[] = {
34423 (char *) "self",(char *) "delete_windows", NULL
34426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
34427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34430 arg2
= (bool) SWIG_AsBool(obj1
);
34431 if (PyErr_Occurred()) SWIG_fail
;
34434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34435 (arg1
)->Clear(arg2
);
34437 wxPyEndAllowThreads(__tstate
);
34438 if (PyErr_Occurred()) SWIG_fail
;
34440 Py_INCREF(Py_None
); resultobj
= Py_None
;
34447 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34448 PyObject
*resultobj
;
34449 wxSizer
*arg1
= (wxSizer
*) 0 ;
34450 PyObject
* obj0
= 0 ;
34451 char *kwnames
[] = {
34452 (char *) "self", NULL
34455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
34456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34460 (arg1
)->DeleteWindows();
34462 wxPyEndAllowThreads(__tstate
);
34463 if (PyErr_Occurred()) SWIG_fail
;
34465 Py_INCREF(Py_None
); resultobj
= Py_None
;
34472 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34473 PyObject
*resultobj
;
34474 wxSizer
*arg1
= (wxSizer
*) 0 ;
34476 PyObject
* obj0
= 0 ;
34477 char *kwnames
[] = {
34478 (char *) "self", NULL
34481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
34482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34486 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
34488 wxPyEndAllowThreads(__tstate
);
34489 if (PyErr_Occurred()) SWIG_fail
;
34491 resultobj
= result
;
34498 static PyObject
*_wrap_Sizer_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34499 PyObject
*resultobj
;
34500 wxSizer
*arg1
= (wxSizer
*) 0 ;
34501 PyObject
*arg2
= (PyObject
*) 0 ;
34502 bool arg3
= (bool) True
;
34503 PyObject
* obj0
= 0 ;
34504 PyObject
* obj1
= 0 ;
34505 PyObject
* obj2
= 0 ;
34506 char *kwnames
[] = {
34507 (char *) "self",(char *) "item",(char *) "show", NULL
34510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34515 arg3
= (bool) SWIG_AsBool(obj2
);
34516 if (PyErr_Occurred()) SWIG_fail
;
34519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34520 wxSizer_Show(arg1
,arg2
,arg3
);
34522 wxPyEndAllowThreads(__tstate
);
34523 if (PyErr_Occurred()) SWIG_fail
;
34525 Py_INCREF(Py_None
); resultobj
= Py_None
;
34532 static PyObject
*_wrap_Sizer_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34533 PyObject
*resultobj
;
34534 wxSizer
*arg1
= (wxSizer
*) 0 ;
34535 PyObject
*arg2
= (PyObject
*) 0 ;
34536 PyObject
* obj0
= 0 ;
34537 PyObject
* obj1
= 0 ;
34538 char *kwnames
[] = {
34539 (char *) "self",(char *) "item", NULL
34542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Hide",kwnames
,&obj0
,&obj1
)) goto fail
;
34543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34548 wxSizer_Hide(arg1
,arg2
);
34550 wxPyEndAllowThreads(__tstate
);
34551 if (PyErr_Occurred()) SWIG_fail
;
34553 Py_INCREF(Py_None
); resultobj
= Py_None
;
34560 static PyObject
*_wrap_Sizer_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34561 PyObject
*resultobj
;
34562 wxSizer
*arg1
= (wxSizer
*) 0 ;
34563 PyObject
*arg2
= (PyObject
*) 0 ;
34565 PyObject
* obj0
= 0 ;
34566 PyObject
* obj1
= 0 ;
34567 char *kwnames
[] = {
34568 (char *) "self",(char *) "item", NULL
34571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
34572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34577 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
34579 wxPyEndAllowThreads(__tstate
);
34580 if (PyErr_Occurred()) SWIG_fail
;
34582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34589 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34590 PyObject
*resultobj
;
34591 wxSizer
*arg1
= (wxSizer
*) 0 ;
34593 PyObject
* obj0
= 0 ;
34594 PyObject
* obj1
= 0 ;
34595 char *kwnames
[] = {
34596 (char *) "self",(char *) "show", NULL
34599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
34600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34602 arg2
= (bool) SWIG_AsBool(obj1
);
34603 if (PyErr_Occurred()) SWIG_fail
;
34605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34606 (arg1
)->ShowItems(arg2
);
34608 wxPyEndAllowThreads(__tstate
);
34609 if (PyErr_Occurred()) SWIG_fail
;
34611 Py_INCREF(Py_None
); resultobj
= Py_None
;
34618 static PyObject
* Sizer_swigregister(PyObject
*self
, PyObject
*args
) {
34620 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34621 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
34623 return Py_BuildValue((char *)"");
34625 static PyObject
*_wrap_new_PySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34626 PyObject
*resultobj
;
34628 char *kwnames
[] = {
34632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
34634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34635 result
= (wxPySizer
*)new wxPySizer();
34637 wxPyEndAllowThreads(__tstate
);
34638 if (PyErr_Occurred()) SWIG_fail
;
34640 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
34647 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34648 PyObject
*resultobj
;
34649 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
34650 PyObject
*arg2
= (PyObject
*) 0 ;
34651 PyObject
*arg3
= (PyObject
*) 0 ;
34652 PyObject
* obj0
= 0 ;
34653 PyObject
* obj1
= 0 ;
34654 PyObject
* obj2
= 0 ;
34655 char *kwnames
[] = {
34656 (char *) "self",(char *) "self",(char *) "_class", NULL
34659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
34661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34666 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34668 wxPyEndAllowThreads(__tstate
);
34669 if (PyErr_Occurred()) SWIG_fail
;
34671 Py_INCREF(Py_None
); resultobj
= Py_None
;
34678 static PyObject
* PySizer_swigregister(PyObject
*self
, PyObject
*args
) {
34680 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34681 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
34683 return Py_BuildValue((char *)"");
34685 static PyObject
*_wrap_new_BoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34686 PyObject
*resultobj
;
34687 int arg1
= (int) wxHORIZONTAL
;
34688 wxBoxSizer
*result
;
34689 PyObject
* obj0
= 0 ;
34690 char *kwnames
[] = {
34691 (char *) "orient", NULL
34694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
34696 arg1
= (int) SWIG_AsInt(obj0
);
34697 if (PyErr_Occurred()) SWIG_fail
;
34700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34701 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
34703 wxPyEndAllowThreads(__tstate
);
34704 if (PyErr_Occurred()) SWIG_fail
;
34706 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
34713 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34714 PyObject
*resultobj
;
34715 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
34717 PyObject
* obj0
= 0 ;
34718 char *kwnames
[] = {
34719 (char *) "self", NULL
34722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
34723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
34724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34727 result
= (int)(arg1
)->GetOrientation();
34729 wxPyEndAllowThreads(__tstate
);
34730 if (PyErr_Occurred()) SWIG_fail
;
34732 resultobj
= SWIG_FromInt((int)result
);
34739 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34740 PyObject
*resultobj
;
34741 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
34743 PyObject
* obj0
= 0 ;
34744 PyObject
* obj1
= 0 ;
34745 char *kwnames
[] = {
34746 (char *) "self",(char *) "orient", NULL
34749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
34750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
34751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34752 arg2
= (int) SWIG_AsInt(obj1
);
34753 if (PyErr_Occurred()) SWIG_fail
;
34755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34756 (arg1
)->SetOrientation(arg2
);
34758 wxPyEndAllowThreads(__tstate
);
34759 if (PyErr_Occurred()) SWIG_fail
;
34761 Py_INCREF(Py_None
); resultobj
= Py_None
;
34768 static PyObject
*_wrap_BoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34769 PyObject
*resultobj
;
34770 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
34771 PyObject
* obj0
= 0 ;
34772 char *kwnames
[] = {
34773 (char *) "self", NULL
34776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
34778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34781 (arg1
)->RecalcSizes();
34783 wxPyEndAllowThreads(__tstate
);
34784 if (PyErr_Occurred()) SWIG_fail
;
34786 Py_INCREF(Py_None
); resultobj
= Py_None
;
34793 static PyObject
*_wrap_BoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34794 PyObject
*resultobj
;
34795 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
34797 PyObject
* obj0
= 0 ;
34798 char *kwnames
[] = {
34799 (char *) "self", NULL
34802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
34804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34807 result
= (arg1
)->CalcMin();
34809 wxPyEndAllowThreads(__tstate
);
34810 if (PyErr_Occurred()) SWIG_fail
;
34813 wxSize
* resultptr
;
34814 resultptr
= new wxSize((wxSize
&) result
);
34815 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34823 static PyObject
* BoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
34825 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34826 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
34828 return Py_BuildValue((char *)"");
34830 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34831 PyObject
*resultobj
;
34832 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
34833 int arg2
= (int) wxHORIZONTAL
;
34834 wxStaticBoxSizer
*result
;
34835 PyObject
* obj0
= 0 ;
34836 PyObject
* obj1
= 0 ;
34837 char *kwnames
[] = {
34838 (char *) "box",(char *) "orient", NULL
34841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
34842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
34843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34845 arg2
= (int) SWIG_AsInt(obj1
);
34846 if (PyErr_Occurred()) SWIG_fail
;
34849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34850 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
34852 wxPyEndAllowThreads(__tstate
);
34853 if (PyErr_Occurred()) SWIG_fail
;
34855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
34862 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34863 PyObject
*resultobj
;
34864 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
34865 wxStaticBox
*result
;
34866 PyObject
* obj0
= 0 ;
34867 char *kwnames
[] = {
34868 (char *) "self", NULL
34871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
34872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
34873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34876 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
34878 wxPyEndAllowThreads(__tstate
);
34879 if (PyErr_Occurred()) SWIG_fail
;
34882 resultobj
= wxPyMake_wxObject(result
);
34890 static PyObject
*_wrap_StaticBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34891 PyObject
*resultobj
;
34892 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
34893 PyObject
* obj0
= 0 ;
34894 char *kwnames
[] = {
34895 (char *) "self", NULL
34898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
34900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34903 (arg1
)->RecalcSizes();
34905 wxPyEndAllowThreads(__tstate
);
34906 if (PyErr_Occurred()) SWIG_fail
;
34908 Py_INCREF(Py_None
); resultobj
= Py_None
;
34915 static PyObject
*_wrap_StaticBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34916 PyObject
*resultobj
;
34917 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
34919 PyObject
* obj0
= 0 ;
34920 char *kwnames
[] = {
34921 (char *) "self", NULL
34924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
34926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34929 result
= (arg1
)->CalcMin();
34931 wxPyEndAllowThreads(__tstate
);
34932 if (PyErr_Occurred()) SWIG_fail
;
34935 wxSize
* resultptr
;
34936 resultptr
= new wxSize((wxSize
&) result
);
34937 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34945 static PyObject
* StaticBoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
34947 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34948 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
34950 return Py_BuildValue((char *)"");
34952 static PyObject
*_wrap_new_GridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34953 PyObject
*resultobj
;
34954 int arg1
= (int) 1 ;
34955 int arg2
= (int) 0 ;
34956 int arg3
= (int) 0 ;
34957 int arg4
= (int) 0 ;
34958 wxGridSizer
*result
;
34959 PyObject
* obj0
= 0 ;
34960 PyObject
* obj1
= 0 ;
34961 PyObject
* obj2
= 0 ;
34962 PyObject
* obj3
= 0 ;
34963 char *kwnames
[] = {
34964 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
34967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34969 arg1
= (int) SWIG_AsInt(obj0
);
34970 if (PyErr_Occurred()) SWIG_fail
;
34973 arg2
= (int) SWIG_AsInt(obj1
);
34974 if (PyErr_Occurred()) SWIG_fail
;
34977 arg3
= (int) SWIG_AsInt(obj2
);
34978 if (PyErr_Occurred()) SWIG_fail
;
34981 arg4
= (int) SWIG_AsInt(obj3
);
34982 if (PyErr_Occurred()) SWIG_fail
;
34985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34986 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
34988 wxPyEndAllowThreads(__tstate
);
34989 if (PyErr_Occurred()) SWIG_fail
;
34991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
34998 static PyObject
*_wrap_GridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34999 PyObject
*resultobj
;
35000 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35001 PyObject
* obj0
= 0 ;
35002 char *kwnames
[] = {
35003 (char *) "self", NULL
35006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35011 (arg1
)->RecalcSizes();
35013 wxPyEndAllowThreads(__tstate
);
35014 if (PyErr_Occurred()) SWIG_fail
;
35016 Py_INCREF(Py_None
); resultobj
= Py_None
;
35023 static PyObject
*_wrap_GridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35024 PyObject
*resultobj
;
35025 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35027 PyObject
* obj0
= 0 ;
35028 char *kwnames
[] = {
35029 (char *) "self", NULL
35032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35037 result
= (arg1
)->CalcMin();
35039 wxPyEndAllowThreads(__tstate
);
35040 if (PyErr_Occurred()) SWIG_fail
;
35043 wxSize
* resultptr
;
35044 resultptr
= new wxSize((wxSize
&) result
);
35045 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35053 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35054 PyObject
*resultobj
;
35055 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35057 PyObject
* obj0
= 0 ;
35058 PyObject
* obj1
= 0 ;
35059 char *kwnames
[] = {
35060 (char *) "self",(char *) "cols", NULL
35063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
35064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35066 arg2
= (int) SWIG_AsInt(obj1
);
35067 if (PyErr_Occurred()) SWIG_fail
;
35069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35070 (arg1
)->SetCols(arg2
);
35072 wxPyEndAllowThreads(__tstate
);
35073 if (PyErr_Occurred()) SWIG_fail
;
35075 Py_INCREF(Py_None
); resultobj
= Py_None
;
35082 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35083 PyObject
*resultobj
;
35084 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35086 PyObject
* obj0
= 0 ;
35087 PyObject
* obj1
= 0 ;
35088 char *kwnames
[] = {
35089 (char *) "self",(char *) "rows", NULL
35092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
35093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35095 arg2
= (int) SWIG_AsInt(obj1
);
35096 if (PyErr_Occurred()) SWIG_fail
;
35098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35099 (arg1
)->SetRows(arg2
);
35101 wxPyEndAllowThreads(__tstate
);
35102 if (PyErr_Occurred()) SWIG_fail
;
35104 Py_INCREF(Py_None
); resultobj
= Py_None
;
35111 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35112 PyObject
*resultobj
;
35113 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35115 PyObject
* obj0
= 0 ;
35116 PyObject
* obj1
= 0 ;
35117 char *kwnames
[] = {
35118 (char *) "self",(char *) "gap", NULL
35121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
35122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35124 arg2
= (int) SWIG_AsInt(obj1
);
35125 if (PyErr_Occurred()) SWIG_fail
;
35127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35128 (arg1
)->SetVGap(arg2
);
35130 wxPyEndAllowThreads(__tstate
);
35131 if (PyErr_Occurred()) SWIG_fail
;
35133 Py_INCREF(Py_None
); resultobj
= Py_None
;
35140 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35141 PyObject
*resultobj
;
35142 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35144 PyObject
* obj0
= 0 ;
35145 PyObject
* obj1
= 0 ;
35146 char *kwnames
[] = {
35147 (char *) "self",(char *) "gap", NULL
35150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
35151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35153 arg2
= (int) SWIG_AsInt(obj1
);
35154 if (PyErr_Occurred()) SWIG_fail
;
35156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35157 (arg1
)->SetHGap(arg2
);
35159 wxPyEndAllowThreads(__tstate
);
35160 if (PyErr_Occurred()) SWIG_fail
;
35162 Py_INCREF(Py_None
); resultobj
= Py_None
;
35169 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35170 PyObject
*resultobj
;
35171 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35173 PyObject
* obj0
= 0 ;
35174 char *kwnames
[] = {
35175 (char *) "self", NULL
35178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
35179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35183 result
= (int)(arg1
)->GetCols();
35185 wxPyEndAllowThreads(__tstate
);
35186 if (PyErr_Occurred()) SWIG_fail
;
35188 resultobj
= SWIG_FromInt((int)result
);
35195 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35196 PyObject
*resultobj
;
35197 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35199 PyObject
* obj0
= 0 ;
35200 char *kwnames
[] = {
35201 (char *) "self", NULL
35204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
35205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35209 result
= (int)(arg1
)->GetRows();
35211 wxPyEndAllowThreads(__tstate
);
35212 if (PyErr_Occurred()) SWIG_fail
;
35214 resultobj
= SWIG_FromInt((int)result
);
35221 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35222 PyObject
*resultobj
;
35223 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35225 PyObject
* obj0
= 0 ;
35226 char *kwnames
[] = {
35227 (char *) "self", NULL
35230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
35231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35235 result
= (int)(arg1
)->GetVGap();
35237 wxPyEndAllowThreads(__tstate
);
35238 if (PyErr_Occurred()) SWIG_fail
;
35240 resultobj
= SWIG_FromInt((int)result
);
35247 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35248 PyObject
*resultobj
;
35249 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35251 PyObject
* obj0
= 0 ;
35252 char *kwnames
[] = {
35253 (char *) "self", NULL
35256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
35257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35261 result
= (int)(arg1
)->GetHGap();
35263 wxPyEndAllowThreads(__tstate
);
35264 if (PyErr_Occurred()) SWIG_fail
;
35266 resultobj
= SWIG_FromInt((int)result
);
35273 static PyObject
* GridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
35275 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35276 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
35278 return Py_BuildValue((char *)"");
35280 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35281 PyObject
*resultobj
;
35282 int arg1
= (int) 1 ;
35283 int arg2
= (int) 0 ;
35284 int arg3
= (int) 0 ;
35285 int arg4
= (int) 0 ;
35286 wxFlexGridSizer
*result
;
35287 PyObject
* obj0
= 0 ;
35288 PyObject
* obj1
= 0 ;
35289 PyObject
* obj2
= 0 ;
35290 PyObject
* obj3
= 0 ;
35291 char *kwnames
[] = {
35292 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
35295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35297 arg1
= (int) SWIG_AsInt(obj0
);
35298 if (PyErr_Occurred()) SWIG_fail
;
35301 arg2
= (int) SWIG_AsInt(obj1
);
35302 if (PyErr_Occurred()) SWIG_fail
;
35305 arg3
= (int) SWIG_AsInt(obj2
);
35306 if (PyErr_Occurred()) SWIG_fail
;
35309 arg4
= (int) SWIG_AsInt(obj3
);
35310 if (PyErr_Occurred()) SWIG_fail
;
35313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35314 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
35316 wxPyEndAllowThreads(__tstate
);
35317 if (PyErr_Occurred()) SWIG_fail
;
35319 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
35326 static PyObject
*_wrap_FlexGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35327 PyObject
*resultobj
;
35328 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35329 PyObject
* obj0
= 0 ;
35330 char *kwnames
[] = {
35331 (char *) "self", NULL
35334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35339 (arg1
)->RecalcSizes();
35341 wxPyEndAllowThreads(__tstate
);
35342 if (PyErr_Occurred()) SWIG_fail
;
35344 Py_INCREF(Py_None
); resultobj
= Py_None
;
35351 static PyObject
*_wrap_FlexGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35352 PyObject
*resultobj
;
35353 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35355 PyObject
* obj0
= 0 ;
35356 char *kwnames
[] = {
35357 (char *) "self", NULL
35360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35365 result
= (arg1
)->CalcMin();
35367 wxPyEndAllowThreads(__tstate
);
35368 if (PyErr_Occurred()) SWIG_fail
;
35371 wxSize
* resultptr
;
35372 resultptr
= new wxSize((wxSize
&) result
);
35373 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35381 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35382 PyObject
*resultobj
;
35383 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35385 int arg3
= (int) 0 ;
35386 PyObject
* obj0
= 0 ;
35387 PyObject
* obj1
= 0 ;
35388 PyObject
* obj2
= 0 ;
35389 char *kwnames
[] = {
35390 (char *) "self",(char *) "idx",(char *) "proportion", NULL
35393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35396 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
35397 if (PyErr_Occurred()) SWIG_fail
;
35399 arg3
= (int) SWIG_AsInt(obj2
);
35400 if (PyErr_Occurred()) SWIG_fail
;
35403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35404 (arg1
)->AddGrowableRow(arg2
,arg3
);
35406 wxPyEndAllowThreads(__tstate
);
35407 if (PyErr_Occurred()) SWIG_fail
;
35409 Py_INCREF(Py_None
); resultobj
= Py_None
;
35416 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35417 PyObject
*resultobj
;
35418 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35420 PyObject
* obj0
= 0 ;
35421 PyObject
* obj1
= 0 ;
35422 char *kwnames
[] = {
35423 (char *) "self",(char *) "idx", NULL
35426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
35427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35429 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
35430 if (PyErr_Occurred()) SWIG_fail
;
35432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35433 (arg1
)->RemoveGrowableRow(arg2
);
35435 wxPyEndAllowThreads(__tstate
);
35436 if (PyErr_Occurred()) SWIG_fail
;
35438 Py_INCREF(Py_None
); resultobj
= Py_None
;
35445 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35446 PyObject
*resultobj
;
35447 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35449 int arg3
= (int) 0 ;
35450 PyObject
* obj0
= 0 ;
35451 PyObject
* obj1
= 0 ;
35452 PyObject
* obj2
= 0 ;
35453 char *kwnames
[] = {
35454 (char *) "self",(char *) "idx",(char *) "proportion", NULL
35457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35460 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
35461 if (PyErr_Occurred()) SWIG_fail
;
35463 arg3
= (int) SWIG_AsInt(obj2
);
35464 if (PyErr_Occurred()) SWIG_fail
;
35467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35468 (arg1
)->AddGrowableCol(arg2
,arg3
);
35470 wxPyEndAllowThreads(__tstate
);
35471 if (PyErr_Occurred()) SWIG_fail
;
35473 Py_INCREF(Py_None
); resultobj
= Py_None
;
35480 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35481 PyObject
*resultobj
;
35482 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35484 PyObject
* obj0
= 0 ;
35485 PyObject
* obj1
= 0 ;
35486 char *kwnames
[] = {
35487 (char *) "self",(char *) "idx", NULL
35490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
35491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35493 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
35494 if (PyErr_Occurred()) SWIG_fail
;
35496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35497 (arg1
)->RemoveGrowableCol(arg2
);
35499 wxPyEndAllowThreads(__tstate
);
35500 if (PyErr_Occurred()) SWIG_fail
;
35502 Py_INCREF(Py_None
); resultobj
= Py_None
;
35509 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35510 PyObject
*resultobj
;
35511 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35513 PyObject
* obj0
= 0 ;
35514 PyObject
* obj1
= 0 ;
35515 char *kwnames
[] = {
35516 (char *) "self",(char *) "direction", NULL
35519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
35520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35522 arg2
= (int) SWIG_AsInt(obj1
);
35523 if (PyErr_Occurred()) SWIG_fail
;
35525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35526 (arg1
)->SetFlexibleDirection(arg2
);
35528 wxPyEndAllowThreads(__tstate
);
35529 if (PyErr_Occurred()) SWIG_fail
;
35531 Py_INCREF(Py_None
); resultobj
= Py_None
;
35538 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35539 PyObject
*resultobj
;
35540 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35542 PyObject
* obj0
= 0 ;
35543 char *kwnames
[] = {
35544 (char *) "self", NULL
35547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
35548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35552 result
= (int)(arg1
)->GetFlexibleDirection();
35554 wxPyEndAllowThreads(__tstate
);
35555 if (PyErr_Occurred()) SWIG_fail
;
35557 resultobj
= SWIG_FromInt((int)result
);
35564 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35565 PyObject
*resultobj
;
35566 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35568 PyObject
* obj0
= 0 ;
35569 PyObject
* obj1
= 0 ;
35570 char *kwnames
[] = {
35571 (char *) "self",(char *) "mode", NULL
35574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
35575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35577 arg2
= (wxFlexSizerGrowMode
) SWIG_AsInt(obj1
);
35578 if (PyErr_Occurred()) SWIG_fail
;
35580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35581 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
35583 wxPyEndAllowThreads(__tstate
);
35584 if (PyErr_Occurred()) SWIG_fail
;
35586 Py_INCREF(Py_None
); resultobj
= Py_None
;
35593 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35594 PyObject
*resultobj
;
35595 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35597 PyObject
* obj0
= 0 ;
35598 char *kwnames
[] = {
35599 (char *) "self", NULL
35602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
35603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35607 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
35609 wxPyEndAllowThreads(__tstate
);
35610 if (PyErr_Occurred()) SWIG_fail
;
35612 resultobj
= SWIG_FromInt((int)result
);
35619 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35620 PyObject
*resultobj
;
35621 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35622 wxArrayInt
*result
;
35623 PyObject
* obj0
= 0 ;
35624 char *kwnames
[] = {
35625 (char *) "self", NULL
35628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
35629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35634 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
35635 result
= (wxArrayInt
*) &_result_ref
;
35638 wxPyEndAllowThreads(__tstate
);
35639 if (PyErr_Occurred()) SWIG_fail
;
35642 resultobj
= PyList_New(0);
35644 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
35645 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
35646 PyList_Append(resultobj
, val
);
35656 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35657 PyObject
*resultobj
;
35658 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35659 wxArrayInt
*result
;
35660 PyObject
* obj0
= 0 ;
35661 char *kwnames
[] = {
35662 (char *) "self", NULL
35665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
35666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35671 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
35672 result
= (wxArrayInt
*) &_result_ref
;
35675 wxPyEndAllowThreads(__tstate
);
35676 if (PyErr_Occurred()) SWIG_fail
;
35679 resultobj
= PyList_New(0);
35681 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
35682 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
35683 PyList_Append(resultobj
, val
);
35693 static PyObject
* FlexGridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
35695 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35696 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
35698 return Py_BuildValue((char *)"");
35700 static PyObject
*_wrap_new_GBPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35701 PyObject
*resultobj
;
35702 int arg1
= (int) 0 ;
35703 int arg2
= (int) 0 ;
35704 wxGBPosition
*result
;
35705 PyObject
* obj0
= 0 ;
35706 PyObject
* obj1
= 0 ;
35707 char *kwnames
[] = {
35708 (char *) "row",(char *) "col", NULL
35711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
35713 arg1
= (int) SWIG_AsInt(obj0
);
35714 if (PyErr_Occurred()) SWIG_fail
;
35717 arg2
= (int) SWIG_AsInt(obj1
);
35718 if (PyErr_Occurred()) SWIG_fail
;
35721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35722 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
35724 wxPyEndAllowThreads(__tstate
);
35725 if (PyErr_Occurred()) SWIG_fail
;
35727 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
35734 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35735 PyObject
*resultobj
;
35736 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35738 PyObject
* obj0
= 0 ;
35739 char *kwnames
[] = {
35740 (char *) "self", NULL
35743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
35744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
35745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35748 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
35750 wxPyEndAllowThreads(__tstate
);
35751 if (PyErr_Occurred()) SWIG_fail
;
35753 resultobj
= SWIG_FromInt((int)result
);
35760 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35761 PyObject
*resultobj
;
35762 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35764 PyObject
* obj0
= 0 ;
35765 char *kwnames
[] = {
35766 (char *) "self", NULL
35769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
35770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
35771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35774 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
35776 wxPyEndAllowThreads(__tstate
);
35777 if (PyErr_Occurred()) SWIG_fail
;
35779 resultobj
= SWIG_FromInt((int)result
);
35786 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35787 PyObject
*resultobj
;
35788 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35790 PyObject
* obj0
= 0 ;
35791 PyObject
* obj1
= 0 ;
35792 char *kwnames
[] = {
35793 (char *) "self",(char *) "row", NULL
35796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
35797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
35798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35799 arg2
= (int) SWIG_AsInt(obj1
);
35800 if (PyErr_Occurred()) SWIG_fail
;
35802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35803 (arg1
)->SetRow(arg2
);
35805 wxPyEndAllowThreads(__tstate
);
35806 if (PyErr_Occurred()) SWIG_fail
;
35808 Py_INCREF(Py_None
); resultobj
= Py_None
;
35815 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35816 PyObject
*resultobj
;
35817 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35819 PyObject
* obj0
= 0 ;
35820 PyObject
* obj1
= 0 ;
35821 char *kwnames
[] = {
35822 (char *) "self",(char *) "col", NULL
35825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
35826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
35827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35828 arg2
= (int) SWIG_AsInt(obj1
);
35829 if (PyErr_Occurred()) SWIG_fail
;
35831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35832 (arg1
)->SetCol(arg2
);
35834 wxPyEndAllowThreads(__tstate
);
35835 if (PyErr_Occurred()) SWIG_fail
;
35837 Py_INCREF(Py_None
); resultobj
= Py_None
;
35844 static PyObject
*_wrap_GBPosition___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35845 PyObject
*resultobj
;
35846 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35847 wxGBPosition
*arg2
= (wxGBPosition
*) 0 ;
35849 PyObject
* obj0
= 0 ;
35850 PyObject
* obj1
= 0 ;
35851 char *kwnames
[] = {
35852 (char *) "self",(char *) "other", NULL
35855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
35856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
35857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35858 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBPosition
,
35859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35862 result
= (bool)wxGBPosition___eq__(arg1
,(wxGBPosition
const *)arg2
);
35864 wxPyEndAllowThreads(__tstate
);
35865 if (PyErr_Occurred()) SWIG_fail
;
35867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35874 static PyObject
*_wrap_GBPosition___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35875 PyObject
*resultobj
;
35876 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35877 wxGBPosition
*arg2
= (wxGBPosition
*) 0 ;
35879 PyObject
* obj0
= 0 ;
35880 PyObject
* obj1
= 0 ;
35881 char *kwnames
[] = {
35882 (char *) "self",(char *) "other", NULL
35885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
35886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
35887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35888 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBPosition
,
35889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35892 result
= (bool)wxGBPosition___ne__(arg1
,(wxGBPosition
const *)arg2
);
35894 wxPyEndAllowThreads(__tstate
);
35895 if (PyErr_Occurred()) SWIG_fail
;
35897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35904 static PyObject
*_wrap_GBPosition_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35905 PyObject
*resultobj
;
35906 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35907 int arg2
= (int) 0 ;
35908 int arg3
= (int) 0 ;
35909 PyObject
* obj0
= 0 ;
35910 PyObject
* obj1
= 0 ;
35911 PyObject
* obj2
= 0 ;
35912 char *kwnames
[] = {
35913 (char *) "self",(char *) "row",(char *) "col", NULL
35916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
35918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35920 arg2
= (int) SWIG_AsInt(obj1
);
35921 if (PyErr_Occurred()) SWIG_fail
;
35924 arg3
= (int) SWIG_AsInt(obj2
);
35925 if (PyErr_Occurred()) SWIG_fail
;
35928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35929 wxGBPosition_Set(arg1
,arg2
,arg3
);
35931 wxPyEndAllowThreads(__tstate
);
35932 if (PyErr_Occurred()) SWIG_fail
;
35934 Py_INCREF(Py_None
); resultobj
= Py_None
;
35941 static PyObject
*_wrap_GBPosition_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35942 PyObject
*resultobj
;
35943 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35945 PyObject
* obj0
= 0 ;
35946 char *kwnames
[] = {
35947 (char *) "self", NULL
35950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
35951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
35952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35955 result
= (PyObject
*)wxGBPosition_Get(arg1
);
35957 wxPyEndAllowThreads(__tstate
);
35958 if (PyErr_Occurred()) SWIG_fail
;
35960 resultobj
= result
;
35967 static PyObject
* GBPosition_swigregister(PyObject
*self
, PyObject
*args
) {
35969 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35970 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
35972 return Py_BuildValue((char *)"");
35974 static PyObject
*_wrap_new_GBSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35975 PyObject
*resultobj
;
35976 int arg1
= (int) 1 ;
35977 int arg2
= (int) 1 ;
35979 PyObject
* obj0
= 0 ;
35980 PyObject
* obj1
= 0 ;
35981 char *kwnames
[] = {
35982 (char *) "rowspan",(char *) "colspan", NULL
35985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
35987 arg1
= (int) SWIG_AsInt(obj0
);
35988 if (PyErr_Occurred()) SWIG_fail
;
35991 arg2
= (int) SWIG_AsInt(obj1
);
35992 if (PyErr_Occurred()) SWIG_fail
;
35995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35996 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
35998 wxPyEndAllowThreads(__tstate
);
35999 if (PyErr_Occurred()) SWIG_fail
;
36001 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
36008 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36009 PyObject
*resultobj
;
36010 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36012 PyObject
* obj0
= 0 ;
36013 char *kwnames
[] = {
36014 (char *) "self", NULL
36017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
36018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36022 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
36024 wxPyEndAllowThreads(__tstate
);
36025 if (PyErr_Occurred()) SWIG_fail
;
36027 resultobj
= SWIG_FromInt((int)result
);
36034 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36035 PyObject
*resultobj
;
36036 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36038 PyObject
* obj0
= 0 ;
36039 char *kwnames
[] = {
36040 (char *) "self", NULL
36043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
36044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36048 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
36050 wxPyEndAllowThreads(__tstate
);
36051 if (PyErr_Occurred()) SWIG_fail
;
36053 resultobj
= SWIG_FromInt((int)result
);
36060 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36061 PyObject
*resultobj
;
36062 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36064 PyObject
* obj0
= 0 ;
36065 PyObject
* obj1
= 0 ;
36066 char *kwnames
[] = {
36067 (char *) "self",(char *) "rowspan", NULL
36070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
36071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36073 arg2
= (int) SWIG_AsInt(obj1
);
36074 if (PyErr_Occurred()) SWIG_fail
;
36076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36077 (arg1
)->SetRowspan(arg2
);
36079 wxPyEndAllowThreads(__tstate
);
36080 if (PyErr_Occurred()) SWIG_fail
;
36082 Py_INCREF(Py_None
); resultobj
= Py_None
;
36089 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36090 PyObject
*resultobj
;
36091 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36093 PyObject
* obj0
= 0 ;
36094 PyObject
* obj1
= 0 ;
36095 char *kwnames
[] = {
36096 (char *) "self",(char *) "colspan", NULL
36099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
36100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36102 arg2
= (int) SWIG_AsInt(obj1
);
36103 if (PyErr_Occurred()) SWIG_fail
;
36105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36106 (arg1
)->SetColspan(arg2
);
36108 wxPyEndAllowThreads(__tstate
);
36109 if (PyErr_Occurred()) SWIG_fail
;
36111 Py_INCREF(Py_None
); resultobj
= Py_None
;
36118 static PyObject
*_wrap_GBSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36119 PyObject
*resultobj
;
36120 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36121 wxGBSpan
*arg2
= (wxGBSpan
*) 0 ;
36123 PyObject
* obj0
= 0 ;
36124 PyObject
* obj1
= 0 ;
36125 char *kwnames
[] = {
36126 (char *) "self",(char *) "other", NULL
36129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
36130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36132 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSpan
,
36133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36136 result
= (bool)wxGBSpan___eq__(arg1
,(wxGBSpan
const *)arg2
);
36138 wxPyEndAllowThreads(__tstate
);
36139 if (PyErr_Occurred()) SWIG_fail
;
36141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36148 static PyObject
*_wrap_GBSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36149 PyObject
*resultobj
;
36150 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36151 wxGBSpan
*arg2
= (wxGBSpan
*) 0 ;
36153 PyObject
* obj0
= 0 ;
36154 PyObject
* obj1
= 0 ;
36155 char *kwnames
[] = {
36156 (char *) "self",(char *) "other", NULL
36159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
36160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36162 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSpan
,
36163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36166 result
= (bool)wxGBSpan___ne__(arg1
,(wxGBSpan
const *)arg2
);
36168 wxPyEndAllowThreads(__tstate
);
36169 if (PyErr_Occurred()) SWIG_fail
;
36171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36178 static PyObject
*_wrap_GBSpan_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36179 PyObject
*resultobj
;
36180 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36181 int arg2
= (int) 1 ;
36182 int arg3
= (int) 1 ;
36183 PyObject
* obj0
= 0 ;
36184 PyObject
* obj1
= 0 ;
36185 PyObject
* obj2
= 0 ;
36186 char *kwnames
[] = {
36187 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
36190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36194 arg2
= (int) SWIG_AsInt(obj1
);
36195 if (PyErr_Occurred()) SWIG_fail
;
36198 arg3
= (int) SWIG_AsInt(obj2
);
36199 if (PyErr_Occurred()) SWIG_fail
;
36202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36203 wxGBSpan_Set(arg1
,arg2
,arg3
);
36205 wxPyEndAllowThreads(__tstate
);
36206 if (PyErr_Occurred()) SWIG_fail
;
36208 Py_INCREF(Py_None
); resultobj
= Py_None
;
36215 static PyObject
*_wrap_GBSpan_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36216 PyObject
*resultobj
;
36217 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36219 PyObject
* obj0
= 0 ;
36220 char *kwnames
[] = {
36221 (char *) "self", NULL
36224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
36225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36229 result
= (PyObject
*)wxGBSpan_Get(arg1
);
36231 wxPyEndAllowThreads(__tstate
);
36232 if (PyErr_Occurred()) SWIG_fail
;
36234 resultobj
= result
;
36241 static PyObject
* GBSpan_swigregister(PyObject
*self
, PyObject
*args
) {
36243 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36244 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
36246 return Py_BuildValue((char *)"");
36248 static int _wrap_DefaultSpan_set(PyObject
*_val
) {
36249 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
36254 static PyObject
*_wrap_DefaultSpan_get() {
36257 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
36262 static PyObject
*_wrap_new_GBSizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36263 PyObject
*resultobj
;
36264 wxGBSizerItem
*result
;
36265 char *kwnames
[] = {
36269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
36271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36272 result
= (wxGBSizerItem
*)new wxGBSizerItem();
36274 wxPyEndAllowThreads(__tstate
);
36275 if (PyErr_Occurred()) SWIG_fail
;
36277 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
36284 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36285 PyObject
*resultobj
;
36286 wxWindow
*arg1
= (wxWindow
*) 0 ;
36287 wxGBPosition
*arg2
= 0 ;
36288 wxGBSpan
*arg3
= 0 ;
36291 wxObject
*arg6
= (wxObject
*) 0 ;
36292 wxGBSizerItem
*result
;
36293 wxGBPosition temp2
;
36295 PyObject
* obj0
= 0 ;
36296 PyObject
* obj1
= 0 ;
36297 PyObject
* obj2
= 0 ;
36298 PyObject
* obj3
= 0 ;
36299 PyObject
* obj4
= 0 ;
36300 PyObject
* obj5
= 0 ;
36301 char *kwnames
[] = {
36302 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
36305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
36306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
36307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36310 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36314 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
36316 arg4
= (int) SWIG_AsInt(obj3
);
36317 if (PyErr_Occurred()) SWIG_fail
;
36318 arg5
= (int) SWIG_AsInt(obj4
);
36319 if (PyErr_Occurred()) SWIG_fail
;
36320 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
36321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36324 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
36326 wxPyEndAllowThreads(__tstate
);
36327 if (PyErr_Occurred()) SWIG_fail
;
36329 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
36336 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36337 PyObject
*resultobj
;
36338 wxSizer
*arg1
= (wxSizer
*) 0 ;
36339 wxGBPosition
*arg2
= 0 ;
36340 wxGBSpan
*arg3
= 0 ;
36343 wxObject
*arg6
= (wxObject
*) 0 ;
36344 wxGBSizerItem
*result
;
36345 wxGBPosition temp2
;
36347 PyObject
* obj0
= 0 ;
36348 PyObject
* obj1
= 0 ;
36349 PyObject
* obj2
= 0 ;
36350 PyObject
* obj3
= 0 ;
36351 PyObject
* obj4
= 0 ;
36352 PyObject
* obj5
= 0 ;
36353 char *kwnames
[] = {
36354 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
36357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
36358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36362 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36366 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
36368 arg4
= (int) SWIG_AsInt(obj3
);
36369 if (PyErr_Occurred()) SWIG_fail
;
36370 arg5
= (int) SWIG_AsInt(obj4
);
36371 if (PyErr_Occurred()) SWIG_fail
;
36372 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
36373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36376 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
36378 wxPyEndAllowThreads(__tstate
);
36379 if (PyErr_Occurred()) SWIG_fail
;
36381 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
36388 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36389 PyObject
*resultobj
;
36392 wxGBPosition
*arg3
= 0 ;
36393 wxGBSpan
*arg4
= 0 ;
36396 wxObject
*arg7
= (wxObject
*) 0 ;
36397 wxGBSizerItem
*result
;
36398 wxGBPosition temp3
;
36400 PyObject
* obj0
= 0 ;
36401 PyObject
* obj1
= 0 ;
36402 PyObject
* obj2
= 0 ;
36403 PyObject
* obj3
= 0 ;
36404 PyObject
* obj4
= 0 ;
36405 PyObject
* obj5
= 0 ;
36406 PyObject
* obj6
= 0 ;
36407 char *kwnames
[] = {
36408 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
36411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
36412 arg1
= (int) SWIG_AsInt(obj0
);
36413 if (PyErr_Occurred()) SWIG_fail
;
36414 arg2
= (int) SWIG_AsInt(obj1
);
36415 if (PyErr_Occurred()) SWIG_fail
;
36418 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
36422 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
36424 arg5
= (int) SWIG_AsInt(obj4
);
36425 if (PyErr_Occurred()) SWIG_fail
;
36426 arg6
= (int) SWIG_AsInt(obj5
);
36427 if (PyErr_Occurred()) SWIG_fail
;
36428 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxObject
,
36429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36432 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
36434 wxPyEndAllowThreads(__tstate
);
36435 if (PyErr_Occurred()) SWIG_fail
;
36437 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
36444 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36445 PyObject
*resultobj
;
36446 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36447 wxGBPosition result
;
36448 PyObject
* obj0
= 0 ;
36449 char *kwnames
[] = {
36450 (char *) "self", NULL
36453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
36454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36458 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
36460 wxPyEndAllowThreads(__tstate
);
36461 if (PyErr_Occurred()) SWIG_fail
;
36464 wxGBPosition
* resultptr
;
36465 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
36466 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
36474 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36475 PyObject
*resultobj
;
36476 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36478 PyObject
* obj0
= 0 ;
36479 char *kwnames
[] = {
36480 (char *) "self", NULL
36483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
36484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36488 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
36490 wxPyEndAllowThreads(__tstate
);
36491 if (PyErr_Occurred()) SWIG_fail
;
36494 wxGBSpan
* resultptr
;
36495 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
36496 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
36504 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36505 PyObject
*resultobj
;
36506 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36507 wxGBPosition
*arg2
= 0 ;
36509 wxGBPosition temp2
;
36510 PyObject
* obj0
= 0 ;
36511 PyObject
* obj1
= 0 ;
36512 char *kwnames
[] = {
36513 (char *) "self",(char *) "pos", NULL
36516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
36517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36521 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36525 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
36527 wxPyEndAllowThreads(__tstate
);
36528 if (PyErr_Occurred()) SWIG_fail
;
36530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36537 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36538 PyObject
*resultobj
;
36539 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36540 wxGBSpan
*arg2
= 0 ;
36543 PyObject
* obj0
= 0 ;
36544 PyObject
* obj1
= 0 ;
36545 char *kwnames
[] = {
36546 (char *) "self",(char *) "span", NULL
36549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
36550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36554 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
36557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36558 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
36560 wxPyEndAllowThreads(__tstate
);
36561 if (PyErr_Occurred()) SWIG_fail
;
36563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36570 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_0(PyObject
*self
, PyObject
*args
) {
36571 PyObject
*resultobj
;
36572 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36573 wxGBSizerItem
*arg2
= 0 ;
36575 PyObject
* obj0
= 0 ;
36576 PyObject
* obj1
= 0 ;
36578 if(!PyArg_ParseTuple(args
,(char *)"OO:GBSizerItem_Intersects",&obj0
,&obj1
)) goto fail
;
36579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36581 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
36582 SWIG_POINTER_EXCEPTION
| 0)) == -1)
36584 if (arg2
== NULL
) {
36585 PyErr_SetString(PyExc_TypeError
,"null reference");
36589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36590 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
36592 wxPyEndAllowThreads(__tstate
);
36593 if (PyErr_Occurred()) SWIG_fail
;
36595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36602 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_1(PyObject
*self
, PyObject
*args
) {
36603 PyObject
*resultobj
;
36604 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36605 wxGBPosition
*arg2
= 0 ;
36606 wxGBSpan
*arg3
= 0 ;
36608 wxGBPosition temp2
;
36610 PyObject
* obj0
= 0 ;
36611 PyObject
* obj1
= 0 ;
36612 PyObject
* obj2
= 0 ;
36614 if(!PyArg_ParseTuple(args
,(char *)"OOO:GBSizerItem_Intersects",&obj0
,&obj1
,&obj2
)) goto fail
;
36615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36619 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36623 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
36626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36627 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
36629 wxPyEndAllowThreads(__tstate
);
36630 if (PyErr_Occurred()) SWIG_fail
;
36632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36639 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
) {
36644 argc
= PyObject_Length(args
);
36645 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
36646 argv
[ii
] = PyTuple_GetItem(args
,ii
);
36652 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
36662 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
36670 return _wrap_GBSizerItem_Intersects__SWIG_0(self
,args
);
36678 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
36687 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
36691 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
36694 return _wrap_GBSizerItem_Intersects__SWIG_1(self
,args
);
36700 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GBSizerItem_Intersects'");
36705 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36706 PyObject
*resultobj
;
36707 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36710 PyObject
* obj0
= 0 ;
36711 PyObject
* obj1
= 0 ;
36712 PyObject
* obj2
= 0 ;
36713 char *kwnames
[] = {
36714 (char *) "self",(char *) "row",(char *) "col", NULL
36717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_GetEndPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36720 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,
36721 SWIG_POINTER_EXCEPTION
| 0)) == -1)
36723 if (arg2
== NULL
) {
36724 PyErr_SetString(PyExc_TypeError
,"null reference");
36727 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,
36728 SWIG_POINTER_EXCEPTION
| 0)) == -1)
36730 if (arg3
== NULL
) {
36731 PyErr_SetString(PyExc_TypeError
,"null reference");
36735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36736 (arg1
)->GetEndPos(*arg2
,*arg3
);
36738 wxPyEndAllowThreads(__tstate
);
36739 if (PyErr_Occurred()) SWIG_fail
;
36741 Py_INCREF(Py_None
); resultobj
= Py_None
;
36748 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36749 PyObject
*resultobj
;
36750 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36751 wxGridBagSizer
*result
;
36752 PyObject
* obj0
= 0 ;
36753 char *kwnames
[] = {
36754 (char *) "self", NULL
36757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
36758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36762 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
36764 wxPyEndAllowThreads(__tstate
);
36765 if (PyErr_Occurred()) SWIG_fail
;
36767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
36774 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36775 PyObject
*resultobj
;
36776 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36777 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
36778 PyObject
* obj0
= 0 ;
36779 PyObject
* obj1
= 0 ;
36780 char *kwnames
[] = {
36781 (char *) "self",(char *) "sizer", NULL
36784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
36785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36787 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
36788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36791 (arg1
)->SetGBSizer(arg2
);
36793 wxPyEndAllowThreads(__tstate
);
36794 if (PyErr_Occurred()) SWIG_fail
;
36796 Py_INCREF(Py_None
); resultobj
= Py_None
;
36803 static PyObject
* GBSizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
36805 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36806 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
36808 return Py_BuildValue((char *)"");
36810 static PyObject
*_wrap_new_GridBagSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36811 PyObject
*resultobj
;
36812 int arg1
= (int) 0 ;
36813 int arg2
= (int) 0 ;
36814 wxGridBagSizer
*result
;
36815 PyObject
* obj0
= 0 ;
36816 PyObject
* obj1
= 0 ;
36817 char *kwnames
[] = {
36818 (char *) "vgap",(char *) "hgap", NULL
36821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
36823 arg1
= (int) SWIG_AsInt(obj0
);
36824 if (PyErr_Occurred()) SWIG_fail
;
36827 arg2
= (int) SWIG_AsInt(obj1
);
36828 if (PyErr_Occurred()) SWIG_fail
;
36831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36832 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
36834 wxPyEndAllowThreads(__tstate
);
36835 if (PyErr_Occurred()) SWIG_fail
;
36837 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
36844 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36845 PyObject
*resultobj
;
36846 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36847 PyObject
*arg2
= (PyObject
*) 0 ;
36848 wxGBPosition
*arg3
= 0 ;
36849 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
36850 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
36851 int arg5
= (int) 0 ;
36852 int arg6
= (int) 0 ;
36853 PyObject
*arg7
= (PyObject
*) NULL
;
36855 wxGBPosition temp3
;
36857 PyObject
* obj0
= 0 ;
36858 PyObject
* obj1
= 0 ;
36859 PyObject
* obj2
= 0 ;
36860 PyObject
* obj3
= 0 ;
36861 PyObject
* obj4
= 0 ;
36862 PyObject
* obj5
= 0 ;
36863 PyObject
* obj6
= 0 ;
36864 char *kwnames
[] = {
36865 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
36868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
36869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36874 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
36879 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
36883 arg5
= (int) SWIG_AsInt(obj4
);
36884 if (PyErr_Occurred()) SWIG_fail
;
36887 arg6
= (int) SWIG_AsInt(obj5
);
36888 if (PyErr_Occurred()) SWIG_fail
;
36894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36895 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
36897 wxPyEndAllowThreads(__tstate
);
36898 if (PyErr_Occurred()) SWIG_fail
;
36900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36907 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36908 PyObject
*resultobj
;
36909 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36910 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
36912 PyObject
* obj0
= 0 ;
36913 PyObject
* obj1
= 0 ;
36914 char *kwnames
[] = {
36915 (char *) "self",(char *) "item", NULL
36918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
36919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36921 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
36922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36925 result
= (bool)(arg1
)->Add(arg2
);
36927 wxPyEndAllowThreads(__tstate
);
36928 if (PyErr_Occurred()) SWIG_fail
;
36930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36937 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36938 PyObject
*resultobj
;
36939 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36941 PyObject
* obj0
= 0 ;
36942 char *kwnames
[] = {
36943 (char *) "self", NULL
36946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
36947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36951 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
36953 wxPyEndAllowThreads(__tstate
);
36954 if (PyErr_Occurred()) SWIG_fail
;
36957 wxSize
* resultptr
;
36958 resultptr
= new wxSize((wxSize
&) result
);
36959 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36967 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36968 PyObject
*resultobj
;
36969 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36972 PyObject
* obj0
= 0 ;
36973 PyObject
* obj1
= 0 ;
36974 char *kwnames
[] = {
36975 (char *) "self",(char *) "sz", NULL
36978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
36979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36983 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
36986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36987 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
36989 wxPyEndAllowThreads(__tstate
);
36990 if (PyErr_Occurred()) SWIG_fail
;
36992 Py_INCREF(Py_None
); resultobj
= Py_None
;
36999 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
37000 PyObject
*resultobj
;
37001 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37002 wxWindow
*arg2
= (wxWindow
*) 0 ;
37003 wxGBPosition result
;
37004 PyObject
* obj0
= 0 ;
37005 PyObject
* obj1
= 0 ;
37007 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
37008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37010 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37014 result
= (arg1
)->GetItemPosition(arg2
);
37016 wxPyEndAllowThreads(__tstate
);
37017 if (PyErr_Occurred()) SWIG_fail
;
37020 wxGBPosition
* resultptr
;
37021 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37022 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37030 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
37031 PyObject
*resultobj
;
37032 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37033 wxSizer
*arg2
= (wxSizer
*) 0 ;
37034 wxGBPosition result
;
37035 PyObject
* obj0
= 0 ;
37036 PyObject
* obj1
= 0 ;
37038 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
37039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37041 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
37042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37045 result
= (arg1
)->GetItemPosition(arg2
);
37047 wxPyEndAllowThreads(__tstate
);
37048 if (PyErr_Occurred()) SWIG_fail
;
37051 wxGBPosition
* resultptr
;
37052 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37053 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37061 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
37062 PyObject
*resultobj
;
37063 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37065 wxGBPosition result
;
37066 PyObject
* obj0
= 0 ;
37067 PyObject
* obj1
= 0 ;
37069 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
37070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37072 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
37073 if (PyErr_Occurred()) SWIG_fail
;
37075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37076 result
= (arg1
)->GetItemPosition(arg2
);
37078 wxPyEndAllowThreads(__tstate
);
37079 if (PyErr_Occurred()) SWIG_fail
;
37082 wxGBPosition
* resultptr
;
37083 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37084 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37092 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
37097 argc
= PyObject_Length(args
);
37098 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
37099 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37105 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37115 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37123 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
37131 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37141 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
37149 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
37157 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37165 _v
= SWIG_CheckUnsignedLong(argv
[1]);
37167 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
37172 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
37177 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
37178 PyObject
*resultobj
;
37179 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37180 wxWindow
*arg2
= (wxWindow
*) 0 ;
37181 wxGBPosition
*arg3
= 0 ;
37183 wxGBPosition temp3
;
37184 PyObject
* obj0
= 0 ;
37185 PyObject
* obj1
= 0 ;
37186 PyObject
* obj2
= 0 ;
37188 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
37189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37191 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37195 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37199 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
37201 wxPyEndAllowThreads(__tstate
);
37202 if (PyErr_Occurred()) SWIG_fail
;
37204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37211 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
37212 PyObject
*resultobj
;
37213 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37214 wxSizer
*arg2
= (wxSizer
*) 0 ;
37215 wxGBPosition
*arg3
= 0 ;
37217 wxGBPosition temp3
;
37218 PyObject
* obj0
= 0 ;
37219 PyObject
* obj1
= 0 ;
37220 PyObject
* obj2
= 0 ;
37222 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
37223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37225 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
37226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37229 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37233 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
37235 wxPyEndAllowThreads(__tstate
);
37236 if (PyErr_Occurred()) SWIG_fail
;
37238 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37245 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
37246 PyObject
*resultobj
;
37247 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37249 wxGBPosition
*arg3
= 0 ;
37251 wxGBPosition temp3
;
37252 PyObject
* obj0
= 0 ;
37253 PyObject
* obj1
= 0 ;
37254 PyObject
* obj2
= 0 ;
37256 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
37257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37259 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
37260 if (PyErr_Occurred()) SWIG_fail
;
37263 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37267 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
37269 wxPyEndAllowThreads(__tstate
);
37270 if (PyErr_Occurred()) SWIG_fail
;
37272 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37279 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
37284 argc
= PyObject_Length(args
);
37285 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
37286 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37292 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37302 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37311 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
37314 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
37323 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37333 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
37342 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
37345 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
37354 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37362 _v
= SWIG_CheckUnsignedLong(argv
[1]);
37365 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
37368 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
37374 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
37379 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
37380 PyObject
*resultobj
;
37381 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37382 wxWindow
*arg2
= (wxWindow
*) 0 ;
37384 PyObject
* obj0
= 0 ;
37385 PyObject
* obj1
= 0 ;
37387 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
37388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37390 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37394 result
= (arg1
)->GetItemSpan(arg2
);
37396 wxPyEndAllowThreads(__tstate
);
37397 if (PyErr_Occurred()) SWIG_fail
;
37400 wxGBSpan
* resultptr
;
37401 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37402 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
37410 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
37411 PyObject
*resultobj
;
37412 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37413 wxSizer
*arg2
= (wxSizer
*) 0 ;
37415 PyObject
* obj0
= 0 ;
37416 PyObject
* obj1
= 0 ;
37418 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
37419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37421 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
37422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37425 result
= (arg1
)->GetItemSpan(arg2
);
37427 wxPyEndAllowThreads(__tstate
);
37428 if (PyErr_Occurred()) SWIG_fail
;
37431 wxGBSpan
* resultptr
;
37432 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37433 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
37441 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
37442 PyObject
*resultobj
;
37443 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37446 PyObject
* obj0
= 0 ;
37447 PyObject
* obj1
= 0 ;
37449 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
37450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37452 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
37453 if (PyErr_Occurred()) SWIG_fail
;
37455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37456 result
= (arg1
)->GetItemSpan(arg2
);
37458 wxPyEndAllowThreads(__tstate
);
37459 if (PyErr_Occurred()) SWIG_fail
;
37462 wxGBSpan
* resultptr
;
37463 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37464 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
37472 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
37477 argc
= PyObject_Length(args
);
37478 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
37479 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37485 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37495 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37503 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
37511 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37521 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
37529 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
37537 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37545 _v
= SWIG_CheckUnsignedLong(argv
[1]);
37547 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
37552 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
37557 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
37558 PyObject
*resultobj
;
37559 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37560 wxWindow
*arg2
= (wxWindow
*) 0 ;
37561 wxGBSpan
*arg3
= 0 ;
37564 PyObject
* obj0
= 0 ;
37565 PyObject
* obj1
= 0 ;
37566 PyObject
* obj2
= 0 ;
37568 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
37569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37571 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37575 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37579 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
37581 wxPyEndAllowThreads(__tstate
);
37582 if (PyErr_Occurred()) SWIG_fail
;
37584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37591 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
37592 PyObject
*resultobj
;
37593 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37594 wxSizer
*arg2
= (wxSizer
*) 0 ;
37595 wxGBSpan
*arg3
= 0 ;
37598 PyObject
* obj0
= 0 ;
37599 PyObject
* obj1
= 0 ;
37600 PyObject
* obj2
= 0 ;
37602 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
37603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37605 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
37606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37609 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37613 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
37615 wxPyEndAllowThreads(__tstate
);
37616 if (PyErr_Occurred()) SWIG_fail
;
37618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37625 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
37626 PyObject
*resultobj
;
37627 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37629 wxGBSpan
*arg3
= 0 ;
37632 PyObject
* obj0
= 0 ;
37633 PyObject
* obj1
= 0 ;
37634 PyObject
* obj2
= 0 ;
37636 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
37637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37639 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
37640 if (PyErr_Occurred()) SWIG_fail
;
37643 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37647 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
37649 wxPyEndAllowThreads(__tstate
);
37650 if (PyErr_Occurred()) SWIG_fail
;
37652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37659 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
37664 argc
= PyObject_Length(args
);
37665 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
37666 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37672 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37682 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37691 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
37694 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
37703 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37713 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
37722 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
37725 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
37734 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37742 _v
= SWIG_CheckUnsignedLong(argv
[1]);
37745 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
37748 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
37754 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
37759 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*self
, PyObject
*args
) {
37760 PyObject
*resultobj
;
37761 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37762 wxWindow
*arg2
= (wxWindow
*) 0 ;
37763 wxGBSizerItem
*result
;
37764 PyObject
* obj0
= 0 ;
37765 PyObject
* obj1
= 0 ;
37767 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
37768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37770 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37774 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
37776 wxPyEndAllowThreads(__tstate
);
37777 if (PyErr_Occurred()) SWIG_fail
;
37779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
37786 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*self
, PyObject
*args
) {
37787 PyObject
*resultobj
;
37788 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37789 wxSizer
*arg2
= (wxSizer
*) 0 ;
37790 wxGBSizerItem
*result
;
37791 PyObject
* obj0
= 0 ;
37792 PyObject
* obj1
= 0 ;
37794 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
37795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37797 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
37798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37801 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
37803 wxPyEndAllowThreads(__tstate
);
37804 if (PyErr_Occurred()) SWIG_fail
;
37806 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
37813 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
37818 argc
= PyObject_Length(args
);
37819 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
37820 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37826 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37836 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37844 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
37852 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37862 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
37870 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
37875 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
37880 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37881 PyObject
*resultobj
;
37882 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37883 wxGBPosition
*arg2
= 0 ;
37884 wxGBSizerItem
*result
;
37885 wxGBPosition temp2
;
37886 PyObject
* obj0
= 0 ;
37887 PyObject
* obj1
= 0 ;
37888 char *kwnames
[] = {
37889 (char *) "self",(char *) "pos", NULL
37892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
37893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37897 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37901 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
37903 wxPyEndAllowThreads(__tstate
);
37904 if (PyErr_Occurred()) SWIG_fail
;
37906 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
37913 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37914 PyObject
*resultobj
;
37915 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37916 wxPoint
*arg2
= 0 ;
37917 wxGBSizerItem
*result
;
37919 PyObject
* obj0
= 0 ;
37920 PyObject
* obj1
= 0 ;
37921 char *kwnames
[] = {
37922 (char *) "self",(char *) "pt", NULL
37925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
37926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37930 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37934 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
37936 wxPyEndAllowThreads(__tstate
);
37937 if (PyErr_Occurred()) SWIG_fail
;
37939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
37946 static PyObject
*_wrap_GridBagSizer_FindItemWithData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37947 PyObject
*resultobj
;
37948 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37949 wxObject
*arg2
= (wxObject
*) 0 ;
37950 wxGBSizerItem
*result
;
37951 PyObject
* obj0
= 0 ;
37952 PyObject
* obj1
= 0 ;
37953 char *kwnames
[] = {
37954 (char *) "self",(char *) "userData", NULL
37957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemWithData",kwnames
,&obj0
,&obj1
)) goto fail
;
37958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37960 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
37961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37964 result
= (wxGBSizerItem
*)(arg1
)->FindItemWithData((wxObject
const *)arg2
);
37966 wxPyEndAllowThreads(__tstate
);
37967 if (PyErr_Occurred()) SWIG_fail
;
37969 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
37976 static PyObject
*_wrap_GridBagSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37977 PyObject
*resultobj
;
37978 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37979 PyObject
* obj0
= 0 ;
37980 char *kwnames
[] = {
37981 (char *) "self", NULL
37984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
37985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37989 (arg1
)->RecalcSizes();
37991 wxPyEndAllowThreads(__tstate
);
37992 if (PyErr_Occurred()) SWIG_fail
;
37994 Py_INCREF(Py_None
); resultobj
= Py_None
;
38001 static PyObject
*_wrap_GridBagSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38002 PyObject
*resultobj
;
38003 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38005 PyObject
* obj0
= 0 ;
38006 char *kwnames
[] = {
38007 (char *) "self", NULL
38010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
38011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38015 result
= (arg1
)->CalcMin();
38017 wxPyEndAllowThreads(__tstate
);
38018 if (PyErr_Occurred()) SWIG_fail
;
38021 wxSize
* resultptr
;
38022 resultptr
= new wxSize((wxSize
&) result
);
38023 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38031 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject
*self
, PyObject
*args
) {
38032 PyObject
*resultobj
;
38033 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38034 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
38035 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
38037 PyObject
* obj0
= 0 ;
38038 PyObject
* obj1
= 0 ;
38039 PyObject
* obj2
= 0 ;
38041 if(!PyArg_ParseTuple(args
,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
)) goto fail
;
38042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38044 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38047 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
38048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38052 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
38054 wxPyEndAllowThreads(__tstate
);
38055 if (PyErr_Occurred()) SWIG_fail
;
38057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38064 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject
*self
, PyObject
*args
) {
38065 PyObject
*resultobj
;
38066 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38067 wxGBPosition
*arg2
= 0 ;
38068 wxGBSpan
*arg3
= 0 ;
38069 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
38071 wxGBPosition temp2
;
38073 PyObject
* obj0
= 0 ;
38074 PyObject
* obj1
= 0 ;
38075 PyObject
* obj2
= 0 ;
38076 PyObject
* obj3
= 0 ;
38078 if(!PyArg_ParseTuple(args
,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38083 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38087 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38090 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
38091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38095 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
38097 wxPyEndAllowThreads(__tstate
);
38098 if (PyErr_Occurred()) SWIG_fail
;
38100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38107 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
) {
38112 argc
= PyObject_Length(args
);
38113 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
38114 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38116 if ((argc
>= 2) && (argc
<= 3)) {
38120 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38130 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
38139 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
38143 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
38151 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
38156 if ((argc
>= 3) && (argc
<= 4)) {
38160 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38169 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
38173 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38177 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
38181 if (SWIG_ConvertPtr(argv
[3], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
38189 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
38196 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
38201 static PyObject
* GridBagSizer_swigregister(PyObject
*self
, PyObject
*args
) {
38203 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38204 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
38206 return Py_BuildValue((char *)"");
38208 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38209 PyObject
*resultobj
;
38210 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38212 wxWindow
*arg3
= (wxWindow
*) 0 ;
38214 int arg5
= (int) 0 ;
38215 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
38216 PyObject
* obj0
= 0 ;
38217 PyObject
* obj1
= 0 ;
38218 PyObject
* obj2
= 0 ;
38219 PyObject
* obj3
= 0 ;
38220 PyObject
* obj4
= 0 ;
38221 PyObject
* obj5
= 0 ;
38222 char *kwnames
[] = {
38223 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
38226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38229 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
38230 if (PyErr_Occurred()) SWIG_fail
;
38231 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
38232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38233 arg4
= (wxEdge
) SWIG_AsInt(obj3
);
38234 if (PyErr_Occurred()) SWIG_fail
;
38236 arg5
= (int) SWIG_AsInt(obj4
);
38237 if (PyErr_Occurred()) SWIG_fail
;
38240 arg6
= (int) SWIG_AsInt(obj5
);
38241 if (PyErr_Occurred()) SWIG_fail
;
38244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38245 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
38247 wxPyEndAllowThreads(__tstate
);
38248 if (PyErr_Occurred()) SWIG_fail
;
38250 Py_INCREF(Py_None
); resultobj
= Py_None
;
38257 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38258 PyObject
*resultobj
;
38259 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38260 wxWindow
*arg2
= (wxWindow
*) 0 ;
38261 int arg3
= (int) 0 ;
38262 PyObject
* obj0
= 0 ;
38263 PyObject
* obj1
= 0 ;
38264 PyObject
* obj2
= 0 ;
38265 char *kwnames
[] = {
38266 (char *) "self",(char *) "sibling",(char *) "marg", NULL
38269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38272 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38275 arg3
= (int) SWIG_AsInt(obj2
);
38276 if (PyErr_Occurred()) SWIG_fail
;
38279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38280 (arg1
)->LeftOf(arg2
,arg3
);
38282 wxPyEndAllowThreads(__tstate
);
38283 if (PyErr_Occurred()) SWIG_fail
;
38285 Py_INCREF(Py_None
); resultobj
= Py_None
;
38292 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38293 PyObject
*resultobj
;
38294 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38295 wxWindow
*arg2
= (wxWindow
*) 0 ;
38296 int arg3
= (int) 0 ;
38297 PyObject
* obj0
= 0 ;
38298 PyObject
* obj1
= 0 ;
38299 PyObject
* obj2
= 0 ;
38300 char *kwnames
[] = {
38301 (char *) "self",(char *) "sibling",(char *) "marg", NULL
38304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38307 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38310 arg3
= (int) SWIG_AsInt(obj2
);
38311 if (PyErr_Occurred()) SWIG_fail
;
38314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38315 (arg1
)->RightOf(arg2
,arg3
);
38317 wxPyEndAllowThreads(__tstate
);
38318 if (PyErr_Occurred()) SWIG_fail
;
38320 Py_INCREF(Py_None
); resultobj
= Py_None
;
38327 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38328 PyObject
*resultobj
;
38329 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38330 wxWindow
*arg2
= (wxWindow
*) 0 ;
38331 int arg3
= (int) 0 ;
38332 PyObject
* obj0
= 0 ;
38333 PyObject
* obj1
= 0 ;
38334 PyObject
* obj2
= 0 ;
38335 char *kwnames
[] = {
38336 (char *) "self",(char *) "sibling",(char *) "marg", NULL
38339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38342 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38345 arg3
= (int) SWIG_AsInt(obj2
);
38346 if (PyErr_Occurred()) SWIG_fail
;
38349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38350 (arg1
)->Above(arg2
,arg3
);
38352 wxPyEndAllowThreads(__tstate
);
38353 if (PyErr_Occurred()) SWIG_fail
;
38355 Py_INCREF(Py_None
); resultobj
= Py_None
;
38362 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38363 PyObject
*resultobj
;
38364 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38365 wxWindow
*arg2
= (wxWindow
*) 0 ;
38366 int arg3
= (int) 0 ;
38367 PyObject
* obj0
= 0 ;
38368 PyObject
* obj1
= 0 ;
38369 PyObject
* obj2
= 0 ;
38370 char *kwnames
[] = {
38371 (char *) "self",(char *) "sibling",(char *) "marg", NULL
38374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38377 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38380 arg3
= (int) SWIG_AsInt(obj2
);
38381 if (PyErr_Occurred()) SWIG_fail
;
38384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38385 (arg1
)->Below(arg2
,arg3
);
38387 wxPyEndAllowThreads(__tstate
);
38388 if (PyErr_Occurred()) SWIG_fail
;
38390 Py_INCREF(Py_None
); resultobj
= Py_None
;
38397 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38398 PyObject
*resultobj
;
38399 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38400 wxWindow
*arg2
= (wxWindow
*) 0 ;
38402 int arg4
= (int) 0 ;
38403 PyObject
* obj0
= 0 ;
38404 PyObject
* obj1
= 0 ;
38405 PyObject
* obj2
= 0 ;
38406 PyObject
* obj3
= 0 ;
38407 char *kwnames
[] = {
38408 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
38411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38414 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38416 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
38417 if (PyErr_Occurred()) SWIG_fail
;
38419 arg4
= (int) SWIG_AsInt(obj3
);
38420 if (PyErr_Occurred()) SWIG_fail
;
38423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38424 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
38426 wxPyEndAllowThreads(__tstate
);
38427 if (PyErr_Occurred()) SWIG_fail
;
38429 Py_INCREF(Py_None
); resultobj
= Py_None
;
38436 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38437 PyObject
*resultobj
;
38438 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38439 wxWindow
*arg2
= (wxWindow
*) 0 ;
38442 PyObject
* obj0
= 0 ;
38443 PyObject
* obj1
= 0 ;
38444 PyObject
* obj2
= 0 ;
38445 PyObject
* obj3
= 0 ;
38446 char *kwnames
[] = {
38447 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
38450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38453 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38455 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
38456 if (PyErr_Occurred()) SWIG_fail
;
38457 arg4
= (int) SWIG_AsInt(obj3
);
38458 if (PyErr_Occurred()) SWIG_fail
;
38460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38461 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
38463 wxPyEndAllowThreads(__tstate
);
38464 if (PyErr_Occurred()) SWIG_fail
;
38466 Py_INCREF(Py_None
); resultobj
= Py_None
;
38473 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38474 PyObject
*resultobj
;
38475 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38477 PyObject
* obj0
= 0 ;
38478 PyObject
* obj1
= 0 ;
38479 char *kwnames
[] = {
38480 (char *) "self",(char *) "val", NULL
38483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
38484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38486 arg2
= (int) SWIG_AsInt(obj1
);
38487 if (PyErr_Occurred()) SWIG_fail
;
38489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38490 (arg1
)->Absolute(arg2
);
38492 wxPyEndAllowThreads(__tstate
);
38493 if (PyErr_Occurred()) SWIG_fail
;
38495 Py_INCREF(Py_None
); resultobj
= Py_None
;
38502 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38503 PyObject
*resultobj
;
38504 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38505 PyObject
* obj0
= 0 ;
38506 char *kwnames
[] = {
38507 (char *) "self", NULL
38510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
38511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38515 (arg1
)->Unconstrained();
38517 wxPyEndAllowThreads(__tstate
);
38518 if (PyErr_Occurred()) SWIG_fail
;
38520 Py_INCREF(Py_None
); resultobj
= Py_None
;
38527 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38528 PyObject
*resultobj
;
38529 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38530 PyObject
* obj0
= 0 ;
38531 char *kwnames
[] = {
38532 (char *) "self", NULL
38535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",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();
38542 wxPyEndAllowThreads(__tstate
);
38543 if (PyErr_Occurred()) SWIG_fail
;
38545 Py_INCREF(Py_None
); resultobj
= Py_None
;
38552 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38553 PyObject
*resultobj
;
38554 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38556 PyObject
* obj0
= 0 ;
38557 char *kwnames
[] = {
38558 (char *) "self", NULL
38561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
38562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38566 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
38568 wxPyEndAllowThreads(__tstate
);
38569 if (PyErr_Occurred()) SWIG_fail
;
38572 resultobj
= wxPyMake_wxObject(result
);
38580 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38581 PyObject
*resultobj
;
38582 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38584 PyObject
* obj0
= 0 ;
38585 char *kwnames
[] = {
38586 (char *) "self", NULL
38589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
38590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38594 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
38596 wxPyEndAllowThreads(__tstate
);
38597 if (PyErr_Occurred()) SWIG_fail
;
38599 resultobj
= SWIG_FromInt((int)result
);
38606 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38607 PyObject
*resultobj
;
38608 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38610 PyObject
* obj0
= 0 ;
38611 PyObject
* obj1
= 0 ;
38612 char *kwnames
[] = {
38613 (char *) "self",(char *) "which", NULL
38616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
38617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38619 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
38620 if (PyErr_Occurred()) SWIG_fail
;
38622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38623 (arg1
)->SetEdge((wxEdge
)arg2
);
38625 wxPyEndAllowThreads(__tstate
);
38626 if (PyErr_Occurred()) SWIG_fail
;
38628 Py_INCREF(Py_None
); resultobj
= Py_None
;
38635 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38636 PyObject
*resultobj
;
38637 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38639 PyObject
* obj0
= 0 ;
38640 PyObject
* obj1
= 0 ;
38641 char *kwnames
[] = {
38642 (char *) "self",(char *) "v", NULL
38645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
38646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38648 arg2
= (int) SWIG_AsInt(obj1
);
38649 if (PyErr_Occurred()) SWIG_fail
;
38651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38652 (arg1
)->SetValue(arg2
);
38654 wxPyEndAllowThreads(__tstate
);
38655 if (PyErr_Occurred()) SWIG_fail
;
38657 Py_INCREF(Py_None
); resultobj
= Py_None
;
38664 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38665 PyObject
*resultobj
;
38666 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38668 PyObject
* obj0
= 0 ;
38669 char *kwnames
[] = {
38670 (char *) "self", NULL
38673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
38674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38678 result
= (int)(arg1
)->GetMargin();
38680 wxPyEndAllowThreads(__tstate
);
38681 if (PyErr_Occurred()) SWIG_fail
;
38683 resultobj
= SWIG_FromInt((int)result
);
38690 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38691 PyObject
*resultobj
;
38692 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38694 PyObject
* obj0
= 0 ;
38695 PyObject
* obj1
= 0 ;
38696 char *kwnames
[] = {
38697 (char *) "self",(char *) "m", NULL
38700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
38701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38703 arg2
= (int) SWIG_AsInt(obj1
);
38704 if (PyErr_Occurred()) SWIG_fail
;
38706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38707 (arg1
)->SetMargin(arg2
);
38709 wxPyEndAllowThreads(__tstate
);
38710 if (PyErr_Occurred()) SWIG_fail
;
38712 Py_INCREF(Py_None
); resultobj
= Py_None
;
38719 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38720 PyObject
*resultobj
;
38721 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38723 PyObject
* obj0
= 0 ;
38724 char *kwnames
[] = {
38725 (char *) "self", NULL
38728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
38729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38733 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
38735 wxPyEndAllowThreads(__tstate
);
38736 if (PyErr_Occurred()) SWIG_fail
;
38738 resultobj
= SWIG_FromInt((int)result
);
38745 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38746 PyObject
*resultobj
;
38747 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38749 PyObject
* obj0
= 0 ;
38750 char *kwnames
[] = {
38751 (char *) "self", NULL
38754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
38755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38759 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
38761 wxPyEndAllowThreads(__tstate
);
38762 if (PyErr_Occurred()) SWIG_fail
;
38764 resultobj
= SWIG_FromInt((int)result
);
38771 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38772 PyObject
*resultobj
;
38773 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38775 PyObject
* obj0
= 0 ;
38776 char *kwnames
[] = {
38777 (char *) "self", NULL
38780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
38781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38785 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
38787 wxPyEndAllowThreads(__tstate
);
38788 if (PyErr_Occurred()) SWIG_fail
;
38790 resultobj
= SWIG_FromInt((int)result
);
38797 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38798 PyObject
*resultobj
;
38799 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38801 PyObject
* obj0
= 0 ;
38802 char *kwnames
[] = {
38803 (char *) "self", NULL
38806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
38807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38811 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
38813 wxPyEndAllowThreads(__tstate
);
38814 if (PyErr_Occurred()) SWIG_fail
;
38816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38823 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38824 PyObject
*resultobj
;
38825 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38827 PyObject
* obj0
= 0 ;
38828 PyObject
* obj1
= 0 ;
38829 char *kwnames
[] = {
38830 (char *) "self",(char *) "d", NULL
38833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
38834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38836 arg2
= (bool) SWIG_AsBool(obj1
);
38837 if (PyErr_Occurred()) SWIG_fail
;
38839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38840 (arg1
)->SetDone(arg2
);
38842 wxPyEndAllowThreads(__tstate
);
38843 if (PyErr_Occurred()) SWIG_fail
;
38845 Py_INCREF(Py_None
); resultobj
= Py_None
;
38852 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38853 PyObject
*resultobj
;
38854 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38856 PyObject
* obj0
= 0 ;
38857 char *kwnames
[] = {
38858 (char *) "self", NULL
38861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
38862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38866 result
= (int)(arg1
)->GetRelationship();
38868 wxPyEndAllowThreads(__tstate
);
38869 if (PyErr_Occurred()) SWIG_fail
;
38871 resultobj
= SWIG_FromInt((int)result
);
38878 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38879 PyObject
*resultobj
;
38880 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38882 PyObject
* obj0
= 0 ;
38883 PyObject
* obj1
= 0 ;
38884 char *kwnames
[] = {
38885 (char *) "self",(char *) "r", NULL
38888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
38889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38891 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
38892 if (PyErr_Occurred()) SWIG_fail
;
38894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38895 (arg1
)->SetRelationship((wxRelationship
)arg2
);
38897 wxPyEndAllowThreads(__tstate
);
38898 if (PyErr_Occurred()) SWIG_fail
;
38900 Py_INCREF(Py_None
); resultobj
= Py_None
;
38907 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38908 PyObject
*resultobj
;
38909 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38910 wxWindow
*arg2
= (wxWindow
*) 0 ;
38912 PyObject
* obj0
= 0 ;
38913 PyObject
* obj1
= 0 ;
38914 char *kwnames
[] = {
38915 (char *) "self",(char *) "otherW", NULL
38918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
38919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38921 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38925 result
= (bool)(arg1
)->ResetIfWin(arg2
);
38927 wxPyEndAllowThreads(__tstate
);
38928 if (PyErr_Occurred()) SWIG_fail
;
38930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38937 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38938 PyObject
*resultobj
;
38939 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38940 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
38941 wxWindow
*arg3
= (wxWindow
*) 0 ;
38943 PyObject
* obj0
= 0 ;
38944 PyObject
* obj1
= 0 ;
38945 PyObject
* obj2
= 0 ;
38946 char *kwnames
[] = {
38947 (char *) "self",(char *) "constraints",(char *) "win", NULL
38950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38953 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
38954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38955 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
38956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38959 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
38961 wxPyEndAllowThreads(__tstate
);
38962 if (PyErr_Occurred()) SWIG_fail
;
38964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38971 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38972 PyObject
*resultobj
;
38973 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38975 wxWindow
*arg3
= (wxWindow
*) 0 ;
38976 wxWindow
*arg4
= (wxWindow
*) 0 ;
38978 PyObject
* obj0
= 0 ;
38979 PyObject
* obj1
= 0 ;
38980 PyObject
* obj2
= 0 ;
38981 PyObject
* obj3
= 0 ;
38982 char *kwnames
[] = {
38983 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
38986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38989 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
38990 if (PyErr_Occurred()) SWIG_fail
;
38991 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
38992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38993 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
38994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38997 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
38999 wxPyEndAllowThreads(__tstate
);
39000 if (PyErr_Occurred()) SWIG_fail
;
39002 resultobj
= SWIG_FromInt((int)result
);
39009 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
39011 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39012 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
39014 return Py_BuildValue((char *)"");
39016 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39017 PyObject
*resultobj
;
39018 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39019 wxIndividualLayoutConstraint
*result
;
39020 PyObject
* obj0
= 0 ;
39021 char *kwnames
[] = {
39022 (char *) "self", NULL
39025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
39026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39028 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
39030 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39037 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39038 PyObject
*resultobj
;
39039 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39040 wxIndividualLayoutConstraint
*result
;
39041 PyObject
* obj0
= 0 ;
39042 char *kwnames
[] = {
39043 (char *) "self", NULL
39046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
39047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39049 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
39051 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39058 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39059 PyObject
*resultobj
;
39060 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39061 wxIndividualLayoutConstraint
*result
;
39062 PyObject
* obj0
= 0 ;
39063 char *kwnames
[] = {
39064 (char *) "self", NULL
39067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
39068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39070 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
39072 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39079 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39080 PyObject
*resultobj
;
39081 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39082 wxIndividualLayoutConstraint
*result
;
39083 PyObject
* obj0
= 0 ;
39084 char *kwnames
[] = {
39085 (char *) "self", NULL
39088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
39089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39091 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
39093 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39100 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39101 PyObject
*resultobj
;
39102 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39103 wxIndividualLayoutConstraint
*result
;
39104 PyObject
* obj0
= 0 ;
39105 char *kwnames
[] = {
39106 (char *) "self", NULL
39109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
39110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39112 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
39114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39121 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39122 PyObject
*resultobj
;
39123 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39124 wxIndividualLayoutConstraint
*result
;
39125 PyObject
* obj0
= 0 ;
39126 char *kwnames
[] = {
39127 (char *) "self", NULL
39130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
39131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39133 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
39135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39142 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39143 PyObject
*resultobj
;
39144 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39145 wxIndividualLayoutConstraint
*result
;
39146 PyObject
* obj0
= 0 ;
39147 char *kwnames
[] = {
39148 (char *) "self", NULL
39151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
39152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39154 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
39156 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39163 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39164 PyObject
*resultobj
;
39165 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39166 wxIndividualLayoutConstraint
*result
;
39167 PyObject
* obj0
= 0 ;
39168 char *kwnames
[] = {
39169 (char *) "self", NULL
39172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
39173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39175 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
39177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39184 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39185 PyObject
*resultobj
;
39186 wxLayoutConstraints
*result
;
39187 char *kwnames
[] = {
39191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
39193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39194 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
39196 wxPyEndAllowThreads(__tstate
);
39197 if (PyErr_Occurred()) SWIG_fail
;
39199 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
39206 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39207 PyObject
*resultobj
;
39208 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39209 wxWindow
*arg2
= (wxWindow
*) 0 ;
39210 int *arg3
= (int *) 0 ;
39213 PyObject
* obj0
= 0 ;
39214 PyObject
* obj1
= 0 ;
39215 char *kwnames
[] = {
39216 (char *) "self",(char *) "win", NULL
39220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
39221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39223 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39227 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
39229 wxPyEndAllowThreads(__tstate
);
39230 if (PyErr_Occurred()) SWIG_fail
;
39232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39234 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
39235 resultobj
= t_output_helper(resultobj
,o
);
39243 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39244 PyObject
*resultobj
;
39245 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39247 PyObject
* obj0
= 0 ;
39248 char *kwnames
[] = {
39249 (char *) "self", NULL
39252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
39253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39257 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
39259 wxPyEndAllowThreads(__tstate
);
39260 if (PyErr_Occurred()) SWIG_fail
;
39262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39269 static PyObject
* LayoutConstraints_swigregister(PyObject
*self
, PyObject
*args
) {
39271 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39272 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
39274 return Py_BuildValue((char *)"");
39276 static PyMethodDef SwigMethods
[] = {
39277 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
},
39278 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
},
39279 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
39280 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
39281 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
},
39282 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
},
39283 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
},
39284 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
},
39285 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
},
39286 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
},
39287 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
},
39288 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
},
39289 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
},
39290 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
},
39291 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
},
39292 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
39293 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
39294 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
},
39295 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
39296 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
39297 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
39298 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
39299 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
},
39300 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
},
39301 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
39302 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
39303 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
39304 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
39305 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
39306 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
39307 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
39308 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
39309 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
39310 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
39311 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
39312 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
},
39313 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
},
39314 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
},
39315 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
},
39316 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
},
39317 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
},
39318 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
},
39319 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
},
39320 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
},
39321 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
},
39322 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
},
39323 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
},
39324 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
39325 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
},
39326 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
},
39327 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
},
39328 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
39329 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
},
39330 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
},
39331 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
},
39332 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
},
39333 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
39334 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
39335 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
39336 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
39337 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
39338 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
39339 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
39340 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
39341 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39342 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39343 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
39344 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
39345 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
39346 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
39347 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
39348 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
39349 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
39350 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
39351 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
39352 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
39353 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
39354 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
39355 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
39356 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
39357 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
39358 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
39359 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
39360 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
39361 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
39362 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
},
39363 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
39364 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
39365 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
39366 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
39367 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
39368 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
39369 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
39370 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
39371 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
39372 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
39373 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
39374 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
39375 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
39376 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
39377 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
},
39378 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
},
39379 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
39380 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
39381 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
},
39382 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
},
39383 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
39384 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
39385 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
39386 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
39387 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
39388 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
39389 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
39390 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
39391 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
39392 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
39393 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
39394 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
},
39395 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
39396 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
},
39397 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
},
39398 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
39399 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
},
39400 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
},
39401 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
},
39402 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
},
39403 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
},
39404 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
},
39405 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
},
39406 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
},
39407 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
},
39408 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
},
39409 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
},
39410 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
},
39411 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
},
39412 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
},
39413 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
},
39414 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
},
39415 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
},
39416 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
},
39417 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
},
39418 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
},
39419 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
},
39420 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
39421 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
},
39422 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
},
39423 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
},
39424 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
},
39425 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
},
39426 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
},
39427 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
},
39428 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
39429 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
39430 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
39431 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
39432 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
39433 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
39434 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
39435 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
},
39436 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
},
39437 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
39438 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
39439 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
39440 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
39441 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
39442 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
39443 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
39444 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
39445 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
39446 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
39447 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
39448 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
},
39449 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
39450 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
39451 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
39452 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
39453 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
39454 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
39455 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
39456 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
39457 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
39458 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
},
39459 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
},
39460 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
},
39461 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
39462 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
39463 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
39464 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
},
39465 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
39466 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
39467 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
39468 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
39469 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
39470 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
},
39471 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
39472 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
39473 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
39474 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
39475 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
39476 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
39477 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
39478 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
39479 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
39480 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
},
39481 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
},
39482 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
},
39483 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
},
39484 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
39485 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
39486 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
},
39487 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
},
39488 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
},
39489 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
39490 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
},
39491 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
},
39492 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
},
39493 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
39494 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
},
39495 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
},
39496 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
},
39497 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
},
39498 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
},
39499 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
},
39500 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
},
39501 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
39502 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
},
39503 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
},
39504 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
39505 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
},
39506 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
},
39507 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
},
39508 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
39509 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
},
39510 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
},
39511 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
},
39512 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
39513 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
39514 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
},
39515 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
39516 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
},
39517 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
39518 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
39519 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
39520 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
39521 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
39522 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
39523 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
},
39524 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
39525 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
},
39526 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
},
39527 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
39528 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
39529 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
},
39530 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
},
39531 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
},
39532 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
},
39533 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
},
39534 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
39535 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
39536 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
39537 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
39538 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
39539 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
39540 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
39541 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
},
39542 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
},
39543 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
},
39544 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
39545 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
},
39546 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
39547 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
},
39548 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
},
39549 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
},
39550 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
},
39551 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
39552 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
39553 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
39554 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
39555 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
39556 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
},
39557 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
},
39558 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
39559 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
},
39560 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
},
39561 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
},
39562 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
39563 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
},
39564 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
},
39565 { (char *)"InitAllImageHandlers", (PyCFunction
) _wrap_InitAllImageHandlers
, METH_VARARGS
| METH_KEYWORDS
},
39566 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
},
39567 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
},
39568 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
},
39569 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
},
39570 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
},
39571 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
},
39572 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
},
39573 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
},
39574 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
},
39575 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
},
39576 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
},
39577 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
},
39578 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
},
39579 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
},
39580 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
},
39581 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
},
39582 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
},
39583 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
},
39584 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
},
39585 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
},
39586 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
},
39587 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
},
39588 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
39589 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
39590 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
39591 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
39592 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
39593 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39594 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39595 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
39596 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
39597 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
39598 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
39599 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
39600 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
39601 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
},
39602 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
},
39603 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
},
39604 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
39605 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
39606 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
39607 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
39608 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
39609 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
39610 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
},
39611 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
},
39612 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
39613 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
},
39614 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
39615 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
},
39616 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
},
39617 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
},
39618 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
},
39619 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
},
39620 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
39621 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
39622 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
},
39623 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
39624 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
39625 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
},
39626 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
39627 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
39628 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
39629 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
39630 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
39631 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
39632 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
39633 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
39634 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
39635 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
39636 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
39637 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
},
39638 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
39639 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
39640 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
39641 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
39642 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
},
39643 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
39644 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
39645 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39646 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
39647 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39648 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
},
39649 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
39650 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
39651 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39652 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
39653 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39654 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
},
39655 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
39656 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
39657 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
39658 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
39659 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
39660 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
39661 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
39662 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
},
39663 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
39664 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
39665 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
39666 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
39667 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
39668 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
39669 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
39670 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
39671 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
39672 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
39673 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
39674 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
39675 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
39676 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
39677 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
39678 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
39679 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
39680 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
39681 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
39682 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
39683 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39684 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
39685 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
39686 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
39687 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
39688 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
39689 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
39690 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
39691 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
},
39692 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
39693 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
39694 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
39695 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
39696 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39697 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39698 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39699 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39700 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39701 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39702 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39703 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39704 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39705 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39706 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39707 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39708 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39709 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39710 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
39711 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
39712 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
39713 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
39714 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
39715 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
39716 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
},
39717 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
},
39718 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
39719 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
39720 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
39721 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
39722 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
},
39723 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
},
39724 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
39725 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
39726 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
39727 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
39728 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
39729 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
39730 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
39731 { (char *)"KeyEvent_GetUniChar", (PyCFunction
) _wrap_KeyEvent_GetUniChar
, METH_VARARGS
| METH_KEYWORDS
},
39732 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
39733 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
},
39734 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39735 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
39736 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
39737 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
39738 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
39739 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
39740 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
39741 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
39742 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
39743 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
39744 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39745 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39746 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39747 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39748 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39749 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39750 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39751 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39752 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
39753 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
39754 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
},
39755 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
},
39756 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
},
39757 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
},
39758 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
},
39759 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
39760 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
39761 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
39762 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
39763 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
39764 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
},
39765 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
},
39766 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
39767 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
39768 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
},
39769 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
39770 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39771 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
39772 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
39773 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39774 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
39775 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
39776 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
39777 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
39778 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
},
39779 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
39780 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
},
39781 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
39782 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
},
39783 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
39784 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
39785 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
},
39786 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
39787 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39788 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39789 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
},
39790 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
39791 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39792 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
},
39793 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
39794 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
39795 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
},
39796 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
39797 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
},
39798 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
39799 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
39800 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
},
39801 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
39802 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
},
39803 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
39804 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
39805 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
39806 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
39807 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
39808 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
39809 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
39810 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
},
39811 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
39812 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
39813 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
39814 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
},
39815 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
39816 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
39817 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
},
39818 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
39819 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
},
39820 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39821 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
39822 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
39823 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
},
39824 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
39825 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
39826 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39827 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
39828 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
39829 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
39830 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39831 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
39832 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
39833 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
39834 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
39835 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
39836 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
},
39837 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
},
39838 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
39839 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
39840 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
},
39841 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
39842 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
},
39843 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
39844 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
},
39845 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
},
39846 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
39847 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
},
39848 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
39849 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
39850 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
39851 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
},
39852 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
39853 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
39854 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
39855 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
},
39856 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
39857 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
39858 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
39859 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
39860 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
39861 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
39862 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
39863 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
},
39864 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
39865 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39866 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
},
39867 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
39868 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39869 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
},
39870 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
39871 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39872 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39873 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
},
39874 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
39875 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
39876 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
39877 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
39878 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
39879 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
},
39880 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
},
39881 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
39882 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
39883 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
39884 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
39885 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
},
39886 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
39887 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
39888 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
39889 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
39890 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
},
39891 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
39892 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
39893 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
39894 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
39895 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
39896 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
39897 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
},
39898 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
39899 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
39900 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
},
39901 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
39902 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
},
39903 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
39904 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
},
39905 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
},
39906 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
},
39907 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
},
39908 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
},
39909 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
},
39910 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
},
39911 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
39912 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
39913 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
39914 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
39915 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
39916 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
39917 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
39918 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
39919 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
39920 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
39921 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
39922 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
39923 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39924 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39925 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39926 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
39927 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
39928 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39929 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39930 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39931 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
39932 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
},
39933 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
},
39934 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
},
39935 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
},
39936 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
},
39937 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
39938 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
},
39939 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
39940 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
},
39941 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
},
39942 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
},
39943 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
39944 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
39945 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
39946 { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_SetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
39947 { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_GetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
39948 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
39949 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
39950 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
39951 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
},
39952 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
39953 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
39954 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
},
39955 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
},
39956 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
39957 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
},
39958 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
},
39959 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
},
39960 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
},
39961 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
39962 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
39963 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
39964 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
39965 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
39966 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39967 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39968 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
},
39969 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
},
39970 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
39971 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
39972 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
},
39973 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
},
39974 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
39975 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
39976 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
39977 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
39978 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
39979 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
39980 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
39981 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
},
39982 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
39983 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
},
39984 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
},
39985 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
39986 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
39987 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
39988 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39989 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
39990 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
39991 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
39992 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
39993 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
39994 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
39995 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
39996 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
39997 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
39998 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
39999 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
40000 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
},
40001 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
40002 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
40003 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
},
40004 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
40005 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
40006 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
40007 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
},
40008 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
40009 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
},
40010 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
},
40011 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
40012 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
40013 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
40014 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
40015 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40016 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
40017 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
},
40018 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
},
40019 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40020 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
},
40021 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
40022 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40023 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
40024 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
40025 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
40026 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
40027 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
40028 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
40029 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
40030 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40031 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40032 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
40033 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
40034 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
40035 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
40036 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
40037 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
40038 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
40039 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
40040 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
40041 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
40042 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
40043 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
40044 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
40045 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
40046 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
40047 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
40048 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
40049 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40050 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40051 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40052 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40053 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40054 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
40055 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
40056 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40057 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40058 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
40059 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
40060 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
40061 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
40062 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
},
40063 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
},
40064 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
40065 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
40066 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
40067 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
40068 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
40069 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
40070 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
40071 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
40072 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
40073 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
},
40074 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
},
40075 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
40076 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
40077 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
40078 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
40079 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
},
40080 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
40081 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
40082 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
40083 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40084 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40085 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40086 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40087 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40088 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40089 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
40090 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
40091 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
40092 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
40093 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
40094 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
40095 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
40096 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
40097 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
40098 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
40099 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
40100 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
40101 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
40102 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
40103 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
},
40104 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
40105 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
40106 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
40107 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
40108 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
},
40109 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
40110 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
40111 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
40112 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
40113 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
40114 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
40115 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
40116 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
40117 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
40118 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
40119 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
40120 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
40121 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
40122 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
40123 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
40124 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
40125 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
40126 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
40127 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
40128 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
40129 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
40130 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
40131 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
40132 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
40133 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
40134 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
40135 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
},
40136 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
40137 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
40138 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
40139 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
40140 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
40141 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
},
40142 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
40143 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
40144 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
40145 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
40146 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
},
40147 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40148 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
},
40149 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
},
40150 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
40151 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40152 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40153 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
40154 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
40155 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
},
40156 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
},
40157 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40158 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
},
40159 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
},
40160 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
},
40161 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
40162 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
40163 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
40164 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
40165 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
40166 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
},
40167 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
40168 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
40169 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
40170 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
40171 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
40172 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
40173 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
40174 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
40175 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
40176 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
40177 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
40178 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
40179 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
40180 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
40181 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
40182 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
40183 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40184 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
40185 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
40186 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
40187 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
40188 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
40189 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
40190 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
40191 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40192 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40193 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
},
40194 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
40195 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40196 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40197 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
40198 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
40199 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
40200 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
40201 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40202 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40203 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
40204 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
40205 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
40206 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
40207 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
40208 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
},
40209 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
},
40210 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
40211 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
40212 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
40213 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
},
40214 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
},
40215 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
40216 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
40217 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
40218 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
40219 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
40220 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
40221 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
40222 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
40223 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
40224 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
40225 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
40226 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
40227 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
40228 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40229 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
40230 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
40231 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40232 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40233 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40234 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
40235 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
40236 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
40237 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
40238 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
},
40239 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
},
40240 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
},
40241 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
},
40242 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
40243 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
40244 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
40245 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
40246 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
40247 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
40248 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40249 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
40250 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
40251 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
40252 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
40253 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
40254 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
40255 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
40256 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
40257 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40258 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40259 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
40260 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
40261 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
40262 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
40263 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
40264 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
40265 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
40266 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
40267 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
40268 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
40269 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
40270 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40271 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40272 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
},
40273 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40274 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40275 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
40276 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
40277 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
40278 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
40279 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
40280 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
40281 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40282 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40283 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
},
40284 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
},
40285 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
},
40286 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
},
40287 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
},
40288 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40289 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40290 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
},
40291 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
},
40292 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
40293 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
40294 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
40295 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
},
40296 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
40297 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
40298 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
},
40299 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
40300 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
},
40301 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
},
40302 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
},
40303 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
40304 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
40305 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
40306 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
40307 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
},
40308 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
},
40309 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
},
40310 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
40311 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
40312 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
40313 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
40314 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
40315 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40316 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
40317 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
40318 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
40319 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
40320 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
40321 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
40322 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
40323 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
40324 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
40325 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
40326 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
40327 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
},
40328 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
40329 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
40330 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
40331 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
40332 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
40333 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40334 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40335 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
40336 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
40337 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
40338 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
40339 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
},
40340 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
40341 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40342 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
40343 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
},
40344 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
40345 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
40346 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
40347 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
40348 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
},
40349 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
},
40350 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
40351 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
40352 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
40353 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
40354 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
40355 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40356 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40357 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
40358 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
40359 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
40360 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
40361 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
40362 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
40363 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
40364 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
40365 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
40366 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
40367 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
40368 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
},
40369 { (char *)"Sizer_Hide", (PyCFunction
) _wrap_Sizer_Hide
, METH_VARARGS
| METH_KEYWORDS
},
40370 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
40371 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
},
40372 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
},
40373 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
},
40374 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40375 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
},
40376 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
40377 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40378 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40379 { (char *)"BoxSizer_RecalcSizes", (PyCFunction
) _wrap_BoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
40380 { (char *)"BoxSizer_CalcMin", (PyCFunction
) _wrap_BoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
40381 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
},
40382 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
40383 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
40384 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_StaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
40385 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction
) _wrap_StaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
40386 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
},
40387 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
},
40388 { (char *)"GridSizer_RecalcSizes", (PyCFunction
) _wrap_GridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
40389 { (char *)"GridSizer_CalcMin", (PyCFunction
) _wrap_GridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
40390 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
40391 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
40392 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
40393 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
40394 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
40395 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
40396 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
40397 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
40398 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
},
40399 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
40400 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_FlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
40401 { (char *)"FlexGridSizer_CalcMin", (PyCFunction
) _wrap_FlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
40402 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
40403 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
40404 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
40405 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
40406 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
40407 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
40408 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
40409 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
40410 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
},
40411 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
},
40412 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
},
40413 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
},
40414 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
40415 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
40416 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
40417 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
40418 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40419 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40420 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
},
40421 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
},
40422 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
},
40423 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
},
40424 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
40425 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
},
40426 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
40427 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
},
40428 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40429 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40430 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
},
40431 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
},
40432 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
},
40433 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
},
40434 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
40435 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
40436 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
40437 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
},
40438 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
},
40439 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
40440 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
},
40441 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects
, METH_VARARGS
},
40442 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
},
40443 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
40444 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
40445 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
},
40446 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
},
40447 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
40448 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
40449 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
40450 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
40451 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
},
40452 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
},
40453 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
},
40454 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
},
40455 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
},
40456 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
40457 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
40458 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction
) _wrap_GridBagSizer_FindItemWithData
, METH_VARARGS
| METH_KEYWORDS
},
40459 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction
) _wrap_GridBagSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
40460 { (char *)"GridBagSizer_CalcMin", (PyCFunction
) _wrap_GridBagSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
40461 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
},
40462 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
},
40463 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
40464 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
40465 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
40466 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
40467 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
40468 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
40469 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
40470 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
40471 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
40472 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
40473 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
},
40474 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
},
40475 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
40476 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
40477 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
40478 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
40479 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
40480 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
},
40481 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
},
40482 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
},
40483 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
},
40484 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
40485 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
40486 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
},
40487 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
},
40488 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
40489 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
},
40490 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
40491 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
40492 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
40493 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
40494 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40495 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40496 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
40497 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
40498 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
40499 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
},
40500 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
},
40501 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
},
40506 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
40508 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
40509 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
40511 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
40512 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
40514 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
40515 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40517 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
40518 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40520 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
40521 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
40523 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
40524 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40526 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
40527 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
40529 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
40530 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40532 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
40533 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40535 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
40536 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
40538 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
40539 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
40541 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
40542 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
40544 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
40545 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
40547 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
40548 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
40550 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
40551 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
40553 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
40554 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
40556 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
40557 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
40559 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
40560 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40562 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
40563 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
40565 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
40566 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40568 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
40569 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40571 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
40572 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
40574 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
40575 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
40577 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
40578 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
40580 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
40581 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
40583 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
40584 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
40586 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
40587 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
40589 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
40590 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
40592 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
40593 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40595 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
40596 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40598 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
40599 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40601 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
40602 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40604 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
40605 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40607 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
40608 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
40610 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
40611 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
40613 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
40614 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40616 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
40617 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
40619 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
40620 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
40622 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
40623 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40625 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
40626 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40628 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
40629 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40631 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
40632 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
40634 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
40635 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
40637 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
40638 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40640 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
40641 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40643 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
40644 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40646 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
40647 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
40649 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
40650 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
40652 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
40653 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
40655 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
40656 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
40658 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
40659 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40661 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
40662 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
40664 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
40665 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
40667 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
40668 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
40670 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
40671 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
40673 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
40674 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
40676 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
40677 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
40679 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
40680 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
40682 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
40683 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
40685 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
40686 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
40688 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
40689 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
40691 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
40692 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40694 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
40695 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
40697 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
40698 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
40700 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
40701 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
40703 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
40704 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40706 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
40707 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
40709 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
40710 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
40712 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
40713 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
40715 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
40716 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
40718 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
40719 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
40721 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
40722 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
40724 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
40725 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
40727 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
40728 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
40730 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
40731 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
40733 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
40734 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
40736 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
40737 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
40739 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
40740 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
40742 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
40743 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
40745 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
40746 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40748 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
40749 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
40751 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
40752 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
40754 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
40755 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
40757 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
40758 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
40760 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
40761 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
40763 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
40764 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
40766 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
40767 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
40769 static void *_p_wxSizerTo_p_wxObject(void *x
) {
40770 return (void *)((wxObject
*) ((wxSizer
*) x
));
40772 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
40773 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
40775 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
40776 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40778 static void *_p_wxMenuTo_p_wxObject(void *x
) {
40779 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
40781 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
40782 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
40784 static void *_p_wxImageTo_p_wxObject(void *x
) {
40785 return (void *)((wxObject
*) ((wxImage
*) x
));
40787 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
40788 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
40790 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
40791 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40793 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
40794 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
40796 static void *_p_wxWindowTo_p_wxObject(void *x
) {
40797 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
40799 static void *_p_wxControlTo_p_wxObject(void *x
) {
40800 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
40802 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
40803 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
40805 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
40806 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
40808 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
40809 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40811 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
40812 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
40814 static void *_p_wxEventTo_p_wxObject(void *x
) {
40815 return (void *)((wxObject
*) ((wxEvent
*) x
));
40817 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
40818 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
40820 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
40821 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
40823 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
40824 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
40826 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
40827 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
40829 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
40830 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
40832 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
40833 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40835 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
40836 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40838 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
40839 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
40841 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
40842 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40844 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
40845 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
40847 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
40848 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
40850 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
40851 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
40853 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
40854 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
40856 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
40857 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
40859 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
40860 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
40862 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
40863 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40865 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
40866 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
40868 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
40869 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
40871 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
40872 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
40874 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
40875 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
40877 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
40878 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
40880 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
40881 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
40883 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
40884 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
40886 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
40887 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
40889 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
40890 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40892 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
40893 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40895 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
40896 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40898 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
40899 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40901 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
40902 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40904 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
40905 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
40907 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
40908 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
40910 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
40911 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40913 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
40914 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
40916 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
40917 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
40919 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
40920 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
40922 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
40923 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
40925 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
40926 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
40928 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
40929 return (void *)((wxObject
*) ((wxFSFile
*) x
));
40931 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
40932 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
40934 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
40935 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40937 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
40938 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
40940 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
40941 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40943 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
40944 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40946 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
40947 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40949 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
40950 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
40952 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
40953 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
40955 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
40956 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
40958 static void *_p_wxControlTo_p_wxWindow(void *x
) {
40959 return (void *)((wxWindow
*) ((wxControl
*) x
));
40961 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
40962 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
40964 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
40965 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
40967 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
40968 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40970 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
40971 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
40973 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
40974 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40976 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
40977 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40979 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
40980 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40982 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
40983 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40985 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
40986 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40988 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
40989 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40991 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
40992 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
40994 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}};
40995 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}};
40996 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}};
40997 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}};
40998 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}};
40999 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}};
41000 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}};
41001 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}};
41002 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}};
41003 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}};
41004 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}};
41005 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}};
41006 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}};
41007 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}};
41008 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}};
41009 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}};
41010 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}};
41011 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}};
41012 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}};
41013 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}};
41014 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}};
41015 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}};
41016 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}};
41017 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}};
41018 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}};
41019 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}};
41020 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}};
41021 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}};
41022 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}};
41023 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}};
41024 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}};
41025 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}};
41026 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}};
41027 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}};
41028 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}};
41029 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}};
41030 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}};
41031 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}};
41032 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}};
41033 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}};
41034 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}};
41035 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}};
41036 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}};
41037 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}};
41038 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}};
41039 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}};
41040 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}};
41041 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}};
41042 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}};
41043 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}};
41044 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}};
41045 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}};
41046 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}};
41047 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}};
41048 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}};
41049 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}};
41050 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}};
41051 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}};
41052 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}};
41053 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}};
41054 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}};
41055 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}};
41056 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}};
41057 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}};
41058 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}};
41059 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}};
41060 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}};
41061 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}};
41062 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}};
41063 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}};
41064 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}};
41065 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}};
41066 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}};
41067 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}};
41068 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}};
41069 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}};
41070 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}};
41071 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}};
41072 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}};
41073 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}};
41074 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}};
41075 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}};
41076 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}};
41077 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}};
41078 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}};
41079 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}};
41080 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}};
41081 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}};
41082 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}};
41083 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}};
41084 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}};
41085 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}};
41086 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}};
41087 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}};
41088 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}};
41089 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}};
41090 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}};
41091 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}};
41092 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}};
41093 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}};
41094 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}};
41095 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}};
41096 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}};
41097 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}};
41098 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}};
41099 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}};
41100 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}};
41101 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}};
41102 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}};
41103 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}};
41104 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}};
41105 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}};
41106 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}};
41107 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}};
41109 static swig_type_info
*swig_types_initial
[] = {
41110 _swigt__p_wxLayoutConstraints
,
41111 _swigt__p_wxRealPoint
,
41112 _swigt__p_wxSizerItem
,
41113 _swigt__p_wxGBSizerItem
,
41114 _swigt__p_wxScrollEvent
,
41115 _swigt__p_wxIndividualLayoutConstraint
,
41117 _swigt__p_wxBoxSizer
,
41118 _swigt__p_wxStaticBoxSizer
,
41119 _swigt__p_wxGridBagSizer
,
41120 _swigt__p_wxAcceleratorEntry
,
41121 _swigt__p_wxUpdateUIEvent
,
41124 _swigt__p_wxGridSizer
,
41125 _swigt__p_wxFlexGridSizer
,
41126 _swigt__p_wxInitDialogEvent
,
41127 _swigt__p_wxItemContainer
,
41128 _swigt__p_wxNcPaintEvent
,
41129 _swigt__p_wxPaintEvent
,
41130 _swigt__p_wxSysColourChangedEvent
,
41131 _swigt__p_wxMouseCaptureChangedEvent
,
41132 _swigt__p_wxDisplayChangedEvent
,
41133 _swigt__p_wxPaletteChangedEvent
,
41134 _swigt__p_wxControl
,
41136 _swigt__p_wxMenuBarBase
,
41137 _swigt__p_wxSetCursorEvent
,
41138 _swigt__p_wxFSFile
,
41140 _swigt__p_wxRegion
,
41141 _swigt__p_wxPoint2D
,
41145 _swigt__p_wxPySizer
,
41146 _swigt__p_wxNotifyEvent
,
41147 _swigt__p_wxPyEvent
,
41148 _swigt__p_wxPropagationDisabler
,
41149 _swigt__p_wxAppTraits
,
41150 _swigt__p_wxArrayString
,
41151 _swigt__p_wxShowEvent
,
41152 _swigt__p_wxToolTip
,
41153 _swigt__p_wxMaximizeEvent
,
41154 _swigt__p_wxIconizeEvent
,
41155 _swigt__p_wxActivateEvent
,
41156 _swigt__p_wxMoveEvent
,
41157 _swigt__p_wxSizeEvent
,
41158 _swigt__p_wxQueryNewPaletteEvent
,
41159 _swigt__p_wxWindowCreateEvent
,
41160 _swigt__p_wxIdleEvent
,
41161 _swigt__p_wxMenuItem
,
41162 _swigt__p_wxStaticBox
,
41164 _swigt__p_wxTIFFHandler
,
41165 _swigt__p_wxXPMHandler
,
41166 _swigt__p_wxPNMHandler
,
41167 _swigt__p_wxJPEGHandler
,
41168 _swigt__p_wxPCXHandler
,
41169 _swigt__p_wxGIFHandler
,
41170 _swigt__p_wxPNGHandler
,
41171 _swigt__p_wxANIHandler
,
41172 _swigt__p_wxMemoryFSHandler
,
41173 _swigt__p_wxEvtHandler
,
41174 _swigt__p_wxCURHandler
,
41175 _swigt__p_wxICOHandler
,
41176 _swigt__p_wxBMPHandler
,
41177 _swigt__p_wxImageHandler
,
41178 _swigt__p_wxFileSystemHandler
,
41179 _swigt__p_wxPyFileSystemHandler
,
41180 _swigt__p_wxInternetFSHandler
,
41181 _swigt__p_wxZipFSHandler
,
41183 _swigt__p_wxGBSpan
,
41184 _swigt__p_wxPropagateOnce
,
41185 _swigt__p_wxAcceleratorTable
,
41187 _swigt__p_wxGBPosition
,
41190 _swigt__p_wxScrollWinEvent
,
41191 _swigt__p_wxImageHistogram
,
41194 _swigt__p_wxCursor
,
41195 _swigt__p_wxObject
,
41196 _swigt__p_wxPyInputStream
,
41197 _swigt__p_wxOutputStream
,
41198 _swigt__p_wxInputStream
,
41199 _swigt__p_wxDateTime
,
41200 _swigt__p_wxKeyEvent
,
41201 _swigt__p_wxNavigationKeyEvent
,
41202 _swigt__p_wxWindowDestroyEvent
,
41203 _swigt__p_wxWindow
,
41204 _swigt__p_wxMenuBar
,
41205 _swigt__p_wxFileSystem
,
41206 _swigt__p_wxBitmap
,
41207 _swigt__p_wxMenuEvent
,
41208 _swigt__p_wxContextMenuEvent
,
41209 _swigt__p_unsigned_char
,
41210 _swigt__p_wxCloseEvent
,
41211 _swigt__p_wxEraseEvent
,
41212 _swigt__p_wxMouseEvent
,
41214 _swigt__p_wxCommandEvent
,
41215 _swigt__p_wxPyCommandEvent
,
41216 _swigt__p_wxPyDropTarget
,
41217 _swigt__p_wxChildFocusEvent
,
41218 _swigt__p_wxFocusEvent
,
41219 _swigt__p_wxDropFilesEvent
,
41220 _swigt__p_wxControlWithItems
,
41221 _swigt__p_wxColour
,
41222 _swigt__p_wxValidator
,
41223 _swigt__p_wxPyValidator
,
41228 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
41230 static swig_const_info swig_const_table
[] = {
41240 SWIGEXPORT(void) SWIG_init(void) {
41241 static PyObject
*SWIG_globals
= 0;
41242 static int typeinit
= 0;
41245 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
41246 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
41247 d
= PyModule_GetDict(m
);
41250 for (i
= 0; swig_types_initial
[i
]; i
++) {
41251 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
41255 SWIG_InstallConstants(d
,swig_const_table
);
41258 #ifndef wxPyUSE_EXPORT
41259 // Make our API structure a CObject so other modules can import it
41260 // from this module.
41261 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
41262 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
41266 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_FromInt((int)wxNOT_FOUND
));
41267 PyDict_SetItemString(d
,"VSCROLL", SWIG_FromInt((int)wxVSCROLL
));
41268 PyDict_SetItemString(d
,"HSCROLL", SWIG_FromInt((int)wxHSCROLL
));
41269 PyDict_SetItemString(d
,"CAPTION", SWIG_FromInt((int)wxCAPTION
));
41270 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_FromInt((int)wxDOUBLE_BORDER
));
41271 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_FromInt((int)wxSUNKEN_BORDER
));
41272 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_FromInt((int)wxRAISED_BORDER
));
41273 PyDict_SetItemString(d
,"BORDER", SWIG_FromInt((int)wxBORDER
));
41274 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_FromInt((int)wxSIMPLE_BORDER
));
41275 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_FromInt((int)wxSTATIC_BORDER
));
41276 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_FromInt((int)wxTRANSPARENT_WINDOW
));
41277 PyDict_SetItemString(d
,"NO_BORDER", SWIG_FromInt((int)wxNO_BORDER
));
41278 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS
));
41279 PyDict_SetItemString(d
,"NO_3D", SWIG_FromInt((int)wxNO_3D
));
41280 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_FromInt((int)wxTAB_TRAVERSAL
));
41281 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_FromInt((int)wxWANTS_CHARS
));
41282 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_FromInt((int)wxPOPUP_WINDOW
));
41283 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_FromInt((int)wxCENTER_FRAME
));
41284 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_FromInt((int)wxCENTRE_ON_SCREEN
));
41285 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_FromInt((int)wxCENTER_ON_SCREEN
));
41286 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP
));
41287 PyDict_SetItemString(d
,"ICONIZE", SWIG_FromInt((int)wxICONIZE
));
41288 PyDict_SetItemString(d
,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE
));
41289 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE
));
41290 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX
));
41291 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME
));
41292 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU
));
41293 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX
));
41294 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX
));
41295 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ
));
41296 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT
));
41297 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX
));
41298 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER
));
41299 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL
));
41300 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS
));
41301 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT
));
41302 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE
));
41303 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE
));
41304 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW
));
41305 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT
));
41306 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU
));
41307 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR
));
41308 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED
));
41309 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_FromInt((int)wxED_CLIENT_MARGIN
));
41310 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_FromInt((int)wxED_BUTTONS_BOTTOM
));
41311 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_FromInt((int)wxED_BUTTONS_RIGHT
));
41312 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_FromInt((int)wxED_STATIC_LINE
));
41313 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_FromInt((int)wxEXT_DIALOG_STYLE
));
41314 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_FromInt((int)wxCLIP_CHILDREN
));
41315 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_FromInt((int)wxCLIP_SIBLINGS
));
41316 PyDict_SetItemString(d
,"RETAINED", SWIG_FromInt((int)wxRETAINED
));
41317 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_FromInt((int)wxBACKINGSTORE
));
41318 PyDict_SetItemString(d
,"COLOURED", SWIG_FromInt((int)wxCOLOURED
));
41319 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_FromInt((int)wxFIXED_LENGTH
));
41320 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_FromInt((int)wxLB_NEEDED_SB
));
41321 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_FromInt((int)wxLB_ALWAYS_SB
));
41322 PyDict_SetItemString(d
,"LB_SORT", SWIG_FromInt((int)wxLB_SORT
));
41323 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_FromInt((int)wxLB_SINGLE
));
41324 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_FromInt((int)wxLB_MULTIPLE
));
41325 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_FromInt((int)wxLB_EXTENDED
));
41326 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_FromInt((int)wxLB_OWNERDRAW
));
41327 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_FromInt((int)wxLB_HSCROLL
));
41328 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_FromInt((int)wxPROCESS_ENTER
));
41329 PyDict_SetItemString(d
,"PASSWORD", SWIG_FromInt((int)wxPASSWORD
));
41330 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_FromInt((int)wxCB_SIMPLE
));
41331 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_FromInt((int)wxCB_DROPDOWN
));
41332 PyDict_SetItemString(d
,"CB_SORT", SWIG_FromInt((int)wxCB_SORT
));
41333 PyDict_SetItemString(d
,"CB_READONLY", SWIG_FromInt((int)wxCB_READONLY
));
41334 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_FromInt((int)wxRA_HORIZONTAL
));
41335 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_FromInt((int)wxRA_VERTICAL
));
41336 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_FromInt((int)wxRA_SPECIFY_ROWS
));
41337 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_FromInt((int)wxRA_SPECIFY_COLS
));
41338 PyDict_SetItemString(d
,"RB_GROUP", SWIG_FromInt((int)wxRB_GROUP
));
41339 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_FromInt((int)wxRB_SINGLE
));
41340 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_FromInt((int)wxSL_HORIZONTAL
));
41341 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_FromInt((int)wxSL_VERTICAL
));
41342 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_FromInt((int)wxSL_AUTOTICKS
));
41343 PyDict_SetItemString(d
,"SL_LABELS", SWIG_FromInt((int)wxSL_LABELS
));
41344 PyDict_SetItemString(d
,"SL_LEFT", SWIG_FromInt((int)wxSL_LEFT
));
41345 PyDict_SetItemString(d
,"SL_TOP", SWIG_FromInt((int)wxSL_TOP
));
41346 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_FromInt((int)wxSL_RIGHT
));
41347 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_FromInt((int)wxSL_BOTTOM
));
41348 PyDict_SetItemString(d
,"SL_BOTH", SWIG_FromInt((int)wxSL_BOTH
));
41349 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_FromInt((int)wxSL_SELRANGE
));
41350 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_FromInt((int)wxSB_HORIZONTAL
));
41351 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_FromInt((int)wxSB_VERTICAL
));
41352 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_FromInt((int)wxST_SIZEGRIP
));
41353 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_FromInt((int)wxST_NO_AUTORESIZE
));
41354 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_FromInt((int)wxFLOOD_SURFACE
));
41355 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_FromInt((int)wxFLOOD_BORDER
));
41356 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_FromInt((int)wxODDEVEN_RULE
));
41357 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_FromInt((int)wxWINDING_RULE
));
41358 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_FromInt((int)wxTOOL_TOP
));
41359 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_FromInt((int)wxTOOL_BOTTOM
));
41360 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_FromInt((int)wxTOOL_LEFT
));
41361 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_FromInt((int)wxTOOL_RIGHT
));
41362 PyDict_SetItemString(d
,"OK", SWIG_FromInt((int)wxOK
));
41363 PyDict_SetItemString(d
,"YES_NO", SWIG_FromInt((int)wxYES_NO
));
41364 PyDict_SetItemString(d
,"CANCEL", SWIG_FromInt((int)wxCANCEL
));
41365 PyDict_SetItemString(d
,"YES", SWIG_FromInt((int)wxYES
));
41366 PyDict_SetItemString(d
,"NO", SWIG_FromInt((int)wxNO
));
41367 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_FromInt((int)wxNO_DEFAULT
));
41368 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_FromInt((int)wxYES_DEFAULT
));
41369 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_FromInt((int)wxICON_EXCLAMATION
));
41370 PyDict_SetItemString(d
,"ICON_HAND", SWIG_FromInt((int)wxICON_HAND
));
41371 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_FromInt((int)wxICON_QUESTION
));
41372 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_FromInt((int)wxICON_INFORMATION
));
41373 PyDict_SetItemString(d
,"ICON_STOP", SWIG_FromInt((int)wxICON_STOP
));
41374 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_FromInt((int)wxICON_ASTERISK
));
41375 PyDict_SetItemString(d
,"ICON_MASK", SWIG_FromInt((int)wxICON_MASK
));
41376 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_FromInt((int)wxICON_WARNING
));
41377 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_FromInt((int)wxICON_ERROR
));
41378 PyDict_SetItemString(d
,"FORWARD", SWIG_FromInt((int)wxFORWARD
));
41379 PyDict_SetItemString(d
,"BACKWARD", SWIG_FromInt((int)wxBACKWARD
));
41380 PyDict_SetItemString(d
,"RESET", SWIG_FromInt((int)wxRESET
));
41381 PyDict_SetItemString(d
,"HELP", SWIG_FromInt((int)wxHELP
));
41382 PyDict_SetItemString(d
,"MORE", SWIG_FromInt((int)wxMORE
));
41383 PyDict_SetItemString(d
,"SETUP", SWIG_FromInt((int)wxSETUP
));
41384 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_FromInt((int)wxSIZE_AUTO_WIDTH
));
41385 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_FromInt((int)wxSIZE_AUTO_HEIGHT
));
41386 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_FromInt((int)wxSIZE_AUTO
));
41387 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_FromInt((int)wxSIZE_USE_EXISTING
));
41388 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_FromInt((int)wxSIZE_ALLOW_MINUS_ONE
));
41389 PyDict_SetItemString(d
,"PORTRAIT", SWIG_FromInt((int)wxPORTRAIT
));
41390 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_FromInt((int)wxLANDSCAPE
));
41391 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_FromInt((int)wxPRINT_QUALITY_HIGH
));
41392 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_FromInt((int)wxPRINT_QUALITY_MEDIUM
));
41393 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_FromInt((int)wxPRINT_QUALITY_LOW
));
41394 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_FromInt((int)wxPRINT_QUALITY_DRAFT
));
41395 PyDict_SetItemString(d
,"ID_ANY", SWIG_FromInt((int)wxID_ANY
));
41396 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_FromInt((int)wxID_SEPARATOR
));
41397 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_FromInt((int)wxID_LOWEST
));
41398 PyDict_SetItemString(d
,"ID_OPEN", SWIG_FromInt((int)wxID_OPEN
));
41399 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_FromInt((int)wxID_CLOSE
));
41400 PyDict_SetItemString(d
,"ID_NEW", SWIG_FromInt((int)wxID_NEW
));
41401 PyDict_SetItemString(d
,"ID_SAVE", SWIG_FromInt((int)wxID_SAVE
));
41402 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_FromInt((int)wxID_SAVEAS
));
41403 PyDict_SetItemString(d
,"ID_REVERT", SWIG_FromInt((int)wxID_REVERT
));
41404 PyDict_SetItemString(d
,"ID_EXIT", SWIG_FromInt((int)wxID_EXIT
));
41405 PyDict_SetItemString(d
,"ID_UNDO", SWIG_FromInt((int)wxID_UNDO
));
41406 PyDict_SetItemString(d
,"ID_REDO", SWIG_FromInt((int)wxID_REDO
));
41407 PyDict_SetItemString(d
,"ID_HELP", SWIG_FromInt((int)wxID_HELP
));
41408 PyDict_SetItemString(d
,"ID_PRINT", SWIG_FromInt((int)wxID_PRINT
));
41409 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_FromInt((int)wxID_PRINT_SETUP
));
41410 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_FromInt((int)wxID_PREVIEW
));
41411 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_FromInt((int)wxID_ABOUT
));
41412 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_FromInt((int)wxID_HELP_CONTENTS
));
41413 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_FromInt((int)wxID_HELP_COMMANDS
));
41414 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_FromInt((int)wxID_HELP_PROCEDURES
));
41415 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_FromInt((int)wxID_HELP_CONTEXT
));
41416 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_FromInt((int)wxID_CLOSE_ALL
));
41417 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_FromInt((int)wxID_PREFERENCES
));
41418 PyDict_SetItemString(d
,"ID_CUT", SWIG_FromInt((int)wxID_CUT
));
41419 PyDict_SetItemString(d
,"ID_COPY", SWIG_FromInt((int)wxID_COPY
));
41420 PyDict_SetItemString(d
,"ID_PASTE", SWIG_FromInt((int)wxID_PASTE
));
41421 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_FromInt((int)wxID_CLEAR
));
41422 PyDict_SetItemString(d
,"ID_FIND", SWIG_FromInt((int)wxID_FIND
));
41423 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_FromInt((int)wxID_DUPLICATE
));
41424 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_FromInt((int)wxID_SELECTALL
));
41425 PyDict_SetItemString(d
,"ID_DELETE", SWIG_FromInt((int)wxID_DELETE
));
41426 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_FromInt((int)wxID_REPLACE
));
41427 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_FromInt((int)wxID_REPLACE_ALL
));
41428 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_FromInt((int)wxID_PROPERTIES
));
41429 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_FromInt((int)wxID_VIEW_DETAILS
));
41430 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_FromInt((int)wxID_VIEW_LARGEICONS
));
41431 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_FromInt((int)wxID_VIEW_SMALLICONS
));
41432 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_FromInt((int)wxID_VIEW_LIST
));
41433 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_FromInt((int)wxID_VIEW_SORTDATE
));
41434 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_FromInt((int)wxID_VIEW_SORTNAME
));
41435 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_FromInt((int)wxID_VIEW_SORTSIZE
));
41436 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_FromInt((int)wxID_VIEW_SORTTYPE
));
41437 PyDict_SetItemString(d
,"ID_FILE1", SWIG_FromInt((int)wxID_FILE1
));
41438 PyDict_SetItemString(d
,"ID_FILE2", SWIG_FromInt((int)wxID_FILE2
));
41439 PyDict_SetItemString(d
,"ID_FILE3", SWIG_FromInt((int)wxID_FILE3
));
41440 PyDict_SetItemString(d
,"ID_FILE4", SWIG_FromInt((int)wxID_FILE4
));
41441 PyDict_SetItemString(d
,"ID_FILE5", SWIG_FromInt((int)wxID_FILE5
));
41442 PyDict_SetItemString(d
,"ID_FILE6", SWIG_FromInt((int)wxID_FILE6
));
41443 PyDict_SetItemString(d
,"ID_FILE7", SWIG_FromInt((int)wxID_FILE7
));
41444 PyDict_SetItemString(d
,"ID_FILE8", SWIG_FromInt((int)wxID_FILE8
));
41445 PyDict_SetItemString(d
,"ID_FILE9", SWIG_FromInt((int)wxID_FILE9
));
41446 PyDict_SetItemString(d
,"ID_OK", SWIG_FromInt((int)wxID_OK
));
41447 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_FromInt((int)wxID_CANCEL
));
41448 PyDict_SetItemString(d
,"ID_APPLY", SWIG_FromInt((int)wxID_APPLY
));
41449 PyDict_SetItemString(d
,"ID_YES", SWIG_FromInt((int)wxID_YES
));
41450 PyDict_SetItemString(d
,"ID_NO", SWIG_FromInt((int)wxID_NO
));
41451 PyDict_SetItemString(d
,"ID_STATIC", SWIG_FromInt((int)wxID_STATIC
));
41452 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_FromInt((int)wxID_FORWARD
));
41453 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_FromInt((int)wxID_BACKWARD
));
41454 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_FromInt((int)wxID_DEFAULT
));
41455 PyDict_SetItemString(d
,"ID_MORE", SWIG_FromInt((int)wxID_MORE
));
41456 PyDict_SetItemString(d
,"ID_SETUP", SWIG_FromInt((int)wxID_SETUP
));
41457 PyDict_SetItemString(d
,"ID_RESET", SWIG_FromInt((int)wxID_RESET
));
41458 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_FromInt((int)wxID_CONTEXT_HELP
));
41459 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_FromInt((int)wxID_YESTOALL
));
41460 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_FromInt((int)wxID_NOTOALL
));
41461 PyDict_SetItemString(d
,"ID_ABORT", SWIG_FromInt((int)wxID_ABORT
));
41462 PyDict_SetItemString(d
,"ID_RETRY", SWIG_FromInt((int)wxID_RETRY
));
41463 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_FromInt((int)wxID_IGNORE
));
41464 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_FromInt((int)wxID_HIGHEST
));
41465 PyDict_SetItemString(d
,"OPEN", SWIG_FromInt((int)wxOPEN
));
41466 PyDict_SetItemString(d
,"SAVE", SWIG_FromInt((int)wxSAVE
));
41467 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_FromInt((int)wxHIDE_READONLY
));
41468 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_FromInt((int)wxOVERWRITE_PROMPT
));
41469 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_FromInt((int)wxFILE_MUST_EXIST
));
41470 PyDict_SetItemString(d
,"MULTIPLE", SWIG_FromInt((int)wxMULTIPLE
));
41471 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_FromInt((int)wxCHANGE_DIR
));
41472 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_FromInt((int)wxACCEL_ALT
));
41473 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_FromInt((int)wxACCEL_CTRL
));
41474 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_FromInt((int)wxACCEL_SHIFT
));
41475 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_FromInt((int)wxACCEL_NORMAL
));
41476 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_FromInt((int)wxPD_AUTO_HIDE
));
41477 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_FromInt((int)wxPD_APP_MODAL
));
41478 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_FromInt((int)wxPD_CAN_ABORT
));
41479 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_FromInt((int)wxPD_ELAPSED_TIME
));
41480 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_FromInt((int)wxPD_ESTIMATED_TIME
));
41481 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_FromInt((int)wxPD_REMAINING_TIME
));
41482 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_FromInt((int)wxDD_NEW_DIR_BUTTON
));
41483 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_FromInt((int)wxDD_DEFAULT_STYLE
));
41484 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_FromInt((int)wxMENU_TEAROFF
));
41485 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_FromInt((int)wxMB_DOCKABLE
));
41486 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE
));
41487 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxFULL_REPAINT_ON_RESIZE
));
41488 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_FromInt((int)wxLI_HORIZONTAL
));
41489 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_FromInt((int)wxLI_VERTICAL
));
41490 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY
));
41491 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_FromInt((int)wxWS_EX_BLOCK_EVENTS
));
41492 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_FromInt((int)wxWS_EX_TRANSIENT
));
41493 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_FromInt((int)wxWS_EX_THEMED_BACKGROUND
));
41494 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_FromInt((int)wxWS_EX_PROCESS_IDLE
));
41495 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES
));
41496 PyDict_SetItemString(d
,"MM_TEXT", SWIG_FromInt((int)wxMM_TEXT
));
41497 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_FromInt((int)wxMM_LOMETRIC
));
41498 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_FromInt((int)wxMM_HIMETRIC
));
41499 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_FromInt((int)wxMM_LOENGLISH
));
41500 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_FromInt((int)wxMM_HIENGLISH
));
41501 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_FromInt((int)wxMM_TWIPS
));
41502 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_FromInt((int)wxMM_ISOTROPIC
));
41503 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_FromInt((int)wxMM_ANISOTROPIC
));
41504 PyDict_SetItemString(d
,"MM_POINTS", SWIG_FromInt((int)wxMM_POINTS
));
41505 PyDict_SetItemString(d
,"MM_METRIC", SWIG_FromInt((int)wxMM_METRIC
));
41506 PyDict_SetItemString(d
,"CENTRE", SWIG_FromInt((int)wxCENTRE
));
41507 PyDict_SetItemString(d
,"CENTER", SWIG_FromInt((int)wxCENTER
));
41508 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_FromInt((int)wxHORIZONTAL
));
41509 PyDict_SetItemString(d
,"VERTICAL", SWIG_FromInt((int)wxVERTICAL
));
41510 PyDict_SetItemString(d
,"BOTH", SWIG_FromInt((int)wxBOTH
));
41511 PyDict_SetItemString(d
,"LEFT", SWIG_FromInt((int)wxLEFT
));
41512 PyDict_SetItemString(d
,"RIGHT", SWIG_FromInt((int)wxRIGHT
));
41513 PyDict_SetItemString(d
,"UP", SWIG_FromInt((int)wxUP
));
41514 PyDict_SetItemString(d
,"DOWN", SWIG_FromInt((int)wxDOWN
));
41515 PyDict_SetItemString(d
,"TOP", SWIG_FromInt((int)wxTOP
));
41516 PyDict_SetItemString(d
,"BOTTOM", SWIG_FromInt((int)wxBOTTOM
));
41517 PyDict_SetItemString(d
,"NORTH", SWIG_FromInt((int)wxNORTH
));
41518 PyDict_SetItemString(d
,"SOUTH", SWIG_FromInt((int)wxSOUTH
));
41519 PyDict_SetItemString(d
,"WEST", SWIG_FromInt((int)wxWEST
));
41520 PyDict_SetItemString(d
,"EAST", SWIG_FromInt((int)wxEAST
));
41521 PyDict_SetItemString(d
,"ALL", SWIG_FromInt((int)wxALL
));
41522 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_FromInt((int)wxALIGN_NOT
));
41523 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTER_HORIZONTAL
));
41524 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTRE_HORIZONTAL
));
41525 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_FromInt((int)wxALIGN_LEFT
));
41526 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_FromInt((int)wxALIGN_TOP
));
41527 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_FromInt((int)wxALIGN_RIGHT
));
41528 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_FromInt((int)wxALIGN_BOTTOM
));
41529 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTER_VERTICAL
));
41530 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTRE_VERTICAL
));
41531 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_FromInt((int)wxALIGN_CENTER
));
41532 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_FromInt((int)wxALIGN_CENTRE
));
41533 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_FromInt((int)wxALIGN_MASK
));
41534 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_FromInt((int)wxSTRETCH_NOT
));
41535 PyDict_SetItemString(d
,"SHRINK", SWIG_FromInt((int)wxSHRINK
));
41536 PyDict_SetItemString(d
,"GROW", SWIG_FromInt((int)wxGROW
));
41537 PyDict_SetItemString(d
,"EXPAND", SWIG_FromInt((int)wxEXPAND
));
41538 PyDict_SetItemString(d
,"SHAPED", SWIG_FromInt((int)wxSHAPED
));
41539 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_FromInt((int)wxADJUST_MINSIZE
));
41540 PyDict_SetItemString(d
,"TILE", SWIG_FromInt((int)wxTILE
));
41541 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_FromInt((int)wxBORDER_DEFAULT
));
41542 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_FromInt((int)wxBORDER_NONE
));
41543 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_FromInt((int)wxBORDER_STATIC
));
41544 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_FromInt((int)wxBORDER_SIMPLE
));
41545 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_FromInt((int)wxBORDER_RAISED
));
41546 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_FromInt((int)wxBORDER_SUNKEN
));
41547 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_FromInt((int)wxBORDER_DOUBLE
));
41548 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_FromInt((int)wxBORDER_MASK
));
41549 PyDict_SetItemString(d
,"DEFAULT", SWIG_FromInt((int)wxDEFAULT
));
41550 PyDict_SetItemString(d
,"DECORATIVE", SWIG_FromInt((int)wxDECORATIVE
));
41551 PyDict_SetItemString(d
,"ROMAN", SWIG_FromInt((int)wxROMAN
));
41552 PyDict_SetItemString(d
,"SCRIPT", SWIG_FromInt((int)wxSCRIPT
));
41553 PyDict_SetItemString(d
,"SWISS", SWIG_FromInt((int)wxSWISS
));
41554 PyDict_SetItemString(d
,"MODERN", SWIG_FromInt((int)wxMODERN
));
41555 PyDict_SetItemString(d
,"TELETYPE", SWIG_FromInt((int)wxTELETYPE
));
41556 PyDict_SetItemString(d
,"VARIABLE", SWIG_FromInt((int)wxVARIABLE
));
41557 PyDict_SetItemString(d
,"FIXED", SWIG_FromInt((int)wxFIXED
));
41558 PyDict_SetItemString(d
,"NORMAL", SWIG_FromInt((int)wxNORMAL
));
41559 PyDict_SetItemString(d
,"LIGHT", SWIG_FromInt((int)wxLIGHT
));
41560 PyDict_SetItemString(d
,"BOLD", SWIG_FromInt((int)wxBOLD
));
41561 PyDict_SetItemString(d
,"ITALIC", SWIG_FromInt((int)wxITALIC
));
41562 PyDict_SetItemString(d
,"SLANT", SWIG_FromInt((int)wxSLANT
));
41563 PyDict_SetItemString(d
,"SOLID", SWIG_FromInt((int)wxSOLID
));
41564 PyDict_SetItemString(d
,"DOT", SWIG_FromInt((int)wxDOT
));
41565 PyDict_SetItemString(d
,"LONG_DASH", SWIG_FromInt((int)wxLONG_DASH
));
41566 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_FromInt((int)wxSHORT_DASH
));
41567 PyDict_SetItemString(d
,"DOT_DASH", SWIG_FromInt((int)wxDOT_DASH
));
41568 PyDict_SetItemString(d
,"USER_DASH", SWIG_FromInt((int)wxUSER_DASH
));
41569 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_FromInt((int)wxTRANSPARENT
));
41570 PyDict_SetItemString(d
,"STIPPLE", SWIG_FromInt((int)wxSTIPPLE
));
41571 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_FromInt((int)wxBDIAGONAL_HATCH
));
41572 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_FromInt((int)wxCROSSDIAG_HATCH
));
41573 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_FromInt((int)wxFDIAGONAL_HATCH
));
41574 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_FromInt((int)wxCROSS_HATCH
));
41575 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_FromInt((int)wxHORIZONTAL_HATCH
));
41576 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_FromInt((int)wxVERTICAL_HATCH
));
41577 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_FromInt((int)wxJOIN_BEVEL
));
41578 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_FromInt((int)wxJOIN_MITER
));
41579 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_FromInt((int)wxJOIN_ROUND
));
41580 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_FromInt((int)wxCAP_ROUND
));
41581 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_FromInt((int)wxCAP_PROJECTING
));
41582 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_FromInt((int)wxCAP_BUTT
));
41583 PyDict_SetItemString(d
,"CLEAR", SWIG_FromInt((int)wxCLEAR
));
41584 PyDict_SetItemString(d
,"XOR", SWIG_FromInt((int)wxXOR
));
41585 PyDict_SetItemString(d
,"INVERT", SWIG_FromInt((int)wxINVERT
));
41586 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_FromInt((int)wxOR_REVERSE
));
41587 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_FromInt((int)wxAND_REVERSE
));
41588 PyDict_SetItemString(d
,"COPY", SWIG_FromInt((int)wxCOPY
));
41589 PyDict_SetItemString(d
,"AND", SWIG_FromInt((int)wxAND
));
41590 PyDict_SetItemString(d
,"AND_INVERT", SWIG_FromInt((int)wxAND_INVERT
));
41591 PyDict_SetItemString(d
,"NO_OP", SWIG_FromInt((int)wxNO_OP
));
41592 PyDict_SetItemString(d
,"NOR", SWIG_FromInt((int)wxNOR
));
41593 PyDict_SetItemString(d
,"EQUIV", SWIG_FromInt((int)wxEQUIV
));
41594 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_FromInt((int)wxSRC_INVERT
));
41595 PyDict_SetItemString(d
,"OR_INVERT", SWIG_FromInt((int)wxOR_INVERT
));
41596 PyDict_SetItemString(d
,"NAND", SWIG_FromInt((int)wxNAND
));
41597 PyDict_SetItemString(d
,"OR", SWIG_FromInt((int)wxOR
));
41598 PyDict_SetItemString(d
,"SET", SWIG_FromInt((int)wxSET
));
41599 PyDict_SetItemString(d
,"WXK_BACK", SWIG_FromInt((int)WXK_BACK
));
41600 PyDict_SetItemString(d
,"WXK_TAB", SWIG_FromInt((int)WXK_TAB
));
41601 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_FromInt((int)WXK_RETURN
));
41602 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_FromInt((int)WXK_ESCAPE
));
41603 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_FromInt((int)WXK_SPACE
));
41604 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_FromInt((int)WXK_DELETE
));
41605 PyDict_SetItemString(d
,"WXK_START", SWIG_FromInt((int)WXK_START
));
41606 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_FromInt((int)WXK_LBUTTON
));
41607 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_FromInt((int)WXK_RBUTTON
));
41608 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_FromInt((int)WXK_CANCEL
));
41609 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_FromInt((int)WXK_MBUTTON
));
41610 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_FromInt((int)WXK_CLEAR
));
41611 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_FromInt((int)WXK_SHIFT
));
41612 PyDict_SetItemString(d
,"WXK_ALT", SWIG_FromInt((int)WXK_ALT
));
41613 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_FromInt((int)WXK_CONTROL
));
41614 PyDict_SetItemString(d
,"WXK_MENU", SWIG_FromInt((int)WXK_MENU
));
41615 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_FromInt((int)WXK_PAUSE
));
41616 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_FromInt((int)WXK_CAPITAL
));
41617 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_FromInt((int)WXK_PRIOR
));
41618 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_FromInt((int)WXK_NEXT
));
41619 PyDict_SetItemString(d
,"WXK_END", SWIG_FromInt((int)WXK_END
));
41620 PyDict_SetItemString(d
,"WXK_HOME", SWIG_FromInt((int)WXK_HOME
));
41621 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_FromInt((int)WXK_LEFT
));
41622 PyDict_SetItemString(d
,"WXK_UP", SWIG_FromInt((int)WXK_UP
));
41623 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_FromInt((int)WXK_RIGHT
));
41624 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_FromInt((int)WXK_DOWN
));
41625 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_FromInt((int)WXK_SELECT
));
41626 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_FromInt((int)WXK_PRINT
));
41627 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_FromInt((int)WXK_EXECUTE
));
41628 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_FromInt((int)WXK_SNAPSHOT
));
41629 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_FromInt((int)WXK_INSERT
));
41630 PyDict_SetItemString(d
,"WXK_HELP", SWIG_FromInt((int)WXK_HELP
));
41631 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_FromInt((int)WXK_NUMPAD0
));
41632 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_FromInt((int)WXK_NUMPAD1
));
41633 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_FromInt((int)WXK_NUMPAD2
));
41634 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_FromInt((int)WXK_NUMPAD3
));
41635 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_FromInt((int)WXK_NUMPAD4
));
41636 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_FromInt((int)WXK_NUMPAD5
));
41637 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_FromInt((int)WXK_NUMPAD6
));
41638 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_FromInt((int)WXK_NUMPAD7
));
41639 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_FromInt((int)WXK_NUMPAD8
));
41640 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_FromInt((int)WXK_NUMPAD9
));
41641 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_FromInt((int)WXK_MULTIPLY
));
41642 PyDict_SetItemString(d
,"WXK_ADD", SWIG_FromInt((int)WXK_ADD
));
41643 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_FromInt((int)WXK_SEPARATOR
));
41644 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_FromInt((int)WXK_SUBTRACT
));
41645 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_FromInt((int)WXK_DECIMAL
));
41646 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_FromInt((int)WXK_DIVIDE
));
41647 PyDict_SetItemString(d
,"WXK_F1", SWIG_FromInt((int)WXK_F1
));
41648 PyDict_SetItemString(d
,"WXK_F2", SWIG_FromInt((int)WXK_F2
));
41649 PyDict_SetItemString(d
,"WXK_F3", SWIG_FromInt((int)WXK_F3
));
41650 PyDict_SetItemString(d
,"WXK_F4", SWIG_FromInt((int)WXK_F4
));
41651 PyDict_SetItemString(d
,"WXK_F5", SWIG_FromInt((int)WXK_F5
));
41652 PyDict_SetItemString(d
,"WXK_F6", SWIG_FromInt((int)WXK_F6
));
41653 PyDict_SetItemString(d
,"WXK_F7", SWIG_FromInt((int)WXK_F7
));
41654 PyDict_SetItemString(d
,"WXK_F8", SWIG_FromInt((int)WXK_F8
));
41655 PyDict_SetItemString(d
,"WXK_F9", SWIG_FromInt((int)WXK_F9
));
41656 PyDict_SetItemString(d
,"WXK_F10", SWIG_FromInt((int)WXK_F10
));
41657 PyDict_SetItemString(d
,"WXK_F11", SWIG_FromInt((int)WXK_F11
));
41658 PyDict_SetItemString(d
,"WXK_F12", SWIG_FromInt((int)WXK_F12
));
41659 PyDict_SetItemString(d
,"WXK_F13", SWIG_FromInt((int)WXK_F13
));
41660 PyDict_SetItemString(d
,"WXK_F14", SWIG_FromInt((int)WXK_F14
));
41661 PyDict_SetItemString(d
,"WXK_F15", SWIG_FromInt((int)WXK_F15
));
41662 PyDict_SetItemString(d
,"WXK_F16", SWIG_FromInt((int)WXK_F16
));
41663 PyDict_SetItemString(d
,"WXK_F17", SWIG_FromInt((int)WXK_F17
));
41664 PyDict_SetItemString(d
,"WXK_F18", SWIG_FromInt((int)WXK_F18
));
41665 PyDict_SetItemString(d
,"WXK_F19", SWIG_FromInt((int)WXK_F19
));
41666 PyDict_SetItemString(d
,"WXK_F20", SWIG_FromInt((int)WXK_F20
));
41667 PyDict_SetItemString(d
,"WXK_F21", SWIG_FromInt((int)WXK_F21
));
41668 PyDict_SetItemString(d
,"WXK_F22", SWIG_FromInt((int)WXK_F22
));
41669 PyDict_SetItemString(d
,"WXK_F23", SWIG_FromInt((int)WXK_F23
));
41670 PyDict_SetItemString(d
,"WXK_F24", SWIG_FromInt((int)WXK_F24
));
41671 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_FromInt((int)WXK_NUMLOCK
));
41672 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_FromInt((int)WXK_SCROLL
));
41673 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_FromInt((int)WXK_PAGEUP
));
41674 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_FromInt((int)WXK_PAGEDOWN
));
41675 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_FromInt((int)WXK_NUMPAD_SPACE
));
41676 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_FromInt((int)WXK_NUMPAD_TAB
));
41677 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_FromInt((int)WXK_NUMPAD_ENTER
));
41678 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_FromInt((int)WXK_NUMPAD_F1
));
41679 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_FromInt((int)WXK_NUMPAD_F2
));
41680 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_FromInt((int)WXK_NUMPAD_F3
));
41681 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_FromInt((int)WXK_NUMPAD_F4
));
41682 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_FromInt((int)WXK_NUMPAD_HOME
));
41683 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_FromInt((int)WXK_NUMPAD_LEFT
));
41684 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_FromInt((int)WXK_NUMPAD_UP
));
41685 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_FromInt((int)WXK_NUMPAD_RIGHT
));
41686 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_FromInt((int)WXK_NUMPAD_DOWN
));
41687 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_FromInt((int)WXK_NUMPAD_PRIOR
));
41688 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_FromInt((int)WXK_NUMPAD_PAGEUP
));
41689 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_FromInt((int)WXK_NUMPAD_NEXT
));
41690 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_FromInt((int)WXK_NUMPAD_PAGEDOWN
));
41691 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_FromInt((int)WXK_NUMPAD_END
));
41692 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_FromInt((int)WXK_NUMPAD_BEGIN
));
41693 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_FromInt((int)WXK_NUMPAD_INSERT
));
41694 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_FromInt((int)WXK_NUMPAD_DELETE
));
41695 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_FromInt((int)WXK_NUMPAD_EQUAL
));
41696 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_FromInt((int)WXK_NUMPAD_MULTIPLY
));
41697 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_FromInt((int)WXK_NUMPAD_ADD
));
41698 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_FromInt((int)WXK_NUMPAD_SEPARATOR
));
41699 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_FromInt((int)WXK_NUMPAD_SUBTRACT
));
41700 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_FromInt((int)WXK_NUMPAD_DECIMAL
));
41701 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_FromInt((int)WXK_NUMPAD_DIVIDE
));
41702 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_FromInt((int)WXK_WINDOWS_LEFT
));
41703 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_FromInt((int)WXK_WINDOWS_RIGHT
));
41704 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_FromInt((int)WXK_WINDOWS_MENU
));
41705 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_FromInt((int)wxPAPER_NONE
));
41706 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_FromInt((int)wxPAPER_LETTER
));
41707 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_FromInt((int)wxPAPER_LEGAL
));
41708 PyDict_SetItemString(d
,"PAPER_A4", SWIG_FromInt((int)wxPAPER_A4
));
41709 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_FromInt((int)wxPAPER_CSHEET
));
41710 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_FromInt((int)wxPAPER_DSHEET
));
41711 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_FromInt((int)wxPAPER_ESHEET
));
41712 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_FromInt((int)wxPAPER_LETTERSMALL
));
41713 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_FromInt((int)wxPAPER_TABLOID
));
41714 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_FromInt((int)wxPAPER_LEDGER
));
41715 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_FromInt((int)wxPAPER_STATEMENT
));
41716 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_FromInt((int)wxPAPER_EXECUTIVE
));
41717 PyDict_SetItemString(d
,"PAPER_A3", SWIG_FromInt((int)wxPAPER_A3
));
41718 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_FromInt((int)wxPAPER_A4SMALL
));
41719 PyDict_SetItemString(d
,"PAPER_A5", SWIG_FromInt((int)wxPAPER_A5
));
41720 PyDict_SetItemString(d
,"PAPER_B4", SWIG_FromInt((int)wxPAPER_B4
));
41721 PyDict_SetItemString(d
,"PAPER_B5", SWIG_FromInt((int)wxPAPER_B5
));
41722 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_FromInt((int)wxPAPER_FOLIO
));
41723 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_FromInt((int)wxPAPER_QUARTO
));
41724 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_FromInt((int)wxPAPER_10X14
));
41725 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_FromInt((int)wxPAPER_11X17
));
41726 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_FromInt((int)wxPAPER_NOTE
));
41727 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_FromInt((int)wxPAPER_ENV_9
));
41728 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_FromInt((int)wxPAPER_ENV_10
));
41729 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_FromInt((int)wxPAPER_ENV_11
));
41730 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_FromInt((int)wxPAPER_ENV_12
));
41731 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_FromInt((int)wxPAPER_ENV_14
));
41732 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_FromInt((int)wxPAPER_ENV_DL
));
41733 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_FromInt((int)wxPAPER_ENV_C5
));
41734 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_FromInt((int)wxPAPER_ENV_C3
));
41735 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_FromInt((int)wxPAPER_ENV_C4
));
41736 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_FromInt((int)wxPAPER_ENV_C6
));
41737 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_FromInt((int)wxPAPER_ENV_C65
));
41738 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_FromInt((int)wxPAPER_ENV_B4
));
41739 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_FromInt((int)wxPAPER_ENV_B5
));
41740 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_FromInt((int)wxPAPER_ENV_B6
));
41741 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_FromInt((int)wxPAPER_ENV_ITALY
));
41742 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_FromInt((int)wxPAPER_ENV_MONARCH
));
41743 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_FromInt((int)wxPAPER_ENV_PERSONAL
));
41744 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_FromInt((int)wxPAPER_FANFOLD_US
));
41745 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN
));
41746 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN
));
41747 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_FromInt((int)wxPAPER_ISO_B4
));
41748 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_FromInt((int)wxPAPER_JAPANESE_POSTCARD
));
41749 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_FromInt((int)wxPAPER_9X11
));
41750 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_FromInt((int)wxPAPER_10X11
));
41751 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_FromInt((int)wxPAPER_15X11
));
41752 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_FromInt((int)wxPAPER_ENV_INVITE
));
41753 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA
));
41754 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_FromInt((int)wxPAPER_LEGAL_EXTRA
));
41755 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_FromInt((int)wxPAPER_TABLOID_EXTRA
));
41756 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_FromInt((int)wxPAPER_A4_EXTRA
));
41757 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_TRANSVERSE
));
41758 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A4_TRANSVERSE
));
41759 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
41760 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_FromInt((int)wxPAPER_A_PLUS
));
41761 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_FromInt((int)wxPAPER_B_PLUS
));
41762 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_FromInt((int)wxPAPER_LETTER_PLUS
));
41763 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_FromInt((int)wxPAPER_A4_PLUS
));
41764 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A5_TRANSVERSE
));
41765 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_B5_TRANSVERSE
));
41766 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_FromInt((int)wxPAPER_A3_EXTRA
));
41767 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_FromInt((int)wxPAPER_A5_EXTRA
));
41768 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_FromInt((int)wxPAPER_B5_EXTRA
));
41769 PyDict_SetItemString(d
,"PAPER_A2", SWIG_FromInt((int)wxPAPER_A2
));
41770 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_TRANSVERSE
));
41771 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
41772 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_FromInt((int)wxDUPLEX_SIMPLEX
));
41773 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_FromInt((int)wxDUPLEX_HORIZONTAL
));
41774 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_FromInt((int)wxDUPLEX_VERTICAL
));
41775 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_FromInt((int)wxITEM_SEPARATOR
));
41776 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_FromInt((int)wxITEM_NORMAL
));
41777 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_FromInt((int)wxITEM_CHECK
));
41778 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_FromInt((int)wxITEM_RADIO
));
41779 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_FromInt((int)wxITEM_MAX
));
41780 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_FromInt((int)wxHT_NOWHERE
));
41781 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_FromInt((int)wxHT_SCROLLBAR_FIRST
));
41782 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
41783 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
41784 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
41785 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
41786 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_FromInt((int)wxHT_SCROLLBAR_THUMB
));
41787 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_1
));
41788 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_2
));
41789 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_FromInt((int)wxHT_SCROLLBAR_LAST
));
41790 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_FromInt((int)wxHT_WINDOW_OUTSIDE
));
41791 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_FromInt((int)wxHT_WINDOW_INSIDE
));
41792 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR
));
41793 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
41794 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_FromInt((int)wxHT_WINDOW_CORNER
));
41795 PyDict_SetItemString(d
,"HT_MAX", SWIG_FromInt((int)wxHT_MAX
));
41796 PyDict_SetItemString(d
,"MOD_NONE", SWIG_FromInt((int)wxMOD_NONE
));
41797 PyDict_SetItemString(d
,"MOD_ALT", SWIG_FromInt((int)wxMOD_ALT
));
41798 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_FromInt((int)wxMOD_CONTROL
));
41799 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_FromInt((int)wxMOD_SHIFT
));
41800 PyDict_SetItemString(d
,"MOD_WIN", SWIG_FromInt((int)wxMOD_WIN
));
41801 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_FromInt((int)wxUPDATE_UI_NONE
));
41802 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_FromInt((int)wxUPDATE_UI_RECURSE
));
41803 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_FromInt((int)wxUPDATE_UI_FROMIDLE
));
41804 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
41805 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
41806 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_FromInt((int)wxBITMAP_TYPE_INVALID
));
41807 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_FromInt((int)wxBITMAP_TYPE_BMP
));
41808 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_FromInt((int)wxBITMAP_TYPE_ICO
));
41809 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_FromInt((int)wxBITMAP_TYPE_CUR
));
41810 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_FromInt((int)wxBITMAP_TYPE_XBM
));
41811 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XBM_DATA
));
41812 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_FromInt((int)wxBITMAP_TYPE_XPM
));
41813 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XPM_DATA
));
41814 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_FromInt((int)wxBITMAP_TYPE_TIF
));
41815 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_FromInt((int)wxBITMAP_TYPE_GIF
));
41816 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_FromInt((int)wxBITMAP_TYPE_PNG
));
41817 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_FromInt((int)wxBITMAP_TYPE_JPEG
));
41818 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_FromInt((int)wxBITMAP_TYPE_PNM
));
41819 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_FromInt((int)wxBITMAP_TYPE_PCX
));
41820 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_FromInt((int)wxBITMAP_TYPE_PICT
));
41821 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_FromInt((int)wxBITMAP_TYPE_ICON
));
41822 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_FromInt((int)wxBITMAP_TYPE_ANI
));
41823 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_FromInt((int)wxBITMAP_TYPE_IFF
));
41824 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_FromInt((int)wxBITMAP_TYPE_MACCURSOR
));
41825 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_FromInt((int)wxBITMAP_TYPE_ANY
));
41826 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_FromInt((int)wxCURSOR_NONE
));
41827 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_FromInt((int)wxCURSOR_ARROW
));
41828 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_FromInt((int)wxCURSOR_RIGHT_ARROW
));
41829 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_FromInt((int)wxCURSOR_BULLSEYE
));
41830 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_FromInt((int)wxCURSOR_CHAR
));
41831 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_FromInt((int)wxCURSOR_CROSS
));
41832 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_FromInt((int)wxCURSOR_HAND
));
41833 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_FromInt((int)wxCURSOR_IBEAM
));
41834 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_FromInt((int)wxCURSOR_LEFT_BUTTON
));
41835 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_FromInt((int)wxCURSOR_MAGNIFIER
));
41836 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_FromInt((int)wxCURSOR_MIDDLE_BUTTON
));
41837 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_FromInt((int)wxCURSOR_NO_ENTRY
));
41838 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_FromInt((int)wxCURSOR_PAINT_BRUSH
));
41839 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_FromInt((int)wxCURSOR_PENCIL
));
41840 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_FromInt((int)wxCURSOR_POINT_LEFT
));
41841 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_FromInt((int)wxCURSOR_POINT_RIGHT
));
41842 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_FromInt((int)wxCURSOR_QUESTION_ARROW
));
41843 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_FromInt((int)wxCURSOR_RIGHT_BUTTON
));
41844 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_FromInt((int)wxCURSOR_SIZENESW
));
41845 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_FromInt((int)wxCURSOR_SIZENS
));
41846 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_FromInt((int)wxCURSOR_SIZENWSE
));
41847 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_FromInt((int)wxCURSOR_SIZEWE
));
41848 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_FromInt((int)wxCURSOR_SIZING
));
41849 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_FromInt((int)wxCURSOR_SPRAYCAN
));
41850 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_FromInt((int)wxCURSOR_WAIT
));
41851 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_FromInt((int)wxCURSOR_WATCH
));
41852 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_FromInt((int)wxCURSOR_BLANK
));
41853 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_FromInt((int)wxCURSOR_DEFAULT
));
41854 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_FromInt((int)wxCURSOR_COPY_ARROW
));
41855 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_FromInt((int)wxCURSOR_ARROWWAIT
));
41856 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_FromInt((int)wxCURSOR_MAX
));
41857 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
41858 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
41859 PyDict_SetItemString(d
,"FromStart", SWIG_FromInt((int)wxFromStart
));
41860 PyDict_SetItemString(d
,"FromCurrent", SWIG_FromInt((int)wxFromCurrent
));
41861 PyDict_SetItemString(d
,"FromEnd", SWIG_FromInt((int)wxFromEnd
));
41863 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
41866 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
41868 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
41869 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
41870 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
41871 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
41872 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
41873 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
41874 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_FromInt((int)wxIMAGE_RESOLUTION_INCHES
));
41875 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_FromInt((int)wxIMAGE_RESOLUTION_CM
));
41876 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_FromInt((int)wxBMP_24BPP
));
41877 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_FromInt((int)wxBMP_8BPP
));
41878 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_FromInt((int)wxBMP_8BPP_GREY
));
41879 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_FromInt((int)wxBMP_8BPP_GRAY
));
41880 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_FromInt((int)wxBMP_8BPP_RED
));
41881 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_FromInt((int)wxBMP_8BPP_PALETTE
));
41882 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_FromInt((int)wxBMP_4BPP
));
41883 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_FromInt((int)wxBMP_1BPP
));
41884 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_FromInt((int)wxBMP_1BPP_BW
));
41885 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_FromInt((int)wxEVENT_PROPAGATE_NONE
));
41886 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_FromInt((int)wxEVENT_PROPAGATE_MAX
));
41887 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
41888 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
41889 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
41890 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
41891 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
41892 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
41893 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
41894 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
41895 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
41896 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
41897 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
41898 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
41899 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
41900 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
41901 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
41902 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
41903 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
41904 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
41905 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
41906 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
41907 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
41908 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
41909 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
41910 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
41911 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
41912 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
41913 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
41914 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
41915 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
41916 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
41917 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
41918 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
41919 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
41920 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
41921 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
41922 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
41923 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
41924 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
41925 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
41926 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
41927 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
41928 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
41929 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
41930 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
41931 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
41932 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
41933 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
41934 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
41935 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
41936 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
41937 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
41938 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
41939 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
41940 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
41941 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
41942 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
41943 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
41944 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
41945 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
41946 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
41947 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
41948 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
41949 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
41950 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
41951 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
41952 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
41953 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
41954 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
41955 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
41956 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
41957 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
41958 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
41959 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
41960 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
41961 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
41962 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
41963 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
41964 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
41965 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
41966 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
41967 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
41968 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
41969 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
41970 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
41971 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
41972 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
41973 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
41974 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
41975 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
41976 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
41977 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
41978 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
41979 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
41980 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
41981 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
41982 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
41983 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
41984 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
41985 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
41986 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
41987 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
41988 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
41989 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
41990 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
41991 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
41992 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
41993 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
41994 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
41995 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
41996 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
41997 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
41998 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
41999 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
42000 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
42001 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_FromInt((int)wxMOUSE_BTN_ANY
));
42002 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_FromInt((int)wxMOUSE_BTN_NONE
));
42003 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_FromInt((int)wxMOUSE_BTN_LEFT
));
42004 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_FromInt((int)wxMOUSE_BTN_MIDDLE
));
42005 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_FromInt((int)wxMOUSE_BTN_RIGHT
));
42006 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_ALL
));
42007 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
42008 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_FromInt((int)wxIDLE_PROCESS_ALL
));
42009 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_FromInt((int)wxIDLE_PROCESS_SPECIFIED
));
42010 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_FromInt((int)wxPYAPP_ASSERT_SUPPRESS
));
42011 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_FromInt((int)wxPYAPP_ASSERT_EXCEPTION
));
42012 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_FromInt((int)wxPYAPP_ASSERT_DIALOG
));
42013 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_FromInt((int)wxPYAPP_ASSERT_LOG
));
42014 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_FromInt((int)wxPRINT_WINDOWS
));
42015 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_FromInt((int)wxPRINT_POSTSCRIPT
));
42016 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
42017 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
42018 PyDict_SetItemString(d
,"WINDOW_VARIANT_DEFAULT", SWIG_FromInt((int)wxWINDOW_VARIANT_DEFAULT
));
42019 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_FromInt((int)wxWINDOW_VARIANT_NORMAL
));
42020 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_FromInt((int)wxWINDOW_VARIANT_SMALL
));
42021 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_FromInt((int)wxWINDOW_VARIANT_MINI
));
42022 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_FromInt((int)wxWINDOW_VARIANT_LARGE
));
42023 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
42024 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
42025 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_FromInt((int)wxFLEX_GROWMODE_NONE
));
42026 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_FromInt((int)wxFLEX_GROWMODE_SPECIFIED
));
42027 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_FromInt((int)wxFLEX_GROWMODE_ALL
));
42028 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
42029 PyDict_SetItemString(d
,"Left", SWIG_FromInt((int)wxLeft
));
42030 PyDict_SetItemString(d
,"Top", SWIG_FromInt((int)wxTop
));
42031 PyDict_SetItemString(d
,"Right", SWIG_FromInt((int)wxRight
));
42032 PyDict_SetItemString(d
,"Bottom", SWIG_FromInt((int)wxBottom
));
42033 PyDict_SetItemString(d
,"Width", SWIG_FromInt((int)wxWidth
));
42034 PyDict_SetItemString(d
,"Height", SWIG_FromInt((int)wxHeight
));
42035 PyDict_SetItemString(d
,"Centre", SWIG_FromInt((int)wxCentre
));
42036 PyDict_SetItemString(d
,"Center", SWIG_FromInt((int)wxCenter
));
42037 PyDict_SetItemString(d
,"CentreX", SWIG_FromInt((int)wxCentreX
));
42038 PyDict_SetItemString(d
,"CentreY", SWIG_FromInt((int)wxCentreY
));
42039 PyDict_SetItemString(d
,"Unconstrained", SWIG_FromInt((int)wxUnconstrained
));
42040 PyDict_SetItemString(d
,"AsIs", SWIG_FromInt((int)wxAsIs
));
42041 PyDict_SetItemString(d
,"PercentOf", SWIG_FromInt((int)wxPercentOf
));
42042 PyDict_SetItemString(d
,"Above", SWIG_FromInt((int)wxAbove
));
42043 PyDict_SetItemString(d
,"Below", SWIG_FromInt((int)wxBelow
));
42044 PyDict_SetItemString(d
,"LeftOf", SWIG_FromInt((int)wxLeftOf
));
42045 PyDict_SetItemString(d
,"RightOf", SWIG_FromInt((int)wxRightOf
));
42046 PyDict_SetItemString(d
,"SameAs", SWIG_FromInt((int)wxSameAs
));
42047 PyDict_SetItemString(d
,"Absolute", SWIG_FromInt((int)wxAbsolute
));
42049 // Initialize threading, some globals and such
42053 // Although these are defined in __version__ they need to be here too so
42054 // that an assert can be done to ensure that the wxPython and the wxWindows
42056 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
42057 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
42058 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));