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 bool blocked
= 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(blocked
);
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 bool blocked
= 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(blocked
);
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 bool blocked
= 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(blocked
);
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 bool blocked
= 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(blocked
);
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 bool blocked
= wxPyBeginBlockThreads();
767 wxRect
* newRect
= new wxRect(dest
);
768 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), True
);
769 wxPyEndBlockThreads(blocked
);
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 bool blocked
= 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(blocked
);
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 bool blocked
= 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(blocked
);
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 bool blocked
= 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(blocked
);
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 bool blocked
= wxPyBeginBlockThreads();
1571 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1572 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1573 data
= new wxPyUserData(userData
);
1574 wxPyEndBlockThreads(blocked
);
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 bool blocked
= wxPyBeginBlockThreads();
1589 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1590 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1591 data
= new wxPyUserData(userData
);
1592 wxPyEndBlockThreads(blocked
);
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 bool blocked
= wxPyBeginBlockThreads();
1607 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1608 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1609 data
= new wxPyUserData(userData
);
1610 wxPyEndBlockThreads(blocked
);
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 bool blocked
= wxPyBeginBlockThreads();
1623 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1624 wxPyEndBlockThreads(blocked
);
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 bool blocked
= wxPyBeginBlockThreads();
1636 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1637 wxPyEndBlockThreads(blocked
);
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 if (source
== Py_None
) {
1684 **obj
= wxGBPosition(-1,-1);
1687 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1690 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1692 if (source
== Py_None
) {
1693 **obj
= wxGBSpan(-1,-1);
1696 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1700 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1704 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1705 bool blocked
= wxPyBeginBlockThreads();
1706 PyObject
* tup
= PyTuple_New(2);
1707 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1708 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1709 wxPyEndBlockThreads(blocked
);
1712 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1713 self
->SetRowspan(rowspan
);
1714 self
->SetColspan(colspan
);
1716 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1717 bool blocked
= wxPyBeginBlockThreads();
1718 PyObject
* tup
= PyTuple_New(2);
1719 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1720 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1721 wxPyEndBlockThreads(blocked
);
1724 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1726 wxPyUserData
* data
= NULL
;
1727 bool blocked
= wxPyBeginBlockThreads();
1728 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1729 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1730 data
= new wxPyUserData(userData
);
1731 wxPyEndBlockThreads(blocked
);
1733 // Now call the real Add method if a valid item type was found
1735 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1736 else if ( info
.sizer
)
1737 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1738 else if (info
.gotSize
)
1739 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1740 pos
, span
, flag
, border
, data
);
1748 static int _wrap_EmptyString_set(PyObject
*_val
) {
1749 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
1754 static PyObject
*_wrap_EmptyString_get() {
1759 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1761 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1768 static PyObject
*_wrap_Object_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1769 PyObject
*resultobj
;
1770 wxObject
*arg1
= (wxObject
*) 0 ;
1772 PyObject
* obj0
= 0 ;
1774 (char *) "self", NULL
1777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1782 result
= wxObject_GetClassName(arg1
);
1784 wxPyEndAllowThreads(__tstate
);
1785 if (PyErr_Occurred()) SWIG_fail
;
1789 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1791 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1800 static PyObject
*_wrap_Object_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1801 PyObject
*resultobj
;
1802 wxObject
*arg1
= (wxObject
*) 0 ;
1803 PyObject
* obj0
= 0 ;
1805 (char *) "self", NULL
1808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1813 wxObject_Destroy(arg1
);
1815 wxPyEndAllowThreads(__tstate
);
1816 if (PyErr_Occurred()) SWIG_fail
;
1818 Py_INCREF(Py_None
); resultobj
= Py_None
;
1825 static PyObject
* Object_swigregister(PyObject
*self
, PyObject
*args
) {
1827 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1828 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1830 return Py_BuildValue((char *)"");
1832 static PyObject
*_wrap_Size_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1833 PyObject
*resultobj
;
1834 wxSize
*arg1
= (wxSize
*) 0 ;
1836 PyObject
* obj0
= 0 ;
1837 PyObject
* obj1
= 0 ;
1839 (char *) "self",(char *) "x", NULL
1842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1845 arg2
= (int) SWIG_AsInt(obj1
);
1846 if (PyErr_Occurred()) SWIG_fail
;
1847 if (arg1
) (arg1
)->x
= arg2
;
1849 Py_INCREF(Py_None
); resultobj
= Py_None
;
1856 static PyObject
*_wrap_Size_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1857 PyObject
*resultobj
;
1858 wxSize
*arg1
= (wxSize
*) 0 ;
1860 PyObject
* obj0
= 0 ;
1862 (char *) "self", NULL
1865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1868 result
= (int) ((arg1
)->x
);
1870 resultobj
= SWIG_FromInt((int)result
);
1877 static PyObject
*_wrap_Size_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1878 PyObject
*resultobj
;
1879 wxSize
*arg1
= (wxSize
*) 0 ;
1881 PyObject
* obj0
= 0 ;
1882 PyObject
* obj1
= 0 ;
1884 (char *) "self",(char *) "y", NULL
1887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1890 arg2
= (int) SWIG_AsInt(obj1
);
1891 if (PyErr_Occurred()) SWIG_fail
;
1892 if (arg1
) (arg1
)->y
= arg2
;
1894 Py_INCREF(Py_None
); resultobj
= Py_None
;
1901 static PyObject
*_wrap_Size_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1902 PyObject
*resultobj
;
1903 wxSize
*arg1
= (wxSize
*) 0 ;
1905 PyObject
* obj0
= 0 ;
1907 (char *) "self", NULL
1910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
1911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1913 result
= (int) ((arg1
)->y
);
1915 resultobj
= SWIG_FromInt((int)result
);
1922 static PyObject
*_wrap_new_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1923 PyObject
*resultobj
;
1924 int arg1
= (int) 0 ;
1925 int arg2
= (int) 0 ;
1927 PyObject
* obj0
= 0 ;
1928 PyObject
* obj1
= 0 ;
1930 (char *) "w",(char *) "h", NULL
1933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
1935 arg1
= (int) SWIG_AsInt(obj0
);
1936 if (PyErr_Occurred()) SWIG_fail
;
1939 arg2
= (int) SWIG_AsInt(obj1
);
1940 if (PyErr_Occurred()) SWIG_fail
;
1943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1944 result
= (wxSize
*)new wxSize(arg1
,arg2
);
1946 wxPyEndAllowThreads(__tstate
);
1947 if (PyErr_Occurred()) SWIG_fail
;
1949 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
1956 static PyObject
*_wrap_delete_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1957 PyObject
*resultobj
;
1958 wxSize
*arg1
= (wxSize
*) 0 ;
1959 PyObject
* obj0
= 0 ;
1961 (char *) "self", NULL
1964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
1965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1971 wxPyEndAllowThreads(__tstate
);
1972 if (PyErr_Occurred()) SWIG_fail
;
1974 Py_INCREF(Py_None
); resultobj
= Py_None
;
1981 static PyObject
*_wrap_Size___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1982 PyObject
*resultobj
;
1983 wxSize
*arg1
= (wxSize
*) 0 ;
1987 PyObject
* obj0
= 0 ;
1988 PyObject
* obj1
= 0 ;
1990 (char *) "self",(char *) "sz", NULL
1993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1998 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2002 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2004 wxPyEndAllowThreads(__tstate
);
2005 if (PyErr_Occurred()) SWIG_fail
;
2008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2016 static PyObject
*_wrap_Size___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2017 PyObject
*resultobj
;
2018 wxSize
*arg1
= (wxSize
*) 0 ;
2022 PyObject
* obj0
= 0 ;
2023 PyObject
* obj1
= 0 ;
2025 (char *) "self",(char *) "sz", NULL
2028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2033 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2037 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2039 wxPyEndAllowThreads(__tstate
);
2040 if (PyErr_Occurred()) SWIG_fail
;
2043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2051 static PyObject
*_wrap_Size___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2052 PyObject
*resultobj
;
2053 wxSize
*arg1
= (wxSize
*) 0 ;
2057 PyObject
* obj0
= 0 ;
2058 PyObject
* obj1
= 0 ;
2060 (char *) "self",(char *) "sz", NULL
2063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2068 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2072 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2074 wxPyEndAllowThreads(__tstate
);
2075 if (PyErr_Occurred()) SWIG_fail
;
2079 resultptr
= new wxSize((wxSize
&) result
);
2080 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2088 static PyObject
*_wrap_Size___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2089 PyObject
*resultobj
;
2090 wxSize
*arg1
= (wxSize
*) 0 ;
2094 PyObject
* obj0
= 0 ;
2095 PyObject
* obj1
= 0 ;
2097 (char *) "self",(char *) "sz", NULL
2100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2105 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2109 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2111 wxPyEndAllowThreads(__tstate
);
2112 if (PyErr_Occurred()) SWIG_fail
;
2116 resultptr
= new wxSize((wxSize
&) result
);
2117 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2125 static PyObject
*_wrap_Size_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2126 PyObject
*resultobj
;
2127 wxSize
*arg1
= (wxSize
*) 0 ;
2130 PyObject
* obj0
= 0 ;
2131 PyObject
* obj1
= 0 ;
2133 (char *) "self",(char *) "sz", NULL
2136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2141 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2145 (arg1
)->IncTo((wxSize
const &)*arg2
);
2147 wxPyEndAllowThreads(__tstate
);
2148 if (PyErr_Occurred()) SWIG_fail
;
2150 Py_INCREF(Py_None
); resultobj
= Py_None
;
2157 static PyObject
*_wrap_Size_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2158 PyObject
*resultobj
;
2159 wxSize
*arg1
= (wxSize
*) 0 ;
2162 PyObject
* obj0
= 0 ;
2163 PyObject
* obj1
= 0 ;
2165 (char *) "self",(char *) "sz", NULL
2168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2173 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2177 (arg1
)->DecTo((wxSize
const &)*arg2
);
2179 wxPyEndAllowThreads(__tstate
);
2180 if (PyErr_Occurred()) SWIG_fail
;
2182 Py_INCREF(Py_None
); resultobj
= Py_None
;
2189 static PyObject
*_wrap_Size_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2190 PyObject
*resultobj
;
2191 wxSize
*arg1
= (wxSize
*) 0 ;
2194 PyObject
* obj0
= 0 ;
2195 PyObject
* obj1
= 0 ;
2196 PyObject
* obj2
= 0 ;
2198 (char *) "self",(char *) "w",(char *) "h", NULL
2201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2204 arg2
= (int) SWIG_AsInt(obj1
);
2205 if (PyErr_Occurred()) SWIG_fail
;
2206 arg3
= (int) SWIG_AsInt(obj2
);
2207 if (PyErr_Occurred()) SWIG_fail
;
2209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2210 (arg1
)->Set(arg2
,arg3
);
2212 wxPyEndAllowThreads(__tstate
);
2213 if (PyErr_Occurred()) SWIG_fail
;
2215 Py_INCREF(Py_None
); resultobj
= Py_None
;
2222 static PyObject
*_wrap_Size_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2223 PyObject
*resultobj
;
2224 wxSize
*arg1
= (wxSize
*) 0 ;
2226 PyObject
* obj0
= 0 ;
2227 PyObject
* obj1
= 0 ;
2229 (char *) "self",(char *) "w", NULL
2232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2235 arg2
= (int) SWIG_AsInt(obj1
);
2236 if (PyErr_Occurred()) SWIG_fail
;
2238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2239 (arg1
)->SetWidth(arg2
);
2241 wxPyEndAllowThreads(__tstate
);
2242 if (PyErr_Occurred()) SWIG_fail
;
2244 Py_INCREF(Py_None
); resultobj
= Py_None
;
2251 static PyObject
*_wrap_Size_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2252 PyObject
*resultobj
;
2253 wxSize
*arg1
= (wxSize
*) 0 ;
2255 PyObject
* obj0
= 0 ;
2256 PyObject
* obj1
= 0 ;
2258 (char *) "self",(char *) "h", NULL
2261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2264 arg2
= (int) SWIG_AsInt(obj1
);
2265 if (PyErr_Occurred()) SWIG_fail
;
2267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2268 (arg1
)->SetHeight(arg2
);
2270 wxPyEndAllowThreads(__tstate
);
2271 if (PyErr_Occurred()) SWIG_fail
;
2273 Py_INCREF(Py_None
); resultobj
= Py_None
;
2280 static PyObject
*_wrap_Size_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2281 PyObject
*resultobj
;
2282 wxSize
*arg1
= (wxSize
*) 0 ;
2284 PyObject
* obj0
= 0 ;
2286 (char *) "self", NULL
2289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2294 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2296 wxPyEndAllowThreads(__tstate
);
2297 if (PyErr_Occurred()) SWIG_fail
;
2299 resultobj
= SWIG_FromInt((int)result
);
2306 static PyObject
*_wrap_Size_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2307 PyObject
*resultobj
;
2308 wxSize
*arg1
= (wxSize
*) 0 ;
2310 PyObject
* obj0
= 0 ;
2312 (char *) "self", NULL
2315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2320 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2322 wxPyEndAllowThreads(__tstate
);
2323 if (PyErr_Occurred()) SWIG_fail
;
2325 resultobj
= SWIG_FromInt((int)result
);
2332 static PyObject
*_wrap_Size_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2333 PyObject
*resultobj
;
2334 wxSize
*arg1
= (wxSize
*) 0 ;
2336 PyObject
* obj0
= 0 ;
2338 (char *) "self", NULL
2341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2346 result
= (PyObject
*)wxSize_Get(arg1
);
2348 wxPyEndAllowThreads(__tstate
);
2349 if (PyErr_Occurred()) SWIG_fail
;
2358 static PyObject
* Size_swigregister(PyObject
*self
, PyObject
*args
) {
2360 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2361 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2363 return Py_BuildValue((char *)"");
2365 static PyObject
*_wrap_RealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2366 PyObject
*resultobj
;
2367 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2369 PyObject
* obj0
= 0 ;
2370 PyObject
* obj1
= 0 ;
2372 (char *) "self",(char *) "x", NULL
2375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2378 arg2
= (double) SWIG_AsDouble(obj1
);
2379 if (PyErr_Occurred()) SWIG_fail
;
2380 if (arg1
) (arg1
)->x
= arg2
;
2382 Py_INCREF(Py_None
); resultobj
= Py_None
;
2389 static PyObject
*_wrap_RealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2390 PyObject
*resultobj
;
2391 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2393 PyObject
* obj0
= 0 ;
2395 (char *) "self", NULL
2398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2401 result
= (double) ((arg1
)->x
);
2403 resultobj
= SWIG_FromDouble((double)result
);
2410 static PyObject
*_wrap_RealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2411 PyObject
*resultobj
;
2412 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2414 PyObject
* obj0
= 0 ;
2415 PyObject
* obj1
= 0 ;
2417 (char *) "self",(char *) "y", NULL
2420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2423 arg2
= (double) SWIG_AsDouble(obj1
);
2424 if (PyErr_Occurred()) SWIG_fail
;
2425 if (arg1
) (arg1
)->y
= arg2
;
2427 Py_INCREF(Py_None
); resultobj
= Py_None
;
2434 static PyObject
*_wrap_RealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2435 PyObject
*resultobj
;
2436 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2438 PyObject
* obj0
= 0 ;
2440 (char *) "self", NULL
2443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2446 result
= (double) ((arg1
)->y
);
2448 resultobj
= SWIG_FromDouble((double)result
);
2455 static PyObject
*_wrap_new_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2456 PyObject
*resultobj
;
2457 double arg1
= (double) 0.0 ;
2458 double arg2
= (double) 0.0 ;
2459 wxRealPoint
*result
;
2460 PyObject
* obj0
= 0 ;
2461 PyObject
* obj1
= 0 ;
2463 (char *) "x",(char *) "y", NULL
2466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2468 arg1
= (double) SWIG_AsDouble(obj0
);
2469 if (PyErr_Occurred()) SWIG_fail
;
2472 arg2
= (double) SWIG_AsDouble(obj1
);
2473 if (PyErr_Occurred()) SWIG_fail
;
2476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2477 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2479 wxPyEndAllowThreads(__tstate
);
2480 if (PyErr_Occurred()) SWIG_fail
;
2482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2489 static PyObject
*_wrap_delete_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2490 PyObject
*resultobj
;
2491 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2492 PyObject
* obj0
= 0 ;
2494 (char *) "self", NULL
2497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2504 wxPyEndAllowThreads(__tstate
);
2505 if (PyErr_Occurred()) SWIG_fail
;
2507 Py_INCREF(Py_None
); resultobj
= Py_None
;
2514 static PyObject
*_wrap_RealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2515 PyObject
*resultobj
;
2516 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2517 wxRealPoint
*arg2
= 0 ;
2520 PyObject
* obj0
= 0 ;
2521 PyObject
* obj1
= 0 ;
2523 (char *) "self",(char *) "pt", NULL
2526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2531 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2535 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2537 wxPyEndAllowThreads(__tstate
);
2538 if (PyErr_Occurred()) SWIG_fail
;
2541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2549 static PyObject
*_wrap_RealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2550 PyObject
*resultobj
;
2551 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2552 wxRealPoint
*arg2
= 0 ;
2555 PyObject
* obj0
= 0 ;
2556 PyObject
* obj1
= 0 ;
2558 (char *) "self",(char *) "pt", NULL
2561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2566 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2570 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2572 wxPyEndAllowThreads(__tstate
);
2573 if (PyErr_Occurred()) SWIG_fail
;
2576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2584 static PyObject
*_wrap_RealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2585 PyObject
*resultobj
;
2586 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2587 wxRealPoint
*arg2
= 0 ;
2590 PyObject
* obj0
= 0 ;
2591 PyObject
* obj1
= 0 ;
2593 (char *) "self",(char *) "pt", NULL
2596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2601 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2605 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2607 wxPyEndAllowThreads(__tstate
);
2608 if (PyErr_Occurred()) SWIG_fail
;
2611 wxRealPoint
* resultptr
;
2612 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2613 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2621 static PyObject
*_wrap_RealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2622 PyObject
*resultobj
;
2623 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2624 wxRealPoint
*arg2
= 0 ;
2627 PyObject
* obj0
= 0 ;
2628 PyObject
* obj1
= 0 ;
2630 (char *) "self",(char *) "pt", NULL
2633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2638 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2642 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2644 wxPyEndAllowThreads(__tstate
);
2645 if (PyErr_Occurred()) SWIG_fail
;
2648 wxRealPoint
* resultptr
;
2649 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2650 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2658 static PyObject
*_wrap_RealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2659 PyObject
*resultobj
;
2660 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2663 PyObject
* obj0
= 0 ;
2664 PyObject
* obj1
= 0 ;
2665 PyObject
* obj2
= 0 ;
2667 (char *) "self",(char *) "x",(char *) "y", NULL
2670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2673 arg2
= (double) SWIG_AsDouble(obj1
);
2674 if (PyErr_Occurred()) SWIG_fail
;
2675 arg3
= (double) SWIG_AsDouble(obj2
);
2676 if (PyErr_Occurred()) SWIG_fail
;
2678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2679 wxRealPoint_Set(arg1
,arg2
,arg3
);
2681 wxPyEndAllowThreads(__tstate
);
2682 if (PyErr_Occurred()) SWIG_fail
;
2684 Py_INCREF(Py_None
); resultobj
= Py_None
;
2691 static PyObject
*_wrap_RealPoint_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2692 PyObject
*resultobj
;
2693 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2695 PyObject
* obj0
= 0 ;
2697 (char *) "self", NULL
2700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
2701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2705 result
= (PyObject
*)wxRealPoint_Get(arg1
);
2707 wxPyEndAllowThreads(__tstate
);
2708 if (PyErr_Occurred()) SWIG_fail
;
2717 static PyObject
* RealPoint_swigregister(PyObject
*self
, PyObject
*args
) {
2719 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2720 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2722 return Py_BuildValue((char *)"");
2724 static PyObject
*_wrap_Point_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2725 PyObject
*resultobj
;
2726 wxPoint
*arg1
= (wxPoint
*) 0 ;
2728 PyObject
* obj0
= 0 ;
2729 PyObject
* obj1
= 0 ;
2731 (char *) "self",(char *) "x", NULL
2734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2737 arg2
= (int) SWIG_AsInt(obj1
);
2738 if (PyErr_Occurred()) SWIG_fail
;
2739 if (arg1
) (arg1
)->x
= arg2
;
2741 Py_INCREF(Py_None
); resultobj
= Py_None
;
2748 static PyObject
*_wrap_Point_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2749 PyObject
*resultobj
;
2750 wxPoint
*arg1
= (wxPoint
*) 0 ;
2752 PyObject
* obj0
= 0 ;
2754 (char *) "self", NULL
2757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2760 result
= (int) ((arg1
)->x
);
2762 resultobj
= SWIG_FromInt((int)result
);
2769 static PyObject
*_wrap_Point_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2770 PyObject
*resultobj
;
2771 wxPoint
*arg1
= (wxPoint
*) 0 ;
2773 PyObject
* obj0
= 0 ;
2774 PyObject
* obj1
= 0 ;
2776 (char *) "self",(char *) "y", NULL
2779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2782 arg2
= (int) SWIG_AsInt(obj1
);
2783 if (PyErr_Occurred()) SWIG_fail
;
2784 if (arg1
) (arg1
)->y
= arg2
;
2786 Py_INCREF(Py_None
); resultobj
= Py_None
;
2793 static PyObject
*_wrap_Point_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2794 PyObject
*resultobj
;
2795 wxPoint
*arg1
= (wxPoint
*) 0 ;
2797 PyObject
* obj0
= 0 ;
2799 (char *) "self", NULL
2802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2805 result
= (int) ((arg1
)->y
);
2807 resultobj
= SWIG_FromInt((int)result
);
2814 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2815 PyObject
*resultobj
;
2816 int arg1
= (int) 0 ;
2817 int arg2
= (int) 0 ;
2819 PyObject
* obj0
= 0 ;
2820 PyObject
* obj1
= 0 ;
2822 (char *) "x",(char *) "y", NULL
2825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
2827 arg1
= (int) SWIG_AsInt(obj0
);
2828 if (PyErr_Occurred()) SWIG_fail
;
2831 arg2
= (int) SWIG_AsInt(obj1
);
2832 if (PyErr_Occurred()) SWIG_fail
;
2835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2836 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2838 wxPyEndAllowThreads(__tstate
);
2839 if (PyErr_Occurred()) SWIG_fail
;
2841 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
2848 static PyObject
*_wrap_delete_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2849 PyObject
*resultobj
;
2850 wxPoint
*arg1
= (wxPoint
*) 0 ;
2851 PyObject
* obj0
= 0 ;
2853 (char *) "self", NULL
2856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
2857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2863 wxPyEndAllowThreads(__tstate
);
2864 if (PyErr_Occurred()) SWIG_fail
;
2866 Py_INCREF(Py_None
); resultobj
= Py_None
;
2873 static PyObject
*_wrap_Point___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2874 PyObject
*resultobj
;
2875 wxPoint
*arg1
= (wxPoint
*) 0 ;
2879 PyObject
* obj0
= 0 ;
2880 PyObject
* obj1
= 0 ;
2882 (char *) "self",(char *) "pt", NULL
2885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2890 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2894 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
2896 wxPyEndAllowThreads(__tstate
);
2897 if (PyErr_Occurred()) SWIG_fail
;
2900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2908 static PyObject
*_wrap_Point___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2909 PyObject
*resultobj
;
2910 wxPoint
*arg1
= (wxPoint
*) 0 ;
2914 PyObject
* obj0
= 0 ;
2915 PyObject
* obj1
= 0 ;
2917 (char *) "self",(char *) "pt", NULL
2920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2925 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2929 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
2931 wxPyEndAllowThreads(__tstate
);
2932 if (PyErr_Occurred()) SWIG_fail
;
2935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2943 static PyObject
*_wrap_Point___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2944 PyObject
*resultobj
;
2945 wxPoint
*arg1
= (wxPoint
*) 0 ;
2949 PyObject
* obj0
= 0 ;
2950 PyObject
* obj1
= 0 ;
2952 (char *) "self",(char *) "pt", NULL
2955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2960 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2964 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
2966 wxPyEndAllowThreads(__tstate
);
2967 if (PyErr_Occurred()) SWIG_fail
;
2970 wxPoint
* resultptr
;
2971 resultptr
= new wxPoint((wxPoint
&) result
);
2972 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2980 static PyObject
*_wrap_Point___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2981 PyObject
*resultobj
;
2982 wxPoint
*arg1
= (wxPoint
*) 0 ;
2986 PyObject
* obj0
= 0 ;
2987 PyObject
* obj1
= 0 ;
2989 (char *) "self",(char *) "pt", NULL
2992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2997 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3001 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
3003 wxPyEndAllowThreads(__tstate
);
3004 if (PyErr_Occurred()) SWIG_fail
;
3007 wxPoint
* resultptr
;
3008 resultptr
= new wxPoint((wxPoint
&) result
);
3009 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3017 static PyObject
*_wrap_Point___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3018 PyObject
*resultobj
;
3019 wxPoint
*arg1
= (wxPoint
*) 0 ;
3023 PyObject
* obj0
= 0 ;
3024 PyObject
* obj1
= 0 ;
3026 (char *) "self",(char *) "pt", NULL
3029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3034 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3039 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3040 result
= (wxPoint
*) &_result_ref
;
3043 wxPyEndAllowThreads(__tstate
);
3044 if (PyErr_Occurred()) SWIG_fail
;
3046 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3053 static PyObject
*_wrap_Point___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3054 PyObject
*resultobj
;
3055 wxPoint
*arg1
= (wxPoint
*) 0 ;
3059 PyObject
* obj0
= 0 ;
3060 PyObject
* obj1
= 0 ;
3062 (char *) "self",(char *) "pt", NULL
3065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3070 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3075 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3076 result
= (wxPoint
*) &_result_ref
;
3079 wxPyEndAllowThreads(__tstate
);
3080 if (PyErr_Occurred()) SWIG_fail
;
3082 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3089 static PyObject
*_wrap_Point_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3090 PyObject
*resultobj
;
3091 wxPoint
*arg1
= (wxPoint
*) 0 ;
3094 PyObject
* obj0
= 0 ;
3095 PyObject
* obj1
= 0 ;
3096 PyObject
* obj2
= 0 ;
3098 (char *) "self",(char *) "x",(char *) "y", NULL
3101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3104 arg2
= (long) SWIG_AsLong(obj1
);
3105 if (PyErr_Occurred()) SWIG_fail
;
3106 arg3
= (long) SWIG_AsLong(obj2
);
3107 if (PyErr_Occurred()) SWIG_fail
;
3109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3110 wxPoint_Set(arg1
,arg2
,arg3
);
3112 wxPyEndAllowThreads(__tstate
);
3113 if (PyErr_Occurred()) SWIG_fail
;
3115 Py_INCREF(Py_None
); resultobj
= Py_None
;
3122 static PyObject
*_wrap_Point_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3123 PyObject
*resultobj
;
3124 wxPoint
*arg1
= (wxPoint
*) 0 ;
3126 PyObject
* obj0
= 0 ;
3128 (char *) "self", NULL
3131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3136 result
= (PyObject
*)wxPoint_Get(arg1
);
3138 wxPyEndAllowThreads(__tstate
);
3139 if (PyErr_Occurred()) SWIG_fail
;
3148 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
3150 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3151 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3153 return Py_BuildValue((char *)"");
3155 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3156 PyObject
*resultobj
;
3157 int arg1
= (int) 0 ;
3158 int arg2
= (int) 0 ;
3159 int arg3
= (int) 0 ;
3160 int arg4
= (int) 0 ;
3162 PyObject
* obj0
= 0 ;
3163 PyObject
* obj1
= 0 ;
3164 PyObject
* obj2
= 0 ;
3165 PyObject
* obj3
= 0 ;
3167 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3172 arg1
= (int) SWIG_AsInt(obj0
);
3173 if (PyErr_Occurred()) SWIG_fail
;
3176 arg2
= (int) SWIG_AsInt(obj1
);
3177 if (PyErr_Occurred()) SWIG_fail
;
3180 arg3
= (int) SWIG_AsInt(obj2
);
3181 if (PyErr_Occurred()) SWIG_fail
;
3184 arg4
= (int) SWIG_AsInt(obj3
);
3185 if (PyErr_Occurred()) SWIG_fail
;
3188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3189 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3191 wxPyEndAllowThreads(__tstate
);
3192 if (PyErr_Occurred()) SWIG_fail
;
3194 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3201 static PyObject
*_wrap_new_RectPP(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3202 PyObject
*resultobj
;
3208 PyObject
* obj0
= 0 ;
3209 PyObject
* obj1
= 0 ;
3211 (char *) "topLeft",(char *) "bottomRight", NULL
3214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3217 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3221 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3225 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3227 wxPyEndAllowThreads(__tstate
);
3228 if (PyErr_Occurred()) SWIG_fail
;
3230 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3237 static PyObject
*_wrap_new_RectPS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3238 PyObject
*resultobj
;
3244 PyObject
* obj0
= 0 ;
3245 PyObject
* obj1
= 0 ;
3247 (char *) "pos",(char *) "size", NULL
3250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3253 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3257 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3261 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3263 wxPyEndAllowThreads(__tstate
);
3264 if (PyErr_Occurred()) SWIG_fail
;
3266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3273 static PyObject
*_wrap_delete_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3274 PyObject
*resultobj
;
3275 wxRect
*arg1
= (wxRect
*) 0 ;
3276 PyObject
* obj0
= 0 ;
3278 (char *) "self", NULL
3281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3288 wxPyEndAllowThreads(__tstate
);
3289 if (PyErr_Occurred()) SWIG_fail
;
3291 Py_INCREF(Py_None
); resultobj
= Py_None
;
3298 static PyObject
*_wrap_Rect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3299 PyObject
*resultobj
;
3300 wxRect
*arg1
= (wxRect
*) 0 ;
3302 PyObject
* obj0
= 0 ;
3304 (char *) "self", NULL
3307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3312 result
= (int)((wxRect
const *)arg1
)->GetX();
3314 wxPyEndAllowThreads(__tstate
);
3315 if (PyErr_Occurred()) SWIG_fail
;
3317 resultobj
= SWIG_FromInt((int)result
);
3324 static PyObject
*_wrap_Rect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3325 PyObject
*resultobj
;
3326 wxRect
*arg1
= (wxRect
*) 0 ;
3328 PyObject
* obj0
= 0 ;
3329 PyObject
* obj1
= 0 ;
3331 (char *) "self",(char *) "x", NULL
3334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3337 arg2
= (int) SWIG_AsInt(obj1
);
3338 if (PyErr_Occurred()) SWIG_fail
;
3340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3343 wxPyEndAllowThreads(__tstate
);
3344 if (PyErr_Occurred()) SWIG_fail
;
3346 Py_INCREF(Py_None
); resultobj
= Py_None
;
3353 static PyObject
*_wrap_Rect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3354 PyObject
*resultobj
;
3355 wxRect
*arg1
= (wxRect
*) 0 ;
3357 PyObject
* obj0
= 0 ;
3359 (char *) "self", NULL
3362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3367 result
= (int)(arg1
)->GetY();
3369 wxPyEndAllowThreads(__tstate
);
3370 if (PyErr_Occurred()) SWIG_fail
;
3372 resultobj
= SWIG_FromInt((int)result
);
3379 static PyObject
*_wrap_Rect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3380 PyObject
*resultobj
;
3381 wxRect
*arg1
= (wxRect
*) 0 ;
3383 PyObject
* obj0
= 0 ;
3384 PyObject
* obj1
= 0 ;
3386 (char *) "self",(char *) "y", NULL
3389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3392 arg2
= (int) SWIG_AsInt(obj1
);
3393 if (PyErr_Occurred()) SWIG_fail
;
3395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3398 wxPyEndAllowThreads(__tstate
);
3399 if (PyErr_Occurred()) SWIG_fail
;
3401 Py_INCREF(Py_None
); resultobj
= Py_None
;
3408 static PyObject
*_wrap_Rect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3409 PyObject
*resultobj
;
3410 wxRect
*arg1
= (wxRect
*) 0 ;
3412 PyObject
* obj0
= 0 ;
3414 (char *) "self", NULL
3417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3422 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3424 wxPyEndAllowThreads(__tstate
);
3425 if (PyErr_Occurred()) SWIG_fail
;
3427 resultobj
= SWIG_FromInt((int)result
);
3434 static PyObject
*_wrap_Rect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3435 PyObject
*resultobj
;
3436 wxRect
*arg1
= (wxRect
*) 0 ;
3438 PyObject
* obj0
= 0 ;
3439 PyObject
* obj1
= 0 ;
3441 (char *) "self",(char *) "w", NULL
3444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3447 arg2
= (int) SWIG_AsInt(obj1
);
3448 if (PyErr_Occurred()) SWIG_fail
;
3450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3451 (arg1
)->SetWidth(arg2
);
3453 wxPyEndAllowThreads(__tstate
);
3454 if (PyErr_Occurred()) SWIG_fail
;
3456 Py_INCREF(Py_None
); resultobj
= Py_None
;
3463 static PyObject
*_wrap_Rect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3464 PyObject
*resultobj
;
3465 wxRect
*arg1
= (wxRect
*) 0 ;
3467 PyObject
* obj0
= 0 ;
3469 (char *) "self", NULL
3472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3477 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3479 wxPyEndAllowThreads(__tstate
);
3480 if (PyErr_Occurred()) SWIG_fail
;
3482 resultobj
= SWIG_FromInt((int)result
);
3489 static PyObject
*_wrap_Rect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3490 PyObject
*resultobj
;
3491 wxRect
*arg1
= (wxRect
*) 0 ;
3493 PyObject
* obj0
= 0 ;
3494 PyObject
* obj1
= 0 ;
3496 (char *) "self",(char *) "h", NULL
3499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3502 arg2
= (int) SWIG_AsInt(obj1
);
3503 if (PyErr_Occurred()) SWIG_fail
;
3505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3506 (arg1
)->SetHeight(arg2
);
3508 wxPyEndAllowThreads(__tstate
);
3509 if (PyErr_Occurred()) SWIG_fail
;
3511 Py_INCREF(Py_None
); resultobj
= Py_None
;
3518 static PyObject
*_wrap_Rect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3519 PyObject
*resultobj
;
3520 wxRect
*arg1
= (wxRect
*) 0 ;
3522 PyObject
* obj0
= 0 ;
3524 (char *) "self", NULL
3527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3532 result
= ((wxRect
const *)arg1
)->GetPosition();
3534 wxPyEndAllowThreads(__tstate
);
3535 if (PyErr_Occurred()) SWIG_fail
;
3538 wxPoint
* resultptr
;
3539 resultptr
= new wxPoint((wxPoint
&) result
);
3540 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3548 static PyObject
*_wrap_Rect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3549 PyObject
*resultobj
;
3550 wxRect
*arg1
= (wxRect
*) 0 ;
3553 PyObject
* obj0
= 0 ;
3554 PyObject
* obj1
= 0 ;
3556 (char *) "self",(char *) "p", NULL
3559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3564 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3568 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3570 wxPyEndAllowThreads(__tstate
);
3571 if (PyErr_Occurred()) SWIG_fail
;
3573 Py_INCREF(Py_None
); resultobj
= Py_None
;
3580 static PyObject
*_wrap_Rect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3581 PyObject
*resultobj
;
3582 wxRect
*arg1
= (wxRect
*) 0 ;
3584 PyObject
* obj0
= 0 ;
3586 (char *) "self", NULL
3589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3594 result
= ((wxRect
const *)arg1
)->GetSize();
3596 wxPyEndAllowThreads(__tstate
);
3597 if (PyErr_Occurred()) SWIG_fail
;
3601 resultptr
= new wxSize((wxSize
&) result
);
3602 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3610 static PyObject
*_wrap_Rect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3611 PyObject
*resultobj
;
3612 wxRect
*arg1
= (wxRect
*) 0 ;
3615 PyObject
* obj0
= 0 ;
3616 PyObject
* obj1
= 0 ;
3618 (char *) "self",(char *) "s", NULL
3621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3626 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3630 (arg1
)->SetSize((wxSize
const &)*arg2
);
3632 wxPyEndAllowThreads(__tstate
);
3633 if (PyErr_Occurred()) SWIG_fail
;
3635 Py_INCREF(Py_None
); resultobj
= Py_None
;
3642 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3643 PyObject
*resultobj
;
3644 wxRect
*arg1
= (wxRect
*) 0 ;
3646 PyObject
* obj0
= 0 ;
3648 (char *) "self", NULL
3651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
3652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3656 result
= ((wxRect
const *)arg1
)->GetTopLeft();
3658 wxPyEndAllowThreads(__tstate
);
3659 if (PyErr_Occurred()) SWIG_fail
;
3662 wxPoint
* resultptr
;
3663 resultptr
= new wxPoint((wxPoint
&) result
);
3664 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3672 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3673 PyObject
*resultobj
;
3674 wxRect
*arg1
= (wxRect
*) 0 ;
3677 PyObject
* obj0
= 0 ;
3678 PyObject
* obj1
= 0 ;
3680 (char *) "self",(char *) "p", NULL
3683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3688 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3692 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
3694 wxPyEndAllowThreads(__tstate
);
3695 if (PyErr_Occurred()) SWIG_fail
;
3697 Py_INCREF(Py_None
); resultobj
= Py_None
;
3704 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3705 PyObject
*resultobj
;
3706 wxRect
*arg1
= (wxRect
*) 0 ;
3708 PyObject
* obj0
= 0 ;
3710 (char *) "self", NULL
3713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
3714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3718 result
= ((wxRect
const *)arg1
)->GetBottomRight();
3720 wxPyEndAllowThreads(__tstate
);
3721 if (PyErr_Occurred()) SWIG_fail
;
3724 wxPoint
* resultptr
;
3725 resultptr
= new wxPoint((wxPoint
&) result
);
3726 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3734 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3735 PyObject
*resultobj
;
3736 wxRect
*arg1
= (wxRect
*) 0 ;
3739 PyObject
* obj0
= 0 ;
3740 PyObject
* obj1
= 0 ;
3742 (char *) "self",(char *) "p", NULL
3745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3750 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3754 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
3756 wxPyEndAllowThreads(__tstate
);
3757 if (PyErr_Occurred()) SWIG_fail
;
3759 Py_INCREF(Py_None
); resultobj
= Py_None
;
3766 static PyObject
*_wrap_Rect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3767 PyObject
*resultobj
;
3768 wxRect
*arg1
= (wxRect
*) 0 ;
3770 PyObject
* obj0
= 0 ;
3772 (char *) "self", NULL
3775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3780 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3782 wxPyEndAllowThreads(__tstate
);
3783 if (PyErr_Occurred()) SWIG_fail
;
3785 resultobj
= SWIG_FromInt((int)result
);
3792 static PyObject
*_wrap_Rect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3793 PyObject
*resultobj
;
3794 wxRect
*arg1
= (wxRect
*) 0 ;
3796 PyObject
* obj0
= 0 ;
3798 (char *) "self", NULL
3801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3806 result
= (int)((wxRect
const *)arg1
)->GetTop();
3808 wxPyEndAllowThreads(__tstate
);
3809 if (PyErr_Occurred()) SWIG_fail
;
3811 resultobj
= SWIG_FromInt((int)result
);
3818 static PyObject
*_wrap_Rect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3819 PyObject
*resultobj
;
3820 wxRect
*arg1
= (wxRect
*) 0 ;
3822 PyObject
* obj0
= 0 ;
3824 (char *) "self", NULL
3827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3832 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3834 wxPyEndAllowThreads(__tstate
);
3835 if (PyErr_Occurred()) SWIG_fail
;
3837 resultobj
= SWIG_FromInt((int)result
);
3844 static PyObject
*_wrap_Rect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3845 PyObject
*resultobj
;
3846 wxRect
*arg1
= (wxRect
*) 0 ;
3848 PyObject
* obj0
= 0 ;
3850 (char *) "self", NULL
3853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
3854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3858 result
= (int)((wxRect
const *)arg1
)->GetRight();
3860 wxPyEndAllowThreads(__tstate
);
3861 if (PyErr_Occurred()) SWIG_fail
;
3863 resultobj
= SWIG_FromInt((int)result
);
3870 static PyObject
*_wrap_Rect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3871 PyObject
*resultobj
;
3872 wxRect
*arg1
= (wxRect
*) 0 ;
3874 PyObject
* obj0
= 0 ;
3875 PyObject
* obj1
= 0 ;
3877 (char *) "self",(char *) "left", NULL
3880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3883 arg2
= (int) SWIG_AsInt(obj1
);
3884 if (PyErr_Occurred()) SWIG_fail
;
3886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3887 (arg1
)->SetLeft(arg2
);
3889 wxPyEndAllowThreads(__tstate
);
3890 if (PyErr_Occurred()) SWIG_fail
;
3892 Py_INCREF(Py_None
); resultobj
= Py_None
;
3899 static PyObject
*_wrap_Rect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3900 PyObject
*resultobj
;
3901 wxRect
*arg1
= (wxRect
*) 0 ;
3903 PyObject
* obj0
= 0 ;
3904 PyObject
* obj1
= 0 ;
3906 (char *) "self",(char *) "right", NULL
3909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3912 arg2
= (int) SWIG_AsInt(obj1
);
3913 if (PyErr_Occurred()) SWIG_fail
;
3915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3916 (arg1
)->SetRight(arg2
);
3918 wxPyEndAllowThreads(__tstate
);
3919 if (PyErr_Occurred()) SWIG_fail
;
3921 Py_INCREF(Py_None
); resultobj
= Py_None
;
3928 static PyObject
*_wrap_Rect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3929 PyObject
*resultobj
;
3930 wxRect
*arg1
= (wxRect
*) 0 ;
3932 PyObject
* obj0
= 0 ;
3933 PyObject
* obj1
= 0 ;
3935 (char *) "self",(char *) "top", NULL
3938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
3939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3941 arg2
= (int) SWIG_AsInt(obj1
);
3942 if (PyErr_Occurred()) SWIG_fail
;
3944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3945 (arg1
)->SetTop(arg2
);
3947 wxPyEndAllowThreads(__tstate
);
3948 if (PyErr_Occurred()) SWIG_fail
;
3950 Py_INCREF(Py_None
); resultobj
= Py_None
;
3957 static PyObject
*_wrap_Rect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3958 PyObject
*resultobj
;
3959 wxRect
*arg1
= (wxRect
*) 0 ;
3961 PyObject
* obj0
= 0 ;
3962 PyObject
* obj1
= 0 ;
3964 (char *) "self",(char *) "bottom", NULL
3967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
3968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3970 arg2
= (int) SWIG_AsInt(obj1
);
3971 if (PyErr_Occurred()) SWIG_fail
;
3973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3974 (arg1
)->SetBottom(arg2
);
3976 wxPyEndAllowThreads(__tstate
);
3977 if (PyErr_Occurred()) SWIG_fail
;
3979 Py_INCREF(Py_None
); resultobj
= Py_None
;
3986 static PyObject
*_wrap_Rect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3987 PyObject
*resultobj
;
3988 wxRect
*arg1
= (wxRect
*) 0 ;
3992 PyObject
* obj0
= 0 ;
3993 PyObject
* obj1
= 0 ;
3994 PyObject
* obj2
= 0 ;
3996 (char *) "self",(char *) "dx",(char *) "dy", NULL
3999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4002 arg2
= (int) SWIG_AsInt(obj1
);
4003 if (PyErr_Occurred()) SWIG_fail
;
4004 arg3
= (int) SWIG_AsInt(obj2
);
4005 if (PyErr_Occurred()) SWIG_fail
;
4007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4009 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
4010 result
= (wxRect
*) &_result_ref
;
4013 wxPyEndAllowThreads(__tstate
);
4014 if (PyErr_Occurred()) SWIG_fail
;
4016 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4023 static PyObject
*_wrap_Rect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4024 PyObject
*resultobj
;
4025 wxRect
*arg1
= (wxRect
*) 0 ;
4029 PyObject
* obj0
= 0 ;
4030 PyObject
* obj1
= 0 ;
4031 PyObject
* obj2
= 0 ;
4033 (char *) "self",(char *) "dx",(char *) "dy", NULL
4036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4039 arg2
= (int) SWIG_AsInt(obj1
);
4040 if (PyErr_Occurred()) SWIG_fail
;
4041 arg3
= (int) SWIG_AsInt(obj2
);
4042 if (PyErr_Occurred()) SWIG_fail
;
4044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4046 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4047 result
= (wxRect
*) &_result_ref
;
4050 wxPyEndAllowThreads(__tstate
);
4051 if (PyErr_Occurred()) SWIG_fail
;
4053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4060 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4061 PyObject
*resultobj
;
4062 wxRect
*arg1
= (wxRect
*) 0 ;
4065 PyObject
* obj0
= 0 ;
4066 PyObject
* obj1
= 0 ;
4067 PyObject
* obj2
= 0 ;
4069 (char *) "self",(char *) "dx",(char *) "dy", NULL
4072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4075 arg2
= (int) SWIG_AsInt(obj1
);
4076 if (PyErr_Occurred()) SWIG_fail
;
4077 arg3
= (int) SWIG_AsInt(obj2
);
4078 if (PyErr_Occurred()) SWIG_fail
;
4080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4081 (arg1
)->Offset(arg2
,arg3
);
4083 wxPyEndAllowThreads(__tstate
);
4084 if (PyErr_Occurred()) SWIG_fail
;
4086 Py_INCREF(Py_None
); resultobj
= Py_None
;
4093 static PyObject
*_wrap_Rect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4094 PyObject
*resultobj
;
4095 wxRect
*arg1
= (wxRect
*) 0 ;
4098 PyObject
* obj0
= 0 ;
4099 PyObject
* obj1
= 0 ;
4101 (char *) "self",(char *) "pt", NULL
4104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4109 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4113 (arg1
)->Offset((wxPoint
const &)*arg2
);
4115 wxPyEndAllowThreads(__tstate
);
4116 if (PyErr_Occurred()) SWIG_fail
;
4118 Py_INCREF(Py_None
); resultobj
= Py_None
;
4125 static PyObject
*_wrap_Rect_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4126 PyObject
*resultobj
;
4127 wxRect
*arg1
= (wxRect
*) 0 ;
4131 PyObject
* obj0
= 0 ;
4132 PyObject
* obj1
= 0 ;
4134 (char *) "self",(char *) "rect", NULL
4137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4142 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4147 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4148 result
= (wxRect
*) &_result_ref
;
4151 wxPyEndAllowThreads(__tstate
);
4152 if (PyErr_Occurred()) SWIG_fail
;
4154 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4161 static PyObject
*_wrap_Rect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4162 PyObject
*resultobj
;
4163 wxRect
*arg1
= (wxRect
*) 0 ;
4167 PyObject
* obj0
= 0 ;
4168 PyObject
* obj1
= 0 ;
4170 (char *) "self",(char *) "rect", NULL
4173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4178 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4182 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4184 wxPyEndAllowThreads(__tstate
);
4185 if (PyErr_Occurred()) SWIG_fail
;
4189 resultptr
= new wxRect((wxRect
&) result
);
4190 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4198 static PyObject
*_wrap_Rect___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4199 PyObject
*resultobj
;
4200 wxRect
*arg1
= (wxRect
*) 0 ;
4204 PyObject
* obj0
= 0 ;
4205 PyObject
* obj1
= 0 ;
4207 (char *) "self",(char *) "rect", NULL
4210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4215 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4220 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4221 result
= (wxRect
*) &_result_ref
;
4224 wxPyEndAllowThreads(__tstate
);
4225 if (PyErr_Occurred()) SWIG_fail
;
4227 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4234 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4235 PyObject
*resultobj
;
4236 wxRect
*arg1
= (wxRect
*) 0 ;
4240 PyObject
* obj0
= 0 ;
4241 PyObject
* obj1
= 0 ;
4243 (char *) "self",(char *) "rect", NULL
4246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4251 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4255 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4257 wxPyEndAllowThreads(__tstate
);
4258 if (PyErr_Occurred()) SWIG_fail
;
4261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4269 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4270 PyObject
*resultobj
;
4271 wxRect
*arg1
= (wxRect
*) 0 ;
4275 PyObject
* obj0
= 0 ;
4276 PyObject
* obj1
= 0 ;
4278 (char *) "self",(char *) "rect", NULL
4281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4286 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4290 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4292 wxPyEndAllowThreads(__tstate
);
4293 if (PyErr_Occurred()) SWIG_fail
;
4296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4304 static PyObject
*_wrap_Rect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4305 PyObject
*resultobj
;
4306 wxRect
*arg1
= (wxRect
*) 0 ;
4310 PyObject
* obj0
= 0 ;
4311 PyObject
* obj1
= 0 ;
4312 PyObject
* obj2
= 0 ;
4314 (char *) "self",(char *) "x",(char *) "y", NULL
4317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4320 arg2
= (int) SWIG_AsInt(obj1
);
4321 if (PyErr_Occurred()) SWIG_fail
;
4322 arg3
= (int) SWIG_AsInt(obj2
);
4323 if (PyErr_Occurred()) SWIG_fail
;
4325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4326 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4328 wxPyEndAllowThreads(__tstate
);
4329 if (PyErr_Occurred()) SWIG_fail
;
4332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4340 static PyObject
*_wrap_Rect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4341 PyObject
*resultobj
;
4342 wxRect
*arg1
= (wxRect
*) 0 ;
4346 PyObject
* obj0
= 0 ;
4347 PyObject
* obj1
= 0 ;
4349 (char *) "self",(char *) "pt", NULL
4352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4357 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4361 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4363 wxPyEndAllowThreads(__tstate
);
4364 if (PyErr_Occurred()) SWIG_fail
;
4367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4375 static PyObject
*_wrap_Rect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4376 PyObject
*resultobj
;
4377 wxRect
*arg1
= (wxRect
*) 0 ;
4381 PyObject
* obj0
= 0 ;
4382 PyObject
* obj1
= 0 ;
4384 (char *) "self",(char *) "rect", NULL
4387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4392 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4396 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4398 wxPyEndAllowThreads(__tstate
);
4399 if (PyErr_Occurred()) SWIG_fail
;
4402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4410 static PyObject
*_wrap_Rect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4411 PyObject
*resultobj
;
4412 wxRect
*arg1
= (wxRect
*) 0 ;
4414 PyObject
* obj0
= 0 ;
4415 PyObject
* obj1
= 0 ;
4417 (char *) "self",(char *) "x", NULL
4420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4423 arg2
= (int) SWIG_AsInt(obj1
);
4424 if (PyErr_Occurred()) SWIG_fail
;
4425 if (arg1
) (arg1
)->x
= arg2
;
4427 Py_INCREF(Py_None
); resultobj
= Py_None
;
4434 static PyObject
*_wrap_Rect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4435 PyObject
*resultobj
;
4436 wxRect
*arg1
= (wxRect
*) 0 ;
4438 PyObject
* obj0
= 0 ;
4440 (char *) "self", NULL
4443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4446 result
= (int) ((arg1
)->x
);
4448 resultobj
= SWIG_FromInt((int)result
);
4455 static PyObject
*_wrap_Rect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4456 PyObject
*resultobj
;
4457 wxRect
*arg1
= (wxRect
*) 0 ;
4459 PyObject
* obj0
= 0 ;
4460 PyObject
* obj1
= 0 ;
4462 (char *) "self",(char *) "y", NULL
4465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4468 arg2
= (int) SWIG_AsInt(obj1
);
4469 if (PyErr_Occurred()) SWIG_fail
;
4470 if (arg1
) (arg1
)->y
= arg2
;
4472 Py_INCREF(Py_None
); resultobj
= Py_None
;
4479 static PyObject
*_wrap_Rect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4480 PyObject
*resultobj
;
4481 wxRect
*arg1
= (wxRect
*) 0 ;
4483 PyObject
* obj0
= 0 ;
4485 (char *) "self", NULL
4488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4491 result
= (int) ((arg1
)->y
);
4493 resultobj
= SWIG_FromInt((int)result
);
4500 static PyObject
*_wrap_Rect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4501 PyObject
*resultobj
;
4502 wxRect
*arg1
= (wxRect
*) 0 ;
4504 PyObject
* obj0
= 0 ;
4505 PyObject
* obj1
= 0 ;
4507 (char *) "self",(char *) "width", NULL
4510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4513 arg2
= (int) SWIG_AsInt(obj1
);
4514 if (PyErr_Occurred()) SWIG_fail
;
4515 if (arg1
) (arg1
)->width
= arg2
;
4517 Py_INCREF(Py_None
); resultobj
= Py_None
;
4524 static PyObject
*_wrap_Rect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4525 PyObject
*resultobj
;
4526 wxRect
*arg1
= (wxRect
*) 0 ;
4528 PyObject
* obj0
= 0 ;
4530 (char *) "self", NULL
4533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4536 result
= (int) ((arg1
)->width
);
4538 resultobj
= SWIG_FromInt((int)result
);
4545 static PyObject
*_wrap_Rect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4546 PyObject
*resultobj
;
4547 wxRect
*arg1
= (wxRect
*) 0 ;
4549 PyObject
* obj0
= 0 ;
4550 PyObject
* obj1
= 0 ;
4552 (char *) "self",(char *) "height", NULL
4555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4558 arg2
= (int) SWIG_AsInt(obj1
);
4559 if (PyErr_Occurred()) SWIG_fail
;
4560 if (arg1
) (arg1
)->height
= arg2
;
4562 Py_INCREF(Py_None
); resultobj
= Py_None
;
4569 static PyObject
*_wrap_Rect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4570 PyObject
*resultobj
;
4571 wxRect
*arg1
= (wxRect
*) 0 ;
4573 PyObject
* obj0
= 0 ;
4575 (char *) "self", NULL
4578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4581 result
= (int) ((arg1
)->height
);
4583 resultobj
= SWIG_FromInt((int)result
);
4590 static PyObject
*_wrap_Rect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4591 PyObject
*resultobj
;
4592 wxRect
*arg1
= (wxRect
*) 0 ;
4593 int arg2
= (int) 0 ;
4594 int arg3
= (int) 0 ;
4595 int arg4
= (int) 0 ;
4596 int arg5
= (int) 0 ;
4597 PyObject
* obj0
= 0 ;
4598 PyObject
* obj1
= 0 ;
4599 PyObject
* obj2
= 0 ;
4600 PyObject
* obj3
= 0 ;
4601 PyObject
* obj4
= 0 ;
4603 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4610 arg2
= (int) SWIG_AsInt(obj1
);
4611 if (PyErr_Occurred()) SWIG_fail
;
4614 arg3
= (int) SWIG_AsInt(obj2
);
4615 if (PyErr_Occurred()) SWIG_fail
;
4618 arg4
= (int) SWIG_AsInt(obj3
);
4619 if (PyErr_Occurred()) SWIG_fail
;
4622 arg5
= (int) SWIG_AsInt(obj4
);
4623 if (PyErr_Occurred()) SWIG_fail
;
4626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4627 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
4629 wxPyEndAllowThreads(__tstate
);
4630 if (PyErr_Occurred()) SWIG_fail
;
4632 Py_INCREF(Py_None
); resultobj
= Py_None
;
4639 static PyObject
*_wrap_Rect_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4640 PyObject
*resultobj
;
4641 wxRect
*arg1
= (wxRect
*) 0 ;
4643 PyObject
* obj0
= 0 ;
4645 (char *) "self", NULL
4648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
4649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4653 result
= (PyObject
*)wxRect_Get(arg1
);
4655 wxPyEndAllowThreads(__tstate
);
4656 if (PyErr_Occurred()) SWIG_fail
;
4665 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
4667 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4668 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
4670 return Py_BuildValue((char *)"");
4672 static PyObject
*_wrap_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4673 PyObject
*resultobj
;
4674 wxRect
*arg1
= (wxRect
*) 0 ;
4675 wxRect
*arg2
= (wxRect
*) 0 ;
4677 PyObject
* obj0
= 0 ;
4678 PyObject
* obj1
= 0 ;
4680 (char *) "r1",(char *) "r2", NULL
4683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4686 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
4687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4690 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
4692 wxPyEndAllowThreads(__tstate
);
4693 if (PyErr_Occurred()) SWIG_fail
;
4702 static PyObject
*_wrap_new_Point2D(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4703 PyObject
*resultobj
;
4704 double arg1
= (double) 0.0 ;
4705 double arg2
= (double) 0.0 ;
4707 PyObject
* obj0
= 0 ;
4708 PyObject
* obj1
= 0 ;
4710 (char *) "x",(char *) "y", NULL
4713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
4715 arg1
= (double) SWIG_AsDouble(obj0
);
4716 if (PyErr_Occurred()) SWIG_fail
;
4719 arg2
= (double) SWIG_AsDouble(obj1
);
4720 if (PyErr_Occurred()) SWIG_fail
;
4723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4724 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
4726 wxPyEndAllowThreads(__tstate
);
4727 if (PyErr_Occurred()) SWIG_fail
;
4729 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4736 static PyObject
*_wrap_new_Point2DCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4737 PyObject
*resultobj
;
4738 wxPoint2D
*arg1
= 0 ;
4741 PyObject
* obj0
= 0 ;
4746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
4749 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
4752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4753 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
4755 wxPyEndAllowThreads(__tstate
);
4756 if (PyErr_Occurred()) SWIG_fail
;
4758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4765 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4766 PyObject
*resultobj
;
4770 PyObject
* obj0
= 0 ;
4775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
4778 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4782 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
4784 wxPyEndAllowThreads(__tstate
);
4785 if (PyErr_Occurred()) SWIG_fail
;
4787 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4794 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4795 PyObject
*resultobj
;
4796 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4797 int *arg2
= (int *) 0 ;
4798 int *arg3
= (int *) 0 ;
4801 PyObject
* obj0
= 0 ;
4803 (char *) "self", NULL
4808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
4809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4813 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
4815 wxPyEndAllowThreads(__tstate
);
4816 if (PyErr_Occurred()) SWIG_fail
;
4818 Py_INCREF(Py_None
); resultobj
= Py_None
;
4820 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4821 resultobj
= t_output_helper(resultobj
,o
);
4824 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4825 resultobj
= t_output_helper(resultobj
,o
);
4833 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4834 PyObject
*resultobj
;
4835 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4836 int *arg2
= (int *) 0 ;
4837 int *arg3
= (int *) 0 ;
4840 PyObject
* obj0
= 0 ;
4842 (char *) "self", NULL
4847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
4848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4852 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
4854 wxPyEndAllowThreads(__tstate
);
4855 if (PyErr_Occurred()) SWIG_fail
;
4857 Py_INCREF(Py_None
); resultobj
= Py_None
;
4859 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4860 resultobj
= t_output_helper(resultobj
,o
);
4863 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4864 resultobj
= t_output_helper(resultobj
,o
);
4872 static PyObject
*_wrap_Point2D_GetVectorLength(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_GetVectorLength",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
)->GetVectorLength();
4888 wxPyEndAllowThreads(__tstate
);
4889 if (PyErr_Occurred()) SWIG_fail
;
4891 resultobj
= SWIG_FromDouble((double)result
);
4898 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4899 PyObject
*resultobj
;
4900 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4902 PyObject
* obj0
= 0 ;
4904 (char *) "self", NULL
4907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
4908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4912 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
4914 wxPyEndAllowThreads(__tstate
);
4915 if (PyErr_Occurred()) SWIG_fail
;
4917 resultobj
= SWIG_FromDouble((double)result
);
4924 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4925 PyObject
*resultobj
;
4926 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4928 PyObject
* obj0
= 0 ;
4929 PyObject
* obj1
= 0 ;
4931 (char *) "self",(char *) "length", NULL
4934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
4935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4937 arg2
= (double) SWIG_AsDouble(obj1
);
4938 if (PyErr_Occurred()) SWIG_fail
;
4940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4941 (arg1
)->SetVectorLength(arg2
);
4943 wxPyEndAllowThreads(__tstate
);
4944 if (PyErr_Occurred()) SWIG_fail
;
4946 Py_INCREF(Py_None
); resultobj
= Py_None
;
4953 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4954 PyObject
*resultobj
;
4955 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4957 PyObject
* obj0
= 0 ;
4958 PyObject
* obj1
= 0 ;
4960 (char *) "self",(char *) "degrees", NULL
4963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
4964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4966 arg2
= (double) SWIG_AsDouble(obj1
);
4967 if (PyErr_Occurred()) SWIG_fail
;
4969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4970 (arg1
)->SetVectorAngle(arg2
);
4972 wxPyEndAllowThreads(__tstate
);
4973 if (PyErr_Occurred()) SWIG_fail
;
4975 Py_INCREF(Py_None
); resultobj
= Py_None
;
4982 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4983 PyObject
*resultobj
;
4984 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4985 wxPoint2D
*arg2
= 0 ;
4988 PyObject
* obj0
= 0 ;
4989 PyObject
* obj1
= 0 ;
4991 (char *) "self",(char *) "pt", NULL
4994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
4995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4999 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5003 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
5005 wxPyEndAllowThreads(__tstate
);
5006 if (PyErr_Occurred()) SWIG_fail
;
5008 resultobj
= SWIG_FromDouble((double)result
);
5015 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5016 PyObject
*resultobj
;
5017 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5018 wxPoint2D
*arg2
= 0 ;
5021 PyObject
* obj0
= 0 ;
5022 PyObject
* obj1
= 0 ;
5024 (char *) "self",(char *) "pt", NULL
5027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5032 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5036 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5038 wxPyEndAllowThreads(__tstate
);
5039 if (PyErr_Occurred()) SWIG_fail
;
5041 resultobj
= SWIG_FromDouble((double)result
);
5048 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5049 PyObject
*resultobj
;
5050 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5051 wxPoint2D
*arg2
= 0 ;
5054 PyObject
* obj0
= 0 ;
5055 PyObject
* obj1
= 0 ;
5057 (char *) "self",(char *) "vec", NULL
5060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5065 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5069 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5071 wxPyEndAllowThreads(__tstate
);
5072 if (PyErr_Occurred()) SWIG_fail
;
5074 resultobj
= SWIG_FromDouble((double)result
);
5081 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5082 PyObject
*resultobj
;
5083 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5084 wxPoint2D
*arg2
= 0 ;
5087 PyObject
* obj0
= 0 ;
5088 PyObject
* obj1
= 0 ;
5090 (char *) "self",(char *) "vec", NULL
5093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5098 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5102 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5104 wxPyEndAllowThreads(__tstate
);
5105 if (PyErr_Occurred()) SWIG_fail
;
5107 resultobj
= SWIG_FromDouble((double)result
);
5114 static PyObject
*_wrap_Point2D___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5115 PyObject
*resultobj
;
5116 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5118 PyObject
* obj0
= 0 ;
5120 (char *) "self", NULL
5123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5128 result
= (arg1
)->operator -();
5130 wxPyEndAllowThreads(__tstate
);
5131 if (PyErr_Occurred()) SWIG_fail
;
5134 wxPoint2D
* resultptr
;
5135 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5136 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5144 static PyObject
*_wrap_Point2D___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5145 PyObject
*resultobj
;
5146 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5147 wxPoint2D
*arg2
= 0 ;
5150 PyObject
* obj0
= 0 ;
5151 PyObject
* obj1
= 0 ;
5153 (char *) "self",(char *) "pt", NULL
5156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5161 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5166 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5167 result
= (wxPoint2D
*) &_result_ref
;
5170 wxPyEndAllowThreads(__tstate
);
5171 if (PyErr_Occurred()) SWIG_fail
;
5173 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5180 static PyObject
*_wrap_Point2D___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5181 PyObject
*resultobj
;
5182 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5183 wxPoint2D
*arg2
= 0 ;
5186 PyObject
* obj0
= 0 ;
5187 PyObject
* obj1
= 0 ;
5189 (char *) "self",(char *) "pt", NULL
5192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5197 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5202 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5203 result
= (wxPoint2D
*) &_result_ref
;
5206 wxPyEndAllowThreads(__tstate
);
5207 if (PyErr_Occurred()) SWIG_fail
;
5209 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5216 static PyObject
*_wrap_Point2D___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5217 PyObject
*resultobj
;
5218 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5219 wxPoint2D
*arg2
= 0 ;
5222 PyObject
* obj0
= 0 ;
5223 PyObject
* obj1
= 0 ;
5225 (char *) "self",(char *) "pt", NULL
5228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5233 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5238 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5239 result
= (wxPoint2D
*) &_result_ref
;
5242 wxPyEndAllowThreads(__tstate
);
5243 if (PyErr_Occurred()) SWIG_fail
;
5245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5252 static PyObject
*_wrap_Point2D___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5253 PyObject
*resultobj
;
5254 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5255 wxPoint2D
*arg2
= 0 ;
5258 PyObject
* obj0
= 0 ;
5259 PyObject
* obj1
= 0 ;
5261 (char *) "self",(char *) "pt", NULL
5264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5269 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5274 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5275 result
= (wxPoint2D
*) &_result_ref
;
5278 wxPyEndAllowThreads(__tstate
);
5279 if (PyErr_Occurred()) SWIG_fail
;
5281 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5288 static PyObject
*_wrap_Point2D___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5289 PyObject
*resultobj
;
5290 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5291 wxPoint2D
*arg2
= 0 ;
5294 PyObject
* obj0
= 0 ;
5295 PyObject
* obj1
= 0 ;
5297 (char *) "self",(char *) "pt", NULL
5300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5305 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5309 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5311 wxPyEndAllowThreads(__tstate
);
5312 if (PyErr_Occurred()) SWIG_fail
;
5315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5323 static PyObject
*_wrap_Point2D___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5324 PyObject
*resultobj
;
5325 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5326 wxPoint2D
*arg2
= 0 ;
5329 PyObject
* obj0
= 0 ;
5330 PyObject
* obj1
= 0 ;
5332 (char *) "self",(char *) "pt", NULL
5335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5340 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5344 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5346 wxPyEndAllowThreads(__tstate
);
5347 if (PyErr_Occurred()) SWIG_fail
;
5350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5358 static PyObject
*_wrap_Point2D_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5359 PyObject
*resultobj
;
5360 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5362 PyObject
* obj0
= 0 ;
5363 PyObject
* obj1
= 0 ;
5365 (char *) "self",(char *) "m_x", NULL
5368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5371 arg2
= (double) SWIG_AsDouble(obj1
);
5372 if (PyErr_Occurred()) SWIG_fail
;
5373 if (arg1
) (arg1
)->m_x
= arg2
;
5375 Py_INCREF(Py_None
); resultobj
= Py_None
;
5382 static PyObject
*_wrap_Point2D_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5383 PyObject
*resultobj
;
5384 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5386 PyObject
* obj0
= 0 ;
5388 (char *) "self", NULL
5391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5394 result
= (double) ((arg1
)->m_x
);
5396 resultobj
= SWIG_FromDouble((double)result
);
5403 static PyObject
*_wrap_Point2D_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5404 PyObject
*resultobj
;
5405 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5407 PyObject
* obj0
= 0 ;
5408 PyObject
* obj1
= 0 ;
5410 (char *) "self",(char *) "m_y", NULL
5413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5416 arg2
= (double) SWIG_AsDouble(obj1
);
5417 if (PyErr_Occurred()) SWIG_fail
;
5418 if (arg1
) (arg1
)->m_y
= arg2
;
5420 Py_INCREF(Py_None
); resultobj
= Py_None
;
5427 static PyObject
*_wrap_Point2D_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5428 PyObject
*resultobj
;
5429 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5431 PyObject
* obj0
= 0 ;
5433 (char *) "self", NULL
5436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5439 result
= (double) ((arg1
)->m_y
);
5441 resultobj
= SWIG_FromDouble((double)result
);
5448 static PyObject
*_wrap_Point2D_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5449 PyObject
*resultobj
;
5450 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5451 double arg2
= (double) 0 ;
5452 double arg3
= (double) 0 ;
5453 PyObject
* obj0
= 0 ;
5454 PyObject
* obj1
= 0 ;
5455 PyObject
* obj2
= 0 ;
5457 (char *) "self",(char *) "x",(char *) "y", NULL
5460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5464 arg2
= (double) SWIG_AsDouble(obj1
);
5465 if (PyErr_Occurred()) SWIG_fail
;
5468 arg3
= (double) SWIG_AsDouble(obj2
);
5469 if (PyErr_Occurred()) SWIG_fail
;
5472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5473 wxPoint2D_Set(arg1
,arg2
,arg3
);
5475 wxPyEndAllowThreads(__tstate
);
5476 if (PyErr_Occurred()) SWIG_fail
;
5478 Py_INCREF(Py_None
); resultobj
= Py_None
;
5485 static PyObject
*_wrap_Point2D_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5486 PyObject
*resultobj
;
5487 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5489 PyObject
* obj0
= 0 ;
5491 (char *) "self", NULL
5494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5499 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5501 wxPyEndAllowThreads(__tstate
);
5502 if (PyErr_Occurred()) SWIG_fail
;
5511 static PyObject
* Point2D_swigregister(PyObject
*self
, PyObject
*args
) {
5513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5514 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5516 return Py_BuildValue((char *)"");
5518 static int _wrap_DefaultPosition_set(PyObject
*_val
) {
5519 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5524 static PyObject
*_wrap_DefaultPosition_get() {
5527 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
5532 static int _wrap_DefaultSize_set(PyObject
*_val
) {
5533 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5538 static PyObject
*_wrap_DefaultSize_get() {
5541 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
5546 static PyObject
*_wrap_new_InputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5547 PyObject
*resultobj
;
5548 PyObject
*arg1
= (PyObject
*) 0 ;
5549 wxPyInputStream
*result
;
5550 PyObject
* obj0
= 0 ;
5555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5559 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5561 wxPyEndAllowThreads(__tstate
);
5562 if (PyErr_Occurred()) SWIG_fail
;
5564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
5571 static PyObject
*_wrap_InputStream_close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5572 PyObject
*resultobj
;
5573 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5574 PyObject
* obj0
= 0 ;
5576 (char *) "self", NULL
5579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
5580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5586 wxPyEndAllowThreads(__tstate
);
5587 if (PyErr_Occurred()) SWIG_fail
;
5589 Py_INCREF(Py_None
); resultobj
= Py_None
;
5596 static PyObject
*_wrap_InputStream_flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5597 PyObject
*resultobj
;
5598 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5599 PyObject
* obj0
= 0 ;
5601 (char *) "self", NULL
5604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
5605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5611 wxPyEndAllowThreads(__tstate
);
5612 if (PyErr_Occurred()) SWIG_fail
;
5614 Py_INCREF(Py_None
); resultobj
= Py_None
;
5621 static PyObject
*_wrap_InputStream_eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5622 PyObject
*resultobj
;
5623 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5625 PyObject
* obj0
= 0 ;
5627 (char *) "self", NULL
5630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
5631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5635 result
= (bool)(arg1
)->eof();
5637 wxPyEndAllowThreads(__tstate
);
5638 if (PyErr_Occurred()) SWIG_fail
;
5641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5649 static PyObject
*_wrap_InputStream_read(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_read",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
)->read(arg2
);
5671 wxPyEndAllowThreads(__tstate
);
5672 if (PyErr_Occurred()) SWIG_fail
;
5681 static PyObject
*_wrap_InputStream_readline(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 *) "size", NULL
5692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",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
)->readline(arg2
);
5703 wxPyEndAllowThreads(__tstate
);
5704 if (PyErr_Occurred()) SWIG_fail
;
5713 static PyObject
*_wrap_InputStream_readlines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5714 PyObject
*resultobj
;
5715 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5716 int arg2
= (int) -1 ;
5718 PyObject
* obj0
= 0 ;
5719 PyObject
* obj1
= 0 ;
5721 (char *) "self",(char *) "sizehint", NULL
5724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
5725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5728 arg2
= (int) SWIG_AsInt(obj1
);
5729 if (PyErr_Occurred()) SWIG_fail
;
5732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5733 result
= (PyObject
*)(arg1
)->readlines(arg2
);
5735 wxPyEndAllowThreads(__tstate
);
5736 if (PyErr_Occurred()) SWIG_fail
;
5745 static PyObject
*_wrap_InputStream_seek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5746 PyObject
*resultobj
;
5747 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5749 int arg3
= (int) 0 ;
5750 PyObject
* obj0
= 0 ;
5751 PyObject
* obj1
= 0 ;
5752 PyObject
* obj2
= 0 ;
5754 (char *) "self",(char *) "offset",(char *) "whence", NULL
5757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5760 arg2
= (int) SWIG_AsInt(obj1
);
5761 if (PyErr_Occurred()) SWIG_fail
;
5763 arg3
= (int) SWIG_AsInt(obj2
);
5764 if (PyErr_Occurred()) SWIG_fail
;
5767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5768 (arg1
)->seek(arg2
,arg3
);
5770 wxPyEndAllowThreads(__tstate
);
5771 if (PyErr_Occurred()) SWIG_fail
;
5773 Py_INCREF(Py_None
); resultobj
= Py_None
;
5780 static PyObject
*_wrap_InputStream_tell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5781 PyObject
*resultobj
;
5782 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5784 PyObject
* obj0
= 0 ;
5786 (char *) "self", NULL
5789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
5790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5794 result
= (int)(arg1
)->tell();
5796 wxPyEndAllowThreads(__tstate
);
5797 if (PyErr_Occurred()) SWIG_fail
;
5799 resultobj
= SWIG_FromInt((int)result
);
5806 static PyObject
*_wrap_InputStream_Peek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5807 PyObject
*resultobj
;
5808 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5810 PyObject
* obj0
= 0 ;
5812 (char *) "self", NULL
5815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
5816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5820 result
= (char)(arg1
)->Peek();
5822 wxPyEndAllowThreads(__tstate
);
5823 if (PyErr_Occurred()) SWIG_fail
;
5825 resultobj
= SWIG_FromChar((char)result
);
5832 static PyObject
*_wrap_InputStream_GetC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5833 PyObject
*resultobj
;
5834 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5836 PyObject
* obj0
= 0 ;
5838 (char *) "self", NULL
5841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
5842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5846 result
= (char)(arg1
)->GetC();
5848 wxPyEndAllowThreads(__tstate
);
5849 if (PyErr_Occurred()) SWIG_fail
;
5851 resultobj
= SWIG_FromChar((char)result
);
5858 static PyObject
*_wrap_InputStream_LastRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5859 PyObject
*resultobj
;
5860 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5862 PyObject
* obj0
= 0 ;
5864 (char *) "self", NULL
5867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
5868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5872 result
= (size_t)(arg1
)->LastRead();
5874 wxPyEndAllowThreads(__tstate
);
5875 if (PyErr_Occurred()) SWIG_fail
;
5877 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
5884 static PyObject
*_wrap_InputStream_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5885 PyObject
*resultobj
;
5886 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5888 PyObject
* obj0
= 0 ;
5890 (char *) "self", NULL
5893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
5894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5898 result
= (bool)(arg1
)->CanRead();
5900 wxPyEndAllowThreads(__tstate
);
5901 if (PyErr_Occurred()) SWIG_fail
;
5904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5912 static PyObject
*_wrap_InputStream_Eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5913 PyObject
*resultobj
;
5914 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5916 PyObject
* obj0
= 0 ;
5918 (char *) "self", NULL
5921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
5922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5926 result
= (bool)(arg1
)->Eof();
5928 wxPyEndAllowThreads(__tstate
);
5929 if (PyErr_Occurred()) SWIG_fail
;
5932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5940 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5941 PyObject
*resultobj
;
5942 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5945 PyObject
* obj0
= 0 ;
5946 PyObject
* obj1
= 0 ;
5948 (char *) "self",(char *) "c", NULL
5951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
5952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5954 arg2
= (char) SWIG_AsChar(obj1
);
5955 if (PyErr_Occurred()) SWIG_fail
;
5957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5958 result
= (bool)(arg1
)->Ungetch(arg2
);
5960 wxPyEndAllowThreads(__tstate
);
5961 if (PyErr_Occurred()) SWIG_fail
;
5964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5972 static PyObject
*_wrap_InputStream_SeekI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5973 PyObject
*resultobj
;
5974 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5976 int arg3
= (int) wxFromStart
;
5978 PyObject
* obj0
= 0 ;
5979 PyObject
* obj1
= 0 ;
5980 PyObject
* obj2
= 0 ;
5982 (char *) "self",(char *) "pos",(char *) "mode", NULL
5985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5988 arg2
= (long) SWIG_AsLong(obj1
);
5989 if (PyErr_Occurred()) SWIG_fail
;
5991 arg3
= (wxSeekMode
) SWIG_AsInt(obj2
);
5992 if (PyErr_Occurred()) SWIG_fail
;
5995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5996 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
5998 wxPyEndAllowThreads(__tstate
);
5999 if (PyErr_Occurred()) SWIG_fail
;
6001 resultobj
= SWIG_FromLong((long)result
);
6008 static PyObject
*_wrap_InputStream_TellI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6009 PyObject
*resultobj
;
6010 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6012 PyObject
* obj0
= 0 ;
6014 (char *) "self", NULL
6017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
6018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6022 result
= (long)(arg1
)->TellI();
6024 wxPyEndAllowThreads(__tstate
);
6025 if (PyErr_Occurred()) SWIG_fail
;
6027 resultobj
= SWIG_FromLong((long)result
);
6034 static PyObject
* InputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6036 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6037 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6039 return Py_BuildValue((char *)"");
6041 static PyObject
*_wrap_OutputStream_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6042 PyObject
*resultobj
;
6043 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6044 PyObject
*arg2
= (PyObject
*) 0 ;
6045 PyObject
* obj0
= 0 ;
6046 PyObject
* obj1
= 0 ;
6048 (char *) "self",(char *) "obj", NULL
6051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6057 wxOutputStream_write(arg1
,arg2
);
6059 wxPyEndAllowThreads(__tstate
);
6060 if (PyErr_Occurred()) SWIG_fail
;
6062 Py_INCREF(Py_None
); resultobj
= Py_None
;
6069 static PyObject
* OutputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6071 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6072 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6074 return Py_BuildValue((char *)"");
6076 static PyObject
*_wrap_new_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6077 PyObject
*resultobj
;
6078 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6079 wxString
*arg2
= 0 ;
6080 wxString
*arg3
= 0 ;
6081 wxString
*arg4
= 0 ;
6084 wxPyInputStream
*temp1
;
6086 bool temp2
= False
;
6087 bool temp3
= False
;
6088 bool temp4
= False
;
6090 PyObject
* obj0
= 0 ;
6091 PyObject
* obj1
= 0 ;
6092 PyObject
* obj2
= 0 ;
6093 PyObject
* obj3
= 0 ;
6094 PyObject
* obj4
= 0 ;
6096 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6101 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6102 arg1
= temp1
->m_wxis
;
6105 PyErr_Clear(); // clear the failure of the wxPyConvert above
6106 arg1
= wxPyCBInputStream_create(obj0
, False
);
6108 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6115 arg2
= wxString_in_helper(obj1
);
6116 if (arg2
== NULL
) SWIG_fail
;
6120 arg3
= wxString_in_helper(obj2
);
6121 if (arg3
== NULL
) SWIG_fail
;
6125 arg4
= wxString_in_helper(obj3
);
6126 if (arg4
== NULL
) SWIG_fail
;
6129 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6130 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6134 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6136 wxPyEndAllowThreads(__tstate
);
6137 if (PyErr_Occurred()) SWIG_fail
;
6140 resultobj
= wxPyMake_wxObject(result
);
6180 static PyObject
*_wrap_delete_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6181 PyObject
*resultobj
;
6182 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6183 PyObject
* obj0
= 0 ;
6185 (char *) "self", NULL
6188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6195 wxPyEndAllowThreads(__tstate
);
6196 if (PyErr_Occurred()) SWIG_fail
;
6198 Py_INCREF(Py_None
); resultobj
= Py_None
;
6205 static PyObject
*_wrap_FSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6206 PyObject
*resultobj
;
6207 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6208 wxInputStream
*result
;
6209 PyObject
* obj0
= 0 ;
6211 (char *) "self", NULL
6214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6219 result
= (wxInputStream
*)(arg1
)->GetStream();
6221 wxPyEndAllowThreads(__tstate
);
6222 if (PyErr_Occurred()) SWIG_fail
;
6225 wxPyInputStream
* _ptr
= NULL
;
6228 _ptr
= new wxPyInputStream(result
);
6230 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
6238 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6239 PyObject
*resultobj
;
6240 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6242 PyObject
* obj0
= 0 ;
6244 (char *) "self", NULL
6247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6253 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6254 result
= (wxString
*) &_result_ref
;
6257 wxPyEndAllowThreads(__tstate
);
6258 if (PyErr_Occurred()) SWIG_fail
;
6262 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6264 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6273 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6274 PyObject
*resultobj
;
6275 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6277 PyObject
* obj0
= 0 ;
6279 (char *) "self", NULL
6282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6288 wxString
const &_result_ref
= (arg1
)->GetLocation();
6289 result
= (wxString
*) &_result_ref
;
6292 wxPyEndAllowThreads(__tstate
);
6293 if (PyErr_Occurred()) SWIG_fail
;
6297 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6299 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6308 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6309 PyObject
*resultobj
;
6310 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6312 PyObject
* obj0
= 0 ;
6314 (char *) "self", NULL
6317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6323 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6324 result
= (wxString
*) &_result_ref
;
6327 wxPyEndAllowThreads(__tstate
);
6328 if (PyErr_Occurred()) SWIG_fail
;
6332 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6334 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6343 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6344 PyObject
*resultobj
;
6345 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6347 PyObject
* obj0
= 0 ;
6349 (char *) "self", NULL
6352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6357 result
= (arg1
)->GetModificationTime();
6359 wxPyEndAllowThreads(__tstate
);
6360 if (PyErr_Occurred()) SWIG_fail
;
6363 wxDateTime
* resultptr
;
6364 resultptr
= new wxDateTime((wxDateTime
&) result
);
6365 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6373 static PyObject
* FSFile_swigregister(PyObject
*self
, PyObject
*args
) {
6375 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6376 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6378 return Py_BuildValue((char *)"");
6380 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6382 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6383 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6385 return Py_BuildValue((char *)"");
6387 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6388 PyObject
*resultobj
;
6389 wxPyFileSystemHandler
*result
;
6394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6397 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6399 wxPyEndAllowThreads(__tstate
);
6400 if (PyErr_Occurred()) SWIG_fail
;
6402 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6409 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6410 PyObject
*resultobj
;
6411 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6412 PyObject
*arg2
= (PyObject
*) 0 ;
6413 PyObject
*arg3
= (PyObject
*) 0 ;
6414 PyObject
* obj0
= 0 ;
6415 PyObject
* obj1
= 0 ;
6416 PyObject
* obj2
= 0 ;
6418 (char *) "self",(char *) "self",(char *) "_class", NULL
6421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6428 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6430 wxPyEndAllowThreads(__tstate
);
6431 if (PyErr_Occurred()) SWIG_fail
;
6433 Py_INCREF(Py_None
); resultobj
= Py_None
;
6440 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6441 PyObject
*resultobj
;
6442 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6443 wxString
*arg2
= 0 ;
6445 bool temp2
= False
;
6446 PyObject
* obj0
= 0 ;
6447 PyObject
* obj1
= 0 ;
6449 (char *) "self",(char *) "location", NULL
6452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6456 arg2
= wxString_in_helper(obj1
);
6457 if (arg2
== NULL
) SWIG_fail
;
6461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6462 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6464 wxPyEndAllowThreads(__tstate
);
6465 if (PyErr_Occurred()) SWIG_fail
;
6468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6484 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6485 PyObject
*resultobj
;
6486 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6487 wxFileSystem
*arg2
= 0 ;
6488 wxString
*arg3
= 0 ;
6490 bool temp3
= False
;
6491 PyObject
* obj0
= 0 ;
6492 PyObject
* obj1
= 0 ;
6493 PyObject
* obj2
= 0 ;
6495 (char *) "self",(char *) "fs",(char *) "location", NULL
6498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6501 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
6502 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6505 PyErr_SetString(PyExc_TypeError
,"null reference");
6509 arg3
= wxString_in_helper(obj2
);
6510 if (arg3
== NULL
) SWIG_fail
;
6514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6515 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6517 wxPyEndAllowThreads(__tstate
);
6518 if (PyErr_Occurred()) SWIG_fail
;
6521 resultobj
= wxPyMake_wxObject(result
);
6537 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6538 PyObject
*resultobj
;
6539 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6540 wxString
*arg2
= 0 ;
6541 int arg3
= (int) 0 ;
6543 bool temp2
= False
;
6544 PyObject
* obj0
= 0 ;
6545 PyObject
* obj1
= 0 ;
6546 PyObject
* obj2
= 0 ;
6548 (char *) "self",(char *) "spec",(char *) "flags", NULL
6551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6555 arg2
= wxString_in_helper(obj1
);
6556 if (arg2
== NULL
) SWIG_fail
;
6560 arg3
= (int) SWIG_AsInt(obj2
);
6561 if (PyErr_Occurred()) SWIG_fail
;
6564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6565 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
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());
6591 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6592 PyObject
*resultobj
;
6593 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6595 PyObject
* obj0
= 0 ;
6597 (char *) "self", NULL
6600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6605 result
= (arg1
)->FindNext();
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());
6623 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6624 PyObject
*resultobj
;
6625 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6626 wxString
*arg2
= 0 ;
6628 bool temp2
= False
;
6629 PyObject
* obj0
= 0 ;
6630 PyObject
* obj1
= 0 ;
6632 (char *) "self",(char *) "location", NULL
6635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
6636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6639 arg2
= wxString_in_helper(obj1
);
6640 if (arg2
== NULL
) SWIG_fail
;
6644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6645 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
6647 wxPyEndAllowThreads(__tstate
);
6648 if (PyErr_Occurred()) SWIG_fail
;
6652 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6654 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6671 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6672 PyObject
*resultobj
;
6673 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6674 wxString
*arg2
= 0 ;
6676 bool temp2
= False
;
6677 PyObject
* obj0
= 0 ;
6678 PyObject
* obj1
= 0 ;
6680 (char *) "self",(char *) "location", NULL
6683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6687 arg2
= wxString_in_helper(obj1
);
6688 if (arg2
== NULL
) SWIG_fail
;
6692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6693 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
6695 wxPyEndAllowThreads(__tstate
);
6696 if (PyErr_Occurred()) SWIG_fail
;
6700 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6702 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6719 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6720 PyObject
*resultobj
;
6721 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6722 wxString
*arg2
= 0 ;
6724 bool temp2
= False
;
6725 PyObject
* obj0
= 0 ;
6726 PyObject
* obj1
= 0 ;
6728 (char *) "self",(char *) "location", NULL
6731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
6732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6735 arg2
= wxString_in_helper(obj1
);
6736 if (arg2
== NULL
) SWIG_fail
;
6740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6741 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
6743 wxPyEndAllowThreads(__tstate
);
6744 if (PyErr_Occurred()) SWIG_fail
;
6748 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6750 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6767 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6768 PyObject
*resultobj
;
6769 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6770 wxString
*arg2
= 0 ;
6772 bool temp2
= False
;
6773 PyObject
* obj0
= 0 ;
6774 PyObject
* obj1
= 0 ;
6776 (char *) "self",(char *) "location", NULL
6779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6783 arg2
= wxString_in_helper(obj1
);
6784 if (arg2
== NULL
) SWIG_fail
;
6788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6789 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
6791 wxPyEndAllowThreads(__tstate
);
6792 if (PyErr_Occurred()) SWIG_fail
;
6796 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6798 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6815 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6816 PyObject
*resultobj
;
6817 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6818 wxString
*arg2
= 0 ;
6820 bool temp2
= False
;
6821 PyObject
* obj0
= 0 ;
6822 PyObject
* obj1
= 0 ;
6824 (char *) "self",(char *) "location", NULL
6827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
6828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6831 arg2
= wxString_in_helper(obj1
);
6832 if (arg2
== NULL
) SWIG_fail
;
6836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6837 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
6839 wxPyEndAllowThreads(__tstate
);
6840 if (PyErr_Occurred()) SWIG_fail
;
6844 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6846 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6863 static PyObject
* FileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6865 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6866 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
6868 return Py_BuildValue((char *)"");
6870 static PyObject
*_wrap_new_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6871 PyObject
*resultobj
;
6872 wxFileSystem
*result
;
6877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
6879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6880 result
= (wxFileSystem
*)new wxFileSystem();
6882 wxPyEndAllowThreads(__tstate
);
6883 if (PyErr_Occurred()) SWIG_fail
;
6886 resultobj
= wxPyMake_wxObject(result
);
6894 static PyObject
*_wrap_delete_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6895 PyObject
*resultobj
;
6896 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6897 PyObject
* obj0
= 0 ;
6899 (char *) "self", NULL
6902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
6903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
6904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6909 wxPyEndAllowThreads(__tstate
);
6910 if (PyErr_Occurred()) SWIG_fail
;
6912 Py_INCREF(Py_None
); resultobj
= Py_None
;
6919 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6920 PyObject
*resultobj
;
6921 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6922 wxString
*arg2
= 0 ;
6923 bool arg3
= (bool) False
;
6924 bool temp2
= False
;
6925 PyObject
* obj0
= 0 ;
6926 PyObject
* obj1
= 0 ;
6927 PyObject
* obj2
= 0 ;
6929 (char *) "self",(char *) "location",(char *) "is_dir", NULL
6932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
6934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6936 arg2
= wxString_in_helper(obj1
);
6937 if (arg2
== NULL
) SWIG_fail
;
6941 arg3
= (bool) SWIG_AsBool(obj2
);
6942 if (PyErr_Occurred()) SWIG_fail
;
6945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6946 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
6948 wxPyEndAllowThreads(__tstate
);
6949 if (PyErr_Occurred()) SWIG_fail
;
6951 Py_INCREF(Py_None
); resultobj
= Py_None
;
6966 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6967 PyObject
*resultobj
;
6968 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6970 PyObject
* obj0
= 0 ;
6972 (char *) "self", NULL
6975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
6976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
6977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6980 result
= (arg1
)->GetPath();
6982 wxPyEndAllowThreads(__tstate
);
6983 if (PyErr_Occurred()) SWIG_fail
;
6987 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6989 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6998 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6999 PyObject
*resultobj
;
7000 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7001 wxString
*arg2
= 0 ;
7003 bool temp2
= False
;
7004 PyObject
* obj0
= 0 ;
7005 PyObject
* obj1
= 0 ;
7007 (char *) "self",(char *) "location", NULL
7010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7014 arg2
= wxString_in_helper(obj1
);
7015 if (arg2
== NULL
) SWIG_fail
;
7019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7020 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
7022 wxPyEndAllowThreads(__tstate
);
7023 if (PyErr_Occurred()) SWIG_fail
;
7026 resultobj
= wxPyMake_wxObject(result
);
7042 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7043 PyObject
*resultobj
;
7044 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7045 wxString
*arg2
= 0 ;
7046 int arg3
= (int) 0 ;
7048 bool temp2
= False
;
7049 PyObject
* obj0
= 0 ;
7050 PyObject
* obj1
= 0 ;
7051 PyObject
* obj2
= 0 ;
7053 (char *) "self",(char *) "spec",(char *) "flags", NULL
7056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7060 arg2
= wxString_in_helper(obj1
);
7061 if (arg2
== NULL
) SWIG_fail
;
7065 arg3
= (int) SWIG_AsInt(obj2
);
7066 if (PyErr_Occurred()) SWIG_fail
;
7069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7070 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
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());
7096 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7097 PyObject
*resultobj
;
7098 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7100 PyObject
* obj0
= 0 ;
7102 (char *) "self", NULL
7105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7110 result
= (arg1
)->FindNext();
7112 wxPyEndAllowThreads(__tstate
);
7113 if (PyErr_Occurred()) SWIG_fail
;
7117 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7119 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7128 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7129 PyObject
*resultobj
;
7130 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7131 PyObject
* obj0
= 0 ;
7133 (char *) "handler", NULL
7136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7141 wxFileSystem::AddHandler(arg1
);
7143 wxPyEndAllowThreads(__tstate
);
7144 if (PyErr_Occurred()) SWIG_fail
;
7146 Py_INCREF(Py_None
); resultobj
= Py_None
;
7153 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7154 PyObject
*resultobj
;
7159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7162 wxFileSystem::CleanUpHandlers();
7164 wxPyEndAllowThreads(__tstate
);
7165 if (PyErr_Occurred()) SWIG_fail
;
7167 Py_INCREF(Py_None
); resultobj
= Py_None
;
7174 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7175 PyObject
*resultobj
;
7176 wxString
*arg1
= 0 ;
7178 bool temp1
= False
;
7179 PyObject
* obj0
= 0 ;
7181 (char *) "filename", NULL
7184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7186 arg1
= wxString_in_helper(obj0
);
7187 if (arg1
== NULL
) SWIG_fail
;
7191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7192 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7194 wxPyEndAllowThreads(__tstate
);
7195 if (PyErr_Occurred()) SWIG_fail
;
7199 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7201 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7218 static PyObject
* FileSystem_swigregister(PyObject
*self
, PyObject
*args
) {
7220 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7221 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7223 return Py_BuildValue((char *)"");
7225 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7226 PyObject
*resultobj
;
7227 wxString
*arg1
= 0 ;
7229 bool temp1
= False
;
7230 PyObject
* obj0
= 0 ;
7232 (char *) "url", NULL
7235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7237 arg1
= wxString_in_helper(obj0
);
7238 if (arg1
== NULL
) SWIG_fail
;
7242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7243 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
7245 wxPyEndAllowThreads(__tstate
);
7246 if (PyErr_Occurred()) SWIG_fail
;
7250 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7252 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7269 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7270 PyObject
*resultobj
;
7271 wxInternetFSHandler
*result
;
7276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7279 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7281 wxPyEndAllowThreads(__tstate
);
7282 if (PyErr_Occurred()) SWIG_fail
;
7284 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7291 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7292 PyObject
*resultobj
;
7293 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7294 wxString
*arg2
= 0 ;
7296 bool temp2
= False
;
7297 PyObject
* obj0
= 0 ;
7298 PyObject
* obj1
= 0 ;
7300 (char *) "self",(char *) "location", NULL
7303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7307 arg2
= wxString_in_helper(obj1
);
7308 if (arg2
== NULL
) SWIG_fail
;
7312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7313 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7315 wxPyEndAllowThreads(__tstate
);
7316 if (PyErr_Occurred()) SWIG_fail
;
7319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7335 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7336 PyObject
*resultobj
;
7337 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7338 wxFileSystem
*arg2
= 0 ;
7339 wxString
*arg3
= 0 ;
7341 bool temp3
= False
;
7342 PyObject
* obj0
= 0 ;
7343 PyObject
* obj1
= 0 ;
7344 PyObject
* obj2
= 0 ;
7346 (char *) "self",(char *) "fs",(char *) "location", NULL
7349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7352 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7353 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7356 PyErr_SetString(PyExc_TypeError
,"null reference");
7360 arg3
= wxString_in_helper(obj2
);
7361 if (arg3
== NULL
) SWIG_fail
;
7365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7366 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7368 wxPyEndAllowThreads(__tstate
);
7369 if (PyErr_Occurred()) SWIG_fail
;
7372 resultobj
= wxPyMake_wxObject(result
);
7388 static PyObject
* InternetFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7390 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7391 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7393 return Py_BuildValue((char *)"");
7395 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7396 PyObject
*resultobj
;
7397 wxZipFSHandler
*result
;
7402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7405 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7407 wxPyEndAllowThreads(__tstate
);
7408 if (PyErr_Occurred()) SWIG_fail
;
7410 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7417 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7418 PyObject
*resultobj
;
7419 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7420 wxString
*arg2
= 0 ;
7422 bool temp2
= False
;
7423 PyObject
* obj0
= 0 ;
7424 PyObject
* obj1
= 0 ;
7426 (char *) "self",(char *) "location", NULL
7429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7433 arg2
= wxString_in_helper(obj1
);
7434 if (arg2
== NULL
) SWIG_fail
;
7438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7439 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7441 wxPyEndAllowThreads(__tstate
);
7442 if (PyErr_Occurred()) SWIG_fail
;
7445 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7461 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7462 PyObject
*resultobj
;
7463 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7464 wxFileSystem
*arg2
= 0 ;
7465 wxString
*arg3
= 0 ;
7467 bool temp3
= False
;
7468 PyObject
* obj0
= 0 ;
7469 PyObject
* obj1
= 0 ;
7470 PyObject
* obj2
= 0 ;
7472 (char *) "self",(char *) "fs",(char *) "location", NULL
7475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7478 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7479 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7482 PyErr_SetString(PyExc_TypeError
,"null reference");
7486 arg3
= wxString_in_helper(obj2
);
7487 if (arg3
== NULL
) SWIG_fail
;
7491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7492 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7494 wxPyEndAllowThreads(__tstate
);
7495 if (PyErr_Occurred()) SWIG_fail
;
7498 resultobj
= wxPyMake_wxObject(result
);
7514 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7515 PyObject
*resultobj
;
7516 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7517 wxString
*arg2
= 0 ;
7518 int arg3
= (int) 0 ;
7520 bool temp2
= False
;
7521 PyObject
* obj0
= 0 ;
7522 PyObject
* obj1
= 0 ;
7523 PyObject
* obj2
= 0 ;
7525 (char *) "self",(char *) "spec",(char *) "flags", NULL
7528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7532 arg2
= wxString_in_helper(obj1
);
7533 if (arg2
== NULL
) SWIG_fail
;
7537 arg3
= (int) SWIG_AsInt(obj2
);
7538 if (PyErr_Occurred()) SWIG_fail
;
7541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7542 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7544 wxPyEndAllowThreads(__tstate
);
7545 if (PyErr_Occurred()) SWIG_fail
;
7549 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7551 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7568 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7569 PyObject
*resultobj
;
7570 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7572 PyObject
* obj0
= 0 ;
7574 (char *) "self", NULL
7577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7582 result
= (arg1
)->FindNext();
7584 wxPyEndAllowThreads(__tstate
);
7585 if (PyErr_Occurred()) SWIG_fail
;
7589 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7591 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7600 static PyObject
* ZipFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7602 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7603 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
7605 return Py_BuildValue((char *)"");
7607 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7608 PyObject
*resultobj
;
7609 wxString
*arg1
= 0 ;
7612 bool temp1
= False
;
7613 PyObject
* obj0
= 0 ;
7614 PyObject
* obj1
= 0 ;
7615 PyObject
* obj2
= 0 ;
7617 (char *) "filename",(char *) "image",(char *) "type", NULL
7620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7622 arg1
= wxString_in_helper(obj0
);
7623 if (arg1
== NULL
) SWIG_fail
;
7626 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
7627 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7630 PyErr_SetString(PyExc_TypeError
,"null reference");
7633 arg3
= (long) SWIG_AsLong(obj2
);
7634 if (PyErr_Occurred()) SWIG_fail
;
7636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7637 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
7639 wxPyEndAllowThreads(__tstate
);
7640 if (PyErr_Occurred()) SWIG_fail
;
7642 Py_INCREF(Py_None
); resultobj
= Py_None
;
7657 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7658 PyObject
*resultobj
;
7659 wxString
*arg1
= 0 ;
7660 wxBitmap
*arg2
= 0 ;
7662 bool temp1
= False
;
7663 PyObject
* obj0
= 0 ;
7664 PyObject
* obj1
= 0 ;
7665 PyObject
* obj2
= 0 ;
7667 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7672 arg1
= wxString_in_helper(obj0
);
7673 if (arg1
== NULL
) SWIG_fail
;
7676 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
7677 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7680 PyErr_SetString(PyExc_TypeError
,"null reference");
7683 arg3
= (long) SWIG_AsLong(obj2
);
7684 if (PyErr_Occurred()) SWIG_fail
;
7686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7687 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
7689 wxPyEndAllowThreads(__tstate
);
7690 if (PyErr_Occurred()) SWIG_fail
;
7692 Py_INCREF(Py_None
); resultobj
= Py_None
;
7707 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7708 PyObject
*resultobj
;
7709 wxString
*arg1
= 0 ;
7710 PyObject
*arg2
= (PyObject
*) 0 ;
7711 bool temp1
= False
;
7712 PyObject
* obj0
= 0 ;
7713 PyObject
* obj1
= 0 ;
7715 (char *) "filename",(char *) "data", NULL
7718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
7720 arg1
= wxString_in_helper(obj0
);
7721 if (arg1
== NULL
) SWIG_fail
;
7726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7727 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
7729 wxPyEndAllowThreads(__tstate
);
7730 if (PyErr_Occurred()) SWIG_fail
;
7732 Py_INCREF(Py_None
); resultobj
= Py_None
;
7747 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7748 PyObject
*resultobj
;
7749 wxMemoryFSHandler
*result
;
7754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
7756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7757 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
7759 wxPyEndAllowThreads(__tstate
);
7760 if (PyErr_Occurred()) SWIG_fail
;
7762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
7769 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7770 PyObject
*resultobj
;
7771 wxString
*arg1
= 0 ;
7772 bool temp1
= False
;
7773 PyObject
* obj0
= 0 ;
7775 (char *) "filename", NULL
7778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
7780 arg1
= wxString_in_helper(obj0
);
7781 if (arg1
== NULL
) SWIG_fail
;
7785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7786 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
7788 wxPyEndAllowThreads(__tstate
);
7789 if (PyErr_Occurred()) SWIG_fail
;
7791 Py_INCREF(Py_None
); resultobj
= Py_None
;
7806 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7807 PyObject
*resultobj
;
7808 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7809 wxString
*arg2
= 0 ;
7811 bool temp2
= False
;
7812 PyObject
* obj0
= 0 ;
7813 PyObject
* obj1
= 0 ;
7815 (char *) "self",(char *) "location", NULL
7818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7822 arg2
= wxString_in_helper(obj1
);
7823 if (arg2
== NULL
) SWIG_fail
;
7827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7828 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7830 wxPyEndAllowThreads(__tstate
);
7831 if (PyErr_Occurred()) SWIG_fail
;
7834 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7850 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7851 PyObject
*resultobj
;
7852 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7853 wxFileSystem
*arg2
= 0 ;
7854 wxString
*arg3
= 0 ;
7856 bool temp3
= False
;
7857 PyObject
* obj0
= 0 ;
7858 PyObject
* obj1
= 0 ;
7859 PyObject
* obj2
= 0 ;
7861 (char *) "self",(char *) "fs",(char *) "location", NULL
7864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7867 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7868 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7871 PyErr_SetString(PyExc_TypeError
,"null reference");
7875 arg3
= wxString_in_helper(obj2
);
7876 if (arg3
== NULL
) SWIG_fail
;
7880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7881 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7883 wxPyEndAllowThreads(__tstate
);
7884 if (PyErr_Occurred()) SWIG_fail
;
7887 resultobj
= wxPyMake_wxObject(result
);
7903 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7904 PyObject
*resultobj
;
7905 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7906 wxString
*arg2
= 0 ;
7907 int arg3
= (int) 0 ;
7909 bool temp2
= False
;
7910 PyObject
* obj0
= 0 ;
7911 PyObject
* obj1
= 0 ;
7912 PyObject
* obj2
= 0 ;
7914 (char *) "self",(char *) "spec",(char *) "flags", NULL
7917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7921 arg2
= wxString_in_helper(obj1
);
7922 if (arg2
== NULL
) SWIG_fail
;
7926 arg3
= (int) SWIG_AsInt(obj2
);
7927 if (PyErr_Occurred()) SWIG_fail
;
7930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7931 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7933 wxPyEndAllowThreads(__tstate
);
7934 if (PyErr_Occurred()) SWIG_fail
;
7938 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7940 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7957 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7958 PyObject
*resultobj
;
7959 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7961 PyObject
* obj0
= 0 ;
7963 (char *) "self", NULL
7966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7971 result
= (arg1
)->FindNext();
7973 wxPyEndAllowThreads(__tstate
);
7974 if (PyErr_Occurred()) SWIG_fail
;
7978 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7980 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7989 static PyObject
* MemoryFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7991 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7992 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
7994 return Py_BuildValue((char *)"");
7996 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7997 PyObject
*resultobj
;
7998 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8000 PyObject
* obj0
= 0 ;
8002 (char *) "self", NULL
8005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
8006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8010 result
= (arg1
)->GetName();
8012 wxPyEndAllowThreads(__tstate
);
8013 if (PyErr_Occurred()) SWIG_fail
;
8017 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8019 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8028 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8029 PyObject
*resultobj
;
8030 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8032 PyObject
* obj0
= 0 ;
8034 (char *) "self", NULL
8037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
8038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8042 result
= (arg1
)->GetExtension();
8044 wxPyEndAllowThreads(__tstate
);
8045 if (PyErr_Occurred()) SWIG_fail
;
8049 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8051 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8060 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8061 PyObject
*resultobj
;
8062 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8064 PyObject
* obj0
= 0 ;
8066 (char *) "self", NULL
8069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8074 result
= (long)(arg1
)->GetType();
8076 wxPyEndAllowThreads(__tstate
);
8077 if (PyErr_Occurred()) SWIG_fail
;
8079 resultobj
= SWIG_FromLong((long)result
);
8086 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8087 PyObject
*resultobj
;
8088 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8090 PyObject
* obj0
= 0 ;
8092 (char *) "self", NULL
8095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8100 result
= (arg1
)->GetMimeType();
8102 wxPyEndAllowThreads(__tstate
);
8103 if (PyErr_Occurred()) SWIG_fail
;
8107 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8109 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8118 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8119 PyObject
*resultobj
;
8120 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8121 wxString
*arg2
= 0 ;
8123 bool temp2
= False
;
8124 PyObject
* obj0
= 0 ;
8125 PyObject
* obj1
= 0 ;
8127 (char *) "self",(char *) "name", NULL
8130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8134 arg2
= wxString_in_helper(obj1
);
8135 if (arg2
== NULL
) SWIG_fail
;
8139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8140 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8142 wxPyEndAllowThreads(__tstate
);
8143 if (PyErr_Occurred()) SWIG_fail
;
8146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8162 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8163 PyObject
*resultobj
;
8164 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8165 wxString
*arg2
= 0 ;
8166 bool temp2
= False
;
8167 PyObject
* obj0
= 0 ;
8168 PyObject
* obj1
= 0 ;
8170 (char *) "self",(char *) "name", NULL
8173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8177 arg2
= wxString_in_helper(obj1
);
8178 if (arg2
== NULL
) SWIG_fail
;
8182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8183 (arg1
)->SetName((wxString
const &)*arg2
);
8185 wxPyEndAllowThreads(__tstate
);
8186 if (PyErr_Occurred()) SWIG_fail
;
8188 Py_INCREF(Py_None
); resultobj
= Py_None
;
8203 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8204 PyObject
*resultobj
;
8205 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8206 wxString
*arg2
= 0 ;
8207 bool temp2
= False
;
8208 PyObject
* obj0
= 0 ;
8209 PyObject
* obj1
= 0 ;
8211 (char *) "self",(char *) "extension", NULL
8214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8218 arg2
= wxString_in_helper(obj1
);
8219 if (arg2
== NULL
) SWIG_fail
;
8223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8224 (arg1
)->SetExtension((wxString
const &)*arg2
);
8226 wxPyEndAllowThreads(__tstate
);
8227 if (PyErr_Occurred()) SWIG_fail
;
8229 Py_INCREF(Py_None
); resultobj
= Py_None
;
8244 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8245 PyObject
*resultobj
;
8246 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8248 PyObject
* obj0
= 0 ;
8249 PyObject
* obj1
= 0 ;
8251 (char *) "self",(char *) "type", NULL
8254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8257 arg2
= (long) SWIG_AsLong(obj1
);
8258 if (PyErr_Occurred()) SWIG_fail
;
8260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8261 (arg1
)->SetType(arg2
);
8263 wxPyEndAllowThreads(__tstate
);
8264 if (PyErr_Occurred()) SWIG_fail
;
8266 Py_INCREF(Py_None
); resultobj
= Py_None
;
8273 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8274 PyObject
*resultobj
;
8275 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8276 wxString
*arg2
= 0 ;
8277 bool temp2
= False
;
8278 PyObject
* obj0
= 0 ;
8279 PyObject
* obj1
= 0 ;
8281 (char *) "self",(char *) "mimetype", NULL
8284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8288 arg2
= wxString_in_helper(obj1
);
8289 if (arg2
== NULL
) SWIG_fail
;
8293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8294 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8296 wxPyEndAllowThreads(__tstate
);
8297 if (PyErr_Occurred()) SWIG_fail
;
8299 Py_INCREF(Py_None
); resultobj
= Py_None
;
8314 static PyObject
* ImageHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8316 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8317 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8319 return Py_BuildValue((char *)"");
8321 static PyObject
*_wrap_new_ImageHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8322 PyObject
*resultobj
;
8323 wxImageHistogram
*result
;
8328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8331 result
= (wxImageHistogram
*)new wxImageHistogram();
8333 wxPyEndAllowThreads(__tstate
);
8334 if (PyErr_Occurred()) SWIG_fail
;
8336 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8343 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8344 PyObject
*resultobj
;
8345 unsigned char arg1
;
8346 unsigned char arg2
;
8347 unsigned char arg3
;
8348 unsigned long result
;
8349 PyObject
* obj0
= 0 ;
8350 PyObject
* obj1
= 0 ;
8351 PyObject
* obj2
= 0 ;
8353 (char *) "r",(char *) "g",(char *) "b", NULL
8356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8357 arg1
= (unsigned char) SWIG_AsUnsignedChar(obj0
);
8358 if (PyErr_Occurred()) SWIG_fail
;
8359 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8360 if (PyErr_Occurred()) SWIG_fail
;
8361 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8362 if (PyErr_Occurred()) SWIG_fail
;
8364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8365 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8367 wxPyEndAllowThreads(__tstate
);
8368 if (PyErr_Occurred()) SWIG_fail
;
8370 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8377 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8378 PyObject
*resultobj
;
8379 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8380 unsigned char *arg2
= (unsigned char *) 0 ;
8381 unsigned char *arg3
= (unsigned char *) 0 ;
8382 unsigned char *arg4
= (unsigned char *) 0 ;
8383 unsigned char arg5
= (unsigned char) 1 ;
8384 unsigned char arg6
= (unsigned char) 0 ;
8385 unsigned char arg7
= (unsigned char) 0 ;
8387 unsigned char temp2
;
8388 unsigned char temp3
;
8389 unsigned char temp4
;
8390 PyObject
* obj0
= 0 ;
8391 PyObject
* obj1
= 0 ;
8392 PyObject
* obj2
= 0 ;
8393 PyObject
* obj3
= 0 ;
8395 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8405 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8406 if (PyErr_Occurred()) SWIG_fail
;
8409 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8410 if (PyErr_Occurred()) SWIG_fail
;
8413 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
8414 if (PyErr_Occurred()) SWIG_fail
;
8417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8418 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8420 wxPyEndAllowThreads(__tstate
);
8421 if (PyErr_Occurred()) SWIG_fail
;
8424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8427 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8428 resultobj
= t_output_helper(resultobj
,o
);
8431 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8432 resultobj
= t_output_helper(resultobj
,o
);
8435 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8436 resultobj
= t_output_helper(resultobj
,o
);
8444 static PyObject
* ImageHistogram_swigregister(PyObject
*self
, PyObject
*args
) {
8446 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8447 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8449 return Py_BuildValue((char *)"");
8451 static PyObject
*_wrap_new_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8452 PyObject
*resultobj
;
8453 wxString
*arg1
= 0 ;
8454 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8455 int arg3
= (int) -1 ;
8457 bool temp1
= False
;
8458 PyObject
* obj0
= 0 ;
8459 PyObject
* obj1
= 0 ;
8460 PyObject
* obj2
= 0 ;
8462 (char *) "name",(char *) "type",(char *) "index", NULL
8465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8467 arg1
= wxString_in_helper(obj0
);
8468 if (arg1
== NULL
) SWIG_fail
;
8472 arg2
= (long) SWIG_AsLong(obj1
);
8473 if (PyErr_Occurred()) SWIG_fail
;
8476 arg3
= (int) SWIG_AsInt(obj2
);
8477 if (PyErr_Occurred()) SWIG_fail
;
8480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8481 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8483 wxPyEndAllowThreads(__tstate
);
8484 if (PyErr_Occurred()) SWIG_fail
;
8486 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8501 static PyObject
*_wrap_delete_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8502 PyObject
*resultobj
;
8503 wxImage
*arg1
= (wxImage
*) 0 ;
8504 PyObject
* obj0
= 0 ;
8506 (char *) "self", NULL
8509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8516 wxPyEndAllowThreads(__tstate
);
8517 if (PyErr_Occurred()) SWIG_fail
;
8519 Py_INCREF(Py_None
); resultobj
= Py_None
;
8526 static PyObject
*_wrap_new_ImageFromMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8527 PyObject
*resultobj
;
8528 wxString
*arg1
= 0 ;
8529 wxString
*arg2
= 0 ;
8530 int arg3
= (int) -1 ;
8532 bool temp1
= False
;
8533 bool temp2
= False
;
8534 PyObject
* obj0
= 0 ;
8535 PyObject
* obj1
= 0 ;
8536 PyObject
* obj2
= 0 ;
8538 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8543 arg1
= wxString_in_helper(obj0
);
8544 if (arg1
== NULL
) SWIG_fail
;
8548 arg2
= wxString_in_helper(obj1
);
8549 if (arg2
== NULL
) SWIG_fail
;
8553 arg3
= (int) SWIG_AsInt(obj2
);
8554 if (PyErr_Occurred()) SWIG_fail
;
8557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8558 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8560 wxPyEndAllowThreads(__tstate
);
8561 if (PyErr_Occurred()) SWIG_fail
;
8563 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8586 static PyObject
*_wrap_new_ImageFromStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8587 PyObject
*resultobj
;
8588 wxInputStream
*arg1
= 0 ;
8589 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8590 int arg3
= (int) -1 ;
8592 wxPyInputStream
*temp1
;
8594 PyObject
* obj0
= 0 ;
8595 PyObject
* obj1
= 0 ;
8596 PyObject
* obj2
= 0 ;
8598 (char *) "stream",(char *) "type",(char *) "index", NULL
8601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8603 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8604 arg1
= temp1
->m_wxis
;
8607 PyErr_Clear(); // clear the failure of the wxPyConvert above
8608 arg1
= wxPyCBInputStream_create(obj0
, False
);
8610 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8617 arg2
= (long) SWIG_AsLong(obj1
);
8618 if (PyErr_Occurred()) SWIG_fail
;
8621 arg3
= (int) SWIG_AsInt(obj2
);
8622 if (PyErr_Occurred()) SWIG_fail
;
8625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8626 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
8628 wxPyEndAllowThreads(__tstate
);
8629 if (PyErr_Occurred()) SWIG_fail
;
8631 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8646 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8647 PyObject
*resultobj
;
8648 wxInputStream
*arg1
= 0 ;
8649 wxString
*arg2
= 0 ;
8650 int arg3
= (int) -1 ;
8652 wxPyInputStream
*temp1
;
8654 bool temp2
= False
;
8655 PyObject
* obj0
= 0 ;
8656 PyObject
* obj1
= 0 ;
8657 PyObject
* obj2
= 0 ;
8659 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8664 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8665 arg1
= temp1
->m_wxis
;
8668 PyErr_Clear(); // clear the failure of the wxPyConvert above
8669 arg1
= wxPyCBInputStream_create(obj0
, False
);
8671 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8678 arg2
= wxString_in_helper(obj1
);
8679 if (arg2
== NULL
) SWIG_fail
;
8683 arg3
= (int) SWIG_AsInt(obj2
);
8684 if (PyErr_Occurred()) SWIG_fail
;
8687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8688 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
8690 wxPyEndAllowThreads(__tstate
);
8691 if (PyErr_Occurred()) SWIG_fail
;
8693 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8716 static PyObject
*_wrap_new_EmptyImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8717 PyObject
*resultobj
;
8718 int arg1
= (int) 0 ;
8719 int arg2
= (int) 0 ;
8720 bool arg3
= (bool) True
;
8722 PyObject
* obj0
= 0 ;
8723 PyObject
* obj1
= 0 ;
8724 PyObject
* obj2
= 0 ;
8726 (char *) "width",(char *) "height",(char *) "clear", NULL
8729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8731 arg1
= (int) SWIG_AsInt(obj0
);
8732 if (PyErr_Occurred()) SWIG_fail
;
8735 arg2
= (int) SWIG_AsInt(obj1
);
8736 if (PyErr_Occurred()) SWIG_fail
;
8739 arg3
= (bool) SWIG_AsBool(obj2
);
8740 if (PyErr_Occurred()) SWIG_fail
;
8743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8744 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8746 wxPyEndAllowThreads(__tstate
);
8747 if (PyErr_Occurred()) SWIG_fail
;
8749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8756 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8757 PyObject
*resultobj
;
8758 wxBitmap
*arg1
= 0 ;
8760 PyObject
* obj0
= 0 ;
8762 (char *) "bitmap", NULL
8765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
8766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
8767 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8770 PyErr_SetString(PyExc_TypeError
,"null reference");
8774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8775 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
8777 wxPyEndAllowThreads(__tstate
);
8778 if (PyErr_Occurred()) SWIG_fail
;
8780 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8787 static PyObject
*_wrap_new_ImageFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8788 PyObject
*resultobj
;
8791 unsigned char *arg3
= (unsigned char *) 0 ;
8793 PyObject
* obj0
= 0 ;
8794 PyObject
* obj1
= 0 ;
8795 PyObject
* obj2
= 0 ;
8797 (char *) "width",(char *) "height",(char *) "data", NULL
8800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8801 arg1
= (int) SWIG_AsInt(obj0
);
8802 if (PyErr_Occurred()) SWIG_fail
;
8803 arg2
= (int) SWIG_AsInt(obj1
);
8804 if (PyErr_Occurred()) SWIG_fail
;
8805 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
8806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8809 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8811 wxPyEndAllowThreads(__tstate
);
8812 if (PyErr_Occurred()) SWIG_fail
;
8814 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8821 static PyObject
*_wrap_Image_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8822 PyObject
*resultobj
;
8823 wxImage
*arg1
= (wxImage
*) 0 ;
8826 PyObject
* obj0
= 0 ;
8827 PyObject
* obj1
= 0 ;
8828 PyObject
* obj2
= 0 ;
8830 (char *) "self",(char *) "width",(char *) "height", NULL
8833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8836 arg2
= (int) SWIG_AsInt(obj1
);
8837 if (PyErr_Occurred()) SWIG_fail
;
8838 arg3
= (int) SWIG_AsInt(obj2
);
8839 if (PyErr_Occurred()) SWIG_fail
;
8841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8842 (arg1
)->Create(arg2
,arg3
);
8844 wxPyEndAllowThreads(__tstate
);
8845 if (PyErr_Occurred()) SWIG_fail
;
8847 Py_INCREF(Py_None
); resultobj
= Py_None
;
8854 static PyObject
*_wrap_Image_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8855 PyObject
*resultobj
;
8856 wxImage
*arg1
= (wxImage
*) 0 ;
8857 PyObject
* obj0
= 0 ;
8859 (char *) "self", NULL
8862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
8863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8869 wxPyEndAllowThreads(__tstate
);
8870 if (PyErr_Occurred()) SWIG_fail
;
8872 Py_INCREF(Py_None
); resultobj
= Py_None
;
8879 static PyObject
*_wrap_Image_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8880 PyObject
*resultobj
;
8881 wxImage
*arg1
= (wxImage
*) 0 ;
8884 SwigValueWrapper
< wxImage
> result
;
8885 PyObject
* obj0
= 0 ;
8886 PyObject
* obj1
= 0 ;
8887 PyObject
* obj2
= 0 ;
8889 (char *) "self",(char *) "width",(char *) "height", NULL
8892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8895 arg2
= (int) SWIG_AsInt(obj1
);
8896 if (PyErr_Occurred()) SWIG_fail
;
8897 arg3
= (int) SWIG_AsInt(obj2
);
8898 if (PyErr_Occurred()) SWIG_fail
;
8900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8901 result
= (arg1
)->Scale(arg2
,arg3
);
8903 wxPyEndAllowThreads(__tstate
);
8904 if (PyErr_Occurred()) SWIG_fail
;
8907 wxImage
* resultptr
;
8908 resultptr
= new wxImage((wxImage
&) result
);
8909 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
8917 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8918 PyObject
*resultobj
;
8919 wxImage
*arg1
= (wxImage
*) 0 ;
8922 SwigValueWrapper
< wxImage
> result
;
8923 PyObject
* obj0
= 0 ;
8924 PyObject
* obj1
= 0 ;
8925 PyObject
* obj2
= 0 ;
8927 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
8930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8933 arg2
= (int) SWIG_AsInt(obj1
);
8934 if (PyErr_Occurred()) SWIG_fail
;
8935 arg3
= (int) SWIG_AsInt(obj2
);
8936 if (PyErr_Occurred()) SWIG_fail
;
8938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8939 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
8941 wxPyEndAllowThreads(__tstate
);
8942 if (PyErr_Occurred()) SWIG_fail
;
8945 wxImage
* resultptr
;
8946 resultptr
= new wxImage((wxImage
&) result
);
8947 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
8955 static PyObject
*_wrap_Image_Rescale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8956 PyObject
*resultobj
;
8957 wxImage
*arg1
= (wxImage
*) 0 ;
8961 PyObject
* obj0
= 0 ;
8962 PyObject
* obj1
= 0 ;
8963 PyObject
* obj2
= 0 ;
8965 (char *) "self",(char *) "width",(char *) "height", NULL
8968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8971 arg2
= (int) SWIG_AsInt(obj1
);
8972 if (PyErr_Occurred()) SWIG_fail
;
8973 arg3
= (int) SWIG_AsInt(obj2
);
8974 if (PyErr_Occurred()) SWIG_fail
;
8976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8978 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
8979 result
= (wxImage
*) &_result_ref
;
8982 wxPyEndAllowThreads(__tstate
);
8983 if (PyErr_Occurred()) SWIG_fail
;
8985 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
8992 static PyObject
*_wrap_Image_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8993 PyObject
*resultobj
;
8994 wxImage
*arg1
= (wxImage
*) 0 ;
8997 unsigned char arg4
;
8998 unsigned char arg5
;
8999 unsigned char arg6
;
9000 PyObject
* obj0
= 0 ;
9001 PyObject
* obj1
= 0 ;
9002 PyObject
* obj2
= 0 ;
9003 PyObject
* obj3
= 0 ;
9004 PyObject
* obj4
= 0 ;
9005 PyObject
* obj5
= 0 ;
9007 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9013 arg2
= (int) SWIG_AsInt(obj1
);
9014 if (PyErr_Occurred()) SWIG_fail
;
9015 arg3
= (int) SWIG_AsInt(obj2
);
9016 if (PyErr_Occurred()) SWIG_fail
;
9017 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9018 if (PyErr_Occurred()) SWIG_fail
;
9019 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
9020 if (PyErr_Occurred()) SWIG_fail
;
9021 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
9022 if (PyErr_Occurred()) SWIG_fail
;
9024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9025 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
9027 wxPyEndAllowThreads(__tstate
);
9028 if (PyErr_Occurred()) SWIG_fail
;
9030 Py_INCREF(Py_None
); resultobj
= Py_None
;
9037 static PyObject
*_wrap_Image_GetRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9038 PyObject
*resultobj
;
9039 wxImage
*arg1
= (wxImage
*) 0 ;
9042 unsigned char result
;
9043 PyObject
* obj0
= 0 ;
9044 PyObject
* obj1
= 0 ;
9045 PyObject
* obj2
= 0 ;
9047 (char *) "self",(char *) "x",(char *) "y", NULL
9050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9053 arg2
= (int) SWIG_AsInt(obj1
);
9054 if (PyErr_Occurred()) SWIG_fail
;
9055 arg3
= (int) SWIG_AsInt(obj2
);
9056 if (PyErr_Occurred()) SWIG_fail
;
9058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9059 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9061 wxPyEndAllowThreads(__tstate
);
9062 if (PyErr_Occurred()) SWIG_fail
;
9064 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9071 static PyObject
*_wrap_Image_GetGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9072 PyObject
*resultobj
;
9073 wxImage
*arg1
= (wxImage
*) 0 ;
9076 unsigned char result
;
9077 PyObject
* obj0
= 0 ;
9078 PyObject
* obj1
= 0 ;
9079 PyObject
* obj2
= 0 ;
9081 (char *) "self",(char *) "x",(char *) "y", NULL
9084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9087 arg2
= (int) SWIG_AsInt(obj1
);
9088 if (PyErr_Occurred()) SWIG_fail
;
9089 arg3
= (int) SWIG_AsInt(obj2
);
9090 if (PyErr_Occurred()) SWIG_fail
;
9092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9093 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9095 wxPyEndAllowThreads(__tstate
);
9096 if (PyErr_Occurred()) SWIG_fail
;
9098 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9105 static PyObject
*_wrap_Image_GetBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9106 PyObject
*resultobj
;
9107 wxImage
*arg1
= (wxImage
*) 0 ;
9110 unsigned char result
;
9111 PyObject
* obj0
= 0 ;
9112 PyObject
* obj1
= 0 ;
9113 PyObject
* obj2
= 0 ;
9115 (char *) "self",(char *) "x",(char *) "y", NULL
9118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9121 arg2
= (int) SWIG_AsInt(obj1
);
9122 if (PyErr_Occurred()) SWIG_fail
;
9123 arg3
= (int) SWIG_AsInt(obj2
);
9124 if (PyErr_Occurred()) SWIG_fail
;
9126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9127 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9129 wxPyEndAllowThreads(__tstate
);
9130 if (PyErr_Occurred()) SWIG_fail
;
9132 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9139 static PyObject
*_wrap_Image_SetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9140 PyObject
*resultobj
;
9141 wxImage
*arg1
= (wxImage
*) 0 ;
9144 unsigned char arg4
;
9145 PyObject
* obj0
= 0 ;
9146 PyObject
* obj1
= 0 ;
9147 PyObject
* obj2
= 0 ;
9148 PyObject
* obj3
= 0 ;
9150 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9156 arg2
= (int) SWIG_AsInt(obj1
);
9157 if (PyErr_Occurred()) SWIG_fail
;
9158 arg3
= (int) SWIG_AsInt(obj2
);
9159 if (PyErr_Occurred()) SWIG_fail
;
9160 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9161 if (PyErr_Occurred()) SWIG_fail
;
9163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9164 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9166 wxPyEndAllowThreads(__tstate
);
9167 if (PyErr_Occurred()) SWIG_fail
;
9169 Py_INCREF(Py_None
); resultobj
= Py_None
;
9176 static PyObject
*_wrap_Image_GetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9177 PyObject
*resultobj
;
9178 wxImage
*arg1
= (wxImage
*) 0 ;
9181 unsigned char result
;
9182 PyObject
* obj0
= 0 ;
9183 PyObject
* obj1
= 0 ;
9184 PyObject
* obj2
= 0 ;
9186 (char *) "self",(char *) "x",(char *) "y", NULL
9189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9192 arg2
= (int) SWIG_AsInt(obj1
);
9193 if (PyErr_Occurred()) SWIG_fail
;
9194 arg3
= (int) SWIG_AsInt(obj2
);
9195 if (PyErr_Occurred()) SWIG_fail
;
9197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9198 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9200 wxPyEndAllowThreads(__tstate
);
9201 if (PyErr_Occurred()) SWIG_fail
;
9203 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9210 static PyObject
*_wrap_Image_HasAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9211 PyObject
*resultobj
;
9212 wxImage
*arg1
= (wxImage
*) 0 ;
9214 PyObject
* obj0
= 0 ;
9216 (char *) "self", NULL
9219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9224 result
= (bool)(arg1
)->HasAlpha();
9226 wxPyEndAllowThreads(__tstate
);
9227 if (PyErr_Occurred()) SWIG_fail
;
9230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9238 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9239 PyObject
*resultobj
;
9240 wxImage
*arg1
= (wxImage
*) 0 ;
9241 byte
*arg2
= (byte
*) 0 ;
9242 byte
*arg3
= (byte
*) 0 ;
9243 byte
*arg4
= (byte
*) 0 ;
9244 byte arg5
= (byte
) 0 ;
9245 byte arg6
= (byte
) 0 ;
9246 byte arg7
= (byte
) 0 ;
9251 PyObject
* obj0
= 0 ;
9252 PyObject
* obj1
= 0 ;
9253 PyObject
* obj2
= 0 ;
9254 PyObject
* obj3
= 0 ;
9256 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9266 arg5
= (byte
) SWIG_AsUnsignedChar(obj1
);
9267 if (PyErr_Occurred()) SWIG_fail
;
9270 arg6
= (byte
) SWIG_AsUnsignedChar(obj2
);
9271 if (PyErr_Occurred()) SWIG_fail
;
9274 arg7
= (byte
) SWIG_AsUnsignedChar(obj3
);
9275 if (PyErr_Occurred()) SWIG_fail
;
9278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9279 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9281 wxPyEndAllowThreads(__tstate
);
9282 if (PyErr_Occurred()) SWIG_fail
;
9285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9288 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
9289 resultobj
= t_output_helper(resultobj
,o
);
9292 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9293 resultobj
= t_output_helper(resultobj
,o
);
9296 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9297 resultobj
= t_output_helper(resultobj
,o
);
9305 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9306 PyObject
*resultobj
;
9307 wxImage
*arg1
= (wxImage
*) 0 ;
9313 PyObject
* obj0
= 0 ;
9314 PyObject
* obj1
= 0 ;
9315 PyObject
* obj2
= 0 ;
9316 PyObject
* obj3
= 0 ;
9317 PyObject
* obj4
= 0 ;
9319 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9325 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9326 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9329 PyErr_SetString(PyExc_TypeError
,"null reference");
9332 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
9333 if (PyErr_Occurred()) SWIG_fail
;
9334 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
9335 if (PyErr_Occurred()) SWIG_fail
;
9336 arg5
= (byte
) SWIG_AsUnsignedChar(obj4
);
9337 if (PyErr_Occurred()) SWIG_fail
;
9339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9340 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9342 wxPyEndAllowThreads(__tstate
);
9343 if (PyErr_Occurred()) SWIG_fail
;
9346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9354 static PyObject
*_wrap_Image_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9355 PyObject
*resultobj
;
9356 wxString
*arg1
= 0 ;
9358 bool temp1
= False
;
9359 PyObject
* obj0
= 0 ;
9361 (char *) "name", NULL
9364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9366 arg1
= wxString_in_helper(obj0
);
9367 if (arg1
== NULL
) SWIG_fail
;
9371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9372 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9374 wxPyEndAllowThreads(__tstate
);
9375 if (PyErr_Occurred()) SWIG_fail
;
9378 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9394 static PyObject
*_wrap_Image_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9395 PyObject
*resultobj
;
9396 wxString
*arg1
= 0 ;
9397 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9399 bool temp1
= False
;
9400 PyObject
* obj0
= 0 ;
9401 PyObject
* obj1
= 0 ;
9403 (char *) "name",(char *) "type", NULL
9406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9408 arg1
= wxString_in_helper(obj0
);
9409 if (arg1
== NULL
) SWIG_fail
;
9413 arg2
= (long) SWIG_AsLong(obj1
);
9414 if (PyErr_Occurred()) SWIG_fail
;
9417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9418 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9420 wxPyEndAllowThreads(__tstate
);
9421 if (PyErr_Occurred()) SWIG_fail
;
9423 resultobj
= SWIG_FromInt((int)result
);
9438 static PyObject
*_wrap_Image_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9439 PyObject
*resultobj
;
9440 wxImage
*arg1
= (wxImage
*) 0 ;
9441 wxString
*arg2
= 0 ;
9442 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9443 int arg4
= (int) -1 ;
9445 bool temp2
= False
;
9446 PyObject
* obj0
= 0 ;
9447 PyObject
* obj1
= 0 ;
9448 PyObject
* obj2
= 0 ;
9449 PyObject
* obj3
= 0 ;
9451 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9458 arg2
= wxString_in_helper(obj1
);
9459 if (arg2
== NULL
) SWIG_fail
;
9463 arg3
= (long) SWIG_AsLong(obj2
);
9464 if (PyErr_Occurred()) SWIG_fail
;
9467 arg4
= (int) SWIG_AsInt(obj3
);
9468 if (PyErr_Occurred()) SWIG_fail
;
9471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9472 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9474 wxPyEndAllowThreads(__tstate
);
9475 if (PyErr_Occurred()) SWIG_fail
;
9478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9494 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9495 PyObject
*resultobj
;
9496 wxImage
*arg1
= (wxImage
*) 0 ;
9497 wxString
*arg2
= 0 ;
9498 wxString
*arg3
= 0 ;
9499 int arg4
= (int) -1 ;
9501 bool temp2
= False
;
9502 bool temp3
= False
;
9503 PyObject
* obj0
= 0 ;
9504 PyObject
* obj1
= 0 ;
9505 PyObject
* obj2
= 0 ;
9506 PyObject
* obj3
= 0 ;
9508 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9515 arg2
= wxString_in_helper(obj1
);
9516 if (arg2
== NULL
) SWIG_fail
;
9520 arg3
= wxString_in_helper(obj2
);
9521 if (arg3
== NULL
) SWIG_fail
;
9525 arg4
= (int) SWIG_AsInt(obj3
);
9526 if (PyErr_Occurred()) SWIG_fail
;
9529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9530 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9532 wxPyEndAllowThreads(__tstate
);
9533 if (PyErr_Occurred()) SWIG_fail
;
9536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9560 static PyObject
*_wrap_Image_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9561 PyObject
*resultobj
;
9562 wxImage
*arg1
= (wxImage
*) 0 ;
9563 wxString
*arg2
= 0 ;
9566 bool temp2
= False
;
9567 PyObject
* obj0
= 0 ;
9568 PyObject
* obj1
= 0 ;
9569 PyObject
* obj2
= 0 ;
9571 (char *) "self",(char *) "name",(char *) "type", NULL
9574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9578 arg2
= wxString_in_helper(obj1
);
9579 if (arg2
== NULL
) SWIG_fail
;
9582 arg3
= (int) SWIG_AsInt(obj2
);
9583 if (PyErr_Occurred()) SWIG_fail
;
9585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9586 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
9588 wxPyEndAllowThreads(__tstate
);
9589 if (PyErr_Occurred()) SWIG_fail
;
9592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9608 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9609 PyObject
*resultobj
;
9610 wxImage
*arg1
= (wxImage
*) 0 ;
9611 wxString
*arg2
= 0 ;
9612 wxString
*arg3
= 0 ;
9614 bool temp2
= False
;
9615 bool temp3
= False
;
9616 PyObject
* obj0
= 0 ;
9617 PyObject
* obj1
= 0 ;
9618 PyObject
* obj2
= 0 ;
9620 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9627 arg2
= wxString_in_helper(obj1
);
9628 if (arg2
== NULL
) SWIG_fail
;
9632 arg3
= wxString_in_helper(obj2
);
9633 if (arg3
== NULL
) SWIG_fail
;
9637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9638 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9640 wxPyEndAllowThreads(__tstate
);
9641 if (PyErr_Occurred()) SWIG_fail
;
9644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9668 static PyObject
*_wrap_Image_CanReadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9669 PyObject
*resultobj
;
9670 wxInputStream
*arg1
= 0 ;
9672 wxPyInputStream
*temp1
;
9674 PyObject
* obj0
= 0 ;
9676 (char *) "stream", NULL
9679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
9681 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9682 arg1
= temp1
->m_wxis
;
9685 PyErr_Clear(); // clear the failure of the wxPyConvert above
9686 arg1
= wxPyCBInputStream_create(obj0
, False
);
9688 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9696 result
= (bool)wxImage::CanRead(*arg1
);
9698 wxPyEndAllowThreads(__tstate
);
9699 if (PyErr_Occurred()) SWIG_fail
;
9702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9718 static PyObject
*_wrap_Image_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9719 PyObject
*resultobj
;
9720 wxImage
*arg1
= (wxImage
*) 0 ;
9721 wxInputStream
*arg2
= 0 ;
9722 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9723 int arg4
= (int) -1 ;
9725 wxPyInputStream
*temp2
;
9727 PyObject
* obj0
= 0 ;
9728 PyObject
* obj1
= 0 ;
9729 PyObject
* obj2
= 0 ;
9730 PyObject
* obj3
= 0 ;
9732 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9739 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9740 arg2
= temp2
->m_wxis
;
9743 PyErr_Clear(); // clear the failure of the wxPyConvert above
9744 arg2
= wxPyCBInputStream_create(obj1
, False
);
9746 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9753 arg3
= (long) SWIG_AsLong(obj2
);
9754 if (PyErr_Occurred()) SWIG_fail
;
9757 arg4
= (int) SWIG_AsInt(obj3
);
9758 if (PyErr_Occurred()) SWIG_fail
;
9761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9762 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
9764 wxPyEndAllowThreads(__tstate
);
9765 if (PyErr_Occurred()) SWIG_fail
;
9768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9784 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9785 PyObject
*resultobj
;
9786 wxImage
*arg1
= (wxImage
*) 0 ;
9787 wxInputStream
*arg2
= 0 ;
9788 wxString
*arg3
= 0 ;
9789 int arg4
= (int) -1 ;
9791 wxPyInputStream
*temp2
;
9793 bool temp3
= False
;
9794 PyObject
* obj0
= 0 ;
9795 PyObject
* obj1
= 0 ;
9796 PyObject
* obj2
= 0 ;
9797 PyObject
* obj3
= 0 ;
9799 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9806 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9807 arg2
= temp2
->m_wxis
;
9810 PyErr_Clear(); // clear the failure of the wxPyConvert above
9811 arg2
= wxPyCBInputStream_create(obj1
, False
);
9813 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9820 arg3
= wxString_in_helper(obj2
);
9821 if (arg3
== NULL
) SWIG_fail
;
9825 arg4
= (int) SWIG_AsInt(obj3
);
9826 if (PyErr_Occurred()) SWIG_fail
;
9829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9830 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
9832 wxPyEndAllowThreads(__tstate
);
9833 if (PyErr_Occurred()) SWIG_fail
;
9836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9860 static PyObject
*_wrap_Image_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9861 PyObject
*resultobj
;
9862 wxImage
*arg1
= (wxImage
*) 0 ;
9864 PyObject
* obj0
= 0 ;
9866 (char *) "self", NULL
9869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
9870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9874 result
= (bool)(arg1
)->Ok();
9876 wxPyEndAllowThreads(__tstate
);
9877 if (PyErr_Occurred()) SWIG_fail
;
9880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9888 static PyObject
*_wrap_Image_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9889 PyObject
*resultobj
;
9890 wxImage
*arg1
= (wxImage
*) 0 ;
9892 PyObject
* obj0
= 0 ;
9894 (char *) "self", NULL
9897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
9898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9902 result
= (int)(arg1
)->GetWidth();
9904 wxPyEndAllowThreads(__tstate
);
9905 if (PyErr_Occurred()) SWIG_fail
;
9907 resultobj
= SWIG_FromInt((int)result
);
9914 static PyObject
*_wrap_Image_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9915 PyObject
*resultobj
;
9916 wxImage
*arg1
= (wxImage
*) 0 ;
9918 PyObject
* obj0
= 0 ;
9920 (char *) "self", NULL
9923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
9924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9928 result
= (int)(arg1
)->GetHeight();
9930 wxPyEndAllowThreads(__tstate
);
9931 if (PyErr_Occurred()) SWIG_fail
;
9933 resultobj
= SWIG_FromInt((int)result
);
9940 static PyObject
*_wrap_Image_GetSubImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9941 PyObject
*resultobj
;
9942 wxImage
*arg1
= (wxImage
*) 0 ;
9944 SwigValueWrapper
< wxImage
> result
;
9946 PyObject
* obj0
= 0 ;
9947 PyObject
* obj1
= 0 ;
9949 (char *) "self",(char *) "rect", NULL
9952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
9953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9957 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9961 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
9963 wxPyEndAllowThreads(__tstate
);
9964 if (PyErr_Occurred()) SWIG_fail
;
9967 wxImage
* resultptr
;
9968 resultptr
= new wxImage((wxImage
&) result
);
9969 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9977 static PyObject
*_wrap_Image_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9978 PyObject
*resultobj
;
9979 wxImage
*arg1
= (wxImage
*) 0 ;
9980 SwigValueWrapper
< wxImage
> result
;
9981 PyObject
* obj0
= 0 ;
9983 (char *) "self", NULL
9986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
9987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9991 result
= (arg1
)->Copy();
9993 wxPyEndAllowThreads(__tstate
);
9994 if (PyErr_Occurred()) SWIG_fail
;
9997 wxImage
* resultptr
;
9998 resultptr
= new wxImage((wxImage
&) result
);
9999 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10007 static PyObject
*_wrap_Image_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10008 PyObject
*resultobj
;
10009 wxImage
*arg1
= (wxImage
*) 0 ;
10010 wxImage
*arg2
= 0 ;
10013 PyObject
* obj0
= 0 ;
10014 PyObject
* obj1
= 0 ;
10015 PyObject
* obj2
= 0 ;
10016 PyObject
* obj3
= 0 ;
10017 char *kwnames
[] = {
10018 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10024 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
10025 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10027 if (arg2
== NULL
) {
10028 PyErr_SetString(PyExc_TypeError
,"null reference");
10031 arg3
= (int) SWIG_AsInt(obj2
);
10032 if (PyErr_Occurred()) SWIG_fail
;
10033 arg4
= (int) SWIG_AsInt(obj3
);
10034 if (PyErr_Occurred()) SWIG_fail
;
10036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10037 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
10039 wxPyEndAllowThreads(__tstate
);
10040 if (PyErr_Occurred()) SWIG_fail
;
10042 Py_INCREF(Py_None
); resultobj
= Py_None
;
10049 static PyObject
*_wrap_Image_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10050 PyObject
*resultobj
;
10051 wxImage
*arg1
= (wxImage
*) 0 ;
10053 PyObject
* obj0
= 0 ;
10054 char *kwnames
[] = {
10055 (char *) "self", NULL
10058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
10059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10063 result
= (PyObject
*)wxImage_GetData(arg1
);
10065 wxPyEndAllowThreads(__tstate
);
10066 if (PyErr_Occurred()) SWIG_fail
;
10068 resultobj
= result
;
10075 static PyObject
*_wrap_Image_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10076 PyObject
*resultobj
;
10077 wxImage
*arg1
= (wxImage
*) 0 ;
10078 PyObject
*arg2
= (PyObject
*) 0 ;
10079 PyObject
* obj0
= 0 ;
10080 PyObject
* obj1
= 0 ;
10081 char *kwnames
[] = {
10082 (char *) "self",(char *) "data", NULL
10085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10091 wxImage_SetData(arg1
,arg2
);
10093 wxPyEndAllowThreads(__tstate
);
10094 if (PyErr_Occurred()) SWIG_fail
;
10096 Py_INCREF(Py_None
); resultobj
= Py_None
;
10103 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10104 PyObject
*resultobj
;
10105 wxImage
*arg1
= (wxImage
*) 0 ;
10107 PyObject
* obj0
= 0 ;
10108 char *kwnames
[] = {
10109 (char *) "self", NULL
10112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10117 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10119 wxPyEndAllowThreads(__tstate
);
10120 if (PyErr_Occurred()) SWIG_fail
;
10122 resultobj
= result
;
10129 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10130 PyObject
*resultobj
;
10131 wxImage
*arg1
= (wxImage
*) 0 ;
10132 PyObject
*arg2
= (PyObject
*) 0 ;
10133 PyObject
* obj0
= 0 ;
10134 PyObject
* obj1
= 0 ;
10135 char *kwnames
[] = {
10136 (char *) "self",(char *) "data", NULL
10139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10145 wxImage_SetDataBuffer(arg1
,arg2
);
10147 wxPyEndAllowThreads(__tstate
);
10148 if (PyErr_Occurred()) SWIG_fail
;
10150 Py_INCREF(Py_None
); resultobj
= Py_None
;
10157 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10158 PyObject
*resultobj
;
10159 wxImage
*arg1
= (wxImage
*) 0 ;
10161 PyObject
* obj0
= 0 ;
10162 char *kwnames
[] = {
10163 (char *) "self", NULL
10166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10171 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10173 wxPyEndAllowThreads(__tstate
);
10174 if (PyErr_Occurred()) SWIG_fail
;
10176 resultobj
= result
;
10183 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10184 PyObject
*resultobj
;
10185 wxImage
*arg1
= (wxImage
*) 0 ;
10186 PyObject
*arg2
= (PyObject
*) 0 ;
10187 PyObject
* obj0
= 0 ;
10188 PyObject
* obj1
= 0 ;
10189 char *kwnames
[] = {
10190 (char *) "self",(char *) "data", NULL
10193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10199 wxImage_SetAlphaData(arg1
,arg2
);
10201 wxPyEndAllowThreads(__tstate
);
10202 if (PyErr_Occurred()) SWIG_fail
;
10204 Py_INCREF(Py_None
); resultobj
= Py_None
;
10211 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10212 PyObject
*resultobj
;
10213 wxImage
*arg1
= (wxImage
*) 0 ;
10215 PyObject
* obj0
= 0 ;
10216 char *kwnames
[] = {
10217 (char *) "self", NULL
10220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10225 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10227 wxPyEndAllowThreads(__tstate
);
10228 if (PyErr_Occurred()) SWIG_fail
;
10230 resultobj
= result
;
10237 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10238 PyObject
*resultobj
;
10239 wxImage
*arg1
= (wxImage
*) 0 ;
10240 PyObject
*arg2
= (PyObject
*) 0 ;
10241 PyObject
* obj0
= 0 ;
10242 PyObject
* obj1
= 0 ;
10243 char *kwnames
[] = {
10244 (char *) "self",(char *) "data", NULL
10247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10253 wxImage_SetAlphaBuffer(arg1
,arg2
);
10255 wxPyEndAllowThreads(__tstate
);
10256 if (PyErr_Occurred()) SWIG_fail
;
10258 Py_INCREF(Py_None
); resultobj
= Py_None
;
10265 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10266 PyObject
*resultobj
;
10267 wxImage
*arg1
= (wxImage
*) 0 ;
10268 unsigned char arg2
;
10269 unsigned char arg3
;
10270 unsigned char arg4
;
10271 PyObject
* obj0
= 0 ;
10272 PyObject
* obj1
= 0 ;
10273 PyObject
* obj2
= 0 ;
10274 PyObject
* obj3
= 0 ;
10275 char *kwnames
[] = {
10276 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10282 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10283 if (PyErr_Occurred()) SWIG_fail
;
10284 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10285 if (PyErr_Occurred()) SWIG_fail
;
10286 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10287 if (PyErr_Occurred()) SWIG_fail
;
10289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10290 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10292 wxPyEndAllowThreads(__tstate
);
10293 if (PyErr_Occurred()) SWIG_fail
;
10295 Py_INCREF(Py_None
); resultobj
= Py_None
;
10302 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10303 PyObject
*resultobj
;
10304 wxImage
*arg1
= (wxImage
*) 0 ;
10305 unsigned char result
;
10306 PyObject
* obj0
= 0 ;
10307 char *kwnames
[] = {
10308 (char *) "self", NULL
10311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10316 result
= (unsigned char)(arg1
)->GetMaskRed();
10318 wxPyEndAllowThreads(__tstate
);
10319 if (PyErr_Occurred()) SWIG_fail
;
10321 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10328 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10329 PyObject
*resultobj
;
10330 wxImage
*arg1
= (wxImage
*) 0 ;
10331 unsigned char result
;
10332 PyObject
* obj0
= 0 ;
10333 char *kwnames
[] = {
10334 (char *) "self", NULL
10337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10342 result
= (unsigned char)(arg1
)->GetMaskGreen();
10344 wxPyEndAllowThreads(__tstate
);
10345 if (PyErr_Occurred()) SWIG_fail
;
10347 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10354 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10355 PyObject
*resultobj
;
10356 wxImage
*arg1
= (wxImage
*) 0 ;
10357 unsigned char result
;
10358 PyObject
* obj0
= 0 ;
10359 char *kwnames
[] = {
10360 (char *) "self", NULL
10363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10368 result
= (unsigned char)(arg1
)->GetMaskBlue();
10370 wxPyEndAllowThreads(__tstate
);
10371 if (PyErr_Occurred()) SWIG_fail
;
10373 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10380 static PyObject
*_wrap_Image_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10381 PyObject
*resultobj
;
10382 wxImage
*arg1
= (wxImage
*) 0 ;
10383 bool arg2
= (bool) True
;
10384 PyObject
* obj0
= 0 ;
10385 PyObject
* obj1
= 0 ;
10386 char *kwnames
[] = {
10387 (char *) "self",(char *) "mask", NULL
10390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10394 arg2
= (bool) SWIG_AsBool(obj1
);
10395 if (PyErr_Occurred()) SWIG_fail
;
10398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10399 (arg1
)->SetMask(arg2
);
10401 wxPyEndAllowThreads(__tstate
);
10402 if (PyErr_Occurred()) SWIG_fail
;
10404 Py_INCREF(Py_None
); resultobj
= Py_None
;
10411 static PyObject
*_wrap_Image_HasMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10412 PyObject
*resultobj
;
10413 wxImage
*arg1
= (wxImage
*) 0 ;
10415 PyObject
* obj0
= 0 ;
10416 char *kwnames
[] = {
10417 (char *) "self", NULL
10420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10425 result
= (bool)(arg1
)->HasMask();
10427 wxPyEndAllowThreads(__tstate
);
10428 if (PyErr_Occurred()) SWIG_fail
;
10431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10439 static PyObject
*_wrap_Image_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10440 PyObject
*resultobj
;
10441 wxImage
*arg1
= (wxImage
*) 0 ;
10443 wxPoint
*arg3
= 0 ;
10444 bool arg4
= (bool) True
;
10445 wxPoint
*arg5
= (wxPoint
*) NULL
;
10446 SwigValueWrapper
< wxImage
> result
;
10448 PyObject
* obj0
= 0 ;
10449 PyObject
* obj1
= 0 ;
10450 PyObject
* obj2
= 0 ;
10451 PyObject
* obj3
= 0 ;
10452 PyObject
* obj4
= 0 ;
10453 char *kwnames
[] = {
10454 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10460 arg2
= (double) SWIG_AsDouble(obj1
);
10461 if (PyErr_Occurred()) SWIG_fail
;
10464 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10467 arg4
= (bool) SWIG_AsBool(obj3
);
10468 if (PyErr_Occurred()) SWIG_fail
;
10471 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
10472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10476 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10478 wxPyEndAllowThreads(__tstate
);
10479 if (PyErr_Occurred()) SWIG_fail
;
10482 wxImage
* resultptr
;
10483 resultptr
= new wxImage((wxImage
&) result
);
10484 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10492 static PyObject
*_wrap_Image_Rotate90(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10493 PyObject
*resultobj
;
10494 wxImage
*arg1
= (wxImage
*) 0 ;
10495 bool arg2
= (bool) True
;
10496 SwigValueWrapper
< wxImage
> result
;
10497 PyObject
* obj0
= 0 ;
10498 PyObject
* obj1
= 0 ;
10499 char *kwnames
[] = {
10500 (char *) "self",(char *) "clockwise", NULL
10503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10507 arg2
= (bool) SWIG_AsBool(obj1
);
10508 if (PyErr_Occurred()) SWIG_fail
;
10511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10512 result
= (arg1
)->Rotate90(arg2
);
10514 wxPyEndAllowThreads(__tstate
);
10515 if (PyErr_Occurred()) SWIG_fail
;
10518 wxImage
* resultptr
;
10519 resultptr
= new wxImage((wxImage
&) result
);
10520 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10528 static PyObject
*_wrap_Image_Mirror(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10529 PyObject
*resultobj
;
10530 wxImage
*arg1
= (wxImage
*) 0 ;
10531 bool arg2
= (bool) True
;
10532 SwigValueWrapper
< wxImage
> result
;
10533 PyObject
* obj0
= 0 ;
10534 PyObject
* obj1
= 0 ;
10535 char *kwnames
[] = {
10536 (char *) "self",(char *) "horizontally", NULL
10539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
10540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10543 arg2
= (bool) SWIG_AsBool(obj1
);
10544 if (PyErr_Occurred()) SWIG_fail
;
10547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10548 result
= (arg1
)->Mirror(arg2
);
10550 wxPyEndAllowThreads(__tstate
);
10551 if (PyErr_Occurred()) SWIG_fail
;
10554 wxImage
* resultptr
;
10555 resultptr
= new wxImage((wxImage
&) result
);
10556 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10564 static PyObject
*_wrap_Image_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10565 PyObject
*resultobj
;
10566 wxImage
*arg1
= (wxImage
*) 0 ;
10567 unsigned char arg2
;
10568 unsigned char arg3
;
10569 unsigned char arg4
;
10570 unsigned char arg5
;
10571 unsigned char arg6
;
10572 unsigned char arg7
;
10573 PyObject
* obj0
= 0 ;
10574 PyObject
* obj1
= 0 ;
10575 PyObject
* obj2
= 0 ;
10576 PyObject
* obj3
= 0 ;
10577 PyObject
* obj4
= 0 ;
10578 PyObject
* obj5
= 0 ;
10579 PyObject
* obj6
= 0 ;
10580 char *kwnames
[] = {
10581 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10587 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10588 if (PyErr_Occurred()) SWIG_fail
;
10589 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10590 if (PyErr_Occurred()) SWIG_fail
;
10591 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10592 if (PyErr_Occurred()) SWIG_fail
;
10593 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
10594 if (PyErr_Occurred()) SWIG_fail
;
10595 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
10596 if (PyErr_Occurred()) SWIG_fail
;
10597 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj6
);
10598 if (PyErr_Occurred()) SWIG_fail
;
10600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10601 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10603 wxPyEndAllowThreads(__tstate
);
10604 if (PyErr_Occurred()) SWIG_fail
;
10606 Py_INCREF(Py_None
); resultobj
= Py_None
;
10613 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10614 PyObject
*resultobj
;
10615 wxImage
*arg1
= (wxImage
*) 0 ;
10616 unsigned char arg2
;
10617 unsigned char arg3
;
10618 unsigned char arg4
;
10619 SwigValueWrapper
< wxImage
> result
;
10620 PyObject
* obj0
= 0 ;
10621 PyObject
* obj1
= 0 ;
10622 PyObject
* obj2
= 0 ;
10623 PyObject
* obj3
= 0 ;
10624 char *kwnames
[] = {
10625 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10631 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10632 if (PyErr_Occurred()) SWIG_fail
;
10633 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10634 if (PyErr_Occurred()) SWIG_fail
;
10635 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10636 if (PyErr_Occurred()) SWIG_fail
;
10638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10639 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
10641 wxPyEndAllowThreads(__tstate
);
10642 if (PyErr_Occurred()) SWIG_fail
;
10645 wxImage
* resultptr
;
10646 resultptr
= new wxImage((wxImage
&) result
);
10647 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10655 static PyObject
*_wrap_Image_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10656 PyObject
*resultobj
;
10657 wxImage
*arg1
= (wxImage
*) 0 ;
10658 wxString
*arg2
= 0 ;
10659 wxString
*arg3
= 0 ;
10660 bool temp2
= False
;
10661 bool temp3
= False
;
10662 PyObject
* obj0
= 0 ;
10663 PyObject
* obj1
= 0 ;
10664 PyObject
* obj2
= 0 ;
10665 char *kwnames
[] = {
10666 (char *) "self",(char *) "name",(char *) "value", NULL
10669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10673 arg2
= wxString_in_helper(obj1
);
10674 if (arg2
== NULL
) SWIG_fail
;
10678 arg3
= wxString_in_helper(obj2
);
10679 if (arg3
== NULL
) SWIG_fail
;
10683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10684 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10686 wxPyEndAllowThreads(__tstate
);
10687 if (PyErr_Occurred()) SWIG_fail
;
10689 Py_INCREF(Py_None
); resultobj
= Py_None
;
10712 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10713 PyObject
*resultobj
;
10714 wxImage
*arg1
= (wxImage
*) 0 ;
10715 wxString
*arg2
= 0 ;
10717 bool temp2
= False
;
10718 PyObject
* obj0
= 0 ;
10719 PyObject
* obj1
= 0 ;
10720 PyObject
* obj2
= 0 ;
10721 char *kwnames
[] = {
10722 (char *) "self",(char *) "name",(char *) "value", NULL
10725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10729 arg2
= wxString_in_helper(obj1
);
10730 if (arg2
== NULL
) SWIG_fail
;
10733 arg3
= (int) SWIG_AsInt(obj2
);
10734 if (PyErr_Occurred()) SWIG_fail
;
10736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10737 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
10739 wxPyEndAllowThreads(__tstate
);
10740 if (PyErr_Occurred()) SWIG_fail
;
10742 Py_INCREF(Py_None
); resultobj
= Py_None
;
10757 static PyObject
*_wrap_Image_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10758 PyObject
*resultobj
;
10759 wxImage
*arg1
= (wxImage
*) 0 ;
10760 wxString
*arg2
= 0 ;
10762 bool temp2
= False
;
10763 PyObject
* obj0
= 0 ;
10764 PyObject
* obj1
= 0 ;
10765 char *kwnames
[] = {
10766 (char *) "self",(char *) "name", NULL
10769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10773 arg2
= wxString_in_helper(obj1
);
10774 if (arg2
== NULL
) SWIG_fail
;
10778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10779 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
10781 wxPyEndAllowThreads(__tstate
);
10782 if (PyErr_Occurred()) SWIG_fail
;
10786 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10788 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10805 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10806 PyObject
*resultobj
;
10807 wxImage
*arg1
= (wxImage
*) 0 ;
10808 wxString
*arg2
= 0 ;
10810 bool temp2
= False
;
10811 PyObject
* obj0
= 0 ;
10812 PyObject
* obj1
= 0 ;
10813 char *kwnames
[] = {
10814 (char *) "self",(char *) "name", NULL
10817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
10818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10821 arg2
= wxString_in_helper(obj1
);
10822 if (arg2
== NULL
) SWIG_fail
;
10826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10827 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
10829 wxPyEndAllowThreads(__tstate
);
10830 if (PyErr_Occurred()) SWIG_fail
;
10832 resultobj
= SWIG_FromInt((int)result
);
10847 static PyObject
*_wrap_Image_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10848 PyObject
*resultobj
;
10849 wxImage
*arg1
= (wxImage
*) 0 ;
10850 wxString
*arg2
= 0 ;
10852 bool temp2
= False
;
10853 PyObject
* obj0
= 0 ;
10854 PyObject
* obj1
= 0 ;
10855 char *kwnames
[] = {
10856 (char *) "self",(char *) "name", NULL
10859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10863 arg2
= wxString_in_helper(obj1
);
10864 if (arg2
== NULL
) SWIG_fail
;
10868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10869 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
10871 wxPyEndAllowThreads(__tstate
);
10872 if (PyErr_Occurred()) SWIG_fail
;
10875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10891 static PyObject
*_wrap_Image_CountColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10892 PyObject
*resultobj
;
10893 wxImage
*arg1
= (wxImage
*) 0 ;
10894 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
10895 unsigned long result
;
10896 PyObject
* obj0
= 0 ;
10897 PyObject
* obj1
= 0 ;
10898 char *kwnames
[] = {
10899 (char *) "self",(char *) "stopafter", NULL
10902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
10903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10906 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
10907 if (PyErr_Occurred()) SWIG_fail
;
10910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10911 result
= (unsigned long)(arg1
)->CountColours(arg2
);
10913 wxPyEndAllowThreads(__tstate
);
10914 if (PyErr_Occurred()) SWIG_fail
;
10916 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
10923 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10924 PyObject
*resultobj
;
10925 wxImage
*arg1
= (wxImage
*) 0 ;
10926 wxImageHistogram
*arg2
= 0 ;
10927 unsigned long result
;
10928 PyObject
* obj0
= 0 ;
10929 PyObject
* obj1
= 0 ;
10930 char *kwnames
[] = {
10931 (char *) "self",(char *) "h", NULL
10934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
10935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10937 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
10938 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10940 if (arg2
== NULL
) {
10941 PyErr_SetString(PyExc_TypeError
,"null reference");
10945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10946 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
10948 wxPyEndAllowThreads(__tstate
);
10949 if (PyErr_Occurred()) SWIG_fail
;
10951 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
10958 static PyObject
*_wrap_Image_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10959 PyObject
*resultobj
;
10960 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10961 PyObject
* obj0
= 0 ;
10962 char *kwnames
[] = {
10963 (char *) "handler", NULL
10966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
10967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
10968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10971 wxImage::AddHandler(arg1
);
10973 wxPyEndAllowThreads(__tstate
);
10974 if (PyErr_Occurred()) SWIG_fail
;
10976 Py_INCREF(Py_None
); resultobj
= Py_None
;
10983 static PyObject
*_wrap_Image_InsertHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10984 PyObject
*resultobj
;
10985 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10986 PyObject
* obj0
= 0 ;
10987 char *kwnames
[] = {
10988 (char *) "handler", NULL
10991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
10992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
10993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10996 wxImage::InsertHandler(arg1
);
10998 wxPyEndAllowThreads(__tstate
);
10999 if (PyErr_Occurred()) SWIG_fail
;
11001 Py_INCREF(Py_None
); resultobj
= Py_None
;
11008 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11009 PyObject
*resultobj
;
11010 wxString
*arg1
= 0 ;
11012 bool temp1
= False
;
11013 PyObject
* obj0
= 0 ;
11014 char *kwnames
[] = {
11015 (char *) "name", NULL
11018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
11020 arg1
= wxString_in_helper(obj0
);
11021 if (arg1
== NULL
) SWIG_fail
;
11025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11026 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
11028 wxPyEndAllowThreads(__tstate
);
11029 if (PyErr_Occurred()) SWIG_fail
;
11032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11048 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11049 PyObject
*resultobj
;
11051 char *kwnames
[] = {
11055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
11057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11058 result
= wxImage::GetImageExtWildcard();
11060 wxPyEndAllowThreads(__tstate
);
11061 if (PyErr_Occurred()) SWIG_fail
;
11065 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11067 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11076 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11077 PyObject
*resultobj
;
11078 wxImage
*arg1
= (wxImage
*) 0 ;
11080 PyObject
* obj0
= 0 ;
11081 char *kwnames
[] = {
11082 (char *) "self", NULL
11085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
11086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11090 result
= wxImage_ConvertToBitmap(arg1
);
11092 wxPyEndAllowThreads(__tstate
);
11093 if (PyErr_Occurred()) SWIG_fail
;
11096 wxBitmap
* resultptr
;
11097 resultptr
= new wxBitmap((wxBitmap
&) result
);
11098 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11106 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11107 PyObject
*resultobj
;
11108 wxImage
*arg1
= (wxImage
*) 0 ;
11109 unsigned char arg2
;
11110 unsigned char arg3
;
11111 unsigned char arg4
;
11113 PyObject
* obj0
= 0 ;
11114 PyObject
* obj1
= 0 ;
11115 PyObject
* obj2
= 0 ;
11116 PyObject
* obj3
= 0 ;
11117 char *kwnames
[] = {
11118 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11124 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
11125 if (PyErr_Occurred()) SWIG_fail
;
11126 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
11127 if (PyErr_Occurred()) SWIG_fail
;
11128 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
11129 if (PyErr_Occurred()) SWIG_fail
;
11131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11132 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11134 wxPyEndAllowThreads(__tstate
);
11135 if (PyErr_Occurred()) SWIG_fail
;
11138 wxBitmap
* resultptr
;
11139 resultptr
= new wxBitmap((wxBitmap
&) result
);
11140 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11148 static PyObject
* Image_swigregister(PyObject
*self
, PyObject
*args
) {
11150 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11151 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11153 return Py_BuildValue((char *)"");
11155 static PyObject
*_wrap_InitAllImageHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11156 PyObject
*resultobj
;
11157 char *kwnames
[] = {
11161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":InitAllImageHandlers",kwnames
)) goto fail
;
11163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11164 wxInitAllImageHandlers();
11166 wxPyEndAllowThreads(__tstate
);
11167 if (PyErr_Occurred()) SWIG_fail
;
11169 Py_INCREF(Py_None
); resultobj
= Py_None
;
11176 static int _wrap_NullImage_set(PyObject
*_val
) {
11177 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11182 static PyObject
*_wrap_NullImage_get() {
11185 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11190 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*_val
) {
11191 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11196 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11201 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11203 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11210 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*_val
) {
11211 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11216 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11221 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11223 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11230 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*_val
) {
11231 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11236 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11241 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11243 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11250 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*_val
) {
11251 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11256 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11261 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11263 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11270 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*_val
) {
11271 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11276 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11281 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11283 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11290 static PyObject
*_wrap_new_BMPHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11291 PyObject
*resultobj
;
11292 wxBMPHandler
*result
;
11293 char *kwnames
[] = {
11297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11300 result
= (wxBMPHandler
*)new wxBMPHandler();
11302 wxPyEndAllowThreads(__tstate
);
11303 if (PyErr_Occurred()) SWIG_fail
;
11305 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11312 static PyObject
* BMPHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11314 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11315 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11317 return Py_BuildValue((char *)"");
11319 static PyObject
*_wrap_new_ICOHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11320 PyObject
*resultobj
;
11321 wxICOHandler
*result
;
11322 char *kwnames
[] = {
11326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11329 result
= (wxICOHandler
*)new wxICOHandler();
11331 wxPyEndAllowThreads(__tstate
);
11332 if (PyErr_Occurred()) SWIG_fail
;
11334 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11341 static PyObject
* ICOHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11343 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11344 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11346 return Py_BuildValue((char *)"");
11348 static PyObject
*_wrap_new_CURHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11349 PyObject
*resultobj
;
11350 wxCURHandler
*result
;
11351 char *kwnames
[] = {
11355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11358 result
= (wxCURHandler
*)new wxCURHandler();
11360 wxPyEndAllowThreads(__tstate
);
11361 if (PyErr_Occurred()) SWIG_fail
;
11363 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11370 static PyObject
* CURHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11372 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11373 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11375 return Py_BuildValue((char *)"");
11377 static PyObject
*_wrap_new_ANIHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11378 PyObject
*resultobj
;
11379 wxANIHandler
*result
;
11380 char *kwnames
[] = {
11384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11387 result
= (wxANIHandler
*)new wxANIHandler();
11389 wxPyEndAllowThreads(__tstate
);
11390 if (PyErr_Occurred()) SWIG_fail
;
11392 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11399 static PyObject
* ANIHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11401 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11402 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11404 return Py_BuildValue((char *)"");
11406 static PyObject
*_wrap_new_PNGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11407 PyObject
*resultobj
;
11408 wxPNGHandler
*result
;
11409 char *kwnames
[] = {
11413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11416 result
= (wxPNGHandler
*)new wxPNGHandler();
11418 wxPyEndAllowThreads(__tstate
);
11419 if (PyErr_Occurred()) SWIG_fail
;
11421 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11428 static PyObject
* PNGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11430 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11431 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11433 return Py_BuildValue((char *)"");
11435 static PyObject
*_wrap_new_GIFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11436 PyObject
*resultobj
;
11437 wxGIFHandler
*result
;
11438 char *kwnames
[] = {
11442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11445 result
= (wxGIFHandler
*)new wxGIFHandler();
11447 wxPyEndAllowThreads(__tstate
);
11448 if (PyErr_Occurred()) SWIG_fail
;
11450 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
11457 static PyObject
* GIFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11459 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11460 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11462 return Py_BuildValue((char *)"");
11464 static PyObject
*_wrap_new_PCXHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11465 PyObject
*resultobj
;
11466 wxPCXHandler
*result
;
11467 char *kwnames
[] = {
11471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11474 result
= (wxPCXHandler
*)new wxPCXHandler();
11476 wxPyEndAllowThreads(__tstate
);
11477 if (PyErr_Occurred()) SWIG_fail
;
11479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
11486 static PyObject
* PCXHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11488 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11489 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11491 return Py_BuildValue((char *)"");
11493 static PyObject
*_wrap_new_JPEGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11494 PyObject
*resultobj
;
11495 wxJPEGHandler
*result
;
11496 char *kwnames
[] = {
11500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11503 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11505 wxPyEndAllowThreads(__tstate
);
11506 if (PyErr_Occurred()) SWIG_fail
;
11508 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
11515 static PyObject
* JPEGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11517 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11518 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11520 return Py_BuildValue((char *)"");
11522 static PyObject
*_wrap_new_PNMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11523 PyObject
*resultobj
;
11524 wxPNMHandler
*result
;
11525 char *kwnames
[] = {
11529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11532 result
= (wxPNMHandler
*)new wxPNMHandler();
11534 wxPyEndAllowThreads(__tstate
);
11535 if (PyErr_Occurred()) SWIG_fail
;
11537 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
11544 static PyObject
* PNMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11546 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11547 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11549 return Py_BuildValue((char *)"");
11551 static PyObject
*_wrap_new_XPMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11552 PyObject
*resultobj
;
11553 wxXPMHandler
*result
;
11554 char *kwnames
[] = {
11558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11561 result
= (wxXPMHandler
*)new wxXPMHandler();
11563 wxPyEndAllowThreads(__tstate
);
11564 if (PyErr_Occurred()) SWIG_fail
;
11566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
11573 static PyObject
* XPMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11575 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11576 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
11578 return Py_BuildValue((char *)"");
11580 static PyObject
*_wrap_new_TIFFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11581 PyObject
*resultobj
;
11582 wxTIFFHandler
*result
;
11583 char *kwnames
[] = {
11587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
11589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11590 result
= (wxTIFFHandler
*)new wxTIFFHandler();
11592 wxPyEndAllowThreads(__tstate
);
11593 if (PyErr_Occurred()) SWIG_fail
;
11595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
11602 static PyObject
* TIFFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11604 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11605 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
11607 return Py_BuildValue((char *)"");
11609 static PyObject
*_wrap_new_EvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11610 PyObject
*resultobj
;
11611 wxEvtHandler
*result
;
11612 char *kwnames
[] = {
11616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
11618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11619 result
= (wxEvtHandler
*)new wxEvtHandler();
11621 wxPyEndAllowThreads(__tstate
);
11622 if (PyErr_Occurred()) SWIG_fail
;
11625 resultobj
= wxPyMake_wxObject(result
);
11633 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11634 PyObject
*resultobj
;
11635 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11636 wxEvtHandler
*result
;
11637 PyObject
* obj0
= 0 ;
11638 char *kwnames
[] = {
11639 (char *) "self", NULL
11642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
11643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11647 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
11649 wxPyEndAllowThreads(__tstate
);
11650 if (PyErr_Occurred()) SWIG_fail
;
11653 resultobj
= wxPyMake_wxObject(result
);
11661 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11662 PyObject
*resultobj
;
11663 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11664 wxEvtHandler
*result
;
11665 PyObject
* obj0
= 0 ;
11666 char *kwnames
[] = {
11667 (char *) "self", NULL
11670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
11671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11675 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
11677 wxPyEndAllowThreads(__tstate
);
11678 if (PyErr_Occurred()) SWIG_fail
;
11681 resultobj
= wxPyMake_wxObject(result
);
11689 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11690 PyObject
*resultobj
;
11691 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11692 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11693 PyObject
* obj0
= 0 ;
11694 PyObject
* obj1
= 0 ;
11695 char *kwnames
[] = {
11696 (char *) "self",(char *) "handler", NULL
11699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11702 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11706 (arg1
)->SetNextHandler(arg2
);
11708 wxPyEndAllowThreads(__tstate
);
11709 if (PyErr_Occurred()) SWIG_fail
;
11711 Py_INCREF(Py_None
); resultobj
= Py_None
;
11718 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11719 PyObject
*resultobj
;
11720 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11721 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11722 PyObject
* obj0
= 0 ;
11723 PyObject
* obj1
= 0 ;
11724 char *kwnames
[] = {
11725 (char *) "self",(char *) "handler", NULL
11728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11731 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11735 (arg1
)->SetPreviousHandler(arg2
);
11737 wxPyEndAllowThreads(__tstate
);
11738 if (PyErr_Occurred()) SWIG_fail
;
11740 Py_INCREF(Py_None
); resultobj
= Py_None
;
11747 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11748 PyObject
*resultobj
;
11749 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11751 PyObject
* obj0
= 0 ;
11752 char *kwnames
[] = {
11753 (char *) "self", NULL
11756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
11757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11761 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
11763 wxPyEndAllowThreads(__tstate
);
11764 if (PyErr_Occurred()) SWIG_fail
;
11767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11775 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11776 PyObject
*resultobj
;
11777 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11779 PyObject
* obj0
= 0 ;
11780 PyObject
* obj1
= 0 ;
11781 char *kwnames
[] = {
11782 (char *) "self",(char *) "enabled", NULL
11785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
11786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11788 arg2
= (bool) SWIG_AsBool(obj1
);
11789 if (PyErr_Occurred()) SWIG_fail
;
11791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11792 (arg1
)->SetEvtHandlerEnabled(arg2
);
11794 wxPyEndAllowThreads(__tstate
);
11795 if (PyErr_Occurred()) SWIG_fail
;
11797 Py_INCREF(Py_None
); resultobj
= Py_None
;
11804 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11805 PyObject
*resultobj
;
11806 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11807 wxEvent
*arg2
= 0 ;
11809 PyObject
* obj0
= 0 ;
11810 PyObject
* obj1
= 0 ;
11811 char *kwnames
[] = {
11812 (char *) "self",(char *) "event", NULL
11815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11818 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
11819 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11821 if (arg2
== NULL
) {
11822 PyErr_SetString(PyExc_TypeError
,"null reference");
11826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11827 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
11829 wxPyEndAllowThreads(__tstate
);
11830 if (PyErr_Occurred()) SWIG_fail
;
11833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11841 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11842 PyObject
*resultobj
;
11843 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11844 wxEvent
*arg2
= 0 ;
11845 PyObject
* obj0
= 0 ;
11846 PyObject
* obj1
= 0 ;
11847 char *kwnames
[] = {
11848 (char *) "self",(char *) "event", NULL
11851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11854 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
11855 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11857 if (arg2
== NULL
) {
11858 PyErr_SetString(PyExc_TypeError
,"null reference");
11862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11863 (arg1
)->AddPendingEvent(*arg2
);
11865 wxPyEndAllowThreads(__tstate
);
11866 if (PyErr_Occurred()) SWIG_fail
;
11868 Py_INCREF(Py_None
); resultobj
= Py_None
;
11875 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11876 PyObject
*resultobj
;
11877 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11878 PyObject
* obj0
= 0 ;
11879 char *kwnames
[] = {
11880 (char *) "self", NULL
11883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
11884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11888 (arg1
)->ProcessPendingEvents();
11890 wxPyEndAllowThreads(__tstate
);
11891 if (PyErr_Occurred()) SWIG_fail
;
11893 Py_INCREF(Py_None
); resultobj
= Py_None
;
11900 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11901 PyObject
*resultobj
;
11902 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11906 PyObject
*arg5
= (PyObject
*) 0 ;
11907 PyObject
* obj0
= 0 ;
11908 PyObject
* obj1
= 0 ;
11909 PyObject
* obj2
= 0 ;
11910 PyObject
* obj3
= 0 ;
11911 PyObject
* obj4
= 0 ;
11912 char *kwnames
[] = {
11913 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
11916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11919 arg2
= (int) SWIG_AsInt(obj1
);
11920 if (PyErr_Occurred()) SWIG_fail
;
11921 arg3
= (int) SWIG_AsInt(obj2
);
11922 if (PyErr_Occurred()) SWIG_fail
;
11923 arg4
= (int) SWIG_AsInt(obj3
);
11924 if (PyErr_Occurred()) SWIG_fail
;
11927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11928 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
11930 wxPyEndAllowThreads(__tstate
);
11931 if (PyErr_Occurred()) SWIG_fail
;
11933 Py_INCREF(Py_None
); resultobj
= Py_None
;
11940 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11941 PyObject
*resultobj
;
11942 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11944 int arg3
= (int) -1 ;
11945 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
11947 PyObject
* obj0
= 0 ;
11948 PyObject
* obj1
= 0 ;
11949 PyObject
* obj2
= 0 ;
11950 PyObject
* obj3
= 0 ;
11951 char *kwnames
[] = {
11952 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
11955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11958 arg2
= (int) SWIG_AsInt(obj1
);
11959 if (PyErr_Occurred()) SWIG_fail
;
11961 arg3
= (int) SWIG_AsInt(obj2
);
11962 if (PyErr_Occurred()) SWIG_fail
;
11965 arg4
= (wxEventType
) SWIG_AsInt(obj3
);
11966 if (PyErr_Occurred()) SWIG_fail
;
11969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11970 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
11972 wxPyEndAllowThreads(__tstate
);
11973 if (PyErr_Occurred()) SWIG_fail
;
11976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11984 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11985 PyObject
*resultobj
;
11986 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11987 PyObject
*arg2
= (PyObject
*) 0 ;
11988 PyObject
* obj0
= 0 ;
11989 PyObject
* obj1
= 0 ;
11990 char *kwnames
[] = {
11991 (char *) "self",(char *) "_self", NULL
11994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
11995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12000 wxEvtHandler__setOORInfo(arg1
,arg2
);
12002 wxPyEndAllowThreads(__tstate
);
12003 if (PyErr_Occurred()) SWIG_fail
;
12005 Py_INCREF(Py_None
); resultobj
= Py_None
;
12012 static PyObject
* EvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
12014 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12015 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12017 return Py_BuildValue((char *)"");
12019 static PyObject
*_wrap_NewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12020 PyObject
*resultobj
;
12021 wxEventType result
;
12022 char *kwnames
[] = {
12026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12029 result
= (wxEventType
)wxNewEventType();
12031 wxPyEndAllowThreads(__tstate
);
12032 if (PyErr_Occurred()) SWIG_fail
;
12034 resultobj
= SWIG_FromInt((int)result
);
12041 static PyObject
*_wrap_delete_Event(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12042 PyObject
*resultobj
;
12043 wxEvent
*arg1
= (wxEvent
*) 0 ;
12044 PyObject
* obj0
= 0 ;
12045 char *kwnames
[] = {
12046 (char *) "self", NULL
12049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12056 wxPyEndAllowThreads(__tstate
);
12057 if (PyErr_Occurred()) SWIG_fail
;
12059 Py_INCREF(Py_None
); resultobj
= Py_None
;
12066 static PyObject
*_wrap_Event_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12067 PyObject
*resultobj
;
12068 wxEvent
*arg1
= (wxEvent
*) 0 ;
12070 PyObject
* obj0
= 0 ;
12071 PyObject
* obj1
= 0 ;
12072 char *kwnames
[] = {
12073 (char *) "self",(char *) "typ", NULL
12076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12079 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
12080 if (PyErr_Occurred()) SWIG_fail
;
12082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12083 (arg1
)->SetEventType(arg2
);
12085 wxPyEndAllowThreads(__tstate
);
12086 if (PyErr_Occurred()) SWIG_fail
;
12088 Py_INCREF(Py_None
); resultobj
= Py_None
;
12095 static PyObject
*_wrap_Event_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12096 PyObject
*resultobj
;
12097 wxEvent
*arg1
= (wxEvent
*) 0 ;
12098 wxEventType result
;
12099 PyObject
* obj0
= 0 ;
12100 char *kwnames
[] = {
12101 (char *) "self", NULL
12104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12109 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12111 wxPyEndAllowThreads(__tstate
);
12112 if (PyErr_Occurred()) SWIG_fail
;
12114 resultobj
= SWIG_FromInt((int)result
);
12121 static PyObject
*_wrap_Event_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12122 PyObject
*resultobj
;
12123 wxEvent
*arg1
= (wxEvent
*) 0 ;
12125 PyObject
* obj0
= 0 ;
12126 char *kwnames
[] = {
12127 (char *) "self", NULL
12130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12135 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12137 wxPyEndAllowThreads(__tstate
);
12138 if (PyErr_Occurred()) SWIG_fail
;
12141 resultobj
= wxPyMake_wxObject(result
);
12149 static PyObject
*_wrap_Event_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12150 PyObject
*resultobj
;
12151 wxEvent
*arg1
= (wxEvent
*) 0 ;
12152 wxObject
*arg2
= (wxObject
*) 0 ;
12153 PyObject
* obj0
= 0 ;
12154 PyObject
* obj1
= 0 ;
12155 char *kwnames
[] = {
12156 (char *) "self",(char *) "obj", NULL
12159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12162 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12166 (arg1
)->SetEventObject(arg2
);
12168 wxPyEndAllowThreads(__tstate
);
12169 if (PyErr_Occurred()) SWIG_fail
;
12171 Py_INCREF(Py_None
); resultobj
= Py_None
;
12178 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12179 PyObject
*resultobj
;
12180 wxEvent
*arg1
= (wxEvent
*) 0 ;
12182 PyObject
* obj0
= 0 ;
12183 char *kwnames
[] = {
12184 (char *) "self", NULL
12187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12192 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12194 wxPyEndAllowThreads(__tstate
);
12195 if (PyErr_Occurred()) SWIG_fail
;
12197 resultobj
= SWIG_FromLong((long)result
);
12204 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12205 PyObject
*resultobj
;
12206 wxEvent
*arg1
= (wxEvent
*) 0 ;
12207 long arg2
= (long) 0 ;
12208 PyObject
* obj0
= 0 ;
12209 PyObject
* obj1
= 0 ;
12210 char *kwnames
[] = {
12211 (char *) "self",(char *) "ts", NULL
12214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12218 arg2
= (long) SWIG_AsLong(obj1
);
12219 if (PyErr_Occurred()) SWIG_fail
;
12222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12223 (arg1
)->SetTimestamp(arg2
);
12225 wxPyEndAllowThreads(__tstate
);
12226 if (PyErr_Occurred()) SWIG_fail
;
12228 Py_INCREF(Py_None
); resultobj
= Py_None
;
12235 static PyObject
*_wrap_Event_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12236 PyObject
*resultobj
;
12237 wxEvent
*arg1
= (wxEvent
*) 0 ;
12239 PyObject
* obj0
= 0 ;
12240 char *kwnames
[] = {
12241 (char *) "self", NULL
12244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12249 result
= (int)((wxEvent
const *)arg1
)->GetId();
12251 wxPyEndAllowThreads(__tstate
);
12252 if (PyErr_Occurred()) SWIG_fail
;
12254 resultobj
= SWIG_FromInt((int)result
);
12261 static PyObject
*_wrap_Event_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12262 PyObject
*resultobj
;
12263 wxEvent
*arg1
= (wxEvent
*) 0 ;
12265 PyObject
* obj0
= 0 ;
12266 PyObject
* obj1
= 0 ;
12267 char *kwnames
[] = {
12268 (char *) "self",(char *) "Id", NULL
12271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12274 arg2
= (int) SWIG_AsInt(obj1
);
12275 if (PyErr_Occurred()) SWIG_fail
;
12277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12278 (arg1
)->SetId(arg2
);
12280 wxPyEndAllowThreads(__tstate
);
12281 if (PyErr_Occurred()) SWIG_fail
;
12283 Py_INCREF(Py_None
); resultobj
= Py_None
;
12290 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12291 PyObject
*resultobj
;
12292 wxEvent
*arg1
= (wxEvent
*) 0 ;
12294 PyObject
* obj0
= 0 ;
12295 char *kwnames
[] = {
12296 (char *) "self", NULL
12299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12304 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12306 wxPyEndAllowThreads(__tstate
);
12307 if (PyErr_Occurred()) SWIG_fail
;
12310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12318 static PyObject
*_wrap_Event_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12319 PyObject
*resultobj
;
12320 wxEvent
*arg1
= (wxEvent
*) 0 ;
12321 bool arg2
= (bool) True
;
12322 PyObject
* obj0
= 0 ;
12323 PyObject
* obj1
= 0 ;
12324 char *kwnames
[] = {
12325 (char *) "self",(char *) "skip", NULL
12328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12332 arg2
= (bool) SWIG_AsBool(obj1
);
12333 if (PyErr_Occurred()) SWIG_fail
;
12336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12337 (arg1
)->Skip(arg2
);
12339 wxPyEndAllowThreads(__tstate
);
12340 if (PyErr_Occurred()) SWIG_fail
;
12342 Py_INCREF(Py_None
); resultobj
= Py_None
;
12349 static PyObject
*_wrap_Event_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12350 PyObject
*resultobj
;
12351 wxEvent
*arg1
= (wxEvent
*) 0 ;
12353 PyObject
* obj0
= 0 ;
12354 char *kwnames
[] = {
12355 (char *) "self", NULL
12358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12363 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12365 wxPyEndAllowThreads(__tstate
);
12366 if (PyErr_Occurred()) SWIG_fail
;
12369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12377 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12378 PyObject
*resultobj
;
12379 wxEvent
*arg1
= (wxEvent
*) 0 ;
12381 PyObject
* obj0
= 0 ;
12382 char *kwnames
[] = {
12383 (char *) "self", NULL
12386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12391 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12393 wxPyEndAllowThreads(__tstate
);
12394 if (PyErr_Occurred()) SWIG_fail
;
12397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12405 static PyObject
*_wrap_Event_StopPropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12406 PyObject
*resultobj
;
12407 wxEvent
*arg1
= (wxEvent
*) 0 ;
12409 PyObject
* obj0
= 0 ;
12410 char *kwnames
[] = {
12411 (char *) "self", NULL
12414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12419 result
= (int)(arg1
)->StopPropagation();
12421 wxPyEndAllowThreads(__tstate
);
12422 if (PyErr_Occurred()) SWIG_fail
;
12424 resultobj
= SWIG_FromInt((int)result
);
12431 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12432 PyObject
*resultobj
;
12433 wxEvent
*arg1
= (wxEvent
*) 0 ;
12435 PyObject
* obj0
= 0 ;
12436 PyObject
* obj1
= 0 ;
12437 char *kwnames
[] = {
12438 (char *) "self",(char *) "propagationLevel", NULL
12441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12444 arg2
= (int) SWIG_AsInt(obj1
);
12445 if (PyErr_Occurred()) SWIG_fail
;
12447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12448 (arg1
)->ResumePropagation(arg2
);
12450 wxPyEndAllowThreads(__tstate
);
12451 if (PyErr_Occurred()) SWIG_fail
;
12453 Py_INCREF(Py_None
); resultobj
= Py_None
;
12460 static PyObject
*_wrap_Event_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12461 PyObject
*resultobj
;
12462 wxEvent
*arg1
= (wxEvent
*) 0 ;
12464 PyObject
* obj0
= 0 ;
12465 char *kwnames
[] = {
12466 (char *) "self", NULL
12469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12474 result
= (wxEvent
*)(arg1
)->Clone();
12476 wxPyEndAllowThreads(__tstate
);
12477 if (PyErr_Occurred()) SWIG_fail
;
12479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12486 static PyObject
* Event_swigregister(PyObject
*self
, PyObject
*args
) {
12488 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12489 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12491 return Py_BuildValue((char *)"");
12493 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12494 PyObject
*resultobj
;
12495 wxEvent
*arg1
= 0 ;
12496 wxPropagationDisabler
*result
;
12497 PyObject
* obj0
= 0 ;
12498 char *kwnames
[] = {
12499 (char *) "event", NULL
12502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12504 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12506 if (arg1
== NULL
) {
12507 PyErr_SetString(PyExc_TypeError
,"null reference");
12511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12512 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
12514 wxPyEndAllowThreads(__tstate
);
12515 if (PyErr_Occurred()) SWIG_fail
;
12517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
12524 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12525 PyObject
*resultobj
;
12526 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
12527 PyObject
* obj0
= 0 ;
12528 char *kwnames
[] = {
12529 (char *) "self", NULL
12532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
12534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12539 wxPyEndAllowThreads(__tstate
);
12540 if (PyErr_Occurred()) SWIG_fail
;
12542 Py_INCREF(Py_None
); resultobj
= Py_None
;
12549 static PyObject
* PropagationDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
12551 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12552 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
12554 return Py_BuildValue((char *)"");
12556 static PyObject
*_wrap_new_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12557 PyObject
*resultobj
;
12558 wxEvent
*arg1
= 0 ;
12559 wxPropagateOnce
*result
;
12560 PyObject
* obj0
= 0 ;
12561 char *kwnames
[] = {
12562 (char *) "event", NULL
12565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12567 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12569 if (arg1
== NULL
) {
12570 PyErr_SetString(PyExc_TypeError
,"null reference");
12574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12575 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
12577 wxPyEndAllowThreads(__tstate
);
12578 if (PyErr_Occurred()) SWIG_fail
;
12580 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
12587 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12588 PyObject
*resultobj
;
12589 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
12590 PyObject
* obj0
= 0 ;
12591 char *kwnames
[] = {
12592 (char *) "self", NULL
12595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
12597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12602 wxPyEndAllowThreads(__tstate
);
12603 if (PyErr_Occurred()) SWIG_fail
;
12605 Py_INCREF(Py_None
); resultobj
= Py_None
;
12612 static PyObject
* PropagateOnce_swigregister(PyObject
*self
, PyObject
*args
) {
12614 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12615 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
12617 return Py_BuildValue((char *)"");
12619 static PyObject
*_wrap_new_CommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12620 PyObject
*resultobj
;
12621 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12622 int arg2
= (int) 0 ;
12623 wxCommandEvent
*result
;
12624 PyObject
* obj0
= 0 ;
12625 PyObject
* obj1
= 0 ;
12626 char *kwnames
[] = {
12627 (char *) "commandType",(char *) "winid", NULL
12630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12632 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
12633 if (PyErr_Occurred()) SWIG_fail
;
12636 arg2
= (int) SWIG_AsInt(obj1
);
12637 if (PyErr_Occurred()) SWIG_fail
;
12640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12641 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
12643 wxPyEndAllowThreads(__tstate
);
12644 if (PyErr_Occurred()) SWIG_fail
;
12646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
12653 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12654 PyObject
*resultobj
;
12655 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12657 PyObject
* obj0
= 0 ;
12658 char *kwnames
[] = {
12659 (char *) "self", NULL
12662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
12663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12667 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
12669 wxPyEndAllowThreads(__tstate
);
12670 if (PyErr_Occurred()) SWIG_fail
;
12672 resultobj
= SWIG_FromInt((int)result
);
12679 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12680 PyObject
*resultobj
;
12681 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12682 wxString
*arg2
= 0 ;
12683 bool temp2
= False
;
12684 PyObject
* obj0
= 0 ;
12685 PyObject
* obj1
= 0 ;
12686 char *kwnames
[] = {
12687 (char *) "self",(char *) "s", NULL
12690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12694 arg2
= wxString_in_helper(obj1
);
12695 if (arg2
== NULL
) SWIG_fail
;
12699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12700 (arg1
)->SetString((wxString
const &)*arg2
);
12702 wxPyEndAllowThreads(__tstate
);
12703 if (PyErr_Occurred()) SWIG_fail
;
12705 Py_INCREF(Py_None
); resultobj
= Py_None
;
12720 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12721 PyObject
*resultobj
;
12722 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12724 PyObject
* obj0
= 0 ;
12725 char *kwnames
[] = {
12726 (char *) "self", NULL
12729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
12730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12734 result
= ((wxCommandEvent
const *)arg1
)->GetString();
12736 wxPyEndAllowThreads(__tstate
);
12737 if (PyErr_Occurred()) SWIG_fail
;
12741 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12743 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12752 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12753 PyObject
*resultobj
;
12754 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12756 PyObject
* obj0
= 0 ;
12757 char *kwnames
[] = {
12758 (char *) "self", NULL
12761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
12762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12766 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
12768 wxPyEndAllowThreads(__tstate
);
12769 if (PyErr_Occurred()) SWIG_fail
;
12772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12780 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12781 PyObject
*resultobj
;
12782 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12784 PyObject
* obj0
= 0 ;
12785 char *kwnames
[] = {
12786 (char *) "self", NULL
12789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
12790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12794 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
12796 wxPyEndAllowThreads(__tstate
);
12797 if (PyErr_Occurred()) SWIG_fail
;
12800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12808 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12809 PyObject
*resultobj
;
12810 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12812 PyObject
* obj0
= 0 ;
12813 PyObject
* obj1
= 0 ;
12814 char *kwnames
[] = {
12815 (char *) "self",(char *) "extraLong", NULL
12818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
12819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12821 arg2
= (long) SWIG_AsLong(obj1
);
12822 if (PyErr_Occurred()) SWIG_fail
;
12824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12825 (arg1
)->SetExtraLong(arg2
);
12827 wxPyEndAllowThreads(__tstate
);
12828 if (PyErr_Occurred()) SWIG_fail
;
12830 Py_INCREF(Py_None
); resultobj
= Py_None
;
12837 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12838 PyObject
*resultobj
;
12839 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12841 PyObject
* obj0
= 0 ;
12842 char *kwnames
[] = {
12843 (char *) "self", NULL
12846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
12847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12851 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
12853 wxPyEndAllowThreads(__tstate
);
12854 if (PyErr_Occurred()) SWIG_fail
;
12856 resultobj
= SWIG_FromLong((long)result
);
12863 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12864 PyObject
*resultobj
;
12865 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12867 PyObject
* obj0
= 0 ;
12868 PyObject
* obj1
= 0 ;
12869 char *kwnames
[] = {
12870 (char *) "self",(char *) "i", NULL
12873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
12874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12876 arg2
= (int) SWIG_AsInt(obj1
);
12877 if (PyErr_Occurred()) SWIG_fail
;
12879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12880 (arg1
)->SetInt(arg2
);
12882 wxPyEndAllowThreads(__tstate
);
12883 if (PyErr_Occurred()) SWIG_fail
;
12885 Py_INCREF(Py_None
); resultobj
= Py_None
;
12892 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12893 PyObject
*resultobj
;
12894 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12896 PyObject
* obj0
= 0 ;
12897 char *kwnames
[] = {
12898 (char *) "self", NULL
12901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
12902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12906 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
12908 wxPyEndAllowThreads(__tstate
);
12909 if (PyErr_Occurred()) SWIG_fail
;
12911 resultobj
= SWIG_FromLong((long)result
);
12918 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12919 PyObject
*resultobj
;
12920 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12922 PyObject
* obj0
= 0 ;
12923 char *kwnames
[] = {
12924 (char *) "self", NULL
12927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
12928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12932 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
12934 wxPyEndAllowThreads(__tstate
);
12935 if (PyErr_Occurred()) SWIG_fail
;
12937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12944 static PyObject
* CommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12946 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12947 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
12949 return Py_BuildValue((char *)"");
12951 static PyObject
*_wrap_new_NotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12952 PyObject
*resultobj
;
12953 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12954 int arg2
= (int) 0 ;
12955 wxNotifyEvent
*result
;
12956 PyObject
* obj0
= 0 ;
12957 PyObject
* obj1
= 0 ;
12958 char *kwnames
[] = {
12959 (char *) "commandType",(char *) "winid", NULL
12962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12964 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
12965 if (PyErr_Occurred()) SWIG_fail
;
12968 arg2
= (int) SWIG_AsInt(obj1
);
12969 if (PyErr_Occurred()) SWIG_fail
;
12972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12973 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
12975 wxPyEndAllowThreads(__tstate
);
12976 if (PyErr_Occurred()) SWIG_fail
;
12978 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
12985 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12986 PyObject
*resultobj
;
12987 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
12988 PyObject
* obj0
= 0 ;
12989 char *kwnames
[] = {
12990 (char *) "self", NULL
12993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
12994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
12995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13000 wxPyEndAllowThreads(__tstate
);
13001 if (PyErr_Occurred()) SWIG_fail
;
13003 Py_INCREF(Py_None
); resultobj
= Py_None
;
13010 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13011 PyObject
*resultobj
;
13012 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13013 PyObject
* obj0
= 0 ;
13014 char *kwnames
[] = {
13015 (char *) "self", NULL
13018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13025 wxPyEndAllowThreads(__tstate
);
13026 if (PyErr_Occurred()) SWIG_fail
;
13028 Py_INCREF(Py_None
); resultobj
= Py_None
;
13035 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13036 PyObject
*resultobj
;
13037 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13039 PyObject
* obj0
= 0 ;
13040 char *kwnames
[] = {
13041 (char *) "self", NULL
13044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13049 result
= (bool)(arg1
)->IsAllowed();
13051 wxPyEndAllowThreads(__tstate
);
13052 if (PyErr_Occurred()) SWIG_fail
;
13055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13063 static PyObject
* NotifyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13065 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13066 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13068 return Py_BuildValue((char *)"");
13070 static PyObject
*_wrap_new_ScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13071 PyObject
*resultobj
;
13072 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13073 int arg2
= (int) 0 ;
13074 int arg3
= (int) 0 ;
13075 int arg4
= (int) 0 ;
13076 wxScrollEvent
*result
;
13077 PyObject
* obj0
= 0 ;
13078 PyObject
* obj1
= 0 ;
13079 PyObject
* obj2
= 0 ;
13080 PyObject
* obj3
= 0 ;
13081 char *kwnames
[] = {
13082 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13087 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13088 if (PyErr_Occurred()) SWIG_fail
;
13091 arg2
= (int) SWIG_AsInt(obj1
);
13092 if (PyErr_Occurred()) SWIG_fail
;
13095 arg3
= (int) SWIG_AsInt(obj2
);
13096 if (PyErr_Occurred()) SWIG_fail
;
13099 arg4
= (int) SWIG_AsInt(obj3
);
13100 if (PyErr_Occurred()) SWIG_fail
;
13103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13104 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13106 wxPyEndAllowThreads(__tstate
);
13107 if (PyErr_Occurred()) SWIG_fail
;
13109 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13116 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13117 PyObject
*resultobj
;
13118 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13120 PyObject
* obj0
= 0 ;
13121 char *kwnames
[] = {
13122 (char *) "self", NULL
13125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13130 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13132 wxPyEndAllowThreads(__tstate
);
13133 if (PyErr_Occurred()) SWIG_fail
;
13135 resultobj
= SWIG_FromInt((int)result
);
13142 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13143 PyObject
*resultobj
;
13144 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13146 PyObject
* obj0
= 0 ;
13147 char *kwnames
[] = {
13148 (char *) "self", NULL
13151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13156 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13158 wxPyEndAllowThreads(__tstate
);
13159 if (PyErr_Occurred()) SWIG_fail
;
13161 resultobj
= SWIG_FromInt((int)result
);
13168 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13169 PyObject
*resultobj
;
13170 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13172 PyObject
* obj0
= 0 ;
13173 PyObject
* obj1
= 0 ;
13174 char *kwnames
[] = {
13175 (char *) "self",(char *) "orient", NULL
13178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13181 arg2
= (int) SWIG_AsInt(obj1
);
13182 if (PyErr_Occurred()) SWIG_fail
;
13184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13185 (arg1
)->SetOrientation(arg2
);
13187 wxPyEndAllowThreads(__tstate
);
13188 if (PyErr_Occurred()) SWIG_fail
;
13190 Py_INCREF(Py_None
); resultobj
= Py_None
;
13197 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13198 PyObject
*resultobj
;
13199 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13201 PyObject
* obj0
= 0 ;
13202 PyObject
* obj1
= 0 ;
13203 char *kwnames
[] = {
13204 (char *) "self",(char *) "pos", NULL
13207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13210 arg2
= (int) SWIG_AsInt(obj1
);
13211 if (PyErr_Occurred()) SWIG_fail
;
13213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13214 (arg1
)->SetPosition(arg2
);
13216 wxPyEndAllowThreads(__tstate
);
13217 if (PyErr_Occurred()) SWIG_fail
;
13219 Py_INCREF(Py_None
); resultobj
= Py_None
;
13226 static PyObject
* ScrollEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13228 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13229 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13231 return Py_BuildValue((char *)"");
13233 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13234 PyObject
*resultobj
;
13235 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13236 int arg2
= (int) 0 ;
13237 int arg3
= (int) 0 ;
13238 wxScrollWinEvent
*result
;
13239 PyObject
* obj0
= 0 ;
13240 PyObject
* obj1
= 0 ;
13241 PyObject
* obj2
= 0 ;
13242 char *kwnames
[] = {
13243 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13248 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13249 if (PyErr_Occurred()) SWIG_fail
;
13252 arg2
= (int) SWIG_AsInt(obj1
);
13253 if (PyErr_Occurred()) SWIG_fail
;
13256 arg3
= (int) SWIG_AsInt(obj2
);
13257 if (PyErr_Occurred()) SWIG_fail
;
13260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13261 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13263 wxPyEndAllowThreads(__tstate
);
13264 if (PyErr_Occurred()) SWIG_fail
;
13266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13273 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13274 PyObject
*resultobj
;
13275 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13277 PyObject
* obj0
= 0 ;
13278 char *kwnames
[] = {
13279 (char *) "self", NULL
13282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13287 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13289 wxPyEndAllowThreads(__tstate
);
13290 if (PyErr_Occurred()) SWIG_fail
;
13292 resultobj
= SWIG_FromInt((int)result
);
13299 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13300 PyObject
*resultobj
;
13301 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13303 PyObject
* obj0
= 0 ;
13304 char *kwnames
[] = {
13305 (char *) "self", NULL
13308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13313 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13315 wxPyEndAllowThreads(__tstate
);
13316 if (PyErr_Occurred()) SWIG_fail
;
13318 resultobj
= SWIG_FromInt((int)result
);
13325 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13326 PyObject
*resultobj
;
13327 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13329 PyObject
* obj0
= 0 ;
13330 PyObject
* obj1
= 0 ;
13331 char *kwnames
[] = {
13332 (char *) "self",(char *) "orient", NULL
13335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13338 arg2
= (int) SWIG_AsInt(obj1
);
13339 if (PyErr_Occurred()) SWIG_fail
;
13341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13342 (arg1
)->SetOrientation(arg2
);
13344 wxPyEndAllowThreads(__tstate
);
13345 if (PyErr_Occurred()) SWIG_fail
;
13347 Py_INCREF(Py_None
); resultobj
= Py_None
;
13354 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13355 PyObject
*resultobj
;
13356 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13358 PyObject
* obj0
= 0 ;
13359 PyObject
* obj1
= 0 ;
13360 char *kwnames
[] = {
13361 (char *) "self",(char *) "pos", NULL
13364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13367 arg2
= (int) SWIG_AsInt(obj1
);
13368 if (PyErr_Occurred()) SWIG_fail
;
13370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13371 (arg1
)->SetPosition(arg2
);
13373 wxPyEndAllowThreads(__tstate
);
13374 if (PyErr_Occurred()) SWIG_fail
;
13376 Py_INCREF(Py_None
); resultobj
= Py_None
;
13383 static PyObject
* ScrollWinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13385 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13386 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13388 return Py_BuildValue((char *)"");
13390 static PyObject
*_wrap_new_MouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13391 PyObject
*resultobj
;
13392 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13393 wxMouseEvent
*result
;
13394 PyObject
* obj0
= 0 ;
13395 char *kwnames
[] = {
13396 (char *) "mouseType", NULL
13399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13401 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13402 if (PyErr_Occurred()) SWIG_fail
;
13405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13406 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13408 wxPyEndAllowThreads(__tstate
);
13409 if (PyErr_Occurred()) SWIG_fail
;
13412 resultobj
= wxPyMake_wxObject(result
);
13420 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13421 PyObject
*resultobj
;
13422 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13424 PyObject
* obj0
= 0 ;
13425 char *kwnames
[] = {
13426 (char *) "self", NULL
13429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13434 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13436 wxPyEndAllowThreads(__tstate
);
13437 if (PyErr_Occurred()) SWIG_fail
;
13440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13448 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13449 PyObject
*resultobj
;
13450 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13451 int arg2
= (int) wxMOUSE_BTN_ANY
;
13453 PyObject
* obj0
= 0 ;
13454 PyObject
* obj1
= 0 ;
13455 char *kwnames
[] = {
13456 (char *) "self",(char *) "but", NULL
13459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13463 arg2
= (int) SWIG_AsInt(obj1
);
13464 if (PyErr_Occurred()) SWIG_fail
;
13467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13468 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13470 wxPyEndAllowThreads(__tstate
);
13471 if (PyErr_Occurred()) SWIG_fail
;
13474 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13482 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13483 PyObject
*resultobj
;
13484 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13485 int arg2
= (int) wxMOUSE_BTN_ANY
;
13487 PyObject
* obj0
= 0 ;
13488 PyObject
* obj1
= 0 ;
13489 char *kwnames
[] = {
13490 (char *) "self",(char *) "but", NULL
13493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13497 arg2
= (int) SWIG_AsInt(obj1
);
13498 if (PyErr_Occurred()) SWIG_fail
;
13501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13502 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13504 wxPyEndAllowThreads(__tstate
);
13505 if (PyErr_Occurred()) SWIG_fail
;
13508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13516 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13517 PyObject
*resultobj
;
13518 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13519 int arg2
= (int) wxMOUSE_BTN_ANY
;
13521 PyObject
* obj0
= 0 ;
13522 PyObject
* obj1
= 0 ;
13523 char *kwnames
[] = {
13524 (char *) "self",(char *) "but", NULL
13527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13531 arg2
= (int) SWIG_AsInt(obj1
);
13532 if (PyErr_Occurred()) SWIG_fail
;
13535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13536 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
13538 wxPyEndAllowThreads(__tstate
);
13539 if (PyErr_Occurred()) SWIG_fail
;
13542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13550 static PyObject
*_wrap_MouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13551 PyObject
*resultobj
;
13552 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13555 PyObject
* obj0
= 0 ;
13556 PyObject
* obj1
= 0 ;
13557 char *kwnames
[] = {
13558 (char *) "self",(char *) "but", NULL
13561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
13562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13564 arg2
= (int) SWIG_AsInt(obj1
);
13565 if (PyErr_Occurred()) SWIG_fail
;
13567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13568 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
13570 wxPyEndAllowThreads(__tstate
);
13571 if (PyErr_Occurred()) SWIG_fail
;
13574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13582 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13583 PyObject
*resultobj
;
13584 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13587 PyObject
* obj0
= 0 ;
13588 PyObject
* obj1
= 0 ;
13589 char *kwnames
[] = {
13590 (char *) "self",(char *) "but", NULL
13593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13596 arg2
= (int) SWIG_AsInt(obj1
);
13597 if (PyErr_Occurred()) SWIG_fail
;
13599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13600 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
13602 wxPyEndAllowThreads(__tstate
);
13603 if (PyErr_Occurred()) SWIG_fail
;
13606 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13614 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13615 PyObject
*resultobj
;
13616 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13618 PyObject
* obj0
= 0 ;
13619 char *kwnames
[] = {
13620 (char *) "self", NULL
13623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
13624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13628 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
13630 wxPyEndAllowThreads(__tstate
);
13631 if (PyErr_Occurred()) SWIG_fail
;
13633 resultobj
= SWIG_FromInt((int)result
);
13640 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13641 PyObject
*resultobj
;
13642 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13644 PyObject
* obj0
= 0 ;
13645 char *kwnames
[] = {
13646 (char *) "self", NULL
13649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13654 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
13656 wxPyEndAllowThreads(__tstate
);
13657 if (PyErr_Occurred()) SWIG_fail
;
13660 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13668 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13669 PyObject
*resultobj
;
13670 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13672 PyObject
* obj0
= 0 ;
13673 char *kwnames
[] = {
13674 (char *) "self", NULL
13677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13682 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
13684 wxPyEndAllowThreads(__tstate
);
13685 if (PyErr_Occurred()) SWIG_fail
;
13688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13696 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13697 PyObject
*resultobj
;
13698 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13700 PyObject
* obj0
= 0 ;
13701 char *kwnames
[] = {
13702 (char *) "self", NULL
13705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13710 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
13712 wxPyEndAllowThreads(__tstate
);
13713 if (PyErr_Occurred()) SWIG_fail
;
13716 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13724 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13725 PyObject
*resultobj
;
13726 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13728 PyObject
* obj0
= 0 ;
13729 char *kwnames
[] = {
13730 (char *) "self", NULL
13733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13738 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
13740 wxPyEndAllowThreads(__tstate
);
13741 if (PyErr_Occurred()) SWIG_fail
;
13744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13752 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13753 PyObject
*resultobj
;
13754 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13756 PyObject
* obj0
= 0 ;
13757 char *kwnames
[] = {
13758 (char *) "self", NULL
13761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
13762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13766 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
13768 wxPyEndAllowThreads(__tstate
);
13769 if (PyErr_Occurred()) SWIG_fail
;
13772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13780 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13781 PyObject
*resultobj
;
13782 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13784 PyObject
* obj0
= 0 ;
13785 char *kwnames
[] = {
13786 (char *) "self", NULL
13789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
13790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13794 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
13796 wxPyEndAllowThreads(__tstate
);
13797 if (PyErr_Occurred()) SWIG_fail
;
13800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13808 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13809 PyObject
*resultobj
;
13810 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13812 PyObject
* obj0
= 0 ;
13813 char *kwnames
[] = {
13814 (char *) "self", NULL
13817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
13818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13822 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
13824 wxPyEndAllowThreads(__tstate
);
13825 if (PyErr_Occurred()) SWIG_fail
;
13828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13836 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13837 PyObject
*resultobj
;
13838 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13840 PyObject
* obj0
= 0 ;
13841 char *kwnames
[] = {
13842 (char *) "self", NULL
13845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
13846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13850 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
13852 wxPyEndAllowThreads(__tstate
);
13853 if (PyErr_Occurred()) SWIG_fail
;
13856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13864 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13865 PyObject
*resultobj
;
13866 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13868 PyObject
* obj0
= 0 ;
13869 char *kwnames
[] = {
13870 (char *) "self", NULL
13873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
13874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13878 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
13880 wxPyEndAllowThreads(__tstate
);
13881 if (PyErr_Occurred()) SWIG_fail
;
13884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13892 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13893 PyObject
*resultobj
;
13894 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13896 PyObject
* obj0
= 0 ;
13897 char *kwnames
[] = {
13898 (char *) "self", NULL
13901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
13902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13906 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
13908 wxPyEndAllowThreads(__tstate
);
13909 if (PyErr_Occurred()) SWIG_fail
;
13912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13920 static PyObject
*_wrap_MouseEvent_LeftDClick(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_LeftDClick",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)((wxMouseEvent
const *)arg1
)->LeftDClick();
13936 wxPyEndAllowThreads(__tstate
);
13937 if (PyErr_Occurred()) SWIG_fail
;
13940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13948 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13949 PyObject
*resultobj
;
13950 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13952 PyObject
* obj0
= 0 ;
13953 char *kwnames
[] = {
13954 (char *) "self", NULL
13957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
13958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13962 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
13964 wxPyEndAllowThreads(__tstate
);
13965 if (PyErr_Occurred()) SWIG_fail
;
13968 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13976 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13977 PyObject
*resultobj
;
13978 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13980 PyObject
* obj0
= 0 ;
13981 char *kwnames
[] = {
13982 (char *) "self", NULL
13985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
13986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13990 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
13992 wxPyEndAllowThreads(__tstate
);
13993 if (PyErr_Occurred()) SWIG_fail
;
13996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14004 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14005 PyObject
*resultobj
;
14006 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14008 PyObject
* obj0
= 0 ;
14009 char *kwnames
[] = {
14010 (char *) "self", NULL
14013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14018 result
= (bool)(arg1
)->LeftIsDown();
14020 wxPyEndAllowThreads(__tstate
);
14021 if (PyErr_Occurred()) SWIG_fail
;
14024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14032 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14033 PyObject
*resultobj
;
14034 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14036 PyObject
* obj0
= 0 ;
14037 char *kwnames
[] = {
14038 (char *) "self", NULL
14041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14046 result
= (bool)(arg1
)->MiddleIsDown();
14048 wxPyEndAllowThreads(__tstate
);
14049 if (PyErr_Occurred()) SWIG_fail
;
14052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14060 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14061 PyObject
*resultobj
;
14062 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14064 PyObject
* obj0
= 0 ;
14065 char *kwnames
[] = {
14066 (char *) "self", NULL
14069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14074 result
= (bool)(arg1
)->RightIsDown();
14076 wxPyEndAllowThreads(__tstate
);
14077 if (PyErr_Occurred()) SWIG_fail
;
14080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14088 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14089 PyObject
*resultobj
;
14090 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14092 PyObject
* obj0
= 0 ;
14093 char *kwnames
[] = {
14094 (char *) "self", NULL
14097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14102 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14104 wxPyEndAllowThreads(__tstate
);
14105 if (PyErr_Occurred()) SWIG_fail
;
14108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14116 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14117 PyObject
*resultobj
;
14118 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14120 PyObject
* obj0
= 0 ;
14121 char *kwnames
[] = {
14122 (char *) "self", NULL
14125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14130 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14132 wxPyEndAllowThreads(__tstate
);
14133 if (PyErr_Occurred()) SWIG_fail
;
14136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14144 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14145 PyObject
*resultobj
;
14146 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14148 PyObject
* obj0
= 0 ;
14149 char *kwnames
[] = {
14150 (char *) "self", NULL
14153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14158 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14160 wxPyEndAllowThreads(__tstate
);
14161 if (PyErr_Occurred()) SWIG_fail
;
14164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14172 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14173 PyObject
*resultobj
;
14174 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14176 PyObject
* obj0
= 0 ;
14177 char *kwnames
[] = {
14178 (char *) "self", NULL
14181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14186 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14188 wxPyEndAllowThreads(__tstate
);
14189 if (PyErr_Occurred()) SWIG_fail
;
14192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14200 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14201 PyObject
*resultobj
;
14202 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14204 PyObject
* obj0
= 0 ;
14205 char *kwnames
[] = {
14206 (char *) "self", NULL
14209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14214 result
= (arg1
)->GetPosition();
14216 wxPyEndAllowThreads(__tstate
);
14217 if (PyErr_Occurred()) SWIG_fail
;
14220 wxPoint
* resultptr
;
14221 resultptr
= new wxPoint((wxPoint
&) result
);
14222 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14230 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14231 PyObject
*resultobj
;
14232 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14233 long *arg2
= (long *) 0 ;
14234 long *arg3
= (long *) 0 ;
14237 PyObject
* obj0
= 0 ;
14238 char *kwnames
[] = {
14239 (char *) "self", NULL
14244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14249 (arg1
)->GetPosition(arg2
,arg3
);
14251 wxPyEndAllowThreads(__tstate
);
14252 if (PyErr_Occurred()) SWIG_fail
;
14254 Py_INCREF(Py_None
); resultobj
= Py_None
;
14256 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14257 resultobj
= t_output_helper(resultobj
,o
);
14260 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14261 resultobj
= t_output_helper(resultobj
,o
);
14269 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14270 PyObject
*resultobj
;
14271 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14274 PyObject
* obj0
= 0 ;
14275 PyObject
* obj1
= 0 ;
14276 char *kwnames
[] = {
14277 (char *) "self",(char *) "dc", NULL
14280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14283 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14284 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14286 if (arg2
== NULL
) {
14287 PyErr_SetString(PyExc_TypeError
,"null reference");
14291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14292 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14294 wxPyEndAllowThreads(__tstate
);
14295 if (PyErr_Occurred()) SWIG_fail
;
14298 wxPoint
* resultptr
;
14299 resultptr
= new wxPoint((wxPoint
&) result
);
14300 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14308 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14309 PyObject
*resultobj
;
14310 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14312 PyObject
* obj0
= 0 ;
14313 char *kwnames
[] = {
14314 (char *) "self", NULL
14317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
14318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14322 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14324 wxPyEndAllowThreads(__tstate
);
14325 if (PyErr_Occurred()) SWIG_fail
;
14327 resultobj
= SWIG_FromInt((int)result
);
14334 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14335 PyObject
*resultobj
;
14336 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14338 PyObject
* obj0
= 0 ;
14339 char *kwnames
[] = {
14340 (char *) "self", NULL
14343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14348 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14350 wxPyEndAllowThreads(__tstate
);
14351 if (PyErr_Occurred()) SWIG_fail
;
14353 resultobj
= SWIG_FromInt((int)result
);
14360 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14361 PyObject
*resultobj
;
14362 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14364 PyObject
* obj0
= 0 ;
14365 char *kwnames
[] = {
14366 (char *) "self", NULL
14369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
14370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14374 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
14376 wxPyEndAllowThreads(__tstate
);
14377 if (PyErr_Occurred()) SWIG_fail
;
14379 resultobj
= SWIG_FromInt((int)result
);
14386 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14387 PyObject
*resultobj
;
14388 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14390 PyObject
* obj0
= 0 ;
14391 char *kwnames
[] = {
14392 (char *) "self", NULL
14395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
14396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14400 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14402 wxPyEndAllowThreads(__tstate
);
14403 if (PyErr_Occurred()) SWIG_fail
;
14405 resultobj
= SWIG_FromInt((int)result
);
14412 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14413 PyObject
*resultobj
;
14414 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14416 PyObject
* obj0
= 0 ;
14417 char *kwnames
[] = {
14418 (char *) "self", NULL
14421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14426 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14428 wxPyEndAllowThreads(__tstate
);
14429 if (PyErr_Occurred()) SWIG_fail
;
14431 resultobj
= SWIG_FromInt((int)result
);
14438 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14439 PyObject
*resultobj
;
14440 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14442 PyObject
* obj0
= 0 ;
14443 char *kwnames
[] = {
14444 (char *) "self", NULL
14447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14452 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14454 wxPyEndAllowThreads(__tstate
);
14455 if (PyErr_Occurred()) SWIG_fail
;
14458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14466 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14467 PyObject
*resultobj
;
14468 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14470 PyObject
* obj0
= 0 ;
14471 PyObject
* obj1
= 0 ;
14472 char *kwnames
[] = {
14473 (char *) "self",(char *) "m_x", NULL
14476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14479 arg2
= (int) SWIG_AsInt(obj1
);
14480 if (PyErr_Occurred()) SWIG_fail
;
14481 if (arg1
) (arg1
)->m_x
= arg2
;
14483 Py_INCREF(Py_None
); resultobj
= Py_None
;
14490 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14491 PyObject
*resultobj
;
14492 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14494 PyObject
* obj0
= 0 ;
14495 char *kwnames
[] = {
14496 (char *) "self", NULL
14499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14502 result
= (int) ((arg1
)->m_x
);
14504 resultobj
= SWIG_FromInt((int)result
);
14511 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14512 PyObject
*resultobj
;
14513 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14515 PyObject
* obj0
= 0 ;
14516 PyObject
* obj1
= 0 ;
14517 char *kwnames
[] = {
14518 (char *) "self",(char *) "m_y", NULL
14521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14524 arg2
= (int) SWIG_AsInt(obj1
);
14525 if (PyErr_Occurred()) SWIG_fail
;
14526 if (arg1
) (arg1
)->m_y
= arg2
;
14528 Py_INCREF(Py_None
); resultobj
= Py_None
;
14535 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14536 PyObject
*resultobj
;
14537 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14539 PyObject
* obj0
= 0 ;
14540 char *kwnames
[] = {
14541 (char *) "self", NULL
14544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
14545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14547 result
= (int) ((arg1
)->m_y
);
14549 resultobj
= SWIG_FromInt((int)result
);
14556 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14557 PyObject
*resultobj
;
14558 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14560 PyObject
* obj0
= 0 ;
14561 PyObject
* obj1
= 0 ;
14562 char *kwnames
[] = {
14563 (char *) "self",(char *) "m_leftDown", NULL
14566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14569 arg2
= (bool) SWIG_AsBool(obj1
);
14570 if (PyErr_Occurred()) SWIG_fail
;
14571 if (arg1
) (arg1
)->m_leftDown
= arg2
;
14573 Py_INCREF(Py_None
); resultobj
= Py_None
;
14580 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14581 PyObject
*resultobj
;
14582 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14584 PyObject
* obj0
= 0 ;
14585 char *kwnames
[] = {
14586 (char *) "self", NULL
14589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
14590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14592 result
= (bool) ((arg1
)->m_leftDown
);
14595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14603 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14604 PyObject
*resultobj
;
14605 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14607 PyObject
* obj0
= 0 ;
14608 PyObject
* obj1
= 0 ;
14609 char *kwnames
[] = {
14610 (char *) "self",(char *) "m_middleDown", NULL
14613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14616 arg2
= (bool) SWIG_AsBool(obj1
);
14617 if (PyErr_Occurred()) SWIG_fail
;
14618 if (arg1
) (arg1
)->m_middleDown
= arg2
;
14620 Py_INCREF(Py_None
); resultobj
= Py_None
;
14627 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14628 PyObject
*resultobj
;
14629 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14631 PyObject
* obj0
= 0 ;
14632 char *kwnames
[] = {
14633 (char *) "self", NULL
14636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
14637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14639 result
= (bool) ((arg1
)->m_middleDown
);
14642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14650 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14651 PyObject
*resultobj
;
14652 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14654 PyObject
* obj0
= 0 ;
14655 PyObject
* obj1
= 0 ;
14656 char *kwnames
[] = {
14657 (char *) "self",(char *) "m_rightDown", NULL
14660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14663 arg2
= (bool) SWIG_AsBool(obj1
);
14664 if (PyErr_Occurred()) SWIG_fail
;
14665 if (arg1
) (arg1
)->m_rightDown
= arg2
;
14667 Py_INCREF(Py_None
); resultobj
= Py_None
;
14674 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14675 PyObject
*resultobj
;
14676 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14678 PyObject
* obj0
= 0 ;
14679 char *kwnames
[] = {
14680 (char *) "self", NULL
14683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
14684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14686 result
= (bool) ((arg1
)->m_rightDown
);
14689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14697 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14698 PyObject
*resultobj
;
14699 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14701 PyObject
* obj0
= 0 ;
14702 PyObject
* obj1
= 0 ;
14703 char *kwnames
[] = {
14704 (char *) "self",(char *) "m_controlDown", NULL
14707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14710 arg2
= (bool) SWIG_AsBool(obj1
);
14711 if (PyErr_Occurred()) SWIG_fail
;
14712 if (arg1
) (arg1
)->m_controlDown
= arg2
;
14714 Py_INCREF(Py_None
); resultobj
= Py_None
;
14721 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14722 PyObject
*resultobj
;
14723 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14725 PyObject
* obj0
= 0 ;
14726 char *kwnames
[] = {
14727 (char *) "self", NULL
14730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
14731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14733 result
= (bool) ((arg1
)->m_controlDown
);
14736 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14744 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14745 PyObject
*resultobj
;
14746 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14748 PyObject
* obj0
= 0 ;
14749 PyObject
* obj1
= 0 ;
14750 char *kwnames
[] = {
14751 (char *) "self",(char *) "m_shiftDown", NULL
14754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14757 arg2
= (bool) SWIG_AsBool(obj1
);
14758 if (PyErr_Occurred()) SWIG_fail
;
14759 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
14761 Py_INCREF(Py_None
); resultobj
= Py_None
;
14768 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14769 PyObject
*resultobj
;
14770 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14772 PyObject
* obj0
= 0 ;
14773 char *kwnames
[] = {
14774 (char *) "self", NULL
14777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
14778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14780 result
= (bool) ((arg1
)->m_shiftDown
);
14783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14791 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14792 PyObject
*resultobj
;
14793 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14795 PyObject
* obj0
= 0 ;
14796 PyObject
* obj1
= 0 ;
14797 char *kwnames
[] = {
14798 (char *) "self",(char *) "m_altDown", NULL
14801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14804 arg2
= (bool) SWIG_AsBool(obj1
);
14805 if (PyErr_Occurred()) SWIG_fail
;
14806 if (arg1
) (arg1
)->m_altDown
= arg2
;
14808 Py_INCREF(Py_None
); resultobj
= Py_None
;
14815 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14816 PyObject
*resultobj
;
14817 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14819 PyObject
* obj0
= 0 ;
14820 char *kwnames
[] = {
14821 (char *) "self", NULL
14824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
14825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14827 result
= (bool) ((arg1
)->m_altDown
);
14830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14838 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14839 PyObject
*resultobj
;
14840 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14842 PyObject
* obj0
= 0 ;
14843 PyObject
* obj1
= 0 ;
14844 char *kwnames
[] = {
14845 (char *) "self",(char *) "m_metaDown", NULL
14848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14851 arg2
= (bool) SWIG_AsBool(obj1
);
14852 if (PyErr_Occurred()) SWIG_fail
;
14853 if (arg1
) (arg1
)->m_metaDown
= arg2
;
14855 Py_INCREF(Py_None
); resultobj
= Py_None
;
14862 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14863 PyObject
*resultobj
;
14864 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14866 PyObject
* obj0
= 0 ;
14867 char *kwnames
[] = {
14868 (char *) "self", NULL
14871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
14872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14874 result
= (bool) ((arg1
)->m_metaDown
);
14877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14885 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14886 PyObject
*resultobj
;
14887 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14889 PyObject
* obj0
= 0 ;
14890 PyObject
* obj1
= 0 ;
14891 char *kwnames
[] = {
14892 (char *) "self",(char *) "m_wheelRotation", NULL
14895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14898 arg2
= (int) SWIG_AsInt(obj1
);
14899 if (PyErr_Occurred()) SWIG_fail
;
14900 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
14902 Py_INCREF(Py_None
); resultobj
= Py_None
;
14909 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14910 PyObject
*resultobj
;
14911 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14913 PyObject
* obj0
= 0 ;
14914 char *kwnames
[] = {
14915 (char *) "self", NULL
14918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
14919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14921 result
= (int) ((arg1
)->m_wheelRotation
);
14923 resultobj
= SWIG_FromInt((int)result
);
14930 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14931 PyObject
*resultobj
;
14932 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14934 PyObject
* obj0
= 0 ;
14935 PyObject
* obj1
= 0 ;
14936 char *kwnames
[] = {
14937 (char *) "self",(char *) "m_wheelDelta", NULL
14940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14943 arg2
= (int) SWIG_AsInt(obj1
);
14944 if (PyErr_Occurred()) SWIG_fail
;
14945 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
14947 Py_INCREF(Py_None
); resultobj
= Py_None
;
14954 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14955 PyObject
*resultobj
;
14956 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14958 PyObject
* obj0
= 0 ;
14959 char *kwnames
[] = {
14960 (char *) "self", NULL
14963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
14964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14966 result
= (int) ((arg1
)->m_wheelDelta
);
14968 resultobj
= SWIG_FromInt((int)result
);
14975 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14976 PyObject
*resultobj
;
14977 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14979 PyObject
* obj0
= 0 ;
14980 PyObject
* obj1
= 0 ;
14981 char *kwnames
[] = {
14982 (char *) "self",(char *) "m_linesPerAction", NULL
14985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14988 arg2
= (int) SWIG_AsInt(obj1
);
14989 if (PyErr_Occurred()) SWIG_fail
;
14990 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
14992 Py_INCREF(Py_None
); resultobj
= Py_None
;
14999 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15000 PyObject
*resultobj
;
15001 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15003 PyObject
* obj0
= 0 ;
15004 char *kwnames
[] = {
15005 (char *) "self", NULL
15008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15011 result
= (int) ((arg1
)->m_linesPerAction
);
15013 resultobj
= SWIG_FromInt((int)result
);
15020 static PyObject
* MouseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15022 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15023 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15025 return Py_BuildValue((char *)"");
15027 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15028 PyObject
*resultobj
;
15029 int arg1
= (int) 0 ;
15030 int arg2
= (int) 0 ;
15031 wxSetCursorEvent
*result
;
15032 PyObject
* obj0
= 0 ;
15033 PyObject
* obj1
= 0 ;
15034 char *kwnames
[] = {
15035 (char *) "x",(char *) "y", NULL
15038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15040 arg1
= (int) SWIG_AsInt(obj0
);
15041 if (PyErr_Occurred()) SWIG_fail
;
15044 arg2
= (int) SWIG_AsInt(obj1
);
15045 if (PyErr_Occurred()) SWIG_fail
;
15048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15049 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15051 wxPyEndAllowThreads(__tstate
);
15052 if (PyErr_Occurred()) SWIG_fail
;
15054 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15061 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15062 PyObject
*resultobj
;
15063 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15065 PyObject
* obj0
= 0 ;
15066 char *kwnames
[] = {
15067 (char *) "self", NULL
15070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15075 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15077 wxPyEndAllowThreads(__tstate
);
15078 if (PyErr_Occurred()) SWIG_fail
;
15080 resultobj
= SWIG_FromInt((int)result
);
15087 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15088 PyObject
*resultobj
;
15089 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15091 PyObject
* obj0
= 0 ;
15092 char *kwnames
[] = {
15093 (char *) "self", NULL
15096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15101 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15103 wxPyEndAllowThreads(__tstate
);
15104 if (PyErr_Occurred()) SWIG_fail
;
15106 resultobj
= SWIG_FromInt((int)result
);
15113 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15114 PyObject
*resultobj
;
15115 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15116 wxCursor
*arg2
= 0 ;
15117 PyObject
* obj0
= 0 ;
15118 PyObject
* obj1
= 0 ;
15119 char *kwnames
[] = {
15120 (char *) "self",(char *) "cursor", NULL
15123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15126 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15127 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15129 if (arg2
== NULL
) {
15130 PyErr_SetString(PyExc_TypeError
,"null reference");
15134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15135 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15137 wxPyEndAllowThreads(__tstate
);
15138 if (PyErr_Occurred()) SWIG_fail
;
15140 Py_INCREF(Py_None
); resultobj
= Py_None
;
15147 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15148 PyObject
*resultobj
;
15149 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15151 PyObject
* obj0
= 0 ;
15152 char *kwnames
[] = {
15153 (char *) "self", NULL
15156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15162 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15163 result
= (wxCursor
*) &_result_ref
;
15166 wxPyEndAllowThreads(__tstate
);
15167 if (PyErr_Occurred()) SWIG_fail
;
15170 wxCursor
* resultptr
= new wxCursor(*result
);
15171 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15179 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15180 PyObject
*resultobj
;
15181 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15183 PyObject
* obj0
= 0 ;
15184 char *kwnames
[] = {
15185 (char *) "self", NULL
15188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15193 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15195 wxPyEndAllowThreads(__tstate
);
15196 if (PyErr_Occurred()) SWIG_fail
;
15199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15207 static PyObject
* SetCursorEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15209 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15210 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15212 return Py_BuildValue((char *)"");
15214 static PyObject
*_wrap_new_KeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15215 PyObject
*resultobj
;
15216 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15217 wxKeyEvent
*result
;
15218 PyObject
* obj0
= 0 ;
15219 char *kwnames
[] = {
15220 (char *) "keyType", NULL
15223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15225 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15226 if (PyErr_Occurred()) SWIG_fail
;
15229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15230 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15232 wxPyEndAllowThreads(__tstate
);
15233 if (PyErr_Occurred()) SWIG_fail
;
15235 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15242 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15243 PyObject
*resultobj
;
15244 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15246 PyObject
* obj0
= 0 ;
15247 char *kwnames
[] = {
15248 (char *) "self", NULL
15251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15256 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15258 wxPyEndAllowThreads(__tstate
);
15259 if (PyErr_Occurred()) SWIG_fail
;
15262 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15270 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15271 PyObject
*resultobj
;
15272 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15274 PyObject
* obj0
= 0 ;
15275 char *kwnames
[] = {
15276 (char *) "self", NULL
15279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15284 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15286 wxPyEndAllowThreads(__tstate
);
15287 if (PyErr_Occurred()) SWIG_fail
;
15290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15298 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15299 PyObject
*resultobj
;
15300 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15302 PyObject
* obj0
= 0 ;
15303 char *kwnames
[] = {
15304 (char *) "self", NULL
15307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15312 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15314 wxPyEndAllowThreads(__tstate
);
15315 if (PyErr_Occurred()) SWIG_fail
;
15318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15326 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15327 PyObject
*resultobj
;
15328 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15330 PyObject
* obj0
= 0 ;
15331 char *kwnames
[] = {
15332 (char *) "self", NULL
15335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15340 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15342 wxPyEndAllowThreads(__tstate
);
15343 if (PyErr_Occurred()) SWIG_fail
;
15346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15354 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15355 PyObject
*resultobj
;
15356 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15358 PyObject
* obj0
= 0 ;
15359 char *kwnames
[] = {
15360 (char *) "self", NULL
15363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
15364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15368 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
15370 wxPyEndAllowThreads(__tstate
);
15371 if (PyErr_Occurred()) SWIG_fail
;
15374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15382 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15383 PyObject
*resultobj
;
15384 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15386 PyObject
* obj0
= 0 ;
15387 char *kwnames
[] = {
15388 (char *) "self", NULL
15391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
15392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15396 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
15398 wxPyEndAllowThreads(__tstate
);
15399 if (PyErr_Occurred()) SWIG_fail
;
15401 resultobj
= SWIG_FromInt((int)result
);
15408 static PyObject
*_wrap_KeyEvent_GetUniChar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15409 PyObject
*resultobj
;
15410 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15412 PyObject
* obj0
= 0 ;
15413 char *kwnames
[] = {
15414 (char *) "self", NULL
15417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUniChar",kwnames
,&obj0
)) goto fail
;
15418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15422 result
= (int)wxKeyEvent_GetUniChar(arg1
);
15424 wxPyEndAllowThreads(__tstate
);
15425 if (PyErr_Occurred()) SWIG_fail
;
15427 resultobj
= SWIG_FromInt((int)result
);
15434 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15435 PyObject
*resultobj
;
15436 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15437 unsigned int result
;
15438 PyObject
* obj0
= 0 ;
15439 char *kwnames
[] = {
15440 (char *) "self", NULL
15443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
15444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15448 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15450 wxPyEndAllowThreads(__tstate
);
15451 if (PyErr_Occurred()) SWIG_fail
;
15453 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15460 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15461 PyObject
*resultobj
;
15462 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15463 unsigned int result
;
15464 PyObject
* obj0
= 0 ;
15465 char *kwnames
[] = {
15466 (char *) "self", NULL
15469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
15470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15474 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
15476 wxPyEndAllowThreads(__tstate
);
15477 if (PyErr_Occurred()) SWIG_fail
;
15479 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15486 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15487 PyObject
*resultobj
;
15488 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15490 PyObject
* obj0
= 0 ;
15491 char *kwnames
[] = {
15492 (char *) "self", NULL
15495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15500 result
= (arg1
)->GetPosition();
15502 wxPyEndAllowThreads(__tstate
);
15503 if (PyErr_Occurred()) SWIG_fail
;
15506 wxPoint
* resultptr
;
15507 resultptr
= new wxPoint((wxPoint
&) result
);
15508 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15516 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15517 PyObject
*resultobj
;
15518 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15519 long *arg2
= (long *) 0 ;
15520 long *arg3
= (long *) 0 ;
15523 PyObject
* obj0
= 0 ;
15524 char *kwnames
[] = {
15525 (char *) "self", NULL
15530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
15531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15535 (arg1
)->GetPosition(arg2
,arg3
);
15537 wxPyEndAllowThreads(__tstate
);
15538 if (PyErr_Occurred()) SWIG_fail
;
15540 Py_INCREF(Py_None
); resultobj
= Py_None
;
15542 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15543 resultobj
= t_output_helper(resultobj
,o
);
15546 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15547 resultobj
= t_output_helper(resultobj
,o
);
15555 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15556 PyObject
*resultobj
;
15557 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15559 PyObject
* obj0
= 0 ;
15560 char *kwnames
[] = {
15561 (char *) "self", NULL
15564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
15565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15569 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
15571 wxPyEndAllowThreads(__tstate
);
15572 if (PyErr_Occurred()) SWIG_fail
;
15574 resultobj
= SWIG_FromInt((int)result
);
15581 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15582 PyObject
*resultobj
;
15583 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15585 PyObject
* obj0
= 0 ;
15586 char *kwnames
[] = {
15587 (char *) "self", NULL
15590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
15591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15595 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
15597 wxPyEndAllowThreads(__tstate
);
15598 if (PyErr_Occurred()) SWIG_fail
;
15600 resultobj
= SWIG_FromInt((int)result
);
15607 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15608 PyObject
*resultobj
;
15609 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15611 PyObject
* obj0
= 0 ;
15612 PyObject
* obj1
= 0 ;
15613 char *kwnames
[] = {
15614 (char *) "self",(char *) "m_x", NULL
15617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15620 arg2
= (int) SWIG_AsInt(obj1
);
15621 if (PyErr_Occurred()) SWIG_fail
;
15622 if (arg1
) (arg1
)->m_x
= arg2
;
15624 Py_INCREF(Py_None
); resultobj
= Py_None
;
15631 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15632 PyObject
*resultobj
;
15633 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15635 PyObject
* obj0
= 0 ;
15636 char *kwnames
[] = {
15637 (char *) "self", NULL
15640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15643 result
= (int) ((arg1
)->m_x
);
15645 resultobj
= SWIG_FromInt((int)result
);
15652 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15653 PyObject
*resultobj
;
15654 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15656 PyObject
* obj0
= 0 ;
15657 PyObject
* obj1
= 0 ;
15658 char *kwnames
[] = {
15659 (char *) "self",(char *) "m_y", NULL
15662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15665 arg2
= (int) SWIG_AsInt(obj1
);
15666 if (PyErr_Occurred()) SWIG_fail
;
15667 if (arg1
) (arg1
)->m_y
= arg2
;
15669 Py_INCREF(Py_None
); resultobj
= Py_None
;
15676 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15677 PyObject
*resultobj
;
15678 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15680 PyObject
* obj0
= 0 ;
15681 char *kwnames
[] = {
15682 (char *) "self", NULL
15685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15688 result
= (int) ((arg1
)->m_y
);
15690 resultobj
= SWIG_FromInt((int)result
);
15697 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15698 PyObject
*resultobj
;
15699 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15701 PyObject
* obj0
= 0 ;
15702 PyObject
* obj1
= 0 ;
15703 char *kwnames
[] = {
15704 (char *) "self",(char *) "m_keyCode", NULL
15707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15710 arg2
= (long) SWIG_AsLong(obj1
);
15711 if (PyErr_Occurred()) SWIG_fail
;
15712 if (arg1
) (arg1
)->m_keyCode
= arg2
;
15714 Py_INCREF(Py_None
); resultobj
= Py_None
;
15721 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15722 PyObject
*resultobj
;
15723 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15725 PyObject
* obj0
= 0 ;
15726 char *kwnames
[] = {
15727 (char *) "self", NULL
15730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
15731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15733 result
= (long) ((arg1
)->m_keyCode
);
15735 resultobj
= SWIG_FromLong((long)result
);
15742 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15743 PyObject
*resultobj
;
15744 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15746 PyObject
* obj0
= 0 ;
15747 PyObject
* obj1
= 0 ;
15748 char *kwnames
[] = {
15749 (char *) "self",(char *) "m_controlDown", NULL
15752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15755 arg2
= (bool) SWIG_AsBool(obj1
);
15756 if (PyErr_Occurred()) SWIG_fail
;
15757 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15759 Py_INCREF(Py_None
); resultobj
= Py_None
;
15766 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15767 PyObject
*resultobj
;
15768 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15770 PyObject
* obj0
= 0 ;
15771 char *kwnames
[] = {
15772 (char *) "self", NULL
15775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15778 result
= (bool) ((arg1
)->m_controlDown
);
15781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15789 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15790 PyObject
*resultobj
;
15791 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15793 PyObject
* obj0
= 0 ;
15794 PyObject
* obj1
= 0 ;
15795 char *kwnames
[] = {
15796 (char *) "self",(char *) "m_shiftDown", NULL
15799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_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
= (bool) SWIG_AsBool(obj1
);
15803 if (PyErr_Occurred()) SWIG_fail
;
15804 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15806 Py_INCREF(Py_None
); resultobj
= Py_None
;
15813 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15814 PyObject
*resultobj
;
15815 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15817 PyObject
* obj0
= 0 ;
15818 char *kwnames
[] = {
15819 (char *) "self", NULL
15822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_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
= (bool) ((arg1
)->m_shiftDown
);
15828 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15836 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15837 PyObject
*resultobj
;
15838 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15840 PyObject
* obj0
= 0 ;
15841 PyObject
* obj1
= 0 ;
15842 char *kwnames
[] = {
15843 (char *) "self",(char *) "m_altDown", NULL
15846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15849 arg2
= (bool) SWIG_AsBool(obj1
);
15850 if (PyErr_Occurred()) SWIG_fail
;
15851 if (arg1
) (arg1
)->m_altDown
= arg2
;
15853 Py_INCREF(Py_None
); resultobj
= Py_None
;
15860 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15861 PyObject
*resultobj
;
15862 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15864 PyObject
* obj0
= 0 ;
15865 char *kwnames
[] = {
15866 (char *) "self", NULL
15869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15872 result
= (bool) ((arg1
)->m_altDown
);
15875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15883 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15884 PyObject
*resultobj
;
15885 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15887 PyObject
* obj0
= 0 ;
15888 PyObject
* obj1
= 0 ;
15889 char *kwnames
[] = {
15890 (char *) "self",(char *) "m_metaDown", NULL
15893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15896 arg2
= (bool) SWIG_AsBool(obj1
);
15897 if (PyErr_Occurred()) SWIG_fail
;
15898 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15900 Py_INCREF(Py_None
); resultobj
= Py_None
;
15907 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15908 PyObject
*resultobj
;
15909 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15911 PyObject
* obj0
= 0 ;
15912 char *kwnames
[] = {
15913 (char *) "self", NULL
15916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15919 result
= (bool) ((arg1
)->m_metaDown
);
15922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15930 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15931 PyObject
*resultobj
;
15932 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15934 PyObject
* obj0
= 0 ;
15935 PyObject
* obj1
= 0 ;
15936 char *kwnames
[] = {
15937 (char *) "self",(char *) "m_scanCode", NULL
15940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15943 arg2
= (bool) SWIG_AsBool(obj1
);
15944 if (PyErr_Occurred()) SWIG_fail
;
15945 if (arg1
) (arg1
)->m_scanCode
= arg2
;
15947 Py_INCREF(Py_None
); resultobj
= Py_None
;
15954 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15955 PyObject
*resultobj
;
15956 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15958 PyObject
* obj0
= 0 ;
15959 char *kwnames
[] = {
15960 (char *) "self", NULL
15963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
15964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15966 result
= (bool) ((arg1
)->m_scanCode
);
15969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15977 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15978 PyObject
*resultobj
;
15979 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15980 unsigned int arg2
;
15981 PyObject
* obj0
= 0 ;
15982 PyObject
* obj1
= 0 ;
15983 char *kwnames
[] = {
15984 (char *) "self",(char *) "m_rawCode", NULL
15987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15990 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
15991 if (PyErr_Occurred()) SWIG_fail
;
15992 if (arg1
) (arg1
)->m_rawCode
= arg2
;
15994 Py_INCREF(Py_None
); resultobj
= Py_None
;
16001 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16002 PyObject
*resultobj
;
16003 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16004 unsigned int result
;
16005 PyObject
* obj0
= 0 ;
16006 char *kwnames
[] = {
16007 (char *) "self", NULL
16010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16013 result
= (unsigned int) ((arg1
)->m_rawCode
);
16015 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16022 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16023 PyObject
*resultobj
;
16024 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16025 unsigned int arg2
;
16026 PyObject
* obj0
= 0 ;
16027 PyObject
* obj1
= 0 ;
16028 char *kwnames
[] = {
16029 (char *) "self",(char *) "m_rawFlags", NULL
16032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16035 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16036 if (PyErr_Occurred()) SWIG_fail
;
16037 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16039 Py_INCREF(Py_None
); resultobj
= Py_None
;
16046 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16047 PyObject
*resultobj
;
16048 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16049 unsigned int result
;
16050 PyObject
* obj0
= 0 ;
16051 char *kwnames
[] = {
16052 (char *) "self", NULL
16055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16058 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16060 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16067 static PyObject
* KeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16069 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16070 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16072 return Py_BuildValue((char *)"");
16074 static PyObject
*_wrap_new_SizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16075 PyObject
*resultobj
;
16076 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16077 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16078 int arg2
= (int) 0 ;
16079 wxSizeEvent
*result
;
16081 PyObject
* obj0
= 0 ;
16082 PyObject
* obj1
= 0 ;
16083 char *kwnames
[] = {
16084 (char *) "sz",(char *) "winid", NULL
16087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16091 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16095 arg2
= (int) SWIG_AsInt(obj1
);
16096 if (PyErr_Occurred()) SWIG_fail
;
16099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16100 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16102 wxPyEndAllowThreads(__tstate
);
16103 if (PyErr_Occurred()) SWIG_fail
;
16105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16112 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16113 PyObject
*resultobj
;
16114 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16116 PyObject
* obj0
= 0 ;
16117 char *kwnames
[] = {
16118 (char *) "self", NULL
16121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16126 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16128 wxPyEndAllowThreads(__tstate
);
16129 if (PyErr_Occurred()) SWIG_fail
;
16132 wxSize
* resultptr
;
16133 resultptr
= new wxSize((wxSize
&) result
);
16134 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16142 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16143 PyObject
*resultobj
;
16144 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16146 PyObject
* obj0
= 0 ;
16147 char *kwnames
[] = {
16148 (char *) "self", NULL
16151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16156 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16158 wxPyEndAllowThreads(__tstate
);
16159 if (PyErr_Occurred()) SWIG_fail
;
16162 wxRect
* resultptr
;
16163 resultptr
= new wxRect((wxRect
&) result
);
16164 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16172 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16173 PyObject
*resultobj
;
16174 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16177 PyObject
* obj0
= 0 ;
16178 PyObject
* obj1
= 0 ;
16179 char *kwnames
[] = {
16180 (char *) "self",(char *) "rect", NULL
16183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16186 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16187 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16191 (arg1
)->SetRect(arg2
);
16193 wxPyEndAllowThreads(__tstate
);
16194 if (PyErr_Occurred()) SWIG_fail
;
16196 Py_INCREF(Py_None
); resultobj
= Py_None
;
16203 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16204 PyObject
*resultobj
;
16205 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16208 PyObject
* obj0
= 0 ;
16209 PyObject
* obj1
= 0 ;
16210 char *kwnames
[] = {
16211 (char *) "self",(char *) "size", NULL
16214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16217 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16218 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16222 wxSizeEvent_SetSize(arg1
,arg2
);
16224 wxPyEndAllowThreads(__tstate
);
16225 if (PyErr_Occurred()) SWIG_fail
;
16227 Py_INCREF(Py_None
); resultobj
= Py_None
;
16234 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16235 PyObject
*resultobj
;
16236 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16237 wxSize
*arg2
= (wxSize
*) 0 ;
16238 PyObject
* obj0
= 0 ;
16239 PyObject
* obj1
= 0 ;
16240 char *kwnames
[] = {
16241 (char *) "self",(char *) "m_size", NULL
16244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16247 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16249 if (arg1
) (arg1
)->m_size
= *arg2
;
16251 Py_INCREF(Py_None
); resultobj
= Py_None
;
16258 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16259 PyObject
*resultobj
;
16260 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16262 PyObject
* obj0
= 0 ;
16263 char *kwnames
[] = {
16264 (char *) "self", NULL
16267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16270 result
= (wxSize
*)& ((arg1
)->m_size
);
16272 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16279 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16280 PyObject
*resultobj
;
16281 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16282 wxRect
*arg2
= (wxRect
*) 0 ;
16283 PyObject
* obj0
= 0 ;
16284 PyObject
* obj1
= 0 ;
16285 char *kwnames
[] = {
16286 (char *) "self",(char *) "m_rect", NULL
16289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16292 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16294 if (arg1
) (arg1
)->m_rect
= *arg2
;
16296 Py_INCREF(Py_None
); resultobj
= Py_None
;
16303 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16304 PyObject
*resultobj
;
16305 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16307 PyObject
* obj0
= 0 ;
16308 char *kwnames
[] = {
16309 (char *) "self", NULL
16312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16315 result
= (wxRect
*)& ((arg1
)->m_rect
);
16317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16324 static PyObject
* SizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16326 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16327 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16329 return Py_BuildValue((char *)"");
16331 static PyObject
*_wrap_new_MoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16332 PyObject
*resultobj
;
16333 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16334 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16335 int arg2
= (int) 0 ;
16336 wxMoveEvent
*result
;
16338 PyObject
* obj0
= 0 ;
16339 PyObject
* obj1
= 0 ;
16340 char *kwnames
[] = {
16341 (char *) "pos",(char *) "winid", NULL
16344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16348 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
16352 arg2
= (int) SWIG_AsInt(obj1
);
16353 if (PyErr_Occurred()) SWIG_fail
;
16356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16357 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
16359 wxPyEndAllowThreads(__tstate
);
16360 if (PyErr_Occurred()) SWIG_fail
;
16362 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
16369 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16370 PyObject
*resultobj
;
16371 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16373 PyObject
* obj0
= 0 ;
16374 char *kwnames
[] = {
16375 (char *) "self", NULL
16378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16383 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
16385 wxPyEndAllowThreads(__tstate
);
16386 if (PyErr_Occurred()) SWIG_fail
;
16389 wxPoint
* resultptr
;
16390 resultptr
= new wxPoint((wxPoint
&) result
);
16391 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16399 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16400 PyObject
*resultobj
;
16401 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16403 PyObject
* obj0
= 0 ;
16404 char *kwnames
[] = {
16405 (char *) "self", NULL
16408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16413 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
16415 wxPyEndAllowThreads(__tstate
);
16416 if (PyErr_Occurred()) SWIG_fail
;
16419 wxRect
* resultptr
;
16420 resultptr
= new wxRect((wxRect
&) result
);
16421 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16429 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16430 PyObject
*resultobj
;
16431 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16434 PyObject
* obj0
= 0 ;
16435 PyObject
* obj1
= 0 ;
16436 char *kwnames
[] = {
16437 (char *) "self",(char *) "rect", NULL
16440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16443 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16444 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16448 (arg1
)->SetRect(arg2
);
16450 wxPyEndAllowThreads(__tstate
);
16451 if (PyErr_Occurred()) SWIG_fail
;
16453 Py_INCREF(Py_None
); resultobj
= Py_None
;
16460 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16461 PyObject
*resultobj
;
16462 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16465 PyObject
* obj0
= 0 ;
16466 PyObject
* obj1
= 0 ;
16467 char *kwnames
[] = {
16468 (char *) "self",(char *) "pos", NULL
16471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16474 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
16475 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16479 wxMoveEvent_SetPosition(arg1
,arg2
);
16481 wxPyEndAllowThreads(__tstate
);
16482 if (PyErr_Occurred()) SWIG_fail
;
16484 Py_INCREF(Py_None
); resultobj
= Py_None
;
16491 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16492 PyObject
*resultobj
;
16493 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16494 wxPoint
*arg2
= (wxPoint
*) 0 ;
16495 PyObject
* obj0
= 0 ;
16496 PyObject
* obj1
= 0 ;
16497 char *kwnames
[] = {
16498 (char *) "self",(char *) "m_pos", NULL
16501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16504 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
16505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16506 if (arg1
) (arg1
)->m_pos
= *arg2
;
16508 Py_INCREF(Py_None
); resultobj
= Py_None
;
16515 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16516 PyObject
*resultobj
;
16517 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16519 PyObject
* obj0
= 0 ;
16520 char *kwnames
[] = {
16521 (char *) "self", NULL
16524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
16525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16527 result
= (wxPoint
*)& ((arg1
)->m_pos
);
16529 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
16536 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16537 PyObject
*resultobj
;
16538 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16539 wxRect
*arg2
= (wxRect
*) 0 ;
16540 PyObject
* obj0
= 0 ;
16541 PyObject
* obj1
= 0 ;
16542 char *kwnames
[] = {
16543 (char *) "self",(char *) "m_rect", NULL
16546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16549 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16551 if (arg1
) (arg1
)->m_rect
= *arg2
;
16553 Py_INCREF(Py_None
); resultobj
= Py_None
;
16560 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16561 PyObject
*resultobj
;
16562 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16564 PyObject
* obj0
= 0 ;
16565 char *kwnames
[] = {
16566 (char *) "self", NULL
16569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16572 result
= (wxRect
*)& ((arg1
)->m_rect
);
16574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16581 static PyObject
* MoveEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16583 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16584 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
16586 return Py_BuildValue((char *)"");
16588 static PyObject
*_wrap_new_PaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16589 PyObject
*resultobj
;
16590 int arg1
= (int) 0 ;
16591 wxPaintEvent
*result
;
16592 PyObject
* obj0
= 0 ;
16593 char *kwnames
[] = {
16594 (char *) "Id", NULL
16597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
16599 arg1
= (int) SWIG_AsInt(obj0
);
16600 if (PyErr_Occurred()) SWIG_fail
;
16603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16604 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
16606 wxPyEndAllowThreads(__tstate
);
16607 if (PyErr_Occurred()) SWIG_fail
;
16609 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
16616 static PyObject
* PaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16618 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16619 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
16621 return Py_BuildValue((char *)"");
16623 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16624 PyObject
*resultobj
;
16625 int arg1
= (int) 0 ;
16626 wxNcPaintEvent
*result
;
16627 PyObject
* obj0
= 0 ;
16628 char *kwnames
[] = {
16629 (char *) "winid", NULL
16632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
16634 arg1
= (int) SWIG_AsInt(obj0
);
16635 if (PyErr_Occurred()) SWIG_fail
;
16638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16639 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
16641 wxPyEndAllowThreads(__tstate
);
16642 if (PyErr_Occurred()) SWIG_fail
;
16644 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
16651 static PyObject
* NcPaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16653 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16654 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
16656 return Py_BuildValue((char *)"");
16658 static PyObject
*_wrap_new_EraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16659 PyObject
*resultobj
;
16660 int arg1
= (int) 0 ;
16661 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
16662 wxEraseEvent
*result
;
16663 PyObject
* obj0
= 0 ;
16664 PyObject
* obj1
= 0 ;
16665 char *kwnames
[] = {
16666 (char *) "Id",(char *) "dc", NULL
16669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16671 arg1
= (int) SWIG_AsInt(obj0
);
16672 if (PyErr_Occurred()) SWIG_fail
;
16675 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16680 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
16682 wxPyEndAllowThreads(__tstate
);
16683 if (PyErr_Occurred()) SWIG_fail
;
16685 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
16692 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16693 PyObject
*resultobj
;
16694 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
16696 PyObject
* obj0
= 0 ;
16697 char *kwnames
[] = {
16698 (char *) "self", NULL
16701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
16702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
16703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16706 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
16708 wxPyEndAllowThreads(__tstate
);
16709 if (PyErr_Occurred()) SWIG_fail
;
16712 resultobj
= wxPyMake_wxObject(result
);
16720 static PyObject
* EraseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16722 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16723 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
16725 return Py_BuildValue((char *)"");
16727 static PyObject
*_wrap_new_FocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16728 PyObject
*resultobj
;
16729 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16730 int arg2
= (int) 0 ;
16731 wxFocusEvent
*result
;
16732 PyObject
* obj0
= 0 ;
16733 PyObject
* obj1
= 0 ;
16734 char *kwnames
[] = {
16735 (char *) "type",(char *) "winid", NULL
16738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16740 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16741 if (PyErr_Occurred()) SWIG_fail
;
16744 arg2
= (int) SWIG_AsInt(obj1
);
16745 if (PyErr_Occurred()) SWIG_fail
;
16748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16749 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
16751 wxPyEndAllowThreads(__tstate
);
16752 if (PyErr_Occurred()) SWIG_fail
;
16754 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
16761 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16762 PyObject
*resultobj
;
16763 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16765 PyObject
* obj0
= 0 ;
16766 char *kwnames
[] = {
16767 (char *) "self", NULL
16770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16775 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
16777 wxPyEndAllowThreads(__tstate
);
16778 if (PyErr_Occurred()) SWIG_fail
;
16781 resultobj
= wxPyMake_wxObject(result
);
16789 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16790 PyObject
*resultobj
;
16791 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16792 wxWindow
*arg2
= (wxWindow
*) 0 ;
16793 PyObject
* obj0
= 0 ;
16794 PyObject
* obj1
= 0 ;
16795 char *kwnames
[] = {
16796 (char *) "self",(char *) "win", NULL
16799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
16800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16802 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16806 (arg1
)->SetWindow(arg2
);
16808 wxPyEndAllowThreads(__tstate
);
16809 if (PyErr_Occurred()) SWIG_fail
;
16811 Py_INCREF(Py_None
); resultobj
= Py_None
;
16818 static PyObject
* FocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16820 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16821 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
16823 return Py_BuildValue((char *)"");
16825 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16826 PyObject
*resultobj
;
16827 wxWindow
*arg1
= (wxWindow
*) NULL
;
16828 wxChildFocusEvent
*result
;
16829 PyObject
* obj0
= 0 ;
16830 char *kwnames
[] = {
16831 (char *) "win", NULL
16834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
16836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16841 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
16843 wxPyEndAllowThreads(__tstate
);
16844 if (PyErr_Occurred()) SWIG_fail
;
16846 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
16853 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16854 PyObject
*resultobj
;
16855 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
16857 PyObject
* obj0
= 0 ;
16858 char *kwnames
[] = {
16859 (char *) "self", NULL
16862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
16864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16867 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
16869 wxPyEndAllowThreads(__tstate
);
16870 if (PyErr_Occurred()) SWIG_fail
;
16873 resultobj
= wxPyMake_wxObject(result
);
16881 static PyObject
* ChildFocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16883 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16884 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
16886 return Py_BuildValue((char *)"");
16888 static PyObject
*_wrap_new_ActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16889 PyObject
*resultobj
;
16890 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16891 bool arg2
= (bool) True
;
16892 int arg3
= (int) 0 ;
16893 wxActivateEvent
*result
;
16894 PyObject
* obj0
= 0 ;
16895 PyObject
* obj1
= 0 ;
16896 PyObject
* obj2
= 0 ;
16897 char *kwnames
[] = {
16898 (char *) "type",(char *) "active",(char *) "Id", NULL
16901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16903 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16904 if (PyErr_Occurred()) SWIG_fail
;
16907 arg2
= (bool) SWIG_AsBool(obj1
);
16908 if (PyErr_Occurred()) SWIG_fail
;
16911 arg3
= (int) SWIG_AsInt(obj2
);
16912 if (PyErr_Occurred()) SWIG_fail
;
16915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16916 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
16918 wxPyEndAllowThreads(__tstate
);
16919 if (PyErr_Occurred()) SWIG_fail
;
16921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
16928 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16929 PyObject
*resultobj
;
16930 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
16932 PyObject
* obj0
= 0 ;
16933 char *kwnames
[] = {
16934 (char *) "self", NULL
16937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
16938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
16939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16942 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
16944 wxPyEndAllowThreads(__tstate
);
16945 if (PyErr_Occurred()) SWIG_fail
;
16948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16956 static PyObject
* ActivateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16958 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16959 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
16961 return Py_BuildValue((char *)"");
16963 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16964 PyObject
*resultobj
;
16965 int arg1
= (int) 0 ;
16966 wxInitDialogEvent
*result
;
16967 PyObject
* obj0
= 0 ;
16968 char *kwnames
[] = {
16969 (char *) "Id", NULL
16972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
16974 arg1
= (int) SWIG_AsInt(obj0
);
16975 if (PyErr_Occurred()) SWIG_fail
;
16978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16979 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
16981 wxPyEndAllowThreads(__tstate
);
16982 if (PyErr_Occurred()) SWIG_fail
;
16984 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
16991 static PyObject
* InitDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16993 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16994 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
16996 return Py_BuildValue((char *)"");
16998 static PyObject
*_wrap_new_MenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16999 PyObject
*resultobj
;
17000 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17001 int arg2
= (int) 0 ;
17002 wxMenu
*arg3
= (wxMenu
*) NULL
;
17003 wxMenuEvent
*result
;
17004 PyObject
* obj0
= 0 ;
17005 PyObject
* obj1
= 0 ;
17006 PyObject
* obj2
= 0 ;
17007 char *kwnames
[] = {
17008 (char *) "type",(char *) "winid",(char *) "menu", NULL
17011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17013 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17014 if (PyErr_Occurred()) SWIG_fail
;
17017 arg2
= (int) SWIG_AsInt(obj1
);
17018 if (PyErr_Occurred()) SWIG_fail
;
17021 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17026 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17028 wxPyEndAllowThreads(__tstate
);
17029 if (PyErr_Occurred()) SWIG_fail
;
17031 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17038 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17039 PyObject
*resultobj
;
17040 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17042 PyObject
* obj0
= 0 ;
17043 char *kwnames
[] = {
17044 (char *) "self", NULL
17047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17052 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17054 wxPyEndAllowThreads(__tstate
);
17055 if (PyErr_Occurred()) SWIG_fail
;
17057 resultobj
= SWIG_FromInt((int)result
);
17064 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17065 PyObject
*resultobj
;
17066 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17068 PyObject
* obj0
= 0 ;
17069 char *kwnames
[] = {
17070 (char *) "self", NULL
17073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17078 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17080 wxPyEndAllowThreads(__tstate
);
17081 if (PyErr_Occurred()) SWIG_fail
;
17084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17092 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17093 PyObject
*resultobj
;
17094 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17096 PyObject
* obj0
= 0 ;
17097 char *kwnames
[] = {
17098 (char *) "self", NULL
17101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17106 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17108 wxPyEndAllowThreads(__tstate
);
17109 if (PyErr_Occurred()) SWIG_fail
;
17112 resultobj
= wxPyMake_wxObject(result
);
17120 static PyObject
* MenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17122 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17123 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17125 return Py_BuildValue((char *)"");
17127 static PyObject
*_wrap_new_CloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17128 PyObject
*resultobj
;
17129 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17130 int arg2
= (int) 0 ;
17131 wxCloseEvent
*result
;
17132 PyObject
* obj0
= 0 ;
17133 PyObject
* obj1
= 0 ;
17134 char *kwnames
[] = {
17135 (char *) "type",(char *) "winid", NULL
17138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17140 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17141 if (PyErr_Occurred()) SWIG_fail
;
17144 arg2
= (int) SWIG_AsInt(obj1
);
17145 if (PyErr_Occurred()) SWIG_fail
;
17148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17149 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17151 wxPyEndAllowThreads(__tstate
);
17152 if (PyErr_Occurred()) SWIG_fail
;
17154 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17161 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17162 PyObject
*resultobj
;
17163 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17165 PyObject
* obj0
= 0 ;
17166 PyObject
* obj1
= 0 ;
17167 char *kwnames
[] = {
17168 (char *) "self",(char *) "logOff", NULL
17171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17174 arg2
= (bool) SWIG_AsBool(obj1
);
17175 if (PyErr_Occurred()) SWIG_fail
;
17177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17178 (arg1
)->SetLoggingOff(arg2
);
17180 wxPyEndAllowThreads(__tstate
);
17181 if (PyErr_Occurred()) SWIG_fail
;
17183 Py_INCREF(Py_None
); resultobj
= Py_None
;
17190 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17191 PyObject
*resultobj
;
17192 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17194 PyObject
* obj0
= 0 ;
17195 char *kwnames
[] = {
17196 (char *) "self", NULL
17199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17204 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17206 wxPyEndAllowThreads(__tstate
);
17207 if (PyErr_Occurred()) SWIG_fail
;
17210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17218 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17219 PyObject
*resultobj
;
17220 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17221 bool arg2
= (bool) True
;
17222 PyObject
* obj0
= 0 ;
17223 PyObject
* obj1
= 0 ;
17224 char *kwnames
[] = {
17225 (char *) "self",(char *) "veto", NULL
17228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17232 arg2
= (bool) SWIG_AsBool(obj1
);
17233 if (PyErr_Occurred()) SWIG_fail
;
17236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17237 (arg1
)->Veto(arg2
);
17239 wxPyEndAllowThreads(__tstate
);
17240 if (PyErr_Occurred()) SWIG_fail
;
17242 Py_INCREF(Py_None
); resultobj
= Py_None
;
17249 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17250 PyObject
*resultobj
;
17251 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17253 PyObject
* obj0
= 0 ;
17254 PyObject
* obj1
= 0 ;
17255 char *kwnames
[] = {
17256 (char *) "self",(char *) "canVeto", NULL
17259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17262 arg2
= (bool) SWIG_AsBool(obj1
);
17263 if (PyErr_Occurred()) SWIG_fail
;
17265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17266 (arg1
)->SetCanVeto(arg2
);
17268 wxPyEndAllowThreads(__tstate
);
17269 if (PyErr_Occurred()) SWIG_fail
;
17271 Py_INCREF(Py_None
); resultobj
= Py_None
;
17278 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17279 PyObject
*resultobj
;
17280 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17282 PyObject
* obj0
= 0 ;
17283 char *kwnames
[] = {
17284 (char *) "self", NULL
17287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
17288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17292 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
17294 wxPyEndAllowThreads(__tstate
);
17295 if (PyErr_Occurred()) SWIG_fail
;
17298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17306 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17307 PyObject
*resultobj
;
17308 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17310 PyObject
* obj0
= 0 ;
17311 char *kwnames
[] = {
17312 (char *) "self", NULL
17315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17320 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17322 wxPyEndAllowThreads(__tstate
);
17323 if (PyErr_Occurred()) SWIG_fail
;
17326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17334 static PyObject
* CloseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17336 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17337 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17339 return Py_BuildValue((char *)"");
17341 static PyObject
*_wrap_new_ShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17342 PyObject
*resultobj
;
17343 int arg1
= (int) 0 ;
17344 bool arg2
= (bool) False
;
17345 wxShowEvent
*result
;
17346 PyObject
* obj0
= 0 ;
17347 PyObject
* obj1
= 0 ;
17348 char *kwnames
[] = {
17349 (char *) "winid",(char *) "show", NULL
17352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17354 arg1
= (int) SWIG_AsInt(obj0
);
17355 if (PyErr_Occurred()) SWIG_fail
;
17358 arg2
= (bool) SWIG_AsBool(obj1
);
17359 if (PyErr_Occurred()) SWIG_fail
;
17362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17363 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
17365 wxPyEndAllowThreads(__tstate
);
17366 if (PyErr_Occurred()) SWIG_fail
;
17368 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
17375 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17376 PyObject
*resultobj
;
17377 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17379 PyObject
* obj0
= 0 ;
17380 PyObject
* obj1
= 0 ;
17381 char *kwnames
[] = {
17382 (char *) "self",(char *) "show", NULL
17385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
17386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17388 arg2
= (bool) SWIG_AsBool(obj1
);
17389 if (PyErr_Occurred()) SWIG_fail
;
17391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17392 (arg1
)->SetShow(arg2
);
17394 wxPyEndAllowThreads(__tstate
);
17395 if (PyErr_Occurred()) SWIG_fail
;
17397 Py_INCREF(Py_None
); resultobj
= Py_None
;
17404 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17405 PyObject
*resultobj
;
17406 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17408 PyObject
* obj0
= 0 ;
17409 char *kwnames
[] = {
17410 (char *) "self", NULL
17413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
17414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17418 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
17420 wxPyEndAllowThreads(__tstate
);
17421 if (PyErr_Occurred()) SWIG_fail
;
17424 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17432 static PyObject
* ShowEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17434 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17435 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
17437 return Py_BuildValue((char *)"");
17439 static PyObject
*_wrap_new_IconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17440 PyObject
*resultobj
;
17441 int arg1
= (int) 0 ;
17442 bool arg2
= (bool) True
;
17443 wxIconizeEvent
*result
;
17444 PyObject
* obj0
= 0 ;
17445 PyObject
* obj1
= 0 ;
17446 char *kwnames
[] = {
17447 (char *) "id",(char *) "iconized", NULL
17450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17452 arg1
= (int) SWIG_AsInt(obj0
);
17453 if (PyErr_Occurred()) SWIG_fail
;
17456 arg2
= (bool) SWIG_AsBool(obj1
);
17457 if (PyErr_Occurred()) SWIG_fail
;
17460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17461 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
17463 wxPyEndAllowThreads(__tstate
);
17464 if (PyErr_Occurred()) SWIG_fail
;
17466 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
17473 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17474 PyObject
*resultobj
;
17475 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
17477 PyObject
* obj0
= 0 ;
17478 char *kwnames
[] = {
17479 (char *) "self", NULL
17482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
17483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
17484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17487 result
= (bool)(arg1
)->Iconized();
17489 wxPyEndAllowThreads(__tstate
);
17490 if (PyErr_Occurred()) SWIG_fail
;
17493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17501 static PyObject
* IconizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17503 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17504 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
17506 return Py_BuildValue((char *)"");
17508 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17509 PyObject
*resultobj
;
17510 int arg1
= (int) 0 ;
17511 wxMaximizeEvent
*result
;
17512 PyObject
* obj0
= 0 ;
17513 char *kwnames
[] = {
17514 (char *) "id", NULL
17517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
17519 arg1
= (int) SWIG_AsInt(obj0
);
17520 if (PyErr_Occurred()) SWIG_fail
;
17523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17524 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
17526 wxPyEndAllowThreads(__tstate
);
17527 if (PyErr_Occurred()) SWIG_fail
;
17529 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
17536 static PyObject
* MaximizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17538 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17539 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
17541 return Py_BuildValue((char *)"");
17543 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17544 PyObject
*resultobj
;
17545 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17547 PyObject
* obj0
= 0 ;
17548 char *kwnames
[] = {
17549 (char *) "self", NULL
17552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17557 result
= (arg1
)->GetPosition();
17559 wxPyEndAllowThreads(__tstate
);
17560 if (PyErr_Occurred()) SWIG_fail
;
17563 wxPoint
* resultptr
;
17564 resultptr
= new wxPoint((wxPoint
&) result
);
17565 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17573 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17574 PyObject
*resultobj
;
17575 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17577 PyObject
* obj0
= 0 ;
17578 char *kwnames
[] = {
17579 (char *) "self", NULL
17582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
17583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17587 result
= (int)(arg1
)->GetNumberOfFiles();
17589 wxPyEndAllowThreads(__tstate
);
17590 if (PyErr_Occurred()) SWIG_fail
;
17592 resultobj
= SWIG_FromInt((int)result
);
17599 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17600 PyObject
*resultobj
;
17601 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17603 PyObject
* obj0
= 0 ;
17604 char *kwnames
[] = {
17605 (char *) "self", NULL
17608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
17609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17613 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
17615 wxPyEndAllowThreads(__tstate
);
17616 if (PyErr_Occurred()) SWIG_fail
;
17618 resultobj
= result
;
17625 static PyObject
* DropFilesEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17627 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17628 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
17630 return Py_BuildValue((char *)"");
17632 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17633 PyObject
*resultobj
;
17634 int arg1
= (int) 0 ;
17635 wxUpdateUIEvent
*result
;
17636 PyObject
* obj0
= 0 ;
17637 char *kwnames
[] = {
17638 (char *) "commandId", NULL
17641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
17643 arg1
= (int) SWIG_AsInt(obj0
);
17644 if (PyErr_Occurred()) SWIG_fail
;
17647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17648 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
17650 wxPyEndAllowThreads(__tstate
);
17651 if (PyErr_Occurred()) SWIG_fail
;
17653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
17660 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17661 PyObject
*resultobj
;
17662 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17664 PyObject
* obj0
= 0 ;
17665 char *kwnames
[] = {
17666 (char *) "self", NULL
17669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
17670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17674 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
17676 wxPyEndAllowThreads(__tstate
);
17677 if (PyErr_Occurred()) SWIG_fail
;
17680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17688 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17689 PyObject
*resultobj
;
17690 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17692 PyObject
* obj0
= 0 ;
17693 char *kwnames
[] = {
17694 (char *) "self", NULL
17697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
17698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17702 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
17704 wxPyEndAllowThreads(__tstate
);
17705 if (PyErr_Occurred()) SWIG_fail
;
17708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17716 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17717 PyObject
*resultobj
;
17718 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17720 PyObject
* obj0
= 0 ;
17721 char *kwnames
[] = {
17722 (char *) "self", NULL
17725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
17726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17730 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
17732 wxPyEndAllowThreads(__tstate
);
17733 if (PyErr_Occurred()) SWIG_fail
;
17737 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17739 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17748 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17749 PyObject
*resultobj
;
17750 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17752 PyObject
* obj0
= 0 ;
17753 char *kwnames
[] = {
17754 (char *) "self", NULL
17757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
17758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17762 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
17764 wxPyEndAllowThreads(__tstate
);
17765 if (PyErr_Occurred()) SWIG_fail
;
17768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17776 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17777 PyObject
*resultobj
;
17778 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17780 PyObject
* obj0
= 0 ;
17781 char *kwnames
[] = {
17782 (char *) "self", NULL
17785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
17786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17790 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
17792 wxPyEndAllowThreads(__tstate
);
17793 if (PyErr_Occurred()) SWIG_fail
;
17796 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17804 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17805 PyObject
*resultobj
;
17806 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17808 PyObject
* obj0
= 0 ;
17809 char *kwnames
[] = {
17810 (char *) "self", NULL
17813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
17814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17818 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
17820 wxPyEndAllowThreads(__tstate
);
17821 if (PyErr_Occurred()) SWIG_fail
;
17824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17832 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17833 PyObject
*resultobj
;
17834 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17836 PyObject
* obj0
= 0 ;
17837 PyObject
* obj1
= 0 ;
17838 char *kwnames
[] = {
17839 (char *) "self",(char *) "check", NULL
17842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
17843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17845 arg2
= (bool) SWIG_AsBool(obj1
);
17846 if (PyErr_Occurred()) SWIG_fail
;
17848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17849 (arg1
)->Check(arg2
);
17851 wxPyEndAllowThreads(__tstate
);
17852 if (PyErr_Occurred()) SWIG_fail
;
17854 Py_INCREF(Py_None
); resultobj
= Py_None
;
17861 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17862 PyObject
*resultobj
;
17863 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17865 PyObject
* obj0
= 0 ;
17866 PyObject
* obj1
= 0 ;
17867 char *kwnames
[] = {
17868 (char *) "self",(char *) "enable", NULL
17871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
17872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17874 arg2
= (bool) SWIG_AsBool(obj1
);
17875 if (PyErr_Occurred()) SWIG_fail
;
17877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17878 (arg1
)->Enable(arg2
);
17880 wxPyEndAllowThreads(__tstate
);
17881 if (PyErr_Occurred()) SWIG_fail
;
17883 Py_INCREF(Py_None
); resultobj
= Py_None
;
17890 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17891 PyObject
*resultobj
;
17892 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17893 wxString
*arg2
= 0 ;
17894 bool temp2
= False
;
17895 PyObject
* obj0
= 0 ;
17896 PyObject
* obj1
= 0 ;
17897 char *kwnames
[] = {
17898 (char *) "self",(char *) "text", NULL
17901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
17902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17905 arg2
= wxString_in_helper(obj1
);
17906 if (arg2
== NULL
) SWIG_fail
;
17910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17911 (arg1
)->SetText((wxString
const &)*arg2
);
17913 wxPyEndAllowThreads(__tstate
);
17914 if (PyErr_Occurred()) SWIG_fail
;
17916 Py_INCREF(Py_None
); resultobj
= Py_None
;
17931 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17932 PyObject
*resultobj
;
17934 PyObject
* obj0
= 0 ;
17935 char *kwnames
[] = {
17936 (char *) "updateInterval", NULL
17939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
17940 arg1
= (long) SWIG_AsLong(obj0
);
17941 if (PyErr_Occurred()) SWIG_fail
;
17943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17944 wxUpdateUIEvent::SetUpdateInterval(arg1
);
17946 wxPyEndAllowThreads(__tstate
);
17947 if (PyErr_Occurred()) SWIG_fail
;
17949 Py_INCREF(Py_None
); resultobj
= Py_None
;
17956 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17957 PyObject
*resultobj
;
17959 char *kwnames
[] = {
17963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
17965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17966 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
17968 wxPyEndAllowThreads(__tstate
);
17969 if (PyErr_Occurred()) SWIG_fail
;
17971 resultobj
= SWIG_FromLong((long)result
);
17978 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17979 PyObject
*resultobj
;
17980 wxWindow
*arg1
= (wxWindow
*) 0 ;
17982 PyObject
* obj0
= 0 ;
17983 char *kwnames
[] = {
17984 (char *) "win", NULL
17987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
17988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17992 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
17994 wxPyEndAllowThreads(__tstate
);
17995 if (PyErr_Occurred()) SWIG_fail
;
17998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18006 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18007 PyObject
*resultobj
;
18008 char *kwnames
[] = {
18012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18015 wxUpdateUIEvent::ResetUpdateTime();
18017 wxPyEndAllowThreads(__tstate
);
18018 if (PyErr_Occurred()) SWIG_fail
;
18020 Py_INCREF(Py_None
); resultobj
= Py_None
;
18027 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18028 PyObject
*resultobj
;
18030 PyObject
* obj0
= 0 ;
18031 char *kwnames
[] = {
18032 (char *) "mode", NULL
18035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18036 arg1
= (wxUpdateUIMode
) SWIG_AsInt(obj0
);
18037 if (PyErr_Occurred()) SWIG_fail
;
18039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18040 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18042 wxPyEndAllowThreads(__tstate
);
18043 if (PyErr_Occurred()) SWIG_fail
;
18045 Py_INCREF(Py_None
); resultobj
= Py_None
;
18052 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18053 PyObject
*resultobj
;
18055 char *kwnames
[] = {
18059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18062 result
= (int)wxUpdateUIEvent::GetMode();
18064 wxPyEndAllowThreads(__tstate
);
18065 if (PyErr_Occurred()) SWIG_fail
;
18067 resultobj
= SWIG_FromInt((int)result
);
18074 static PyObject
* UpdateUIEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18076 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18077 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18079 return Py_BuildValue((char *)"");
18081 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18082 PyObject
*resultobj
;
18083 wxSysColourChangedEvent
*result
;
18084 char *kwnames
[] = {
18088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18091 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18093 wxPyEndAllowThreads(__tstate
);
18094 if (PyErr_Occurred()) SWIG_fail
;
18096 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18103 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18105 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18106 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18108 return Py_BuildValue((char *)"");
18110 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18111 PyObject
*resultobj
;
18112 int arg1
= (int) 0 ;
18113 wxWindow
*arg2
= (wxWindow
*) NULL
;
18114 wxMouseCaptureChangedEvent
*result
;
18115 PyObject
* obj0
= 0 ;
18116 PyObject
* obj1
= 0 ;
18117 char *kwnames
[] = {
18118 (char *) "winid",(char *) "gainedCapture", NULL
18121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18123 arg1
= (int) SWIG_AsInt(obj0
);
18124 if (PyErr_Occurred()) SWIG_fail
;
18127 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18132 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18134 wxPyEndAllowThreads(__tstate
);
18135 if (PyErr_Occurred()) SWIG_fail
;
18137 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18144 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18145 PyObject
*resultobj
;
18146 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18148 PyObject
* obj0
= 0 ;
18149 char *kwnames
[] = {
18150 (char *) "self", NULL
18153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18158 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18160 wxPyEndAllowThreads(__tstate
);
18161 if (PyErr_Occurred()) SWIG_fail
;
18164 resultobj
= wxPyMake_wxObject(result
);
18172 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18174 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18175 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18177 return Py_BuildValue((char *)"");
18179 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18180 PyObject
*resultobj
;
18181 wxDisplayChangedEvent
*result
;
18182 char *kwnames
[] = {
18186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18189 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18191 wxPyEndAllowThreads(__tstate
);
18192 if (PyErr_Occurred()) SWIG_fail
;
18194 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18201 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18203 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18204 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18206 return Py_BuildValue((char *)"");
18208 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18209 PyObject
*resultobj
;
18210 int arg1
= (int) 0 ;
18211 wxPaletteChangedEvent
*result
;
18212 PyObject
* obj0
= 0 ;
18213 char *kwnames
[] = {
18214 (char *) "id", NULL
18217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18219 arg1
= (int) SWIG_AsInt(obj0
);
18220 if (PyErr_Occurred()) SWIG_fail
;
18223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18224 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18226 wxPyEndAllowThreads(__tstate
);
18227 if (PyErr_Occurred()) SWIG_fail
;
18229 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18236 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18237 PyObject
*resultobj
;
18238 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18239 wxWindow
*arg2
= (wxWindow
*) 0 ;
18240 PyObject
* obj0
= 0 ;
18241 PyObject
* obj1
= 0 ;
18242 char *kwnames
[] = {
18243 (char *) "self",(char *) "win", NULL
18246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18249 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18253 (arg1
)->SetChangedWindow(arg2
);
18255 wxPyEndAllowThreads(__tstate
);
18256 if (PyErr_Occurred()) SWIG_fail
;
18258 Py_INCREF(Py_None
); resultobj
= Py_None
;
18265 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18266 PyObject
*resultobj
;
18267 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18269 PyObject
* obj0
= 0 ;
18270 char *kwnames
[] = {
18271 (char *) "self", NULL
18274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18279 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18281 wxPyEndAllowThreads(__tstate
);
18282 if (PyErr_Occurred()) SWIG_fail
;
18285 resultobj
= wxPyMake_wxObject(result
);
18293 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18295 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18296 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18298 return Py_BuildValue((char *)"");
18300 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18301 PyObject
*resultobj
;
18302 int arg1
= (int) 0 ;
18303 wxQueryNewPaletteEvent
*result
;
18304 PyObject
* obj0
= 0 ;
18305 char *kwnames
[] = {
18306 (char *) "winid", NULL
18309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18311 arg1
= (int) SWIG_AsInt(obj0
);
18312 if (PyErr_Occurred()) SWIG_fail
;
18315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18316 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18318 wxPyEndAllowThreads(__tstate
);
18319 if (PyErr_Occurred()) SWIG_fail
;
18321 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18328 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18329 PyObject
*resultobj
;
18330 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18332 PyObject
* obj0
= 0 ;
18333 PyObject
* obj1
= 0 ;
18334 char *kwnames
[] = {
18335 (char *) "self",(char *) "realized", NULL
18338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18341 arg2
= (bool) SWIG_AsBool(obj1
);
18342 if (PyErr_Occurred()) SWIG_fail
;
18344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18345 (arg1
)->SetPaletteRealized(arg2
);
18347 wxPyEndAllowThreads(__tstate
);
18348 if (PyErr_Occurred()) SWIG_fail
;
18350 Py_INCREF(Py_None
); resultobj
= Py_None
;
18357 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18358 PyObject
*resultobj
;
18359 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18361 PyObject
* obj0
= 0 ;
18362 char *kwnames
[] = {
18363 (char *) "self", NULL
18366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
18367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18371 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
18373 wxPyEndAllowThreads(__tstate
);
18374 if (PyErr_Occurred()) SWIG_fail
;
18377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18385 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18387 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18388 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
18390 return Py_BuildValue((char *)"");
18392 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18393 PyObject
*resultobj
;
18394 wxNavigationKeyEvent
*result
;
18395 char *kwnames
[] = {
18399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
18401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18402 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
18404 wxPyEndAllowThreads(__tstate
);
18405 if (PyErr_Occurred()) SWIG_fail
;
18407 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
18414 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18415 PyObject
*resultobj
;
18416 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18418 PyObject
* obj0
= 0 ;
18419 char *kwnames
[] = {
18420 (char *) "self", NULL
18423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
18424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18428 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
18430 wxPyEndAllowThreads(__tstate
);
18431 if (PyErr_Occurred()) SWIG_fail
;
18434 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18442 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18443 PyObject
*resultobj
;
18444 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18446 PyObject
* obj0
= 0 ;
18447 PyObject
* obj1
= 0 ;
18448 char *kwnames
[] = {
18449 (char *) "self",(char *) "bForward", NULL
18452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
18453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18455 arg2
= (bool) SWIG_AsBool(obj1
);
18456 if (PyErr_Occurred()) SWIG_fail
;
18458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18459 (arg1
)->SetDirection(arg2
);
18461 wxPyEndAllowThreads(__tstate
);
18462 if (PyErr_Occurred()) SWIG_fail
;
18464 Py_INCREF(Py_None
); resultobj
= Py_None
;
18471 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18472 PyObject
*resultobj
;
18473 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18475 PyObject
* obj0
= 0 ;
18476 char *kwnames
[] = {
18477 (char *) "self", NULL
18480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
18481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18485 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
18487 wxPyEndAllowThreads(__tstate
);
18488 if (PyErr_Occurred()) SWIG_fail
;
18491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18499 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18500 PyObject
*resultobj
;
18501 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18503 PyObject
* obj0
= 0 ;
18504 PyObject
* obj1
= 0 ;
18505 char *kwnames
[] = {
18506 (char *) "self",(char *) "bIs", NULL
18509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
18510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18512 arg2
= (bool) SWIG_AsBool(obj1
);
18513 if (PyErr_Occurred()) SWIG_fail
;
18515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18516 (arg1
)->SetWindowChange(arg2
);
18518 wxPyEndAllowThreads(__tstate
);
18519 if (PyErr_Occurred()) SWIG_fail
;
18521 Py_INCREF(Py_None
); resultobj
= Py_None
;
18528 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18529 PyObject
*resultobj
;
18530 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18532 PyObject
* obj0
= 0 ;
18533 char *kwnames
[] = {
18534 (char *) "self", NULL
18537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
18538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18542 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
18544 wxPyEndAllowThreads(__tstate
);
18545 if (PyErr_Occurred()) SWIG_fail
;
18548 resultobj
= wxPyMake_wxObject(result
);
18556 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18557 PyObject
*resultobj
;
18558 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18559 wxWindow
*arg2
= (wxWindow
*) 0 ;
18560 PyObject
* obj0
= 0 ;
18561 PyObject
* obj1
= 0 ;
18562 char *kwnames
[] = {
18563 (char *) "self",(char *) "win", NULL
18566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
18567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18569 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18573 (arg1
)->SetCurrentFocus(arg2
);
18575 wxPyEndAllowThreads(__tstate
);
18576 if (PyErr_Occurred()) SWIG_fail
;
18578 Py_INCREF(Py_None
); resultobj
= Py_None
;
18585 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18587 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18588 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
18590 return Py_BuildValue((char *)"");
18592 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18593 PyObject
*resultobj
;
18594 wxWindow
*arg1
= (wxWindow
*) NULL
;
18595 wxWindowCreateEvent
*result
;
18596 PyObject
* obj0
= 0 ;
18597 char *kwnames
[] = {
18598 (char *) "win", NULL
18601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
18603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18608 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
18610 wxPyEndAllowThreads(__tstate
);
18611 if (PyErr_Occurred()) SWIG_fail
;
18613 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
18620 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18621 PyObject
*resultobj
;
18622 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
18624 PyObject
* obj0
= 0 ;
18625 char *kwnames
[] = {
18626 (char *) "self", NULL
18629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
18631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18634 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
18636 wxPyEndAllowThreads(__tstate
);
18637 if (PyErr_Occurred()) SWIG_fail
;
18640 resultobj
= wxPyMake_wxObject(result
);
18648 static PyObject
* WindowCreateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18650 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18651 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
18653 return Py_BuildValue((char *)"");
18655 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18656 PyObject
*resultobj
;
18657 wxWindow
*arg1
= (wxWindow
*) NULL
;
18658 wxWindowDestroyEvent
*result
;
18659 PyObject
* obj0
= 0 ;
18660 char *kwnames
[] = {
18661 (char *) "win", NULL
18664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
18666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18671 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
18673 wxPyEndAllowThreads(__tstate
);
18674 if (PyErr_Occurred()) SWIG_fail
;
18676 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
18683 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18684 PyObject
*resultobj
;
18685 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
18687 PyObject
* obj0
= 0 ;
18688 char *kwnames
[] = {
18689 (char *) "self", NULL
18692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
18694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18697 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
18699 wxPyEndAllowThreads(__tstate
);
18700 if (PyErr_Occurred()) SWIG_fail
;
18703 resultobj
= wxPyMake_wxObject(result
);
18711 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18713 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18714 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
18716 return Py_BuildValue((char *)"");
18718 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18719 PyObject
*resultobj
;
18720 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18721 int arg2
= (int) 0 ;
18722 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18723 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18724 wxContextMenuEvent
*result
;
18726 PyObject
* obj0
= 0 ;
18727 PyObject
* obj1
= 0 ;
18728 PyObject
* obj2
= 0 ;
18729 char *kwnames
[] = {
18730 (char *) "type",(char *) "winid",(char *) "pt", NULL
18733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18735 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
18736 if (PyErr_Occurred()) SWIG_fail
;
18739 arg2
= (int) SWIG_AsInt(obj1
);
18740 if (PyErr_Occurred()) SWIG_fail
;
18745 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18750 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
18752 wxPyEndAllowThreads(__tstate
);
18753 if (PyErr_Occurred()) SWIG_fail
;
18755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
18762 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18763 PyObject
*resultobj
;
18764 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18766 PyObject
* obj0
= 0 ;
18767 char *kwnames
[] = {
18768 (char *) "self", NULL
18771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18777 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
18778 result
= (wxPoint
*) &_result_ref
;
18781 wxPyEndAllowThreads(__tstate
);
18782 if (PyErr_Occurred()) SWIG_fail
;
18784 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
18791 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18792 PyObject
*resultobj
;
18793 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18794 wxPoint
*arg2
= 0 ;
18796 PyObject
* obj0
= 0 ;
18797 PyObject
* obj1
= 0 ;
18798 char *kwnames
[] = {
18799 (char *) "self",(char *) "pos", NULL
18802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
18803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18807 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18811 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
18813 wxPyEndAllowThreads(__tstate
);
18814 if (PyErr_Occurred()) SWIG_fail
;
18816 Py_INCREF(Py_None
); resultobj
= Py_None
;
18823 static PyObject
* ContextMenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18825 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18826 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
18828 return Py_BuildValue((char *)"");
18830 static PyObject
*_wrap_new_IdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18831 PyObject
*resultobj
;
18832 wxIdleEvent
*result
;
18833 char *kwnames
[] = {
18837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
18839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18840 result
= (wxIdleEvent
*)new wxIdleEvent();
18842 wxPyEndAllowThreads(__tstate
);
18843 if (PyErr_Occurred()) SWIG_fail
;
18845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
18852 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18853 PyObject
*resultobj
;
18854 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18855 bool arg2
= (bool) True
;
18856 PyObject
* obj0
= 0 ;
18857 PyObject
* obj1
= 0 ;
18858 char *kwnames
[] = {
18859 (char *) "self",(char *) "needMore", NULL
18862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
18863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
18864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18866 arg2
= (bool) SWIG_AsBool(obj1
);
18867 if (PyErr_Occurred()) SWIG_fail
;
18870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18871 (arg1
)->RequestMore(arg2
);
18873 wxPyEndAllowThreads(__tstate
);
18874 if (PyErr_Occurred()) SWIG_fail
;
18876 Py_INCREF(Py_None
); resultobj
= Py_None
;
18883 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18884 PyObject
*resultobj
;
18885 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18887 PyObject
* obj0
= 0 ;
18888 char *kwnames
[] = {
18889 (char *) "self", NULL
18892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
18893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
18894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18897 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
18899 wxPyEndAllowThreads(__tstate
);
18900 if (PyErr_Occurred()) SWIG_fail
;
18903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18911 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18912 PyObject
*resultobj
;
18914 PyObject
* obj0
= 0 ;
18915 char *kwnames
[] = {
18916 (char *) "mode", NULL
18919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18920 arg1
= (wxIdleMode
) SWIG_AsInt(obj0
);
18921 if (PyErr_Occurred()) SWIG_fail
;
18923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18924 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
18926 wxPyEndAllowThreads(__tstate
);
18927 if (PyErr_Occurred()) SWIG_fail
;
18929 Py_INCREF(Py_None
); resultobj
= Py_None
;
18936 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18937 PyObject
*resultobj
;
18939 char *kwnames
[] = {
18943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
18945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18946 result
= (int)wxIdleEvent::GetMode();
18948 wxPyEndAllowThreads(__tstate
);
18949 if (PyErr_Occurred()) SWIG_fail
;
18951 resultobj
= SWIG_FromInt((int)result
);
18958 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18959 PyObject
*resultobj
;
18960 wxWindow
*arg1
= (wxWindow
*) 0 ;
18962 PyObject
* obj0
= 0 ;
18963 char *kwnames
[] = {
18964 (char *) "win", NULL
18967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
18968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18972 result
= (bool)wxIdleEvent::CanSend(arg1
);
18974 wxPyEndAllowThreads(__tstate
);
18975 if (PyErr_Occurred()) SWIG_fail
;
18978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18986 static PyObject
* IdleEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18988 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18989 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
18991 return Py_BuildValue((char *)"");
18993 static PyObject
*_wrap_new_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18994 PyObject
*resultobj
;
18995 int arg1
= (int) 0 ;
18996 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
18998 PyObject
* obj0
= 0 ;
18999 PyObject
* obj1
= 0 ;
19000 char *kwnames
[] = {
19001 (char *) "winid",(char *) "commandType", NULL
19004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19006 arg1
= (int) SWIG_AsInt(obj0
);
19007 if (PyErr_Occurred()) SWIG_fail
;
19010 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
19011 if (PyErr_Occurred()) SWIG_fail
;
19014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19015 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19017 wxPyEndAllowThreads(__tstate
);
19018 if (PyErr_Occurred()) SWIG_fail
;
19020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19027 static PyObject
*_wrap_delete_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19028 PyObject
*resultobj
;
19029 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19030 PyObject
* obj0
= 0 ;
19031 char *kwnames
[] = {
19032 (char *) "self", NULL
19035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19042 wxPyEndAllowThreads(__tstate
);
19043 if (PyErr_Occurred()) SWIG_fail
;
19045 Py_INCREF(Py_None
); resultobj
= Py_None
;
19052 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19053 PyObject
*resultobj
;
19054 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19055 PyObject
*arg2
= (PyObject
*) 0 ;
19056 PyObject
* obj0
= 0 ;
19057 PyObject
* obj1
= 0 ;
19058 char *kwnames
[] = {
19059 (char *) "self",(char *) "self", NULL
19062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19068 (arg1
)->SetSelf(arg2
);
19070 wxPyEndAllowThreads(__tstate
);
19071 if (PyErr_Occurred()) SWIG_fail
;
19073 Py_INCREF(Py_None
); resultobj
= Py_None
;
19080 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19081 PyObject
*resultobj
;
19082 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19084 PyObject
* obj0
= 0 ;
19085 char *kwnames
[] = {
19086 (char *) "self", NULL
19089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19094 result
= (PyObject
*)(arg1
)->GetSelf();
19096 wxPyEndAllowThreads(__tstate
);
19097 if (PyErr_Occurred()) SWIG_fail
;
19099 resultobj
= result
;
19106 static PyObject
* PyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19108 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19109 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19111 return Py_BuildValue((char *)"");
19113 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19114 PyObject
*resultobj
;
19115 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19116 int arg2
= (int) 0 ;
19117 wxPyCommandEvent
*result
;
19118 PyObject
* obj0
= 0 ;
19119 PyObject
* obj1
= 0 ;
19120 char *kwnames
[] = {
19121 (char *) "commandType",(char *) "id", NULL
19124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19126 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19127 if (PyErr_Occurred()) SWIG_fail
;
19130 arg2
= (int) SWIG_AsInt(obj1
);
19131 if (PyErr_Occurred()) SWIG_fail
;
19134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19135 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19137 wxPyEndAllowThreads(__tstate
);
19138 if (PyErr_Occurred()) SWIG_fail
;
19140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19147 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19148 PyObject
*resultobj
;
19149 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19150 PyObject
* obj0
= 0 ;
19151 char *kwnames
[] = {
19152 (char *) "self", NULL
19155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19162 wxPyEndAllowThreads(__tstate
);
19163 if (PyErr_Occurred()) SWIG_fail
;
19165 Py_INCREF(Py_None
); resultobj
= Py_None
;
19172 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19173 PyObject
*resultobj
;
19174 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19175 PyObject
*arg2
= (PyObject
*) 0 ;
19176 PyObject
* obj0
= 0 ;
19177 PyObject
* obj1
= 0 ;
19178 char *kwnames
[] = {
19179 (char *) "self",(char *) "self", NULL
19182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19188 (arg1
)->SetSelf(arg2
);
19190 wxPyEndAllowThreads(__tstate
);
19191 if (PyErr_Occurred()) SWIG_fail
;
19193 Py_INCREF(Py_None
); resultobj
= Py_None
;
19200 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19201 PyObject
*resultobj
;
19202 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19204 PyObject
* obj0
= 0 ;
19205 char *kwnames
[] = {
19206 (char *) "self", NULL
19209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19214 result
= (PyObject
*)(arg1
)->GetSelf();
19216 wxPyEndAllowThreads(__tstate
);
19217 if (PyErr_Occurred()) SWIG_fail
;
19219 resultobj
= result
;
19226 static PyObject
* PyCommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19228 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19229 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19231 return Py_BuildValue((char *)"");
19233 static PyObject
*_wrap_new_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19234 PyObject
*resultobj
;
19236 char *kwnames
[] = {
19240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19243 result
= (wxPyApp
*)new_wxPyApp();
19245 wxPyEndAllowThreads(__tstate
);
19246 if (PyErr_Occurred()) SWIG_fail
;
19249 resultobj
= wxPyMake_wxObject(result
);
19257 static PyObject
*_wrap_delete_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19258 PyObject
*resultobj
;
19259 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19260 PyObject
* obj0
= 0 ;
19261 char *kwnames
[] = {
19262 (char *) "self", NULL
19265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19272 wxPyEndAllowThreads(__tstate
);
19273 if (PyErr_Occurred()) SWIG_fail
;
19275 Py_INCREF(Py_None
); resultobj
= Py_None
;
19282 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19283 PyObject
*resultobj
;
19284 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19285 PyObject
*arg2
= (PyObject
*) 0 ;
19286 PyObject
*arg3
= (PyObject
*) 0 ;
19287 PyObject
* obj0
= 0 ;
19288 PyObject
* obj1
= 0 ;
19289 PyObject
* obj2
= 0 ;
19290 char *kwnames
[] = {
19291 (char *) "self",(char *) "self",(char *) "_class", NULL
19294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19301 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19303 wxPyEndAllowThreads(__tstate
);
19304 if (PyErr_Occurred()) SWIG_fail
;
19306 Py_INCREF(Py_None
); resultobj
= Py_None
;
19313 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19314 PyObject
*resultobj
;
19315 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19317 PyObject
* obj0
= 0 ;
19318 char *kwnames
[] = {
19319 (char *) "self", NULL
19322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
19323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19327 result
= ((wxPyApp
const *)arg1
)->GetAppName();
19329 wxPyEndAllowThreads(__tstate
);
19330 if (PyErr_Occurred()) SWIG_fail
;
19334 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19336 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19345 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19346 PyObject
*resultobj
;
19347 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19348 wxString
*arg2
= 0 ;
19349 bool temp2
= False
;
19350 PyObject
* obj0
= 0 ;
19351 PyObject
* obj1
= 0 ;
19352 char *kwnames
[] = {
19353 (char *) "self",(char *) "name", NULL
19356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19360 arg2
= wxString_in_helper(obj1
);
19361 if (arg2
== NULL
) SWIG_fail
;
19365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19366 (arg1
)->SetAppName((wxString
const &)*arg2
);
19368 wxPyEndAllowThreads(__tstate
);
19369 if (PyErr_Occurred()) SWIG_fail
;
19371 Py_INCREF(Py_None
); resultobj
= Py_None
;
19386 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19387 PyObject
*resultobj
;
19388 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19390 PyObject
* obj0
= 0 ;
19391 char *kwnames
[] = {
19392 (char *) "self", NULL
19395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
19396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19400 result
= ((wxPyApp
const *)arg1
)->GetClassName();
19402 wxPyEndAllowThreads(__tstate
);
19403 if (PyErr_Occurred()) SWIG_fail
;
19407 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19409 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19418 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19419 PyObject
*resultobj
;
19420 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19421 wxString
*arg2
= 0 ;
19422 bool temp2
= False
;
19423 PyObject
* obj0
= 0 ;
19424 PyObject
* obj1
= 0 ;
19425 char *kwnames
[] = {
19426 (char *) "self",(char *) "name", NULL
19429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
19430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19433 arg2
= wxString_in_helper(obj1
);
19434 if (arg2
== NULL
) SWIG_fail
;
19438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19439 (arg1
)->SetClassName((wxString
const &)*arg2
);
19441 wxPyEndAllowThreads(__tstate
);
19442 if (PyErr_Occurred()) SWIG_fail
;
19444 Py_INCREF(Py_None
); resultobj
= Py_None
;
19459 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19460 PyObject
*resultobj
;
19461 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19463 PyObject
* obj0
= 0 ;
19464 char *kwnames
[] = {
19465 (char *) "self", NULL
19468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
19469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19474 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
19475 result
= (wxString
*) &_result_ref
;
19478 wxPyEndAllowThreads(__tstate
);
19479 if (PyErr_Occurred()) SWIG_fail
;
19483 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19485 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19494 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19495 PyObject
*resultobj
;
19496 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19497 wxString
*arg2
= 0 ;
19498 bool temp2
= False
;
19499 PyObject
* obj0
= 0 ;
19500 PyObject
* obj1
= 0 ;
19501 char *kwnames
[] = {
19502 (char *) "self",(char *) "name", NULL
19505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
19506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19509 arg2
= wxString_in_helper(obj1
);
19510 if (arg2
== NULL
) SWIG_fail
;
19514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19515 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19517 wxPyEndAllowThreads(__tstate
);
19518 if (PyErr_Occurred()) SWIG_fail
;
19520 Py_INCREF(Py_None
); resultobj
= Py_None
;
19535 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19536 PyObject
*resultobj
;
19537 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19538 wxAppTraits
*result
;
19539 PyObject
* obj0
= 0 ;
19540 char *kwnames
[] = {
19541 (char *) "self", NULL
19544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
19545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19549 result
= (wxAppTraits
*)(arg1
)->GetTraits();
19551 wxPyEndAllowThreads(__tstate
);
19552 if (PyErr_Occurred()) SWIG_fail
;
19554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
19561 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19562 PyObject
*resultobj
;
19563 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19564 PyObject
* obj0
= 0 ;
19565 char *kwnames
[] = {
19566 (char *) "self", NULL
19569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
19570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19574 (arg1
)->ProcessPendingEvents();
19576 wxPyEndAllowThreads(__tstate
);
19577 if (PyErr_Occurred()) SWIG_fail
;
19579 Py_INCREF(Py_None
); resultobj
= Py_None
;
19586 static PyObject
*_wrap_PyApp_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19587 PyObject
*resultobj
;
19588 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19589 bool arg2
= (bool) False
;
19591 PyObject
* obj0
= 0 ;
19592 PyObject
* obj1
= 0 ;
19593 char *kwnames
[] = {
19594 (char *) "self",(char *) "onlyIfNeeded", NULL
19597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
19598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19601 arg2
= (bool) SWIG_AsBool(obj1
);
19602 if (PyErr_Occurred()) SWIG_fail
;
19605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19606 result
= (bool)(arg1
)->Yield(arg2
);
19608 wxPyEndAllowThreads(__tstate
);
19609 if (PyErr_Occurred()) SWIG_fail
;
19612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19620 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19621 PyObject
*resultobj
;
19622 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19623 PyObject
* obj0
= 0 ;
19624 char *kwnames
[] = {
19625 (char *) "self", NULL
19628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
19629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19633 (arg1
)->WakeUpIdle();
19635 wxPyEndAllowThreads(__tstate
);
19636 if (PyErr_Occurred()) SWIG_fail
;
19638 Py_INCREF(Py_None
); resultobj
= Py_None
;
19645 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19646 PyObject
*resultobj
;
19647 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19649 PyObject
* obj0
= 0 ;
19650 char *kwnames
[] = {
19651 (char *) "self", NULL
19654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
19655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19659 result
= (int)(arg1
)->MainLoop();
19661 wxPyEndAllowThreads(__tstate
);
19662 if (PyErr_Occurred()) SWIG_fail
;
19664 resultobj
= SWIG_FromInt((int)result
);
19671 static PyObject
*_wrap_PyApp_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19672 PyObject
*resultobj
;
19673 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19674 PyObject
* obj0
= 0 ;
19675 char *kwnames
[] = {
19676 (char *) "self", NULL
19679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
19680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19686 wxPyEndAllowThreads(__tstate
);
19687 if (PyErr_Occurred()) SWIG_fail
;
19689 Py_INCREF(Py_None
); resultobj
= Py_None
;
19696 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19697 PyObject
*resultobj
;
19698 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19699 PyObject
* obj0
= 0 ;
19700 char *kwnames
[] = {
19701 (char *) "self", NULL
19704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
19705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19709 (arg1
)->ExitMainLoop();
19711 wxPyEndAllowThreads(__tstate
);
19712 if (PyErr_Occurred()) SWIG_fail
;
19714 Py_INCREF(Py_None
); resultobj
= Py_None
;
19721 static PyObject
*_wrap_PyApp_Pending(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19722 PyObject
*resultobj
;
19723 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19725 PyObject
* obj0
= 0 ;
19726 char *kwnames
[] = {
19727 (char *) "self", NULL
19730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
19731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19735 result
= (bool)(arg1
)->Pending();
19737 wxPyEndAllowThreads(__tstate
);
19738 if (PyErr_Occurred()) SWIG_fail
;
19741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19749 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19750 PyObject
*resultobj
;
19751 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19753 PyObject
* obj0
= 0 ;
19754 char *kwnames
[] = {
19755 (char *) "self", NULL
19758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
19759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19763 result
= (bool)(arg1
)->Dispatch();
19765 wxPyEndAllowThreads(__tstate
);
19766 if (PyErr_Occurred()) SWIG_fail
;
19769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19777 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19778 PyObject
*resultobj
;
19779 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19781 PyObject
* obj0
= 0 ;
19782 char *kwnames
[] = {
19783 (char *) "self", NULL
19786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
19787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19791 result
= (bool)(arg1
)->ProcessIdle();
19793 wxPyEndAllowThreads(__tstate
);
19794 if (PyErr_Occurred()) SWIG_fail
;
19797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19805 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19806 PyObject
*resultobj
;
19807 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19808 wxWindow
*arg2
= (wxWindow
*) 0 ;
19809 wxIdleEvent
*arg3
= 0 ;
19811 PyObject
* obj0
= 0 ;
19812 PyObject
* obj1
= 0 ;
19813 PyObject
* obj2
= 0 ;
19814 char *kwnames
[] = {
19815 (char *) "self",(char *) "win",(char *) "event", NULL
19818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19821 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19823 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
19824 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19826 if (arg3
== NULL
) {
19827 PyErr_SetString(PyExc_TypeError
,"null reference");
19831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19832 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
19834 wxPyEndAllowThreads(__tstate
);
19835 if (PyErr_Occurred()) SWIG_fail
;
19838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19846 static PyObject
*_wrap_PyApp_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19847 PyObject
*resultobj
;
19848 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19850 PyObject
* obj0
= 0 ;
19851 char *kwnames
[] = {
19852 (char *) "self", NULL
19855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
19856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19860 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
19862 wxPyEndAllowThreads(__tstate
);
19863 if (PyErr_Occurred()) SWIG_fail
;
19866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19874 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19875 PyObject
*resultobj
;
19876 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19877 wxWindow
*arg2
= (wxWindow
*) 0 ;
19878 PyObject
* obj0
= 0 ;
19879 PyObject
* obj1
= 0 ;
19880 char *kwnames
[] = {
19881 (char *) "self",(char *) "win", NULL
19884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19887 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19891 (arg1
)->SetTopWindow(arg2
);
19893 wxPyEndAllowThreads(__tstate
);
19894 if (PyErr_Occurred()) SWIG_fail
;
19896 Py_INCREF(Py_None
); resultobj
= Py_None
;
19903 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19904 PyObject
*resultobj
;
19905 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19907 PyObject
* obj0
= 0 ;
19908 char *kwnames
[] = {
19909 (char *) "self", NULL
19912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
19913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19917 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
19919 wxPyEndAllowThreads(__tstate
);
19920 if (PyErr_Occurred()) SWIG_fail
;
19923 resultobj
= wxPyMake_wxObject(result
);
19931 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19932 PyObject
*resultobj
;
19933 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19935 PyObject
* obj0
= 0 ;
19936 PyObject
* obj1
= 0 ;
19937 char *kwnames
[] = {
19938 (char *) "self",(char *) "flag", NULL
19941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
19942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19944 arg2
= (bool) SWIG_AsBool(obj1
);
19945 if (PyErr_Occurred()) SWIG_fail
;
19947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19948 (arg1
)->SetExitOnFrameDelete(arg2
);
19950 wxPyEndAllowThreads(__tstate
);
19951 if (PyErr_Occurred()) SWIG_fail
;
19953 Py_INCREF(Py_None
); resultobj
= Py_None
;
19960 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19961 PyObject
*resultobj
;
19962 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19964 PyObject
* obj0
= 0 ;
19965 char *kwnames
[] = {
19966 (char *) "self", NULL
19969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
19970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19974 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
19976 wxPyEndAllowThreads(__tstate
);
19977 if (PyErr_Occurred()) SWIG_fail
;
19980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19988 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19989 PyObject
*resultobj
;
19990 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19992 PyObject
* obj0
= 0 ;
19993 PyObject
* obj1
= 0 ;
19994 char *kwnames
[] = {
19995 (char *) "self",(char *) "flag", NULL
19998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
19999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20001 arg2
= (bool) SWIG_AsBool(obj1
);
20002 if (PyErr_Occurred()) SWIG_fail
;
20004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20005 (arg1
)->SetUseBestVisual(arg2
);
20007 wxPyEndAllowThreads(__tstate
);
20008 if (PyErr_Occurred()) SWIG_fail
;
20010 Py_INCREF(Py_None
); resultobj
= Py_None
;
20017 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20018 PyObject
*resultobj
;
20019 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20021 PyObject
* obj0
= 0 ;
20022 char *kwnames
[] = {
20023 (char *) "self", NULL
20026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20031 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20033 wxPyEndAllowThreads(__tstate
);
20034 if (PyErr_Occurred()) SWIG_fail
;
20037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20045 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20046 PyObject
*resultobj
;
20047 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20049 PyObject
* obj0
= 0 ;
20050 PyObject
* obj1
= 0 ;
20051 char *kwnames
[] = {
20052 (char *) "self",(char *) "mode", NULL
20055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20058 arg2
= (int) SWIG_AsInt(obj1
);
20059 if (PyErr_Occurred()) SWIG_fail
;
20061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20062 (arg1
)->SetPrintMode(arg2
);
20064 wxPyEndAllowThreads(__tstate
);
20065 if (PyErr_Occurred()) SWIG_fail
;
20067 Py_INCREF(Py_None
); resultobj
= Py_None
;
20074 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20075 PyObject
*resultobj
;
20076 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20078 PyObject
* obj0
= 0 ;
20079 char *kwnames
[] = {
20080 (char *) "self", NULL
20083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20088 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20090 wxPyEndAllowThreads(__tstate
);
20091 if (PyErr_Occurred()) SWIG_fail
;
20093 resultobj
= SWIG_FromInt((int)result
);
20100 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20101 PyObject
*resultobj
;
20102 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20104 PyObject
* obj0
= 0 ;
20105 PyObject
* obj1
= 0 ;
20106 char *kwnames
[] = {
20107 (char *) "self",(char *) "mode", NULL
20110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20113 arg2
= (int) SWIG_AsInt(obj1
);
20114 if (PyErr_Occurred()) SWIG_fail
;
20116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20117 (arg1
)->SetAssertMode(arg2
);
20119 wxPyEndAllowThreads(__tstate
);
20120 if (PyErr_Occurred()) SWIG_fail
;
20122 Py_INCREF(Py_None
); resultobj
= Py_None
;
20129 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20130 PyObject
*resultobj
;
20131 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20133 PyObject
* obj0
= 0 ;
20134 char *kwnames
[] = {
20135 (char *) "self", NULL
20138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20143 result
= (int)(arg1
)->GetAssertMode();
20145 wxPyEndAllowThreads(__tstate
);
20146 if (PyErr_Occurred()) SWIG_fail
;
20148 resultobj
= SWIG_FromInt((int)result
);
20155 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20156 PyObject
*resultobj
;
20158 char *kwnames
[] = {
20162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
20164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20165 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20167 wxPyEndAllowThreads(__tstate
);
20168 if (PyErr_Occurred()) SWIG_fail
;
20171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20179 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20180 PyObject
*resultobj
;
20182 char *kwnames
[] = {
20186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
20188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20189 result
= (long)wxPyApp::GetMacAboutMenuItemId();
20191 wxPyEndAllowThreads(__tstate
);
20192 if (PyErr_Occurred()) SWIG_fail
;
20194 resultobj
= SWIG_FromLong((long)result
);
20201 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20202 PyObject
*resultobj
;
20204 char *kwnames
[] = {
20208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
20210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20211 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
20213 wxPyEndAllowThreads(__tstate
);
20214 if (PyErr_Occurred()) SWIG_fail
;
20216 resultobj
= SWIG_FromLong((long)result
);
20223 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20224 PyObject
*resultobj
;
20226 char *kwnames
[] = {
20230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
20232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20233 result
= (long)wxPyApp::GetMacExitMenuItemId();
20235 wxPyEndAllowThreads(__tstate
);
20236 if (PyErr_Occurred()) SWIG_fail
;
20238 resultobj
= SWIG_FromLong((long)result
);
20245 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20246 PyObject
*resultobj
;
20248 char *kwnames
[] = {
20252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
20254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20255 result
= wxPyApp::GetMacHelpMenuTitleName();
20257 wxPyEndAllowThreads(__tstate
);
20258 if (PyErr_Occurred()) SWIG_fail
;
20262 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20264 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20273 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20274 PyObject
*resultobj
;
20276 PyObject
* obj0
= 0 ;
20277 char *kwnames
[] = {
20278 (char *) "val", NULL
20281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20282 arg1
= (bool) SWIG_AsBool(obj0
);
20283 if (PyErr_Occurred()) SWIG_fail
;
20285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20286 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20288 wxPyEndAllowThreads(__tstate
);
20289 if (PyErr_Occurred()) SWIG_fail
;
20291 Py_INCREF(Py_None
); resultobj
= Py_None
;
20298 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20299 PyObject
*resultobj
;
20301 PyObject
* obj0
= 0 ;
20302 char *kwnames
[] = {
20303 (char *) "val", NULL
20306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
20307 arg1
= (long) SWIG_AsLong(obj0
);
20308 if (PyErr_Occurred()) SWIG_fail
;
20310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20311 wxPyApp::SetMacAboutMenuItemId(arg1
);
20313 wxPyEndAllowThreads(__tstate
);
20314 if (PyErr_Occurred()) SWIG_fail
;
20316 Py_INCREF(Py_None
); resultobj
= Py_None
;
20323 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20324 PyObject
*resultobj
;
20326 PyObject
* obj0
= 0 ;
20327 char *kwnames
[] = {
20328 (char *) "val", NULL
20331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
20332 arg1
= (long) SWIG_AsLong(obj0
);
20333 if (PyErr_Occurred()) SWIG_fail
;
20335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20336 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
20338 wxPyEndAllowThreads(__tstate
);
20339 if (PyErr_Occurred()) SWIG_fail
;
20341 Py_INCREF(Py_None
); resultobj
= Py_None
;
20348 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20349 PyObject
*resultobj
;
20351 PyObject
* obj0
= 0 ;
20352 char *kwnames
[] = {
20353 (char *) "val", NULL
20356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
20357 arg1
= (long) SWIG_AsLong(obj0
);
20358 if (PyErr_Occurred()) SWIG_fail
;
20360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20361 wxPyApp::SetMacExitMenuItemId(arg1
);
20363 wxPyEndAllowThreads(__tstate
);
20364 if (PyErr_Occurred()) SWIG_fail
;
20366 Py_INCREF(Py_None
); resultobj
= Py_None
;
20373 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20374 PyObject
*resultobj
;
20375 wxString
*arg1
= 0 ;
20376 bool temp1
= False
;
20377 PyObject
* obj0
= 0 ;
20378 char *kwnames
[] = {
20379 (char *) "val", NULL
20382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
20384 arg1
= wxString_in_helper(obj0
);
20385 if (arg1
== NULL
) SWIG_fail
;
20389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20390 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
20392 wxPyEndAllowThreads(__tstate
);
20393 if (PyErr_Occurred()) SWIG_fail
;
20395 Py_INCREF(Py_None
); resultobj
= Py_None
;
20410 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20411 PyObject
*resultobj
;
20412 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20413 PyObject
* obj0
= 0 ;
20414 char *kwnames
[] = {
20415 (char *) "self", NULL
20418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
20419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20423 (arg1
)->_BootstrapApp();
20425 wxPyEndAllowThreads(__tstate
);
20426 if (PyErr_Occurred()) SWIG_fail
;
20428 Py_INCREF(Py_None
); resultobj
= Py_None
;
20435 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20436 PyObject
*resultobj
;
20438 char *kwnames
[] = {
20442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
20444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20445 result
= (int)wxPyApp::GetComCtl32Version();
20447 wxPyEndAllowThreads(__tstate
);
20448 if (PyErr_Occurred()) SWIG_fail
;
20450 resultobj
= SWIG_FromInt((int)result
);
20457 static PyObject
* PyApp_swigregister(PyObject
*self
, PyObject
*args
) {
20459 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20460 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
20462 return Py_BuildValue((char *)"");
20464 static PyObject
*_wrap_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20465 PyObject
*resultobj
;
20466 char *kwnames
[] = {
20470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
20472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20475 wxPyEndAllowThreads(__tstate
);
20476 if (PyErr_Occurred()) SWIG_fail
;
20478 Py_INCREF(Py_None
); resultobj
= Py_None
;
20485 static PyObject
*_wrap_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20486 PyObject
*resultobj
;
20488 char *kwnames
[] = {
20492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
20494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20495 result
= (bool)wxYield();
20497 wxPyEndAllowThreads(__tstate
);
20498 if (PyErr_Occurred()) SWIG_fail
;
20501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20509 static PyObject
*_wrap_YieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20510 PyObject
*resultobj
;
20512 char *kwnames
[] = {
20516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
20518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20519 result
= (bool)wxYieldIfNeeded();
20521 wxPyEndAllowThreads(__tstate
);
20522 if (PyErr_Occurred()) SWIG_fail
;
20525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20533 static PyObject
*_wrap_SafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20534 PyObject
*resultobj
;
20535 wxWindow
*arg1
= (wxWindow
*) NULL
;
20536 bool arg2
= (bool) False
;
20538 PyObject
* obj0
= 0 ;
20539 PyObject
* obj1
= 0 ;
20540 char *kwnames
[] = {
20541 (char *) "win",(char *) "onlyIfNeeded", NULL
20544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
20546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20550 arg2
= (bool) SWIG_AsBool(obj1
);
20551 if (PyErr_Occurred()) SWIG_fail
;
20554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20555 result
= (bool)wxSafeYield(arg1
,arg2
);
20557 wxPyEndAllowThreads(__tstate
);
20558 if (PyErr_Occurred()) SWIG_fail
;
20561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20569 static PyObject
*_wrap_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20570 PyObject
*resultobj
;
20571 char *kwnames
[] = {
20575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
20577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20580 wxPyEndAllowThreads(__tstate
);
20581 if (PyErr_Occurred()) SWIG_fail
;
20583 Py_INCREF(Py_None
); resultobj
= Py_None
;
20590 static PyObject
*_wrap_PostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20591 PyObject
*resultobj
;
20592 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20593 wxEvent
*arg2
= 0 ;
20594 PyObject
* obj0
= 0 ;
20595 PyObject
* obj1
= 0 ;
20596 char *kwnames
[] = {
20597 (char *) "dest",(char *) "event", NULL
20600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
20602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20603 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
20604 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20606 if (arg2
== NULL
) {
20607 PyErr_SetString(PyExc_TypeError
,"null reference");
20611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20612 wxPostEvent(arg1
,*arg2
);
20614 wxPyEndAllowThreads(__tstate
);
20615 if (PyErr_Occurred()) SWIG_fail
;
20617 Py_INCREF(Py_None
); resultobj
= Py_None
;
20624 static PyObject
*_wrap_App_CleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20625 PyObject
*resultobj
;
20626 char *kwnames
[] = {
20630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
20632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20635 wxPyEndAllowThreads(__tstate
);
20636 if (PyErr_Occurred()) SWIG_fail
;
20638 Py_INCREF(Py_None
); resultobj
= Py_None
;
20645 static PyObject
*_wrap_GetApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20646 PyObject
*resultobj
;
20648 char *kwnames
[] = {
20652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
20654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20655 result
= (wxPyApp
*)wxGetApp();
20657 wxPyEndAllowThreads(__tstate
);
20658 if (PyErr_Occurred()) SWIG_fail
;
20661 resultobj
= wxPyMake_wxObject(result
);
20669 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20670 PyObject
*resultobj
;
20671 int arg1
= (int) 0 ;
20672 int arg2
= (int) 0 ;
20673 int arg3
= (int) 0 ;
20674 wxMenuItem
*arg4
= (wxMenuItem
*) NULL
;
20675 wxAcceleratorEntry
*result
;
20676 PyObject
* obj0
= 0 ;
20677 PyObject
* obj1
= 0 ;
20678 PyObject
* obj2
= 0 ;
20679 PyObject
* obj3
= 0 ;
20680 char *kwnames
[] = {
20681 (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20686 arg1
= (int) SWIG_AsInt(obj0
);
20687 if (PyErr_Occurred()) SWIG_fail
;
20690 arg2
= (int) SWIG_AsInt(obj1
);
20691 if (PyErr_Occurred()) SWIG_fail
;
20694 arg3
= (int) SWIG_AsInt(obj2
);
20695 if (PyErr_Occurred()) SWIG_fail
;
20698 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenuItem
,
20699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20703 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
,arg4
);
20705 wxPyEndAllowThreads(__tstate
);
20706 if (PyErr_Occurred()) SWIG_fail
;
20708 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
20715 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20716 PyObject
*resultobj
;
20717 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20718 PyObject
* obj0
= 0 ;
20719 char *kwnames
[] = {
20720 (char *) "self", NULL
20723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
20724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20730 wxPyEndAllowThreads(__tstate
);
20731 if (PyErr_Occurred()) SWIG_fail
;
20733 Py_INCREF(Py_None
); resultobj
= Py_None
;
20740 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20741 PyObject
*resultobj
;
20742 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20746 wxMenuItem
*arg5
= (wxMenuItem
*) NULL
;
20747 PyObject
* obj0
= 0 ;
20748 PyObject
* obj1
= 0 ;
20749 PyObject
* obj2
= 0 ;
20750 PyObject
* obj3
= 0 ;
20751 PyObject
* obj4
= 0 ;
20752 char *kwnames
[] = {
20753 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20759 arg2
= (int) SWIG_AsInt(obj1
);
20760 if (PyErr_Occurred()) SWIG_fail
;
20761 arg3
= (int) SWIG_AsInt(obj2
);
20762 if (PyErr_Occurred()) SWIG_fail
;
20763 arg4
= (int) SWIG_AsInt(obj3
);
20764 if (PyErr_Occurred()) SWIG_fail
;
20766 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenuItem
,
20767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20771 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
20773 wxPyEndAllowThreads(__tstate
);
20774 if (PyErr_Occurred()) SWIG_fail
;
20776 Py_INCREF(Py_None
); resultobj
= Py_None
;
20783 static PyObject
*_wrap_AcceleratorEntry_SetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20784 PyObject
*resultobj
;
20785 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20786 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
20787 PyObject
* obj0
= 0 ;
20788 PyObject
* obj1
= 0 ;
20789 char *kwnames
[] = {
20790 (char *) "self",(char *) "item", NULL
20793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20796 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
20797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20800 (arg1
)->SetMenuItem(arg2
);
20802 wxPyEndAllowThreads(__tstate
);
20803 if (PyErr_Occurred()) SWIG_fail
;
20805 Py_INCREF(Py_None
); resultobj
= Py_None
;
20812 static PyObject
*_wrap_AcceleratorEntry_GetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20813 PyObject
*resultobj
;
20814 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20815 wxMenuItem
*result
;
20816 PyObject
* obj0
= 0 ;
20817 char *kwnames
[] = {
20818 (char *) "self", NULL
20821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames
,&obj0
)) goto fail
;
20822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20826 result
= (wxMenuItem
*)((wxAcceleratorEntry
const *)arg1
)->GetMenuItem();
20828 wxPyEndAllowThreads(__tstate
);
20829 if (PyErr_Occurred()) SWIG_fail
;
20832 resultobj
= wxPyMake_wxObject(result
);
20840 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20841 PyObject
*resultobj
;
20842 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20844 PyObject
* obj0
= 0 ;
20845 char *kwnames
[] = {
20846 (char *) "self", NULL
20849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
20850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20854 result
= (int)(arg1
)->GetFlags();
20856 wxPyEndAllowThreads(__tstate
);
20857 if (PyErr_Occurred()) SWIG_fail
;
20859 resultobj
= SWIG_FromInt((int)result
);
20866 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20867 PyObject
*resultobj
;
20868 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20870 PyObject
* obj0
= 0 ;
20871 char *kwnames
[] = {
20872 (char *) "self", NULL
20875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20880 result
= (int)(arg1
)->GetKeyCode();
20882 wxPyEndAllowThreads(__tstate
);
20883 if (PyErr_Occurred()) SWIG_fail
;
20885 resultobj
= SWIG_FromInt((int)result
);
20892 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20893 PyObject
*resultobj
;
20894 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20896 PyObject
* obj0
= 0 ;
20897 char *kwnames
[] = {
20898 (char *) "self", NULL
20901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
20902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20906 result
= (int)(arg1
)->GetCommand();
20908 wxPyEndAllowThreads(__tstate
);
20909 if (PyErr_Occurred()) SWIG_fail
;
20911 resultobj
= SWIG_FromInt((int)result
);
20918 static PyObject
* AcceleratorEntry_swigregister(PyObject
*self
, PyObject
*args
) {
20920 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20921 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
20923 return Py_BuildValue((char *)"");
20925 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20926 PyObject
*resultobj
;
20928 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
20929 wxAcceleratorTable
*result
;
20930 PyObject
* obj0
= 0 ;
20931 char *kwnames
[] = {
20935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
20937 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
20938 if (arg2
) arg1
= PyList_Size(obj0
);
20942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20943 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
20945 wxPyEndAllowThreads(__tstate
);
20946 if (PyErr_Occurred()) SWIG_fail
;
20948 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
20961 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20962 PyObject
*resultobj
;
20963 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
20964 PyObject
* obj0
= 0 ;
20965 char *kwnames
[] = {
20966 (char *) "self", NULL
20969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
20970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
20971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20976 wxPyEndAllowThreads(__tstate
);
20977 if (PyErr_Occurred()) SWIG_fail
;
20979 Py_INCREF(Py_None
); resultobj
= Py_None
;
20986 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20987 PyObject
*resultobj
;
20988 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
20990 PyObject
* obj0
= 0 ;
20991 char *kwnames
[] = {
20992 (char *) "self", NULL
20995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
20996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
20997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21000 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
21002 wxPyEndAllowThreads(__tstate
);
21003 if (PyErr_Occurred()) SWIG_fail
;
21006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21014 static PyObject
* AcceleratorTable_swigregister(PyObject
*self
, PyObject
*args
) {
21016 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21017 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
21019 return Py_BuildValue((char *)"");
21021 static int _wrap_NullAcceleratorTable_set(PyObject
*_val
) {
21022 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
21027 static PyObject
*_wrap_NullAcceleratorTable_get() {
21030 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
21035 static PyObject
*_wrap_GetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21036 PyObject
*resultobj
;
21037 wxString
*arg1
= 0 ;
21038 wxAcceleratorEntry
*result
;
21039 bool temp1
= False
;
21040 PyObject
* obj0
= 0 ;
21041 char *kwnames
[] = {
21042 (char *) "label", NULL
21045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
21047 arg1
= wxString_in_helper(obj0
);
21048 if (arg1
== NULL
) SWIG_fail
;
21052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21053 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
21055 wxPyEndAllowThreads(__tstate
);
21056 if (PyErr_Occurred()) SWIG_fail
;
21058 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
21073 static int _wrap_PanelNameStr_set(PyObject
*_val
) {
21074 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
21079 static PyObject
*_wrap_PanelNameStr_get() {
21084 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21086 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21093 static PyObject
*_wrap_new_Window(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21094 PyObject
*resultobj
;
21095 wxWindow
*arg1
= (wxWindow
*) 0 ;
21097 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21098 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21099 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21100 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21101 long arg5
= (long) 0 ;
21102 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21103 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21107 bool temp6
= False
;
21108 PyObject
* obj0
= 0 ;
21109 PyObject
* obj1
= 0 ;
21110 PyObject
* obj2
= 0 ;
21111 PyObject
* obj3
= 0 ;
21112 PyObject
* obj4
= 0 ;
21113 PyObject
* obj5
= 0 ;
21114 char *kwnames
[] = {
21115 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21121 arg2
= (int const) SWIG_AsInt(obj1
);
21122 if (PyErr_Occurred()) SWIG_fail
;
21126 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21132 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21136 arg5
= (long) SWIG_AsLong(obj4
);
21137 if (PyErr_Occurred()) SWIG_fail
;
21141 arg6
= wxString_in_helper(obj5
);
21142 if (arg6
== NULL
) SWIG_fail
;
21147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21148 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21150 wxPyEndAllowThreads(__tstate
);
21151 if (PyErr_Occurred()) SWIG_fail
;
21154 resultobj
= wxPyMake_wxObject(result
);
21170 static PyObject
*_wrap_new_PreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21171 PyObject
*resultobj
;
21173 char *kwnames
[] = {
21177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
21179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21180 result
= (wxWindow
*)new wxWindow();
21182 wxPyEndAllowThreads(__tstate
);
21183 if (PyErr_Occurred()) SWIG_fail
;
21186 resultobj
= wxPyMake_wxObject(result
);
21194 static PyObject
*_wrap_Window_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21195 PyObject
*resultobj
;
21196 wxWindow
*arg1
= (wxWindow
*) 0 ;
21197 wxWindow
*arg2
= (wxWindow
*) 0 ;
21199 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21200 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21201 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21202 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21203 long arg6
= (long) 0 ;
21204 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
21205 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21209 bool temp7
= False
;
21210 PyObject
* obj0
= 0 ;
21211 PyObject
* obj1
= 0 ;
21212 PyObject
* obj2
= 0 ;
21213 PyObject
* obj3
= 0 ;
21214 PyObject
* obj4
= 0 ;
21215 PyObject
* obj5
= 0 ;
21216 PyObject
* obj6
= 0 ;
21217 char *kwnames
[] = {
21218 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21224 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21226 arg3
= (int const) SWIG_AsInt(obj2
);
21227 if (PyErr_Occurred()) SWIG_fail
;
21231 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21237 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21241 arg6
= (long) SWIG_AsLong(obj5
);
21242 if (PyErr_Occurred()) SWIG_fail
;
21246 arg7
= wxString_in_helper(obj6
);
21247 if (arg7
== NULL
) SWIG_fail
;
21252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21253 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21255 wxPyEndAllowThreads(__tstate
);
21256 if (PyErr_Occurred()) SWIG_fail
;
21259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21275 static PyObject
*_wrap_Window_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21276 PyObject
*resultobj
;
21277 wxWindow
*arg1
= (wxWindow
*) 0 ;
21278 bool arg2
= (bool) False
;
21280 PyObject
* obj0
= 0 ;
21281 PyObject
* obj1
= 0 ;
21282 char *kwnames
[] = {
21283 (char *) "self",(char *) "force", NULL
21286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
21287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21290 arg2
= (bool) SWIG_AsBool(obj1
);
21291 if (PyErr_Occurred()) SWIG_fail
;
21294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21295 result
= (bool)(arg1
)->Close(arg2
);
21297 wxPyEndAllowThreads(__tstate
);
21298 if (PyErr_Occurred()) SWIG_fail
;
21301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21309 static PyObject
*_wrap_Window_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21310 PyObject
*resultobj
;
21311 wxWindow
*arg1
= (wxWindow
*) 0 ;
21313 PyObject
* obj0
= 0 ;
21314 char *kwnames
[] = {
21315 (char *) "self", NULL
21318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
21319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21323 result
= (bool)(arg1
)->Destroy();
21325 wxPyEndAllowThreads(__tstate
);
21326 if (PyErr_Occurred()) SWIG_fail
;
21329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21337 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21338 PyObject
*resultobj
;
21339 wxWindow
*arg1
= (wxWindow
*) 0 ;
21341 PyObject
* obj0
= 0 ;
21342 char *kwnames
[] = {
21343 (char *) "self", NULL
21346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
21347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21351 result
= (bool)(arg1
)->DestroyChildren();
21353 wxPyEndAllowThreads(__tstate
);
21354 if (PyErr_Occurred()) SWIG_fail
;
21357 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21365 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21366 PyObject
*resultobj
;
21367 wxWindow
*arg1
= (wxWindow
*) 0 ;
21369 PyObject
* obj0
= 0 ;
21370 char *kwnames
[] = {
21371 (char *) "self", NULL
21374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
21375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21379 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
21381 wxPyEndAllowThreads(__tstate
);
21382 if (PyErr_Occurred()) SWIG_fail
;
21385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21393 static PyObject
*_wrap_Window_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21394 PyObject
*resultobj
;
21395 wxWindow
*arg1
= (wxWindow
*) 0 ;
21396 wxString
*arg2
= 0 ;
21397 bool temp2
= False
;
21398 PyObject
* obj0
= 0 ;
21399 PyObject
* obj1
= 0 ;
21400 char *kwnames
[] = {
21401 (char *) "self",(char *) "title", NULL
21404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
21405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21408 arg2
= wxString_in_helper(obj1
);
21409 if (arg2
== NULL
) SWIG_fail
;
21413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21414 (arg1
)->SetTitle((wxString
const &)*arg2
);
21416 wxPyEndAllowThreads(__tstate
);
21417 if (PyErr_Occurred()) SWIG_fail
;
21419 Py_INCREF(Py_None
); resultobj
= Py_None
;
21434 static PyObject
*_wrap_Window_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21435 PyObject
*resultobj
;
21436 wxWindow
*arg1
= (wxWindow
*) 0 ;
21438 PyObject
* obj0
= 0 ;
21439 char *kwnames
[] = {
21440 (char *) "self", NULL
21443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
21444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21448 result
= ((wxWindow
const *)arg1
)->GetTitle();
21450 wxPyEndAllowThreads(__tstate
);
21451 if (PyErr_Occurred()) SWIG_fail
;
21455 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21457 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21466 static PyObject
*_wrap_Window_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21467 PyObject
*resultobj
;
21468 wxWindow
*arg1
= (wxWindow
*) 0 ;
21469 wxString
*arg2
= 0 ;
21470 bool temp2
= False
;
21471 PyObject
* obj0
= 0 ;
21472 PyObject
* obj1
= 0 ;
21473 char *kwnames
[] = {
21474 (char *) "self",(char *) "label", NULL
21477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21481 arg2
= wxString_in_helper(obj1
);
21482 if (arg2
== NULL
) SWIG_fail
;
21486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21487 (arg1
)->SetLabel((wxString
const &)*arg2
);
21489 wxPyEndAllowThreads(__tstate
);
21490 if (PyErr_Occurred()) SWIG_fail
;
21492 Py_INCREF(Py_None
); resultobj
= Py_None
;
21507 static PyObject
*_wrap_Window_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21508 PyObject
*resultobj
;
21509 wxWindow
*arg1
= (wxWindow
*) 0 ;
21511 PyObject
* obj0
= 0 ;
21512 char *kwnames
[] = {
21513 (char *) "self", NULL
21516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
21517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21521 result
= ((wxWindow
const *)arg1
)->GetLabel();
21523 wxPyEndAllowThreads(__tstate
);
21524 if (PyErr_Occurred()) SWIG_fail
;
21528 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21530 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21539 static PyObject
*_wrap_Window_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21540 PyObject
*resultobj
;
21541 wxWindow
*arg1
= (wxWindow
*) 0 ;
21542 wxString
*arg2
= 0 ;
21543 bool temp2
= False
;
21544 PyObject
* obj0
= 0 ;
21545 PyObject
* obj1
= 0 ;
21546 char *kwnames
[] = {
21547 (char *) "self",(char *) "name", NULL
21550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
21551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21554 arg2
= wxString_in_helper(obj1
);
21555 if (arg2
== NULL
) SWIG_fail
;
21559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21560 (arg1
)->SetName((wxString
const &)*arg2
);
21562 wxPyEndAllowThreads(__tstate
);
21563 if (PyErr_Occurred()) SWIG_fail
;
21565 Py_INCREF(Py_None
); resultobj
= Py_None
;
21580 static PyObject
*_wrap_Window_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21581 PyObject
*resultobj
;
21582 wxWindow
*arg1
= (wxWindow
*) 0 ;
21584 PyObject
* obj0
= 0 ;
21585 char *kwnames
[] = {
21586 (char *) "self", NULL
21589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
21590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21594 result
= ((wxWindow
const *)arg1
)->GetName();
21596 wxPyEndAllowThreads(__tstate
);
21597 if (PyErr_Occurred()) SWIG_fail
;
21601 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21603 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21612 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21613 PyObject
*resultobj
;
21614 wxWindow
*arg1
= (wxWindow
*) 0 ;
21616 PyObject
* obj0
= 0 ;
21617 PyObject
* obj1
= 0 ;
21618 char *kwnames
[] = {
21619 (char *) "self",(char *) "variant", NULL
21622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
21623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21625 arg2
= (wxWindowVariant
) SWIG_AsInt(obj1
);
21626 if (PyErr_Occurred()) SWIG_fail
;
21628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21629 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
21631 wxPyEndAllowThreads(__tstate
);
21632 if (PyErr_Occurred()) SWIG_fail
;
21634 Py_INCREF(Py_None
); resultobj
= Py_None
;
21641 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21642 PyObject
*resultobj
;
21643 wxWindow
*arg1
= (wxWindow
*) 0 ;
21645 PyObject
* obj0
= 0 ;
21646 char *kwnames
[] = {
21647 (char *) "self", NULL
21650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
21651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21655 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
21657 wxPyEndAllowThreads(__tstate
);
21658 if (PyErr_Occurred()) SWIG_fail
;
21660 resultobj
= SWIG_FromInt((int)result
);
21667 static PyObject
*_wrap_Window_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21668 PyObject
*resultobj
;
21669 wxWindow
*arg1
= (wxWindow
*) 0 ;
21671 PyObject
* obj0
= 0 ;
21672 PyObject
* obj1
= 0 ;
21673 char *kwnames
[] = {
21674 (char *) "self",(char *) "winid", NULL
21677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21680 arg2
= (int) SWIG_AsInt(obj1
);
21681 if (PyErr_Occurred()) SWIG_fail
;
21683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21684 (arg1
)->SetId(arg2
);
21686 wxPyEndAllowThreads(__tstate
);
21687 if (PyErr_Occurred()) SWIG_fail
;
21689 Py_INCREF(Py_None
); resultobj
= Py_None
;
21696 static PyObject
*_wrap_Window_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21697 PyObject
*resultobj
;
21698 wxWindow
*arg1
= (wxWindow
*) 0 ;
21700 PyObject
* obj0
= 0 ;
21701 char *kwnames
[] = {
21702 (char *) "self", NULL
21705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
21706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21710 result
= (int)((wxWindow
const *)arg1
)->GetId();
21712 wxPyEndAllowThreads(__tstate
);
21713 if (PyErr_Occurred()) SWIG_fail
;
21715 resultobj
= SWIG_FromInt((int)result
);
21722 static PyObject
*_wrap_Window_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21723 PyObject
*resultobj
;
21725 char *kwnames
[] = {
21729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
21731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21732 result
= (int)wxWindow::NewControlId();
21734 wxPyEndAllowThreads(__tstate
);
21735 if (PyErr_Occurred()) SWIG_fail
;
21737 resultobj
= SWIG_FromInt((int)result
);
21744 static PyObject
*_wrap_Window_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21745 PyObject
*resultobj
;
21748 PyObject
* obj0
= 0 ;
21749 char *kwnames
[] = {
21750 (char *) "winid", NULL
21753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
21754 arg1
= (int) SWIG_AsInt(obj0
);
21755 if (PyErr_Occurred()) SWIG_fail
;
21757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21758 result
= (int)wxWindow::NextControlId(arg1
);
21760 wxPyEndAllowThreads(__tstate
);
21761 if (PyErr_Occurred()) SWIG_fail
;
21763 resultobj
= SWIG_FromInt((int)result
);
21770 static PyObject
*_wrap_Window_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21771 PyObject
*resultobj
;
21774 PyObject
* obj0
= 0 ;
21775 char *kwnames
[] = {
21776 (char *) "winid", NULL
21779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
21780 arg1
= (int) SWIG_AsInt(obj0
);
21781 if (PyErr_Occurred()) SWIG_fail
;
21783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21784 result
= (int)wxWindow::PrevControlId(arg1
);
21786 wxPyEndAllowThreads(__tstate
);
21787 if (PyErr_Occurred()) SWIG_fail
;
21789 resultobj
= SWIG_FromInt((int)result
);
21796 static PyObject
*_wrap_Window_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21797 PyObject
*resultobj
;
21798 wxWindow
*arg1
= (wxWindow
*) 0 ;
21801 PyObject
* obj0
= 0 ;
21802 PyObject
* obj1
= 0 ;
21803 char *kwnames
[] = {
21804 (char *) "self",(char *) "size", NULL
21807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
21808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21812 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21816 (arg1
)->SetSize((wxSize
const &)*arg2
);
21818 wxPyEndAllowThreads(__tstate
);
21819 if (PyErr_Occurred()) SWIG_fail
;
21821 Py_INCREF(Py_None
); resultobj
= Py_None
;
21828 static PyObject
*_wrap_Window_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21829 PyObject
*resultobj
;
21830 wxWindow
*arg1
= (wxWindow
*) 0 ;
21835 int arg6
= (int) wxSIZE_AUTO
;
21836 PyObject
* obj0
= 0 ;
21837 PyObject
* obj1
= 0 ;
21838 PyObject
* obj2
= 0 ;
21839 PyObject
* obj3
= 0 ;
21840 PyObject
* obj4
= 0 ;
21841 PyObject
* obj5
= 0 ;
21842 char *kwnames
[] = {
21843 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21849 arg2
= (int) SWIG_AsInt(obj1
);
21850 if (PyErr_Occurred()) SWIG_fail
;
21851 arg3
= (int) SWIG_AsInt(obj2
);
21852 if (PyErr_Occurred()) SWIG_fail
;
21853 arg4
= (int) SWIG_AsInt(obj3
);
21854 if (PyErr_Occurred()) SWIG_fail
;
21855 arg5
= (int) SWIG_AsInt(obj4
);
21856 if (PyErr_Occurred()) SWIG_fail
;
21858 arg6
= (int) SWIG_AsInt(obj5
);
21859 if (PyErr_Occurred()) SWIG_fail
;
21862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21863 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21865 wxPyEndAllowThreads(__tstate
);
21866 if (PyErr_Occurred()) SWIG_fail
;
21868 Py_INCREF(Py_None
); resultobj
= Py_None
;
21875 static PyObject
*_wrap_Window_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21876 PyObject
*resultobj
;
21877 wxWindow
*arg1
= (wxWindow
*) 0 ;
21879 int arg3
= (int) wxSIZE_AUTO
;
21881 PyObject
* obj0
= 0 ;
21882 PyObject
* obj1
= 0 ;
21883 PyObject
* obj2
= 0 ;
21884 char *kwnames
[] = {
21885 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
21888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21893 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
21896 arg3
= (int) SWIG_AsInt(obj2
);
21897 if (PyErr_Occurred()) SWIG_fail
;
21900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21901 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
21903 wxPyEndAllowThreads(__tstate
);
21904 if (PyErr_Occurred()) SWIG_fail
;
21906 Py_INCREF(Py_None
); resultobj
= Py_None
;
21913 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21914 PyObject
*resultobj
;
21915 wxWindow
*arg1
= (wxWindow
*) 0 ;
21918 PyObject
* obj0
= 0 ;
21919 PyObject
* obj1
= 0 ;
21920 PyObject
* obj2
= 0 ;
21921 char *kwnames
[] = {
21922 (char *) "self",(char *) "width",(char *) "height", NULL
21925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21928 arg2
= (int) SWIG_AsInt(obj1
);
21929 if (PyErr_Occurred()) SWIG_fail
;
21930 arg3
= (int) SWIG_AsInt(obj2
);
21931 if (PyErr_Occurred()) SWIG_fail
;
21933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21934 (arg1
)->SetSize(arg2
,arg3
);
21936 wxPyEndAllowThreads(__tstate
);
21937 if (PyErr_Occurred()) SWIG_fail
;
21939 Py_INCREF(Py_None
); resultobj
= Py_None
;
21946 static PyObject
*_wrap_Window_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21947 PyObject
*resultobj
;
21948 wxWindow
*arg1
= (wxWindow
*) 0 ;
21949 wxPoint
*arg2
= 0 ;
21950 int arg3
= (int) wxSIZE_USE_EXISTING
;
21952 PyObject
* obj0
= 0 ;
21953 PyObject
* obj1
= 0 ;
21954 PyObject
* obj2
= 0 ;
21955 char *kwnames
[] = {
21956 (char *) "self",(char *) "pt",(char *) "flags", NULL
21959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21964 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21967 arg3
= (int) SWIG_AsInt(obj2
);
21968 if (PyErr_Occurred()) SWIG_fail
;
21971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21972 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
21974 wxPyEndAllowThreads(__tstate
);
21975 if (PyErr_Occurred()) SWIG_fail
;
21977 Py_INCREF(Py_None
); resultobj
= Py_None
;
21984 static PyObject
*_wrap_Window_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21985 PyObject
*resultobj
;
21986 wxWindow
*arg1
= (wxWindow
*) 0 ;
21989 int arg4
= (int) wxSIZE_USE_EXISTING
;
21990 PyObject
* obj0
= 0 ;
21991 PyObject
* obj1
= 0 ;
21992 PyObject
* obj2
= 0 ;
21993 PyObject
* obj3
= 0 ;
21994 char *kwnames
[] = {
21995 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
21998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22001 arg2
= (int) SWIG_AsInt(obj1
);
22002 if (PyErr_Occurred()) SWIG_fail
;
22003 arg3
= (int) SWIG_AsInt(obj2
);
22004 if (PyErr_Occurred()) SWIG_fail
;
22006 arg4
= (int) SWIG_AsInt(obj3
);
22007 if (PyErr_Occurred()) SWIG_fail
;
22010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22011 (arg1
)->Move(arg2
,arg3
,arg4
);
22013 wxPyEndAllowThreads(__tstate
);
22014 if (PyErr_Occurred()) SWIG_fail
;
22016 Py_INCREF(Py_None
); resultobj
= Py_None
;
22023 static PyObject
*_wrap_Window_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22024 PyObject
*resultobj
;
22025 wxWindow
*arg1
= (wxWindow
*) 0 ;
22026 PyObject
* obj0
= 0 ;
22027 char *kwnames
[] = {
22028 (char *) "self", NULL
22031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
22032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22038 wxPyEndAllowThreads(__tstate
);
22039 if (PyErr_Occurred()) SWIG_fail
;
22041 Py_INCREF(Py_None
); resultobj
= Py_None
;
22048 static PyObject
*_wrap_Window_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22049 PyObject
*resultobj
;
22050 wxWindow
*arg1
= (wxWindow
*) 0 ;
22051 PyObject
* obj0
= 0 ;
22052 char *kwnames
[] = {
22053 (char *) "self", NULL
22056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
22057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22063 wxPyEndAllowThreads(__tstate
);
22064 if (PyErr_Occurred()) SWIG_fail
;
22066 Py_INCREF(Py_None
); resultobj
= Py_None
;
22073 static PyObject
*_wrap_Window_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22074 PyObject
*resultobj
;
22075 wxWindow
*arg1
= (wxWindow
*) 0 ;
22078 PyObject
* obj0
= 0 ;
22079 PyObject
* obj1
= 0 ;
22080 char *kwnames
[] = {
22081 (char *) "self",(char *) "size", NULL
22084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22089 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22093 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
22095 wxPyEndAllowThreads(__tstate
);
22096 if (PyErr_Occurred()) SWIG_fail
;
22098 Py_INCREF(Py_None
); resultobj
= Py_None
;
22105 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22106 PyObject
*resultobj
;
22107 wxWindow
*arg1
= (wxWindow
*) 0 ;
22110 PyObject
* obj0
= 0 ;
22111 PyObject
* obj1
= 0 ;
22112 PyObject
* obj2
= 0 ;
22113 char *kwnames
[] = {
22114 (char *) "self",(char *) "width",(char *) "height", NULL
22117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22120 arg2
= (int) SWIG_AsInt(obj1
);
22121 if (PyErr_Occurred()) SWIG_fail
;
22122 arg3
= (int) SWIG_AsInt(obj2
);
22123 if (PyErr_Occurred()) SWIG_fail
;
22125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22126 (arg1
)->SetClientSize(arg2
,arg3
);
22128 wxPyEndAllowThreads(__tstate
);
22129 if (PyErr_Occurred()) SWIG_fail
;
22131 Py_INCREF(Py_None
); resultobj
= Py_None
;
22138 static PyObject
*_wrap_Window_SetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22139 PyObject
*resultobj
;
22140 wxWindow
*arg1
= (wxWindow
*) 0 ;
22143 PyObject
* obj0
= 0 ;
22144 PyObject
* obj1
= 0 ;
22145 char *kwnames
[] = {
22146 (char *) "self",(char *) "rect", NULL
22149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22154 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22158 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
22160 wxPyEndAllowThreads(__tstate
);
22161 if (PyErr_Occurred()) SWIG_fail
;
22163 Py_INCREF(Py_None
); resultobj
= Py_None
;
22170 static PyObject
*_wrap_Window_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22171 PyObject
*resultobj
;
22172 wxWindow
*arg1
= (wxWindow
*) 0 ;
22174 PyObject
* obj0
= 0 ;
22175 char *kwnames
[] = {
22176 (char *) "self", NULL
22179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
22180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22184 result
= (arg1
)->GetPosition();
22186 wxPyEndAllowThreads(__tstate
);
22187 if (PyErr_Occurred()) SWIG_fail
;
22190 wxPoint
* resultptr
;
22191 resultptr
= new wxPoint((wxPoint
&) result
);
22192 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22200 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22201 PyObject
*resultobj
;
22202 wxWindow
*arg1
= (wxWindow
*) 0 ;
22203 int *arg2
= (int *) 0 ;
22204 int *arg3
= (int *) 0 ;
22207 PyObject
* obj0
= 0 ;
22208 char *kwnames
[] = {
22209 (char *) "self", NULL
22214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
22215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22219 (arg1
)->GetPosition(arg2
,arg3
);
22221 wxPyEndAllowThreads(__tstate
);
22222 if (PyErr_Occurred()) SWIG_fail
;
22224 Py_INCREF(Py_None
); resultobj
= Py_None
;
22226 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22227 resultobj
= t_output_helper(resultobj
,o
);
22230 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22231 resultobj
= t_output_helper(resultobj
,o
);
22239 static PyObject
*_wrap_Window_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22240 PyObject
*resultobj
;
22241 wxWindow
*arg1
= (wxWindow
*) 0 ;
22243 PyObject
* obj0
= 0 ;
22244 char *kwnames
[] = {
22245 (char *) "self", NULL
22248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
22249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22253 result
= ((wxWindow
const *)arg1
)->GetSize();
22255 wxPyEndAllowThreads(__tstate
);
22256 if (PyErr_Occurred()) SWIG_fail
;
22259 wxSize
* resultptr
;
22260 resultptr
= new wxSize((wxSize
&) result
);
22261 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22269 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22270 PyObject
*resultobj
;
22271 wxWindow
*arg1
= (wxWindow
*) 0 ;
22272 int *arg2
= (int *) 0 ;
22273 int *arg3
= (int *) 0 ;
22276 PyObject
* obj0
= 0 ;
22277 char *kwnames
[] = {
22278 (char *) "self", NULL
22283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
22284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22288 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
22290 wxPyEndAllowThreads(__tstate
);
22291 if (PyErr_Occurred()) SWIG_fail
;
22293 Py_INCREF(Py_None
); resultobj
= Py_None
;
22295 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22296 resultobj
= t_output_helper(resultobj
,o
);
22299 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22300 resultobj
= t_output_helper(resultobj
,o
);
22308 static PyObject
*_wrap_Window_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22309 PyObject
*resultobj
;
22310 wxWindow
*arg1
= (wxWindow
*) 0 ;
22312 PyObject
* obj0
= 0 ;
22313 char *kwnames
[] = {
22314 (char *) "self", NULL
22317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
22318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22322 result
= ((wxWindow
const *)arg1
)->GetRect();
22324 wxPyEndAllowThreads(__tstate
);
22325 if (PyErr_Occurred()) SWIG_fail
;
22328 wxRect
* resultptr
;
22329 resultptr
= new wxRect((wxRect
&) result
);
22330 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22338 static PyObject
*_wrap_Window_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22339 PyObject
*resultobj
;
22340 wxWindow
*arg1
= (wxWindow
*) 0 ;
22342 PyObject
* obj0
= 0 ;
22343 char *kwnames
[] = {
22344 (char *) "self", NULL
22347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
22348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22352 result
= ((wxWindow
const *)arg1
)->GetClientSize();
22354 wxPyEndAllowThreads(__tstate
);
22355 if (PyErr_Occurred()) SWIG_fail
;
22358 wxSize
* resultptr
;
22359 resultptr
= new wxSize((wxSize
&) result
);
22360 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22368 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22369 PyObject
*resultobj
;
22370 wxWindow
*arg1
= (wxWindow
*) 0 ;
22371 int *arg2
= (int *) 0 ;
22372 int *arg3
= (int *) 0 ;
22375 PyObject
* obj0
= 0 ;
22376 char *kwnames
[] = {
22377 (char *) "self", NULL
22382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
22383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22387 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
22389 wxPyEndAllowThreads(__tstate
);
22390 if (PyErr_Occurred()) SWIG_fail
;
22392 Py_INCREF(Py_None
); resultobj
= Py_None
;
22394 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22395 resultobj
= t_output_helper(resultobj
,o
);
22398 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22399 resultobj
= t_output_helper(resultobj
,o
);
22407 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22408 PyObject
*resultobj
;
22409 wxWindow
*arg1
= (wxWindow
*) 0 ;
22411 PyObject
* obj0
= 0 ;
22412 char *kwnames
[] = {
22413 (char *) "self", NULL
22416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
22417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22421 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
22423 wxPyEndAllowThreads(__tstate
);
22424 if (PyErr_Occurred()) SWIG_fail
;
22427 wxPoint
* resultptr
;
22428 resultptr
= new wxPoint((wxPoint
&) result
);
22429 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22437 static PyObject
*_wrap_Window_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22438 PyObject
*resultobj
;
22439 wxWindow
*arg1
= (wxWindow
*) 0 ;
22441 PyObject
* obj0
= 0 ;
22442 char *kwnames
[] = {
22443 (char *) "self", NULL
22446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
22447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22451 result
= ((wxWindow
const *)arg1
)->GetClientRect();
22453 wxPyEndAllowThreads(__tstate
);
22454 if (PyErr_Occurred()) SWIG_fail
;
22457 wxRect
* resultptr
;
22458 resultptr
= new wxRect((wxRect
&) result
);
22459 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22467 static PyObject
*_wrap_Window_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22468 PyObject
*resultobj
;
22469 wxWindow
*arg1
= (wxWindow
*) 0 ;
22471 PyObject
* obj0
= 0 ;
22472 char *kwnames
[] = {
22473 (char *) "self", NULL
22476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
22477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22481 result
= ((wxWindow
const *)arg1
)->GetBestSize();
22483 wxPyEndAllowThreads(__tstate
);
22484 if (PyErr_Occurred()) SWIG_fail
;
22487 wxSize
* resultptr
;
22488 resultptr
= new wxSize((wxSize
&) result
);
22489 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22497 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22498 PyObject
*resultobj
;
22499 wxWindow
*arg1
= (wxWindow
*) 0 ;
22500 int *arg2
= (int *) 0 ;
22501 int *arg3
= (int *) 0 ;
22504 PyObject
* obj0
= 0 ;
22505 char *kwnames
[] = {
22506 (char *) "self", NULL
22511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
22512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22516 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
22518 wxPyEndAllowThreads(__tstate
);
22519 if (PyErr_Occurred()) SWIG_fail
;
22521 Py_INCREF(Py_None
); resultobj
= Py_None
;
22523 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22524 resultobj
= t_output_helper(resultobj
,o
);
22527 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22528 resultobj
= t_output_helper(resultobj
,o
);
22536 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22537 PyObject
*resultobj
;
22538 wxWindow
*arg1
= (wxWindow
*) 0 ;
22540 PyObject
* obj0
= 0 ;
22541 char *kwnames
[] = {
22542 (char *) "self", NULL
22545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
22546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22550 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
22552 wxPyEndAllowThreads(__tstate
);
22553 if (PyErr_Occurred()) SWIG_fail
;
22556 wxSize
* resultptr
;
22557 resultptr
= new wxSize((wxSize
&) result
);
22558 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22566 static PyObject
*_wrap_Window_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22567 PyObject
*resultobj
;
22568 wxWindow
*arg1
= (wxWindow
*) 0 ;
22569 int arg2
= (int) wxBOTH
;
22570 PyObject
* obj0
= 0 ;
22571 PyObject
* obj1
= 0 ;
22572 char *kwnames
[] = {
22573 (char *) "self",(char *) "direction", NULL
22576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
22577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22580 arg2
= (int) SWIG_AsInt(obj1
);
22581 if (PyErr_Occurred()) SWIG_fail
;
22584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22585 (arg1
)->Center(arg2
);
22587 wxPyEndAllowThreads(__tstate
);
22588 if (PyErr_Occurred()) SWIG_fail
;
22590 Py_INCREF(Py_None
); resultobj
= Py_None
;
22597 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22598 PyObject
*resultobj
;
22599 wxWindow
*arg1
= (wxWindow
*) 0 ;
22600 int arg2
= (int) wxBOTH
;
22601 PyObject
* obj0
= 0 ;
22602 PyObject
* obj1
= 0 ;
22603 char *kwnames
[] = {
22604 (char *) "self",(char *) "dir", NULL
22607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
22608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22611 arg2
= (int) SWIG_AsInt(obj1
);
22612 if (PyErr_Occurred()) SWIG_fail
;
22615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22616 (arg1
)->CenterOnScreen(arg2
);
22618 wxPyEndAllowThreads(__tstate
);
22619 if (PyErr_Occurred()) SWIG_fail
;
22621 Py_INCREF(Py_None
); resultobj
= Py_None
;
22628 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22629 PyObject
*resultobj
;
22630 wxWindow
*arg1
= (wxWindow
*) 0 ;
22631 int arg2
= (int) wxBOTH
;
22632 PyObject
* obj0
= 0 ;
22633 PyObject
* obj1
= 0 ;
22634 char *kwnames
[] = {
22635 (char *) "self",(char *) "dir", NULL
22638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
22639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22642 arg2
= (int) SWIG_AsInt(obj1
);
22643 if (PyErr_Occurred()) SWIG_fail
;
22646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22647 (arg1
)->CenterOnParent(arg2
);
22649 wxPyEndAllowThreads(__tstate
);
22650 if (PyErr_Occurred()) SWIG_fail
;
22652 Py_INCREF(Py_None
); resultobj
= Py_None
;
22659 static PyObject
*_wrap_Window_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22660 PyObject
*resultobj
;
22661 wxWindow
*arg1
= (wxWindow
*) 0 ;
22662 PyObject
* obj0
= 0 ;
22663 char *kwnames
[] = {
22664 (char *) "self", NULL
22667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
22668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22674 wxPyEndAllowThreads(__tstate
);
22675 if (PyErr_Occurred()) SWIG_fail
;
22677 Py_INCREF(Py_None
); resultobj
= Py_None
;
22684 static PyObject
*_wrap_Window_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22685 PyObject
*resultobj
;
22686 wxWindow
*arg1
= (wxWindow
*) 0 ;
22687 PyObject
* obj0
= 0 ;
22688 char *kwnames
[] = {
22689 (char *) "self", NULL
22692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
22693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22697 (arg1
)->FitInside();
22699 wxPyEndAllowThreads(__tstate
);
22700 if (PyErr_Occurred()) SWIG_fail
;
22702 Py_INCREF(Py_None
); resultobj
= Py_None
;
22709 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22710 PyObject
*resultobj
;
22711 wxWindow
*arg1
= (wxWindow
*) 0 ;
22714 int arg4
= (int) -1 ;
22715 int arg5
= (int) -1 ;
22716 int arg6
= (int) -1 ;
22717 int arg7
= (int) -1 ;
22718 PyObject
* obj0
= 0 ;
22719 PyObject
* obj1
= 0 ;
22720 PyObject
* obj2
= 0 ;
22721 PyObject
* obj3
= 0 ;
22722 PyObject
* obj4
= 0 ;
22723 PyObject
* obj5
= 0 ;
22724 PyObject
* obj6
= 0 ;
22725 char *kwnames
[] = {
22726 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
22729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) 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 arg4
= (int) SWIG_AsInt(obj3
);
22738 if (PyErr_Occurred()) SWIG_fail
;
22741 arg5
= (int) SWIG_AsInt(obj4
);
22742 if (PyErr_Occurred()) SWIG_fail
;
22745 arg6
= (int) SWIG_AsInt(obj5
);
22746 if (PyErr_Occurred()) SWIG_fail
;
22749 arg7
= (int) SWIG_AsInt(obj6
);
22750 if (PyErr_Occurred()) SWIG_fail
;
22753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22754 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22756 wxPyEndAllowThreads(__tstate
);
22757 if (PyErr_Occurred()) SWIG_fail
;
22759 Py_INCREF(Py_None
); resultobj
= Py_None
;
22766 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22767 PyObject
*resultobj
;
22768 wxWindow
*arg1
= (wxWindow
*) 0 ;
22771 int arg4
= (int) -1 ;
22772 int arg5
= (int) -1 ;
22773 PyObject
* obj0
= 0 ;
22774 PyObject
* obj1
= 0 ;
22775 PyObject
* obj2
= 0 ;
22776 PyObject
* obj3
= 0 ;
22777 PyObject
* obj4
= 0 ;
22778 char *kwnames
[] = {
22779 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
22782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22785 arg2
= (int) SWIG_AsInt(obj1
);
22786 if (PyErr_Occurred()) SWIG_fail
;
22787 arg3
= (int) SWIG_AsInt(obj2
);
22788 if (PyErr_Occurred()) SWIG_fail
;
22790 arg4
= (int) SWIG_AsInt(obj3
);
22791 if (PyErr_Occurred()) SWIG_fail
;
22794 arg5
= (int) SWIG_AsInt(obj4
);
22795 if (PyErr_Occurred()) SWIG_fail
;
22798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22799 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
22801 wxPyEndAllowThreads(__tstate
);
22802 if (PyErr_Occurred()) SWIG_fail
;
22804 Py_INCREF(Py_None
); resultobj
= Py_None
;
22811 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22812 PyObject
*resultobj
;
22813 wxWindow
*arg1
= (wxWindow
*) 0 ;
22815 PyObject
* obj0
= 0 ;
22816 char *kwnames
[] = {
22817 (char *) "self", NULL
22820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
22821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22825 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
22827 wxPyEndAllowThreads(__tstate
);
22828 if (PyErr_Occurred()) SWIG_fail
;
22830 resultobj
= SWIG_FromInt((int)result
);
22837 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22838 PyObject
*resultobj
;
22839 wxWindow
*arg1
= (wxWindow
*) 0 ;
22841 PyObject
* obj0
= 0 ;
22842 char *kwnames
[] = {
22843 (char *) "self", NULL
22846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
22847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22851 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
22853 wxPyEndAllowThreads(__tstate
);
22854 if (PyErr_Occurred()) SWIG_fail
;
22856 resultobj
= SWIG_FromInt((int)result
);
22863 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22864 PyObject
*resultobj
;
22865 wxWindow
*arg1
= (wxWindow
*) 0 ;
22867 PyObject
* obj0
= 0 ;
22868 char *kwnames
[] = {
22869 (char *) "self", NULL
22872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
22873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22877 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
22879 wxPyEndAllowThreads(__tstate
);
22880 if (PyErr_Occurred()) SWIG_fail
;
22882 resultobj
= SWIG_FromInt((int)result
);
22889 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22890 PyObject
*resultobj
;
22891 wxWindow
*arg1
= (wxWindow
*) 0 ;
22893 PyObject
* obj0
= 0 ;
22894 char *kwnames
[] = {
22895 (char *) "self", NULL
22898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
22899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22903 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
22905 wxPyEndAllowThreads(__tstate
);
22906 if (PyErr_Occurred()) SWIG_fail
;
22908 resultobj
= SWIG_FromInt((int)result
);
22915 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22916 PyObject
*resultobj
;
22917 wxWindow
*arg1
= (wxWindow
*) 0 ;
22919 PyObject
* obj0
= 0 ;
22920 char *kwnames
[] = {
22921 (char *) "self", NULL
22924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
22925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22929 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
22931 wxPyEndAllowThreads(__tstate
);
22932 if (PyErr_Occurred()) SWIG_fail
;
22935 wxSize
* resultptr
;
22936 resultptr
= new wxSize((wxSize
&) result
);
22937 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22945 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22946 PyObject
*resultobj
;
22947 wxWindow
*arg1
= (wxWindow
*) 0 ;
22950 PyObject
* obj0
= 0 ;
22951 PyObject
* obj1
= 0 ;
22952 char *kwnames
[] = {
22953 (char *) "self",(char *) "size", NULL
22956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22961 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22965 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
22967 wxPyEndAllowThreads(__tstate
);
22968 if (PyErr_Occurred()) SWIG_fail
;
22970 Py_INCREF(Py_None
); resultobj
= Py_None
;
22977 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22978 PyObject
*resultobj
;
22979 wxWindow
*arg1
= (wxWindow
*) 0 ;
22982 PyObject
* obj0
= 0 ;
22983 PyObject
* obj1
= 0 ;
22984 PyObject
* obj2
= 0 ;
22985 char *kwnames
[] = {
22986 (char *) "self",(char *) "w",(char *) "h", NULL
22989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22992 arg2
= (int) SWIG_AsInt(obj1
);
22993 if (PyErr_Occurred()) SWIG_fail
;
22994 arg3
= (int) SWIG_AsInt(obj2
);
22995 if (PyErr_Occurred()) SWIG_fail
;
22997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22998 (arg1
)->SetVirtualSize(arg2
,arg3
);
23000 wxPyEndAllowThreads(__tstate
);
23001 if (PyErr_Occurred()) SWIG_fail
;
23003 Py_INCREF(Py_None
); resultobj
= Py_None
;
23010 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23011 PyObject
*resultobj
;
23012 wxWindow
*arg1
= (wxWindow
*) 0 ;
23014 PyObject
* obj0
= 0 ;
23015 char *kwnames
[] = {
23016 (char *) "self", NULL
23019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
23020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23024 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
23026 wxPyEndAllowThreads(__tstate
);
23027 if (PyErr_Occurred()) SWIG_fail
;
23030 wxSize
* resultptr
;
23031 resultptr
= new wxSize((wxSize
&) result
);
23032 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23040 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23041 PyObject
*resultobj
;
23042 wxWindow
*arg1
= (wxWindow
*) 0 ;
23043 int *arg2
= (int *) 0 ;
23044 int *arg3
= (int *) 0 ;
23047 PyObject
* obj0
= 0 ;
23048 char *kwnames
[] = {
23049 (char *) "self", NULL
23054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
23055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23059 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
23061 wxPyEndAllowThreads(__tstate
);
23062 if (PyErr_Occurred()) SWIG_fail
;
23064 Py_INCREF(Py_None
); resultobj
= Py_None
;
23066 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
23067 resultobj
= t_output_helper(resultobj
,o
);
23070 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23071 resultobj
= t_output_helper(resultobj
,o
);
23079 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23080 PyObject
*resultobj
;
23081 wxWindow
*arg1
= (wxWindow
*) 0 ;
23083 PyObject
* obj0
= 0 ;
23084 char *kwnames
[] = {
23085 (char *) "self", NULL
23088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
23089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23093 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
23095 wxPyEndAllowThreads(__tstate
);
23096 if (PyErr_Occurred()) SWIG_fail
;
23099 wxSize
* resultptr
;
23100 resultptr
= new wxSize((wxSize
&) result
);
23101 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23109 static PyObject
*_wrap_Window_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23110 PyObject
*resultobj
;
23111 wxWindow
*arg1
= (wxWindow
*) 0 ;
23112 bool arg2
= (bool) True
;
23114 PyObject
* obj0
= 0 ;
23115 PyObject
* obj1
= 0 ;
23116 char *kwnames
[] = {
23117 (char *) "self",(char *) "show", NULL
23120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
23121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23124 arg2
= (bool) SWIG_AsBool(obj1
);
23125 if (PyErr_Occurred()) SWIG_fail
;
23128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23129 result
= (bool)(arg1
)->Show(arg2
);
23131 wxPyEndAllowThreads(__tstate
);
23132 if (PyErr_Occurred()) SWIG_fail
;
23135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23143 static PyObject
*_wrap_Window_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23144 PyObject
*resultobj
;
23145 wxWindow
*arg1
= (wxWindow
*) 0 ;
23147 PyObject
* obj0
= 0 ;
23148 char *kwnames
[] = {
23149 (char *) "self", NULL
23152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
23153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23157 result
= (bool)(arg1
)->Hide();
23159 wxPyEndAllowThreads(__tstate
);
23160 if (PyErr_Occurred()) SWIG_fail
;
23163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23171 static PyObject
*_wrap_Window_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23172 PyObject
*resultobj
;
23173 wxWindow
*arg1
= (wxWindow
*) 0 ;
23174 bool arg2
= (bool) True
;
23176 PyObject
* obj0
= 0 ;
23177 PyObject
* obj1
= 0 ;
23178 char *kwnames
[] = {
23179 (char *) "self",(char *) "enable", NULL
23182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
23183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23186 arg2
= (bool) SWIG_AsBool(obj1
);
23187 if (PyErr_Occurred()) SWIG_fail
;
23190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23191 result
= (bool)(arg1
)->Enable(arg2
);
23193 wxPyEndAllowThreads(__tstate
);
23194 if (PyErr_Occurred()) SWIG_fail
;
23197 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23205 static PyObject
*_wrap_Window_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23206 PyObject
*resultobj
;
23207 wxWindow
*arg1
= (wxWindow
*) 0 ;
23209 PyObject
* obj0
= 0 ;
23210 char *kwnames
[] = {
23211 (char *) "self", NULL
23214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
23215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23219 result
= (bool)(arg1
)->Disable();
23221 wxPyEndAllowThreads(__tstate
);
23222 if (PyErr_Occurred()) SWIG_fail
;
23225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23233 static PyObject
*_wrap_Window_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23234 PyObject
*resultobj
;
23235 wxWindow
*arg1
= (wxWindow
*) 0 ;
23237 PyObject
* obj0
= 0 ;
23238 char *kwnames
[] = {
23239 (char *) "self", NULL
23242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
23243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23247 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
23249 wxPyEndAllowThreads(__tstate
);
23250 if (PyErr_Occurred()) SWIG_fail
;
23253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23261 static PyObject
*_wrap_Window_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23262 PyObject
*resultobj
;
23263 wxWindow
*arg1
= (wxWindow
*) 0 ;
23265 PyObject
* obj0
= 0 ;
23266 char *kwnames
[] = {
23267 (char *) "self", NULL
23270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
23271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23275 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
23277 wxPyEndAllowThreads(__tstate
);
23278 if (PyErr_Occurred()) SWIG_fail
;
23281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23289 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23290 PyObject
*resultobj
;
23291 wxWindow
*arg1
= (wxWindow
*) 0 ;
23293 PyObject
* obj0
= 0 ;
23294 PyObject
* obj1
= 0 ;
23295 char *kwnames
[] = {
23296 (char *) "self",(char *) "style", NULL
23299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23302 arg2
= (long) SWIG_AsLong(obj1
);
23303 if (PyErr_Occurred()) SWIG_fail
;
23305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23306 (arg1
)->SetWindowStyleFlag(arg2
);
23308 wxPyEndAllowThreads(__tstate
);
23309 if (PyErr_Occurred()) SWIG_fail
;
23311 Py_INCREF(Py_None
); resultobj
= Py_None
;
23318 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23319 PyObject
*resultobj
;
23320 wxWindow
*arg1
= (wxWindow
*) 0 ;
23322 PyObject
* obj0
= 0 ;
23323 char *kwnames
[] = {
23324 (char *) "self", NULL
23327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
23328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23332 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
23334 wxPyEndAllowThreads(__tstate
);
23335 if (PyErr_Occurred()) SWIG_fail
;
23337 resultobj
= SWIG_FromLong((long)result
);
23344 static PyObject
*_wrap_Window_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23345 PyObject
*resultobj
;
23346 wxWindow
*arg1
= (wxWindow
*) 0 ;
23349 PyObject
* obj0
= 0 ;
23350 PyObject
* obj1
= 0 ;
23351 char *kwnames
[] = {
23352 (char *) "self",(char *) "flag", NULL
23355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23358 arg2
= (int) SWIG_AsInt(obj1
);
23359 if (PyErr_Occurred()) SWIG_fail
;
23361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23362 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
23364 wxPyEndAllowThreads(__tstate
);
23365 if (PyErr_Occurred()) SWIG_fail
;
23368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23376 static PyObject
*_wrap_Window_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23377 PyObject
*resultobj
;
23378 wxWindow
*arg1
= (wxWindow
*) 0 ;
23380 PyObject
* obj0
= 0 ;
23381 char *kwnames
[] = {
23382 (char *) "self", NULL
23385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
23386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23390 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
23392 wxPyEndAllowThreads(__tstate
);
23393 if (PyErr_Occurred()) SWIG_fail
;
23396 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23404 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23405 PyObject
*resultobj
;
23406 wxWindow
*arg1
= (wxWindow
*) 0 ;
23408 PyObject
* obj0
= 0 ;
23409 PyObject
* obj1
= 0 ;
23410 char *kwnames
[] = {
23411 (char *) "self",(char *) "exStyle", NULL
23414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
23415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23417 arg2
= (long) SWIG_AsLong(obj1
);
23418 if (PyErr_Occurred()) SWIG_fail
;
23420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23421 (arg1
)->SetExtraStyle(arg2
);
23423 wxPyEndAllowThreads(__tstate
);
23424 if (PyErr_Occurred()) SWIG_fail
;
23426 Py_INCREF(Py_None
); resultobj
= Py_None
;
23433 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23434 PyObject
*resultobj
;
23435 wxWindow
*arg1
= (wxWindow
*) 0 ;
23437 PyObject
* obj0
= 0 ;
23438 char *kwnames
[] = {
23439 (char *) "self", NULL
23442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
23443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23447 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
23449 wxPyEndAllowThreads(__tstate
);
23450 if (PyErr_Occurred()) SWIG_fail
;
23452 resultobj
= SWIG_FromLong((long)result
);
23459 static PyObject
*_wrap_Window_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23460 PyObject
*resultobj
;
23461 wxWindow
*arg1
= (wxWindow
*) 0 ;
23462 bool arg2
= (bool) True
;
23463 PyObject
* obj0
= 0 ;
23464 PyObject
* obj1
= 0 ;
23465 char *kwnames
[] = {
23466 (char *) "self",(char *) "modal", NULL
23469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
23470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23473 arg2
= (bool) SWIG_AsBool(obj1
);
23474 if (PyErr_Occurred()) SWIG_fail
;
23477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23478 (arg1
)->MakeModal(arg2
);
23480 wxPyEndAllowThreads(__tstate
);
23481 if (PyErr_Occurred()) SWIG_fail
;
23483 Py_INCREF(Py_None
); resultobj
= Py_None
;
23490 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23491 PyObject
*resultobj
;
23492 wxWindow
*arg1
= (wxWindow
*) 0 ;
23494 PyObject
* obj0
= 0 ;
23495 PyObject
* obj1
= 0 ;
23496 char *kwnames
[] = {
23497 (char *) "self",(char *) "enableTheme", NULL
23500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
23501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23503 arg2
= (bool) SWIG_AsBool(obj1
);
23504 if (PyErr_Occurred()) SWIG_fail
;
23506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23507 (arg1
)->SetThemeEnabled(arg2
);
23509 wxPyEndAllowThreads(__tstate
);
23510 if (PyErr_Occurred()) SWIG_fail
;
23512 Py_INCREF(Py_None
); resultobj
= Py_None
;
23519 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23520 PyObject
*resultobj
;
23521 wxWindow
*arg1
= (wxWindow
*) 0 ;
23523 PyObject
* obj0
= 0 ;
23524 char *kwnames
[] = {
23525 (char *) "self", NULL
23528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
23529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23533 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
23535 wxPyEndAllowThreads(__tstate
);
23536 if (PyErr_Occurred()) SWIG_fail
;
23539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23547 static PyObject
*_wrap_Window_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23548 PyObject
*resultobj
;
23549 wxWindow
*arg1
= (wxWindow
*) 0 ;
23550 PyObject
* obj0
= 0 ;
23551 char *kwnames
[] = {
23552 (char *) "self", NULL
23555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
23556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23560 (arg1
)->SetFocus();
23562 wxPyEndAllowThreads(__tstate
);
23563 if (PyErr_Occurred()) SWIG_fail
;
23565 Py_INCREF(Py_None
); resultobj
= Py_None
;
23572 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23573 PyObject
*resultobj
;
23574 wxWindow
*arg1
= (wxWindow
*) 0 ;
23575 PyObject
* obj0
= 0 ;
23576 char *kwnames
[] = {
23577 (char *) "self", NULL
23580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
23581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23585 (arg1
)->SetFocusFromKbd();
23587 wxPyEndAllowThreads(__tstate
);
23588 if (PyErr_Occurred()) SWIG_fail
;
23590 Py_INCREF(Py_None
); resultobj
= Py_None
;
23597 static PyObject
*_wrap_Window_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23598 PyObject
*resultobj
;
23600 char *kwnames
[] = {
23604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
23606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23607 result
= (wxWindow
*)wxWindow::FindFocus();
23609 wxPyEndAllowThreads(__tstate
);
23610 if (PyErr_Occurred()) SWIG_fail
;
23613 resultobj
= wxPyMake_wxObject(result
);
23621 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23622 PyObject
*resultobj
;
23623 wxWindow
*arg1
= (wxWindow
*) 0 ;
23625 PyObject
* obj0
= 0 ;
23626 char *kwnames
[] = {
23627 (char *) "self", NULL
23630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
23631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23635 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
23637 wxPyEndAllowThreads(__tstate
);
23638 if (PyErr_Occurred()) SWIG_fail
;
23641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23649 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23650 PyObject
*resultobj
;
23651 wxWindow
*arg1
= (wxWindow
*) 0 ;
23653 PyObject
* obj0
= 0 ;
23654 char *kwnames
[] = {
23655 (char *) "self", NULL
23658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
23659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23663 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
23665 wxPyEndAllowThreads(__tstate
);
23666 if (PyErr_Occurred()) SWIG_fail
;
23669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23677 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23678 PyObject
*resultobj
;
23679 wxWindow
*arg1
= (wxWindow
*) 0 ;
23681 PyObject
* obj0
= 0 ;
23682 char *kwnames
[] = {
23683 (char *) "self", NULL
23686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
23687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23691 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
23693 wxPyEndAllowThreads(__tstate
);
23694 if (PyErr_Occurred()) SWIG_fail
;
23697 resultobj
= wxPyMake_wxObject(result
);
23705 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23706 PyObject
*resultobj
;
23707 wxWindow
*arg1
= (wxWindow
*) 0 ;
23708 wxWindow
*arg2
= (wxWindow
*) 0 ;
23710 PyObject
* obj0
= 0 ;
23711 PyObject
* obj1
= 0 ;
23712 char *kwnames
[] = {
23713 (char *) "self",(char *) "child", NULL
23716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23719 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23723 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
23725 wxPyEndAllowThreads(__tstate
);
23726 if (PyErr_Occurred()) SWIG_fail
;
23729 resultobj
= wxPyMake_wxObject(result
);
23737 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23738 PyObject
*resultobj
;
23739 wxWindow
*arg1
= (wxWindow
*) 0 ;
23740 wxWindow
*arg2
= (wxWindow
*) 0 ;
23741 PyObject
* obj0
= 0 ;
23742 PyObject
* obj1
= 0 ;
23743 char *kwnames
[] = {
23744 (char *) "self",(char *) "win", NULL
23747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23750 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23754 (arg1
)->SetTmpDefaultItem(arg2
);
23756 wxPyEndAllowThreads(__tstate
);
23757 if (PyErr_Occurred()) SWIG_fail
;
23759 Py_INCREF(Py_None
); resultobj
= Py_None
;
23766 static PyObject
*_wrap_Window_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23767 PyObject
*resultobj
;
23768 wxWindow
*arg1
= (wxWindow
*) 0 ;
23770 PyObject
* obj0
= 0 ;
23771 char *kwnames
[] = {
23772 (char *) "self", NULL
23775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
23776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23780 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
23782 wxPyEndAllowThreads(__tstate
);
23783 if (PyErr_Occurred()) SWIG_fail
;
23785 resultobj
= result
;
23792 static PyObject
*_wrap_Window_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23793 PyObject
*resultobj
;
23794 wxWindow
*arg1
= (wxWindow
*) 0 ;
23796 PyObject
* obj0
= 0 ;
23797 char *kwnames
[] = {
23798 (char *) "self", NULL
23801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
23802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23806 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
23808 wxPyEndAllowThreads(__tstate
);
23809 if (PyErr_Occurred()) SWIG_fail
;
23812 resultobj
= wxPyMake_wxObject(result
);
23820 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23821 PyObject
*resultobj
;
23822 wxWindow
*arg1
= (wxWindow
*) 0 ;
23824 PyObject
* obj0
= 0 ;
23825 char *kwnames
[] = {
23826 (char *) "self", NULL
23829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
23830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23834 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
23836 wxPyEndAllowThreads(__tstate
);
23837 if (PyErr_Occurred()) SWIG_fail
;
23840 resultobj
= wxPyMake_wxObject(result
);
23848 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23849 PyObject
*resultobj
;
23850 wxWindow
*arg1
= (wxWindow
*) 0 ;
23852 PyObject
* obj0
= 0 ;
23853 char *kwnames
[] = {
23854 (char *) "self", NULL
23857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
23858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23862 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
23864 wxPyEndAllowThreads(__tstate
);
23865 if (PyErr_Occurred()) SWIG_fail
;
23868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23876 static PyObject
*_wrap_Window_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23877 PyObject
*resultobj
;
23878 wxWindow
*arg1
= (wxWindow
*) 0 ;
23879 wxWindow
*arg2
= (wxWindow
*) 0 ;
23881 PyObject
* obj0
= 0 ;
23882 PyObject
* obj1
= 0 ;
23883 char *kwnames
[] = {
23884 (char *) "self",(char *) "newParent", NULL
23887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",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_wxWindow
,
23891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23894 result
= (bool)(arg1
)->Reparent(arg2
);
23896 wxPyEndAllowThreads(__tstate
);
23897 if (PyErr_Occurred()) SWIG_fail
;
23900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23908 static PyObject
*_wrap_Window_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23909 PyObject
*resultobj
;
23910 wxWindow
*arg1
= (wxWindow
*) 0 ;
23911 wxWindow
*arg2
= (wxWindow
*) 0 ;
23912 PyObject
* obj0
= 0 ;
23913 PyObject
* obj1
= 0 ;
23914 char *kwnames
[] = {
23915 (char *) "self",(char *) "child", NULL
23918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
23919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23921 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23925 (arg1
)->AddChild(arg2
);
23927 wxPyEndAllowThreads(__tstate
);
23928 if (PyErr_Occurred()) SWIG_fail
;
23930 Py_INCREF(Py_None
); resultobj
= Py_None
;
23937 static PyObject
*_wrap_Window_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23938 PyObject
*resultobj
;
23939 wxWindow
*arg1
= (wxWindow
*) 0 ;
23940 wxWindow
*arg2
= (wxWindow
*) 0 ;
23941 PyObject
* obj0
= 0 ;
23942 PyObject
* obj1
= 0 ;
23943 char *kwnames
[] = {
23944 (char *) "self",(char *) "child", NULL
23947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
23948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23950 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23954 (arg1
)->RemoveChild(arg2
);
23956 wxPyEndAllowThreads(__tstate
);
23957 if (PyErr_Occurred()) SWIG_fail
;
23959 Py_INCREF(Py_None
); resultobj
= Py_None
;
23966 static PyObject
*_wrap_Window_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23967 PyObject
*resultobj
;
23968 wxWindow
*arg1
= (wxWindow
*) 0 ;
23971 PyObject
* obj0
= 0 ;
23972 PyObject
* obj1
= 0 ;
23973 char *kwnames
[] = {
23974 (char *) "self",(char *) "winid", NULL
23977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
23978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23980 arg2
= (long) SWIG_AsLong(obj1
);
23981 if (PyErr_Occurred()) SWIG_fail
;
23983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23984 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
23986 wxPyEndAllowThreads(__tstate
);
23987 if (PyErr_Occurred()) SWIG_fail
;
23990 resultobj
= wxPyMake_wxObject(result
);
23998 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23999 PyObject
*resultobj
;
24000 wxWindow
*arg1
= (wxWindow
*) 0 ;
24001 wxString
*arg2
= 0 ;
24003 bool temp2
= False
;
24004 PyObject
* obj0
= 0 ;
24005 PyObject
* obj1
= 0 ;
24006 char *kwnames
[] = {
24007 (char *) "self",(char *) "name", NULL
24010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
24011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24014 arg2
= wxString_in_helper(obj1
);
24015 if (arg2
== NULL
) SWIG_fail
;
24019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24020 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
24022 wxPyEndAllowThreads(__tstate
);
24023 if (PyErr_Occurred()) SWIG_fail
;
24026 resultobj
= wxPyMake_wxObject(result
);
24042 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24043 PyObject
*resultobj
;
24044 wxWindow
*arg1
= (wxWindow
*) 0 ;
24045 wxEvtHandler
*result
;
24046 PyObject
* obj0
= 0 ;
24047 char *kwnames
[] = {
24048 (char *) "self", NULL
24051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
24052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24056 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
24058 wxPyEndAllowThreads(__tstate
);
24059 if (PyErr_Occurred()) SWIG_fail
;
24062 resultobj
= wxPyMake_wxObject(result
);
24070 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24071 PyObject
*resultobj
;
24072 wxWindow
*arg1
= (wxWindow
*) 0 ;
24073 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24074 PyObject
* obj0
= 0 ;
24075 PyObject
* obj1
= 0 ;
24076 char *kwnames
[] = {
24077 (char *) "self",(char *) "handler", NULL
24080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24083 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24087 (arg1
)->SetEventHandler(arg2
);
24089 wxPyEndAllowThreads(__tstate
);
24090 if (PyErr_Occurred()) SWIG_fail
;
24092 Py_INCREF(Py_None
); resultobj
= Py_None
;
24099 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24100 PyObject
*resultobj
;
24101 wxWindow
*arg1
= (wxWindow
*) 0 ;
24102 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24103 PyObject
* obj0
= 0 ;
24104 PyObject
* obj1
= 0 ;
24105 char *kwnames
[] = {
24106 (char *) "self",(char *) "handler", NULL
24109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24112 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24116 (arg1
)->PushEventHandler(arg2
);
24118 wxPyEndAllowThreads(__tstate
);
24119 if (PyErr_Occurred()) SWIG_fail
;
24121 Py_INCREF(Py_None
); resultobj
= Py_None
;
24128 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24129 PyObject
*resultobj
;
24130 wxWindow
*arg1
= (wxWindow
*) 0 ;
24131 bool arg2
= (bool) False
;
24132 wxEvtHandler
*result
;
24133 PyObject
* obj0
= 0 ;
24134 PyObject
* obj1
= 0 ;
24135 char *kwnames
[] = {
24136 (char *) "self",(char *) "deleteHandler", NULL
24139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24143 arg2
= (bool) SWIG_AsBool(obj1
);
24144 if (PyErr_Occurred()) SWIG_fail
;
24147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24148 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
24150 wxPyEndAllowThreads(__tstate
);
24151 if (PyErr_Occurred()) SWIG_fail
;
24154 resultobj
= wxPyMake_wxObject(result
);
24162 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24163 PyObject
*resultobj
;
24164 wxWindow
*arg1
= (wxWindow
*) 0 ;
24165 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24167 PyObject
* obj0
= 0 ;
24168 PyObject
* obj1
= 0 ;
24169 char *kwnames
[] = {
24170 (char *) "self",(char *) "handler", NULL
24173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24176 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24180 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
24182 wxPyEndAllowThreads(__tstate
);
24183 if (PyErr_Occurred()) SWIG_fail
;
24186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24194 static PyObject
*_wrap_Window_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24195 PyObject
*resultobj
;
24196 wxWindow
*arg1
= (wxWindow
*) 0 ;
24197 wxValidator
*arg2
= 0 ;
24198 PyObject
* obj0
= 0 ;
24199 PyObject
* obj1
= 0 ;
24200 char *kwnames
[] = {
24201 (char *) "self",(char *) "validator", NULL
24204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
24205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24207 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
24208 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24210 if (arg2
== NULL
) {
24211 PyErr_SetString(PyExc_TypeError
,"null reference");
24215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24216 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
24218 wxPyEndAllowThreads(__tstate
);
24219 if (PyErr_Occurred()) SWIG_fail
;
24221 Py_INCREF(Py_None
); resultobj
= Py_None
;
24228 static PyObject
*_wrap_Window_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24229 PyObject
*resultobj
;
24230 wxWindow
*arg1
= (wxWindow
*) 0 ;
24231 wxValidator
*result
;
24232 PyObject
* obj0
= 0 ;
24233 char *kwnames
[] = {
24234 (char *) "self", NULL
24237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
24238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24242 result
= (wxValidator
*)(arg1
)->GetValidator();
24244 wxPyEndAllowThreads(__tstate
);
24245 if (PyErr_Occurred()) SWIG_fail
;
24248 resultobj
= wxPyMake_wxObject(result
);
24256 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24257 PyObject
*resultobj
;
24258 wxWindow
*arg1
= (wxWindow
*) 0 ;
24259 wxAcceleratorTable
*arg2
= 0 ;
24260 PyObject
* obj0
= 0 ;
24261 PyObject
* obj1
= 0 ;
24262 char *kwnames
[] = {
24263 (char *) "self",(char *) "accel", NULL
24266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
24267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24269 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
24270 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24272 if (arg2
== NULL
) {
24273 PyErr_SetString(PyExc_TypeError
,"null reference");
24277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24278 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
24280 wxPyEndAllowThreads(__tstate
);
24281 if (PyErr_Occurred()) SWIG_fail
;
24283 Py_INCREF(Py_None
); resultobj
= Py_None
;
24290 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24291 PyObject
*resultobj
;
24292 wxWindow
*arg1
= (wxWindow
*) 0 ;
24293 wxAcceleratorTable
*result
;
24294 PyObject
* obj0
= 0 ;
24295 char *kwnames
[] = {
24296 (char *) "self", NULL
24299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
24300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24304 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
24306 wxPyEndAllowThreads(__tstate
);
24307 if (PyErr_Occurred()) SWIG_fail
;
24309 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
24316 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24317 PyObject
*resultobj
;
24318 wxWindow
*arg1
= (wxWindow
*) 0 ;
24323 PyObject
* obj0
= 0 ;
24324 PyObject
* obj1
= 0 ;
24325 PyObject
* obj2
= 0 ;
24326 PyObject
* obj3
= 0 ;
24327 char *kwnames
[] = {
24328 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
24331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24334 arg2
= (int) SWIG_AsInt(obj1
);
24335 if (PyErr_Occurred()) SWIG_fail
;
24336 arg3
= (int) SWIG_AsInt(obj2
);
24337 if (PyErr_Occurred()) SWIG_fail
;
24338 arg4
= (int) SWIG_AsInt(obj3
);
24339 if (PyErr_Occurred()) SWIG_fail
;
24341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24342 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
24344 wxPyEndAllowThreads(__tstate
);
24345 if (PyErr_Occurred()) SWIG_fail
;
24348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24356 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24357 PyObject
*resultobj
;
24358 wxWindow
*arg1
= (wxWindow
*) 0 ;
24361 PyObject
* obj0
= 0 ;
24362 PyObject
* obj1
= 0 ;
24363 char *kwnames
[] = {
24364 (char *) "self",(char *) "hotkeyId", NULL
24367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
24368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24370 arg2
= (int) SWIG_AsInt(obj1
);
24371 if (PyErr_Occurred()) SWIG_fail
;
24373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24374 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
24376 wxPyEndAllowThreads(__tstate
);
24377 if (PyErr_Occurred()) SWIG_fail
;
24380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24388 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24389 PyObject
*resultobj
;
24390 wxWindow
*arg1
= (wxWindow
*) 0 ;
24391 wxPoint
*arg2
= 0 ;
24394 PyObject
* obj0
= 0 ;
24395 PyObject
* obj1
= 0 ;
24396 char *kwnames
[] = {
24397 (char *) "self",(char *) "pt", NULL
24400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
24401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24405 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24409 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
24411 wxPyEndAllowThreads(__tstate
);
24412 if (PyErr_Occurred()) SWIG_fail
;
24415 wxPoint
* resultptr
;
24416 resultptr
= new wxPoint((wxPoint
&) result
);
24417 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24425 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24426 PyObject
*resultobj
;
24427 wxWindow
*arg1
= (wxWindow
*) 0 ;
24431 PyObject
* obj0
= 0 ;
24432 PyObject
* obj1
= 0 ;
24433 char *kwnames
[] = {
24434 (char *) "self",(char *) "sz", NULL
24437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
24438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24442 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24446 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
24448 wxPyEndAllowThreads(__tstate
);
24449 if (PyErr_Occurred()) SWIG_fail
;
24452 wxSize
* resultptr
;
24453 resultptr
= new wxSize((wxSize
&) result
);
24454 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24462 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24463 PyObject
*resultobj
;
24464 wxWindow
*arg1
= (wxWindow
*) 0 ;
24465 wxPoint
*arg2
= 0 ;
24468 PyObject
* obj0
= 0 ;
24469 PyObject
* obj1
= 0 ;
24470 char *kwnames
[] = {
24471 (char *) "self",(char *) "pt", NULL
24474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
24475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24479 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24483 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
24485 wxPyEndAllowThreads(__tstate
);
24486 if (PyErr_Occurred()) SWIG_fail
;
24489 wxPoint
* resultptr
;
24490 resultptr
= new wxPoint((wxPoint
&) result
);
24491 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24499 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24500 PyObject
*resultobj
;
24501 wxWindow
*arg1
= (wxWindow
*) 0 ;
24505 PyObject
* obj0
= 0 ;
24506 PyObject
* obj1
= 0 ;
24507 char *kwnames
[] = {
24508 (char *) "self",(char *) "sz", NULL
24511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
24512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24516 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24520 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
24522 wxPyEndAllowThreads(__tstate
);
24523 if (PyErr_Occurred()) SWIG_fail
;
24526 wxSize
* resultptr
;
24527 resultptr
= new wxSize((wxSize
&) result
);
24528 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24536 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24537 PyObject
*resultobj
;
24538 wxWindow
*arg1
= (wxWindow
*) 0 ;
24539 wxPoint
*arg2
= 0 ;
24542 PyObject
* obj0
= 0 ;
24543 PyObject
* obj1
= 0 ;
24544 char *kwnames
[] = {
24545 (char *) "self",(char *) "pt", NULL
24548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24553 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24557 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
24559 wxPyEndAllowThreads(__tstate
);
24560 if (PyErr_Occurred()) SWIG_fail
;
24563 wxPoint
* resultptr
;
24564 resultptr
= new wxPoint((wxPoint
&) result
);
24565 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24573 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24574 PyObject
*resultobj
;
24575 wxWindow
*arg1
= (wxWindow
*) 0 ;
24579 PyObject
* obj0
= 0 ;
24580 PyObject
* obj1
= 0 ;
24581 char *kwnames
[] = {
24582 (char *) "self",(char *) "sz", NULL
24585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24590 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24594 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
24596 wxPyEndAllowThreads(__tstate
);
24597 if (PyErr_Occurred()) SWIG_fail
;
24600 wxSize
* resultptr
;
24601 resultptr
= new wxSize((wxSize
&) result
);
24602 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24610 static PyObject
*_wrap_Window_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24611 PyObject
*resultobj
;
24612 wxWindow
*arg1
= (wxWindow
*) 0 ;
24615 PyObject
* obj0
= 0 ;
24616 PyObject
* obj1
= 0 ;
24617 PyObject
* obj2
= 0 ;
24618 char *kwnames
[] = {
24619 (char *) "self",(char *) "x",(char *) "y", NULL
24622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24625 arg2
= (int) SWIG_AsInt(obj1
);
24626 if (PyErr_Occurred()) SWIG_fail
;
24627 arg3
= (int) SWIG_AsInt(obj2
);
24628 if (PyErr_Occurred()) SWIG_fail
;
24630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24631 (arg1
)->WarpPointer(arg2
,arg3
);
24633 wxPyEndAllowThreads(__tstate
);
24634 if (PyErr_Occurred()) SWIG_fail
;
24636 Py_INCREF(Py_None
); resultobj
= Py_None
;
24643 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24644 PyObject
*resultobj
;
24645 wxWindow
*arg1
= (wxWindow
*) 0 ;
24646 PyObject
* obj0
= 0 ;
24647 char *kwnames
[] = {
24648 (char *) "self", NULL
24651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
24652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24656 (arg1
)->CaptureMouse();
24658 wxPyEndAllowThreads(__tstate
);
24659 if (PyErr_Occurred()) SWIG_fail
;
24661 Py_INCREF(Py_None
); resultobj
= Py_None
;
24668 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24669 PyObject
*resultobj
;
24670 wxWindow
*arg1
= (wxWindow
*) 0 ;
24671 PyObject
* obj0
= 0 ;
24672 char *kwnames
[] = {
24673 (char *) "self", NULL
24676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
24677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24681 (arg1
)->ReleaseMouse();
24683 wxPyEndAllowThreads(__tstate
);
24684 if (PyErr_Occurred()) SWIG_fail
;
24686 Py_INCREF(Py_None
); resultobj
= Py_None
;
24693 static PyObject
*_wrap_Window_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24694 PyObject
*resultobj
;
24696 char *kwnames
[] = {
24700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
24702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24703 result
= (wxWindow
*)wxWindow::GetCapture();
24705 wxPyEndAllowThreads(__tstate
);
24706 if (PyErr_Occurred()) SWIG_fail
;
24709 resultobj
= wxPyMake_wxObject(result
);
24717 static PyObject
*_wrap_Window_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24718 PyObject
*resultobj
;
24719 wxWindow
*arg1
= (wxWindow
*) 0 ;
24721 PyObject
* obj0
= 0 ;
24722 char *kwnames
[] = {
24723 (char *) "self", NULL
24726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
24727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24731 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
24733 wxPyEndAllowThreads(__tstate
);
24734 if (PyErr_Occurred()) SWIG_fail
;
24737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24745 static PyObject
*_wrap_Window_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24746 PyObject
*resultobj
;
24747 wxWindow
*arg1
= (wxWindow
*) 0 ;
24748 bool arg2
= (bool) True
;
24749 wxRect
*arg3
= (wxRect
*) NULL
;
24750 PyObject
* obj0
= 0 ;
24751 PyObject
* obj1
= 0 ;
24752 PyObject
* obj2
= 0 ;
24753 char *kwnames
[] = {
24754 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
24757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24761 arg2
= (bool) SWIG_AsBool(obj1
);
24762 if (PyErr_Occurred()) SWIG_fail
;
24765 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
24766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24770 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
24772 wxPyEndAllowThreads(__tstate
);
24773 if (PyErr_Occurred()) SWIG_fail
;
24775 Py_INCREF(Py_None
); resultobj
= Py_None
;
24782 static PyObject
*_wrap_Window_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24783 PyObject
*resultobj
;
24784 wxWindow
*arg1
= (wxWindow
*) 0 ;
24787 PyObject
* obj0
= 0 ;
24788 PyObject
* obj1
= 0 ;
24789 char *kwnames
[] = {
24790 (char *) "self",(char *) "rect", NULL
24793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
24794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24798 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
24801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24802 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
24804 wxPyEndAllowThreads(__tstate
);
24805 if (PyErr_Occurred()) SWIG_fail
;
24807 Py_INCREF(Py_None
); resultobj
= Py_None
;
24814 static PyObject
*_wrap_Window_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24815 PyObject
*resultobj
;
24816 wxWindow
*arg1
= (wxWindow
*) 0 ;
24817 PyObject
* obj0
= 0 ;
24818 char *kwnames
[] = {
24819 (char *) "self", NULL
24822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
24823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24829 wxPyEndAllowThreads(__tstate
);
24830 if (PyErr_Occurred()) SWIG_fail
;
24832 Py_INCREF(Py_None
); resultobj
= Py_None
;
24839 static PyObject
*_wrap_Window_ClearBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24840 PyObject
*resultobj
;
24841 wxWindow
*arg1
= (wxWindow
*) 0 ;
24842 PyObject
* obj0
= 0 ;
24843 char *kwnames
[] = {
24844 (char *) "self", NULL
24847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
24848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24852 (arg1
)->ClearBackground();
24854 wxPyEndAllowThreads(__tstate
);
24855 if (PyErr_Occurred()) SWIG_fail
;
24857 Py_INCREF(Py_None
); resultobj
= Py_None
;
24864 static PyObject
*_wrap_Window_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24865 PyObject
*resultobj
;
24866 wxWindow
*arg1
= (wxWindow
*) 0 ;
24867 PyObject
* obj0
= 0 ;
24868 char *kwnames
[] = {
24869 (char *) "self", NULL
24872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
24873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24879 wxPyEndAllowThreads(__tstate
);
24880 if (PyErr_Occurred()) SWIG_fail
;
24882 Py_INCREF(Py_None
); resultobj
= Py_None
;
24889 static PyObject
*_wrap_Window_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24890 PyObject
*resultobj
;
24891 wxWindow
*arg1
= (wxWindow
*) 0 ;
24892 PyObject
* obj0
= 0 ;
24893 char *kwnames
[] = {
24894 (char *) "self", NULL
24897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
24898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24904 wxPyEndAllowThreads(__tstate
);
24905 if (PyErr_Occurred()) SWIG_fail
;
24907 Py_INCREF(Py_None
); resultobj
= Py_None
;
24914 static PyObject
*_wrap_Window_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24915 PyObject
*resultobj
;
24916 wxWindow
*arg1
= (wxWindow
*) 0 ;
24918 PyObject
* obj0
= 0 ;
24919 PyObject
* obj1
= 0 ;
24920 char *kwnames
[] = {
24921 (char *) "self",(char *) "dc", NULL
24924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
24925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24927 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24928 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24930 if (arg2
== NULL
) {
24931 PyErr_SetString(PyExc_TypeError
,"null reference");
24935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24936 (arg1
)->PrepareDC(*arg2
);
24938 wxPyEndAllowThreads(__tstate
);
24939 if (PyErr_Occurred()) SWIG_fail
;
24941 Py_INCREF(Py_None
); resultobj
= Py_None
;
24948 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24949 PyObject
*resultobj
;
24950 wxWindow
*arg1
= (wxWindow
*) 0 ;
24952 PyObject
* obj0
= 0 ;
24953 char *kwnames
[] = {
24954 (char *) "self", NULL
24957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
24958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24963 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
24964 result
= (wxRegion
*) &_result_ref
;
24967 wxPyEndAllowThreads(__tstate
);
24968 if (PyErr_Occurred()) SWIG_fail
;
24970 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
24977 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24978 PyObject
*resultobj
;
24979 wxWindow
*arg1
= (wxWindow
*) 0 ;
24981 PyObject
* obj0
= 0 ;
24982 char *kwnames
[] = {
24983 (char *) "self", NULL
24986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
24987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24991 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
24993 wxPyEndAllowThreads(__tstate
);
24994 if (PyErr_Occurred()) SWIG_fail
;
24997 wxRect
* resultptr
;
24998 resultptr
= new wxRect((wxRect
&) result
);
24999 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25007 static PyObject
*_wrap_Window_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25008 PyObject
*resultobj
;
25009 wxWindow
*arg1
= (wxWindow
*) 0 ;
25012 int arg4
= (int) 1 ;
25013 int arg5
= (int) 1 ;
25015 PyObject
* obj0
= 0 ;
25016 PyObject
* obj1
= 0 ;
25017 PyObject
* obj2
= 0 ;
25018 PyObject
* obj3
= 0 ;
25019 PyObject
* obj4
= 0 ;
25020 char *kwnames
[] = {
25021 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25027 arg2
= (int) SWIG_AsInt(obj1
);
25028 if (PyErr_Occurred()) SWIG_fail
;
25029 arg3
= (int) SWIG_AsInt(obj2
);
25030 if (PyErr_Occurred()) SWIG_fail
;
25032 arg4
= (int) SWIG_AsInt(obj3
);
25033 if (PyErr_Occurred()) SWIG_fail
;
25036 arg5
= (int) SWIG_AsInt(obj4
);
25037 if (PyErr_Occurred()) SWIG_fail
;
25040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25041 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
25043 wxPyEndAllowThreads(__tstate
);
25044 if (PyErr_Occurred()) SWIG_fail
;
25047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25055 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25056 PyObject
*resultobj
;
25057 wxWindow
*arg1
= (wxWindow
*) 0 ;
25058 wxPoint
*arg2
= 0 ;
25061 PyObject
* obj0
= 0 ;
25062 PyObject
* obj1
= 0 ;
25063 char *kwnames
[] = {
25064 (char *) "self",(char *) "pt", NULL
25067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
25068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25072 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25076 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
25078 wxPyEndAllowThreads(__tstate
);
25079 if (PyErr_Occurred()) SWIG_fail
;
25082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25090 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25091 PyObject
*resultobj
;
25092 wxWindow
*arg1
= (wxWindow
*) 0 ;
25096 PyObject
* obj0
= 0 ;
25097 PyObject
* obj1
= 0 ;
25098 char *kwnames
[] = {
25099 (char *) "self",(char *) "rect", NULL
25102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25107 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25111 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
25113 wxPyEndAllowThreads(__tstate
);
25114 if (PyErr_Occurred()) SWIG_fail
;
25117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25125 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25126 PyObject
*resultobj
;
25127 wxWindow
*arg1
= (wxWindow
*) 0 ;
25128 wxColour
*arg2
= 0 ;
25131 PyObject
* obj0
= 0 ;
25132 PyObject
* obj1
= 0 ;
25133 char *kwnames
[] = {
25134 (char *) "self",(char *) "colour", NULL
25137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25142 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25146 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25148 wxPyEndAllowThreads(__tstate
);
25149 if (PyErr_Occurred()) SWIG_fail
;
25152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25160 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25161 PyObject
*resultobj
;
25162 wxWindow
*arg1
= (wxWindow
*) 0 ;
25163 wxColour
*arg2
= 0 ;
25166 PyObject
* obj0
= 0 ;
25167 PyObject
* obj1
= 0 ;
25168 char *kwnames
[] = {
25169 (char *) "self",(char *) "colour", NULL
25172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25177 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25181 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
25183 wxPyEndAllowThreads(__tstate
);
25184 if (PyErr_Occurred()) SWIG_fail
;
25187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25195 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25196 PyObject
*resultobj
;
25197 wxWindow
*arg1
= (wxWindow
*) 0 ;
25199 PyObject
* obj0
= 0 ;
25200 char *kwnames
[] = {
25201 (char *) "self", NULL
25204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
25205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25209 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
25211 wxPyEndAllowThreads(__tstate
);
25212 if (PyErr_Occurred()) SWIG_fail
;
25215 wxColour
* resultptr
;
25216 resultptr
= new wxColour((wxColour
&) result
);
25217 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25225 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25226 PyObject
*resultobj
;
25227 wxWindow
*arg1
= (wxWindow
*) 0 ;
25229 PyObject
* obj0
= 0 ;
25230 char *kwnames
[] = {
25231 (char *) "self", NULL
25234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
25235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25239 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
25241 wxPyEndAllowThreads(__tstate
);
25242 if (PyErr_Occurred()) SWIG_fail
;
25245 wxColour
* resultptr
;
25246 resultptr
= new wxColour((wxColour
&) result
);
25247 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25255 static PyObject
*_wrap_Window_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25256 PyObject
*resultobj
;
25257 wxWindow
*arg1
= (wxWindow
*) 0 ;
25258 wxCursor
*arg2
= 0 ;
25260 PyObject
* obj0
= 0 ;
25261 PyObject
* obj1
= 0 ;
25262 char *kwnames
[] = {
25263 (char *) "self",(char *) "cursor", NULL
25266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
25267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25269 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
25270 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25272 if (arg2
== NULL
) {
25273 PyErr_SetString(PyExc_TypeError
,"null reference");
25277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25278 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
25280 wxPyEndAllowThreads(__tstate
);
25281 if (PyErr_Occurred()) SWIG_fail
;
25284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25292 static PyObject
*_wrap_Window_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25293 PyObject
*resultobj
;
25294 wxWindow
*arg1
= (wxWindow
*) 0 ;
25296 PyObject
* obj0
= 0 ;
25297 char *kwnames
[] = {
25298 (char *) "self", NULL
25301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
25302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25307 wxCursor
&_result_ref
= (arg1
)->GetCursor();
25308 result
= (wxCursor
*) &_result_ref
;
25311 wxPyEndAllowThreads(__tstate
);
25312 if (PyErr_Occurred()) SWIG_fail
;
25315 wxCursor
* resultptr
= new wxCursor(*result
);
25316 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
25324 static PyObject
*_wrap_Window_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25325 PyObject
*resultobj
;
25326 wxWindow
*arg1
= (wxWindow
*) 0 ;
25329 PyObject
* obj0
= 0 ;
25330 PyObject
* obj1
= 0 ;
25331 char *kwnames
[] = {
25332 (char *) "self",(char *) "font", NULL
25335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
25336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25338 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
25339 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25341 if (arg2
== NULL
) {
25342 PyErr_SetString(PyExc_TypeError
,"null reference");
25346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25347 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
25349 wxPyEndAllowThreads(__tstate
);
25350 if (PyErr_Occurred()) SWIG_fail
;
25353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25361 static PyObject
*_wrap_Window_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25362 PyObject
*resultobj
;
25363 wxWindow
*arg1
= (wxWindow
*) 0 ;
25365 PyObject
* obj0
= 0 ;
25366 char *kwnames
[] = {
25367 (char *) "self", NULL
25370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
25371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25376 wxFont
&_result_ref
= (arg1
)->GetFont();
25377 result
= (wxFont
*) &_result_ref
;
25380 wxPyEndAllowThreads(__tstate
);
25381 if (PyErr_Occurred()) SWIG_fail
;
25384 wxFont
* resultptr
= new wxFont(*result
);
25385 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
25393 static PyObject
*_wrap_Window_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25394 PyObject
*resultobj
;
25395 wxWindow
*arg1
= (wxWindow
*) 0 ;
25396 wxCaret
*arg2
= (wxCaret
*) 0 ;
25397 PyObject
* obj0
= 0 ;
25398 PyObject
* obj1
= 0 ;
25399 char *kwnames
[] = {
25400 (char *) "self",(char *) "caret", NULL
25403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
25404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25406 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
25407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25410 (arg1
)->SetCaret(arg2
);
25412 wxPyEndAllowThreads(__tstate
);
25413 if (PyErr_Occurred()) SWIG_fail
;
25415 Py_INCREF(Py_None
); resultobj
= Py_None
;
25422 static PyObject
*_wrap_Window_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25423 PyObject
*resultobj
;
25424 wxWindow
*arg1
= (wxWindow
*) 0 ;
25426 PyObject
* obj0
= 0 ;
25427 char *kwnames
[] = {
25428 (char *) "self", NULL
25431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
25432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25436 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
25438 wxPyEndAllowThreads(__tstate
);
25439 if (PyErr_Occurred()) SWIG_fail
;
25441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
25448 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25449 PyObject
*resultobj
;
25450 wxWindow
*arg1
= (wxWindow
*) 0 ;
25452 PyObject
* obj0
= 0 ;
25453 char *kwnames
[] = {
25454 (char *) "self", NULL
25457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
25458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25462 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
25464 wxPyEndAllowThreads(__tstate
);
25465 if (PyErr_Occurred()) SWIG_fail
;
25467 resultobj
= SWIG_FromInt((int)result
);
25474 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25475 PyObject
*resultobj
;
25476 wxWindow
*arg1
= (wxWindow
*) 0 ;
25478 PyObject
* obj0
= 0 ;
25479 char *kwnames
[] = {
25480 (char *) "self", NULL
25483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
25484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25488 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
25490 wxPyEndAllowThreads(__tstate
);
25491 if (PyErr_Occurred()) SWIG_fail
;
25493 resultobj
= SWIG_FromInt((int)result
);
25500 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25501 PyObject
*resultobj
;
25502 wxWindow
*arg1
= (wxWindow
*) 0 ;
25503 wxString
*arg2
= 0 ;
25504 int *arg3
= (int *) 0 ;
25505 int *arg4
= (int *) 0 ;
25506 bool temp2
= False
;
25509 PyObject
* obj0
= 0 ;
25510 PyObject
* obj1
= 0 ;
25511 char *kwnames
[] = {
25512 (char *) "self",(char *) "string", NULL
25517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
25518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25521 arg2
= wxString_in_helper(obj1
);
25522 if (arg2
== NULL
) SWIG_fail
;
25526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25527 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
25529 wxPyEndAllowThreads(__tstate
);
25530 if (PyErr_Occurred()) SWIG_fail
;
25532 Py_INCREF(Py_None
); resultobj
= Py_None
;
25534 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25535 resultobj
= t_output_helper(resultobj
,o
);
25538 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
25539 resultobj
= t_output_helper(resultobj
,o
);
25555 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25556 PyObject
*resultobj
;
25557 wxWindow
*arg1
= (wxWindow
*) 0 ;
25558 wxString
*arg2
= 0 ;
25559 int *arg3
= (int *) 0 ;
25560 int *arg4
= (int *) 0 ;
25561 int *arg5
= (int *) 0 ;
25562 int *arg6
= (int *) 0 ;
25563 wxFont
*arg7
= (wxFont
*) NULL
;
25564 bool temp2
= False
;
25569 PyObject
* obj0
= 0 ;
25570 PyObject
* obj1
= 0 ;
25571 PyObject
* obj2
= 0 ;
25572 char *kwnames
[] = {
25573 (char *) "self",(char *) "string",(char *) "font", NULL
25580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25584 arg2
= wxString_in_helper(obj1
);
25585 if (arg2
== NULL
) SWIG_fail
;
25589 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
25590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25594 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
25596 wxPyEndAllowThreads(__tstate
);
25597 if (PyErr_Occurred()) SWIG_fail
;
25599 Py_INCREF(Py_None
); resultobj
= Py_None
;
25601 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25602 resultobj
= t_output_helper(resultobj
,o
);
25605 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
25606 resultobj
= t_output_helper(resultobj
,o
);
25609 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
25610 resultobj
= t_output_helper(resultobj
,o
);
25613 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
25614 resultobj
= t_output_helper(resultobj
,o
);
25630 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25631 PyObject
*resultobj
;
25632 wxWindow
*arg1
= (wxWindow
*) 0 ;
25633 int *arg2
= (int *) 0 ;
25634 int *arg3
= (int *) 0 ;
25637 PyObject
* obj0
= 0 ;
25638 PyObject
* obj1
= 0 ;
25639 PyObject
* obj2
= 0 ;
25640 char *kwnames
[] = {
25641 (char *) "self",(char *) "x",(char *) "y", NULL
25644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25648 temp2
= PyInt_AsLong(obj1
);
25649 if (PyErr_Occurred()) SWIG_fail
;
25653 temp3
= PyInt_AsLong(obj2
);
25654 if (PyErr_Occurred()) SWIG_fail
;
25658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25659 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
25661 wxPyEndAllowThreads(__tstate
);
25662 if (PyErr_Occurred()) SWIG_fail
;
25664 Py_INCREF(Py_None
); resultobj
= Py_None
;
25666 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
25667 resultobj
= t_output_helper(resultobj
,o
);
25670 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25671 resultobj
= t_output_helper(resultobj
,o
);
25679 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25680 PyObject
*resultobj
;
25681 wxWindow
*arg1
= (wxWindow
*) 0 ;
25682 int *arg2
= (int *) 0 ;
25683 int *arg3
= (int *) 0 ;
25686 PyObject
* obj0
= 0 ;
25687 PyObject
* obj1
= 0 ;
25688 PyObject
* obj2
= 0 ;
25689 char *kwnames
[] = {
25690 (char *) "self",(char *) "x",(char *) "y", NULL
25693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25697 temp2
= PyInt_AsLong(obj1
);
25698 if (PyErr_Occurred()) SWIG_fail
;
25702 temp3
= PyInt_AsLong(obj2
);
25703 if (PyErr_Occurred()) SWIG_fail
;
25707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25708 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
25710 wxPyEndAllowThreads(__tstate
);
25711 if (PyErr_Occurred()) SWIG_fail
;
25713 Py_INCREF(Py_None
); resultobj
= Py_None
;
25715 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
25716 resultobj
= t_output_helper(resultobj
,o
);
25719 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25720 resultobj
= t_output_helper(resultobj
,o
);
25728 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25729 PyObject
*resultobj
;
25730 wxWindow
*arg1
= (wxWindow
*) 0 ;
25731 wxPoint
*arg2
= 0 ;
25734 PyObject
* obj0
= 0 ;
25735 PyObject
* obj1
= 0 ;
25736 char *kwnames
[] = {
25737 (char *) "self",(char *) "pt", NULL
25740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
25741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25745 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25749 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
25751 wxPyEndAllowThreads(__tstate
);
25752 if (PyErr_Occurred()) SWIG_fail
;
25755 wxPoint
* resultptr
;
25756 resultptr
= new wxPoint((wxPoint
&) result
);
25757 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25765 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25766 PyObject
*resultobj
;
25767 wxWindow
*arg1
= (wxWindow
*) 0 ;
25768 wxPoint
*arg2
= 0 ;
25771 PyObject
* obj0
= 0 ;
25772 PyObject
* obj1
= 0 ;
25773 char *kwnames
[] = {
25774 (char *) "self",(char *) "pt", NULL
25777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
25778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25782 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25786 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
25788 wxPyEndAllowThreads(__tstate
);
25789 if (PyErr_Occurred()) SWIG_fail
;
25792 wxPoint
* resultptr
;
25793 resultptr
= new wxPoint((wxPoint
&) result
);
25794 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25802 static PyObject
*_wrap_Window_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25803 PyObject
*resultobj
;
25804 wxWindow
*arg1
= (wxWindow
*) 0 ;
25808 PyObject
* obj0
= 0 ;
25809 PyObject
* obj1
= 0 ;
25810 PyObject
* obj2
= 0 ;
25811 char *kwnames
[] = {
25812 (char *) "self",(char *) "x",(char *) "y", NULL
25815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25818 arg2
= (int) SWIG_AsInt(obj1
);
25819 if (PyErr_Occurred()) SWIG_fail
;
25820 arg3
= (int) SWIG_AsInt(obj2
);
25821 if (PyErr_Occurred()) SWIG_fail
;
25823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25824 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
25826 wxPyEndAllowThreads(__tstate
);
25827 if (PyErr_Occurred()) SWIG_fail
;
25829 resultobj
= SWIG_FromInt((int)result
);
25836 static PyObject
*_wrap_Window_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25837 PyObject
*resultobj
;
25838 wxWindow
*arg1
= (wxWindow
*) 0 ;
25839 wxPoint
*arg2
= 0 ;
25842 PyObject
* obj0
= 0 ;
25843 PyObject
* obj1
= 0 ;
25844 char *kwnames
[] = {
25845 (char *) "self",(char *) "pt", NULL
25848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
25849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25853 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25857 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
25859 wxPyEndAllowThreads(__tstate
);
25860 if (PyErr_Occurred()) SWIG_fail
;
25862 resultobj
= SWIG_FromInt((int)result
);
25869 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*self
, PyObject
*args
) {
25870 PyObject
*resultobj
;
25871 wxWindow
*arg1
= (wxWindow
*) 0 ;
25874 PyObject
* obj0
= 0 ;
25875 PyObject
* obj1
= 0 ;
25877 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
25878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25880 arg2
= (long) SWIG_AsLong(obj1
);
25881 if (PyErr_Occurred()) SWIG_fail
;
25883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25884 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
25886 wxPyEndAllowThreads(__tstate
);
25887 if (PyErr_Occurred()) SWIG_fail
;
25889 resultobj
= SWIG_FromInt((int)result
);
25896 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*self
, PyObject
*args
) {
25897 PyObject
*resultobj
;
25898 wxWindow
*arg1
= (wxWindow
*) 0 ;
25900 PyObject
* obj0
= 0 ;
25902 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
25903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25907 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
25909 wxPyEndAllowThreads(__tstate
);
25910 if (PyErr_Occurred()) SWIG_fail
;
25912 resultobj
= SWIG_FromInt((int)result
);
25919 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
25924 argc
= PyObject_Length(args
);
25925 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
25926 argv
[ii
] = PyTuple_GetItem(args
,ii
);
25932 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
25940 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
25947 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
25955 _v
= SWIG_CheckLong(argv
[1]);
25957 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
25962 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
25967 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25968 PyObject
*resultobj
;
25969 wxWindow
*arg1
= (wxWindow
*) 0 ;
25970 long arg2
= (long) wxUPDATE_UI_NONE
;
25971 PyObject
* obj0
= 0 ;
25972 PyObject
* obj1
= 0 ;
25973 char *kwnames
[] = {
25974 (char *) "self",(char *) "flags", NULL
25977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
25978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25981 arg2
= (long) SWIG_AsLong(obj1
);
25982 if (PyErr_Occurred()) SWIG_fail
;
25985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25986 (arg1
)->UpdateWindowUI(arg2
);
25988 wxPyEndAllowThreads(__tstate
);
25989 if (PyErr_Occurred()) SWIG_fail
;
25991 Py_INCREF(Py_None
); resultobj
= Py_None
;
25998 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25999 PyObject
*resultobj
;
26000 wxWindow
*arg1
= (wxWindow
*) 0 ;
26001 wxMenu
*arg2
= (wxMenu
*) 0 ;
26005 PyObject
* obj0
= 0 ;
26006 PyObject
* obj1
= 0 ;
26007 PyObject
* obj2
= 0 ;
26008 PyObject
* obj3
= 0 ;
26009 char *kwnames
[] = {
26010 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
26013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26016 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
26017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26018 arg3
= (int) SWIG_AsInt(obj2
);
26019 if (PyErr_Occurred()) SWIG_fail
;
26020 arg4
= (int) SWIG_AsInt(obj3
);
26021 if (PyErr_Occurred()) SWIG_fail
;
26023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26024 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
26026 wxPyEndAllowThreads(__tstate
);
26027 if (PyErr_Occurred()) SWIG_fail
;
26030 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26038 static PyObject
*_wrap_Window_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26039 PyObject
*resultobj
;
26040 wxWindow
*arg1
= (wxWindow
*) 0 ;
26041 wxMenu
*arg2
= (wxMenu
*) 0 ;
26042 wxPoint
*arg3
= 0 ;
26045 PyObject
* obj0
= 0 ;
26046 PyObject
* obj1
= 0 ;
26047 PyObject
* obj2
= 0 ;
26048 char *kwnames
[] = {
26049 (char *) "self",(char *) "menu",(char *) "pos", NULL
26052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26055 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
26056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26059 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26063 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
26065 wxPyEndAllowThreads(__tstate
);
26066 if (PyErr_Occurred()) SWIG_fail
;
26069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26077 static PyObject
*_wrap_Window_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26078 PyObject
*resultobj
;
26079 wxWindow
*arg1
= (wxWindow
*) 0 ;
26081 PyObject
* obj0
= 0 ;
26082 char *kwnames
[] = {
26083 (char *) "self", NULL
26086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
26087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26091 result
= (long)wxWindow_GetHandle(arg1
);
26093 wxPyEndAllowThreads(__tstate
);
26094 if (PyErr_Occurred()) SWIG_fail
;
26096 resultobj
= SWIG_FromLong((long)result
);
26103 static PyObject
*_wrap_Window_OnPaint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26104 PyObject
*resultobj
;
26105 wxWindow
*arg1
= (wxWindow
*) 0 ;
26106 wxPaintEvent
*arg2
= 0 ;
26107 PyObject
* obj0
= 0 ;
26108 PyObject
* obj1
= 0 ;
26109 char *kwnames
[] = {
26110 (char *) "self",(char *) "event", NULL
26113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
26114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26116 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPaintEvent
,
26117 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26119 if (arg2
== NULL
) {
26120 PyErr_SetString(PyExc_TypeError
,"null reference");
26124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26125 (arg1
)->OnPaint(*arg2
);
26127 wxPyEndAllowThreads(__tstate
);
26128 if (PyErr_Occurred()) SWIG_fail
;
26130 Py_INCREF(Py_None
); resultobj
= Py_None
;
26137 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26138 PyObject
*resultobj
;
26139 wxWindow
*arg1
= (wxWindow
*) 0 ;
26142 PyObject
* obj0
= 0 ;
26143 PyObject
* obj1
= 0 ;
26144 char *kwnames
[] = {
26145 (char *) "self",(char *) "orient", NULL
26148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
26149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26151 arg2
= (int) SWIG_AsInt(obj1
);
26152 if (PyErr_Occurred()) SWIG_fail
;
26154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26155 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
26157 wxPyEndAllowThreads(__tstate
);
26158 if (PyErr_Occurred()) SWIG_fail
;
26161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26169 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26170 PyObject
*resultobj
;
26171 wxWindow
*arg1
= (wxWindow
*) 0 ;
26176 bool arg6
= (bool) True
;
26177 PyObject
* obj0
= 0 ;
26178 PyObject
* obj1
= 0 ;
26179 PyObject
* obj2
= 0 ;
26180 PyObject
* obj3
= 0 ;
26181 PyObject
* obj4
= 0 ;
26182 PyObject
* obj5
= 0 ;
26183 char *kwnames
[] = {
26184 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
26187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26190 arg2
= (int) SWIG_AsInt(obj1
);
26191 if (PyErr_Occurred()) SWIG_fail
;
26192 arg3
= (int) SWIG_AsInt(obj2
);
26193 if (PyErr_Occurred()) SWIG_fail
;
26194 arg4
= (int) SWIG_AsInt(obj3
);
26195 if (PyErr_Occurred()) SWIG_fail
;
26196 arg5
= (int) SWIG_AsInt(obj4
);
26197 if (PyErr_Occurred()) SWIG_fail
;
26199 arg6
= (bool) SWIG_AsBool(obj5
);
26200 if (PyErr_Occurred()) SWIG_fail
;
26203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26204 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
26206 wxPyEndAllowThreads(__tstate
);
26207 if (PyErr_Occurred()) SWIG_fail
;
26209 Py_INCREF(Py_None
); resultobj
= Py_None
;
26216 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26217 PyObject
*resultobj
;
26218 wxWindow
*arg1
= (wxWindow
*) 0 ;
26221 bool arg4
= (bool) True
;
26222 PyObject
* obj0
= 0 ;
26223 PyObject
* obj1
= 0 ;
26224 PyObject
* obj2
= 0 ;
26225 PyObject
* obj3
= 0 ;
26226 char *kwnames
[] = {
26227 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
26230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26233 arg2
= (int) SWIG_AsInt(obj1
);
26234 if (PyErr_Occurred()) SWIG_fail
;
26235 arg3
= (int) SWIG_AsInt(obj2
);
26236 if (PyErr_Occurred()) SWIG_fail
;
26238 arg4
= (bool) SWIG_AsBool(obj3
);
26239 if (PyErr_Occurred()) SWIG_fail
;
26242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26243 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
26245 wxPyEndAllowThreads(__tstate
);
26246 if (PyErr_Occurred()) SWIG_fail
;
26248 Py_INCREF(Py_None
); resultobj
= Py_None
;
26255 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26256 PyObject
*resultobj
;
26257 wxWindow
*arg1
= (wxWindow
*) 0 ;
26260 PyObject
* obj0
= 0 ;
26261 PyObject
* obj1
= 0 ;
26262 char *kwnames
[] = {
26263 (char *) "self",(char *) "orientation", NULL
26266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
26267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26269 arg2
= (int) SWIG_AsInt(obj1
);
26270 if (PyErr_Occurred()) SWIG_fail
;
26272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26273 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
26275 wxPyEndAllowThreads(__tstate
);
26276 if (PyErr_Occurred()) SWIG_fail
;
26278 resultobj
= SWIG_FromInt((int)result
);
26285 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26286 PyObject
*resultobj
;
26287 wxWindow
*arg1
= (wxWindow
*) 0 ;
26290 PyObject
* obj0
= 0 ;
26291 PyObject
* obj1
= 0 ;
26292 char *kwnames
[] = {
26293 (char *) "self",(char *) "orientation", NULL
26296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
26297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26299 arg2
= (int) SWIG_AsInt(obj1
);
26300 if (PyErr_Occurred()) SWIG_fail
;
26302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26303 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
26305 wxPyEndAllowThreads(__tstate
);
26306 if (PyErr_Occurred()) SWIG_fail
;
26308 resultobj
= SWIG_FromInt((int)result
);
26315 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26316 PyObject
*resultobj
;
26317 wxWindow
*arg1
= (wxWindow
*) 0 ;
26320 PyObject
* obj0
= 0 ;
26321 PyObject
* obj1
= 0 ;
26322 char *kwnames
[] = {
26323 (char *) "self",(char *) "orientation", NULL
26326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
26327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26329 arg2
= (int) SWIG_AsInt(obj1
);
26330 if (PyErr_Occurred()) SWIG_fail
;
26332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26333 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
26335 wxPyEndAllowThreads(__tstate
);
26336 if (PyErr_Occurred()) SWIG_fail
;
26338 resultobj
= SWIG_FromInt((int)result
);
26345 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26346 PyObject
*resultobj
;
26347 wxWindow
*arg1
= (wxWindow
*) 0 ;
26350 wxRect
*arg4
= (wxRect
*) NULL
;
26351 PyObject
* obj0
= 0 ;
26352 PyObject
* obj1
= 0 ;
26353 PyObject
* obj2
= 0 ;
26354 PyObject
* obj3
= 0 ;
26355 char *kwnames
[] = {
26356 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
26359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26362 arg2
= (int) SWIG_AsInt(obj1
);
26363 if (PyErr_Occurred()) SWIG_fail
;
26364 arg3
= (int) SWIG_AsInt(obj2
);
26365 if (PyErr_Occurred()) SWIG_fail
;
26367 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
26368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26372 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
26374 wxPyEndAllowThreads(__tstate
);
26375 if (PyErr_Occurred()) SWIG_fail
;
26377 Py_INCREF(Py_None
); resultobj
= Py_None
;
26384 static PyObject
*_wrap_Window_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26385 PyObject
*resultobj
;
26386 wxWindow
*arg1
= (wxWindow
*) 0 ;
26389 PyObject
* obj0
= 0 ;
26390 PyObject
* obj1
= 0 ;
26391 char *kwnames
[] = {
26392 (char *) "self",(char *) "lines", NULL
26395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
26396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26398 arg2
= (int) SWIG_AsInt(obj1
);
26399 if (PyErr_Occurred()) SWIG_fail
;
26401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26402 result
= (bool)(arg1
)->ScrollLines(arg2
);
26404 wxPyEndAllowThreads(__tstate
);
26405 if (PyErr_Occurred()) SWIG_fail
;
26408 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26416 static PyObject
*_wrap_Window_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26417 PyObject
*resultobj
;
26418 wxWindow
*arg1
= (wxWindow
*) 0 ;
26421 PyObject
* obj0
= 0 ;
26422 PyObject
* obj1
= 0 ;
26423 char *kwnames
[] = {
26424 (char *) "self",(char *) "pages", NULL
26427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
26428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26430 arg2
= (int) SWIG_AsInt(obj1
);
26431 if (PyErr_Occurred()) SWIG_fail
;
26433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26434 result
= (bool)(arg1
)->ScrollPages(arg2
);
26436 wxPyEndAllowThreads(__tstate
);
26437 if (PyErr_Occurred()) SWIG_fail
;
26440 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26448 static PyObject
*_wrap_Window_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26449 PyObject
*resultobj
;
26450 wxWindow
*arg1
= (wxWindow
*) 0 ;
26452 PyObject
* obj0
= 0 ;
26453 char *kwnames
[] = {
26454 (char *) "self", NULL
26457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
26458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26462 result
= (bool)(arg1
)->LineUp();
26464 wxPyEndAllowThreads(__tstate
);
26465 if (PyErr_Occurred()) SWIG_fail
;
26468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26476 static PyObject
*_wrap_Window_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26477 PyObject
*resultobj
;
26478 wxWindow
*arg1
= (wxWindow
*) 0 ;
26480 PyObject
* obj0
= 0 ;
26481 char *kwnames
[] = {
26482 (char *) "self", NULL
26485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
26486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26490 result
= (bool)(arg1
)->LineDown();
26492 wxPyEndAllowThreads(__tstate
);
26493 if (PyErr_Occurred()) SWIG_fail
;
26496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26504 static PyObject
*_wrap_Window_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26505 PyObject
*resultobj
;
26506 wxWindow
*arg1
= (wxWindow
*) 0 ;
26508 PyObject
* obj0
= 0 ;
26509 char *kwnames
[] = {
26510 (char *) "self", NULL
26513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
26514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26518 result
= (bool)(arg1
)->PageUp();
26520 wxPyEndAllowThreads(__tstate
);
26521 if (PyErr_Occurred()) SWIG_fail
;
26524 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26532 static PyObject
*_wrap_Window_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26533 PyObject
*resultobj
;
26534 wxWindow
*arg1
= (wxWindow
*) 0 ;
26536 PyObject
* obj0
= 0 ;
26537 char *kwnames
[] = {
26538 (char *) "self", NULL
26541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
26542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26546 result
= (bool)(arg1
)->PageDown();
26548 wxPyEndAllowThreads(__tstate
);
26549 if (PyErr_Occurred()) SWIG_fail
;
26552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26560 static PyObject
*_wrap_Window_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26561 PyObject
*resultobj
;
26562 wxWindow
*arg1
= (wxWindow
*) 0 ;
26563 wxString
*arg2
= 0 ;
26564 bool temp2
= False
;
26565 PyObject
* obj0
= 0 ;
26566 PyObject
* obj1
= 0 ;
26567 char *kwnames
[] = {
26568 (char *) "self",(char *) "text", NULL
26571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
26572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26575 arg2
= wxString_in_helper(obj1
);
26576 if (arg2
== NULL
) SWIG_fail
;
26580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26581 (arg1
)->SetHelpText((wxString
const &)*arg2
);
26583 wxPyEndAllowThreads(__tstate
);
26584 if (PyErr_Occurred()) SWIG_fail
;
26586 Py_INCREF(Py_None
); resultobj
= Py_None
;
26601 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26602 PyObject
*resultobj
;
26603 wxWindow
*arg1
= (wxWindow
*) 0 ;
26604 wxString
*arg2
= 0 ;
26605 bool temp2
= False
;
26606 PyObject
* obj0
= 0 ;
26607 PyObject
* obj1
= 0 ;
26608 char *kwnames
[] = {
26609 (char *) "self",(char *) "text", NULL
26612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
26613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26616 arg2
= wxString_in_helper(obj1
);
26617 if (arg2
== NULL
) SWIG_fail
;
26621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26622 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
26624 wxPyEndAllowThreads(__tstate
);
26625 if (PyErr_Occurred()) SWIG_fail
;
26627 Py_INCREF(Py_None
); resultobj
= Py_None
;
26642 static PyObject
*_wrap_Window_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26643 PyObject
*resultobj
;
26644 wxWindow
*arg1
= (wxWindow
*) 0 ;
26646 PyObject
* obj0
= 0 ;
26647 char *kwnames
[] = {
26648 (char *) "self", NULL
26651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
26652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26656 result
= ((wxWindow
const *)arg1
)->GetHelpText();
26658 wxPyEndAllowThreads(__tstate
);
26659 if (PyErr_Occurred()) SWIG_fail
;
26663 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26665 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26674 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26675 PyObject
*resultobj
;
26676 wxWindow
*arg1
= (wxWindow
*) 0 ;
26677 wxString
*arg2
= 0 ;
26678 bool temp2
= False
;
26679 PyObject
* obj0
= 0 ;
26680 PyObject
* obj1
= 0 ;
26681 char *kwnames
[] = {
26682 (char *) "self",(char *) "tip", NULL
26685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
26686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26689 arg2
= wxString_in_helper(obj1
);
26690 if (arg2
== NULL
) SWIG_fail
;
26694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26695 (arg1
)->SetToolTip((wxString
const &)*arg2
);
26697 wxPyEndAllowThreads(__tstate
);
26698 if (PyErr_Occurred()) SWIG_fail
;
26700 Py_INCREF(Py_None
); resultobj
= Py_None
;
26715 static PyObject
*_wrap_Window_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26716 PyObject
*resultobj
;
26717 wxWindow
*arg1
= (wxWindow
*) 0 ;
26718 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
26719 PyObject
* obj0
= 0 ;
26720 PyObject
* obj1
= 0 ;
26721 char *kwnames
[] = {
26722 (char *) "self",(char *) "tip", NULL
26725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
26726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26728 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
26729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26732 (arg1
)->SetToolTip(arg2
);
26734 wxPyEndAllowThreads(__tstate
);
26735 if (PyErr_Occurred()) SWIG_fail
;
26737 Py_INCREF(Py_None
); resultobj
= Py_None
;
26744 static PyObject
*_wrap_Window_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26745 PyObject
*resultobj
;
26746 wxWindow
*arg1
= (wxWindow
*) 0 ;
26748 PyObject
* obj0
= 0 ;
26749 char *kwnames
[] = {
26750 (char *) "self", NULL
26753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
26754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26758 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
26760 wxPyEndAllowThreads(__tstate
);
26761 if (PyErr_Occurred()) SWIG_fail
;
26764 resultobj
= wxPyMake_wxObject(result
);
26772 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26773 PyObject
*resultobj
;
26774 wxWindow
*arg1
= (wxWindow
*) 0 ;
26775 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
26776 PyObject
* obj0
= 0 ;
26777 PyObject
* obj1
= 0 ;
26778 char *kwnames
[] = {
26779 (char *) "self",(char *) "dropTarget", NULL
26782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
26783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26785 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
26786 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26789 (arg1
)->SetDropTarget(arg2
);
26791 wxPyEndAllowThreads(__tstate
);
26792 if (PyErr_Occurred()) SWIG_fail
;
26794 Py_INCREF(Py_None
); resultobj
= Py_None
;
26801 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26802 PyObject
*resultobj
;
26803 wxWindow
*arg1
= (wxWindow
*) 0 ;
26804 wxPyDropTarget
*result
;
26805 PyObject
* obj0
= 0 ;
26806 char *kwnames
[] = {
26807 (char *) "self", NULL
26810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
26811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26815 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
26817 wxPyEndAllowThreads(__tstate
);
26818 if (PyErr_Occurred()) SWIG_fail
;
26820 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
26827 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26828 PyObject
*resultobj
;
26829 wxWindow
*arg1
= (wxWindow
*) 0 ;
26831 PyObject
* obj0
= 0 ;
26832 PyObject
* obj1
= 0 ;
26833 char *kwnames
[] = {
26834 (char *) "self",(char *) "accept", NULL
26837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
26838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26840 arg2
= (bool) SWIG_AsBool(obj1
);
26841 if (PyErr_Occurred()) SWIG_fail
;
26843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26844 (arg1
)->DragAcceptFiles(arg2
);
26846 wxPyEndAllowThreads(__tstate
);
26847 if (PyErr_Occurred()) SWIG_fail
;
26849 Py_INCREF(Py_None
); resultobj
= Py_None
;
26856 static PyObject
*_wrap_Window_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26857 PyObject
*resultobj
;
26858 wxWindow
*arg1
= (wxWindow
*) 0 ;
26859 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
26860 PyObject
* obj0
= 0 ;
26861 PyObject
* obj1
= 0 ;
26862 char *kwnames
[] = {
26863 (char *) "self",(char *) "constraints", NULL
26866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
26867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26869 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
26870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26873 (arg1
)->SetConstraints(arg2
);
26875 wxPyEndAllowThreads(__tstate
);
26876 if (PyErr_Occurred()) SWIG_fail
;
26878 Py_INCREF(Py_None
); resultobj
= Py_None
;
26885 static PyObject
*_wrap_Window_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26886 PyObject
*resultobj
;
26887 wxWindow
*arg1
= (wxWindow
*) 0 ;
26888 wxLayoutConstraints
*result
;
26889 PyObject
* obj0
= 0 ;
26890 char *kwnames
[] = {
26891 (char *) "self", NULL
26894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
26895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26899 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
26901 wxPyEndAllowThreads(__tstate
);
26902 if (PyErr_Occurred()) SWIG_fail
;
26904 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
26911 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26912 PyObject
*resultobj
;
26913 wxWindow
*arg1
= (wxWindow
*) 0 ;
26915 PyObject
* obj0
= 0 ;
26916 PyObject
* obj1
= 0 ;
26917 char *kwnames
[] = {
26918 (char *) "self",(char *) "autoLayout", NULL
26921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
26922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26924 arg2
= (bool) SWIG_AsBool(obj1
);
26925 if (PyErr_Occurred()) SWIG_fail
;
26927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26928 (arg1
)->SetAutoLayout(arg2
);
26930 wxPyEndAllowThreads(__tstate
);
26931 if (PyErr_Occurred()) SWIG_fail
;
26933 Py_INCREF(Py_None
); resultobj
= Py_None
;
26940 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26941 PyObject
*resultobj
;
26942 wxWindow
*arg1
= (wxWindow
*) 0 ;
26944 PyObject
* obj0
= 0 ;
26945 char *kwnames
[] = {
26946 (char *) "self", NULL
26949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
26950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26954 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
26956 wxPyEndAllowThreads(__tstate
);
26957 if (PyErr_Occurred()) SWIG_fail
;
26960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26968 static PyObject
*_wrap_Window_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26969 PyObject
*resultobj
;
26970 wxWindow
*arg1
= (wxWindow
*) 0 ;
26972 PyObject
* obj0
= 0 ;
26973 char *kwnames
[] = {
26974 (char *) "self", NULL
26977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
26978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26982 result
= (bool)(arg1
)->Layout();
26984 wxPyEndAllowThreads(__tstate
);
26985 if (PyErr_Occurred()) SWIG_fail
;
26988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26996 static PyObject
*_wrap_Window_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26997 PyObject
*resultobj
;
26998 wxWindow
*arg1
= (wxWindow
*) 0 ;
26999 wxSizer
*arg2
= (wxSizer
*) 0 ;
27000 bool arg3
= (bool) True
;
27001 PyObject
* obj0
= 0 ;
27002 PyObject
* obj1
= 0 ;
27003 PyObject
* obj2
= 0 ;
27004 char *kwnames
[] = {
27005 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27011 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27014 arg3
= (bool) SWIG_AsBool(obj2
);
27015 if (PyErr_Occurred()) SWIG_fail
;
27018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27019 (arg1
)->SetSizer(arg2
,arg3
);
27021 wxPyEndAllowThreads(__tstate
);
27022 if (PyErr_Occurred()) SWIG_fail
;
27024 Py_INCREF(Py_None
); resultobj
= Py_None
;
27031 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27032 PyObject
*resultobj
;
27033 wxWindow
*arg1
= (wxWindow
*) 0 ;
27034 wxSizer
*arg2
= (wxSizer
*) 0 ;
27035 bool arg3
= (bool) True
;
27036 PyObject
* obj0
= 0 ;
27037 PyObject
* obj1
= 0 ;
27038 PyObject
* obj2
= 0 ;
27039 char *kwnames
[] = {
27040 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27046 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27049 arg3
= (bool) SWIG_AsBool(obj2
);
27050 if (PyErr_Occurred()) SWIG_fail
;
27053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27054 (arg1
)->SetSizerAndFit(arg2
,arg3
);
27056 wxPyEndAllowThreads(__tstate
);
27057 if (PyErr_Occurred()) SWIG_fail
;
27059 Py_INCREF(Py_None
); resultobj
= Py_None
;
27066 static PyObject
*_wrap_Window_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27067 PyObject
*resultobj
;
27068 wxWindow
*arg1
= (wxWindow
*) 0 ;
27070 PyObject
* obj0
= 0 ;
27071 char *kwnames
[] = {
27072 (char *) "self", NULL
27075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
27076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27080 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
27082 wxPyEndAllowThreads(__tstate
);
27083 if (PyErr_Occurred()) SWIG_fail
;
27086 resultobj
= wxPyMake_wxSizer(result
);
27094 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27095 PyObject
*resultobj
;
27096 wxWindow
*arg1
= (wxWindow
*) 0 ;
27097 wxSizer
*arg2
= (wxSizer
*) 0 ;
27098 PyObject
* obj0
= 0 ;
27099 PyObject
* obj1
= 0 ;
27100 char *kwnames
[] = {
27101 (char *) "self",(char *) "sizer", NULL
27104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
27105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27107 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27111 (arg1
)->SetContainingSizer(arg2
);
27113 wxPyEndAllowThreads(__tstate
);
27114 if (PyErr_Occurred()) SWIG_fail
;
27116 Py_INCREF(Py_None
); resultobj
= Py_None
;
27123 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27124 PyObject
*resultobj
;
27125 wxWindow
*arg1
= (wxWindow
*) 0 ;
27127 PyObject
* obj0
= 0 ;
27128 char *kwnames
[] = {
27129 (char *) "self", NULL
27132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
27133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27137 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
27139 wxPyEndAllowThreads(__tstate
);
27140 if (PyErr_Occurred()) SWIG_fail
;
27143 resultobj
= wxPyMake_wxSizer(result
);
27151 static PyObject
* Window_swigregister(PyObject
*self
, PyObject
*args
) {
27153 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27154 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
27156 return Py_BuildValue((char *)"");
27158 static PyObject
*_wrap_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27159 PyObject
*resultobj
;
27161 wxWindow
*arg2
= (wxWindow
*) NULL
;
27163 PyObject
* obj0
= 0 ;
27164 PyObject
* obj1
= 0 ;
27165 char *kwnames
[] = {
27166 (char *) "id",(char *) "parent", NULL
27169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
27170 arg1
= (long) SWIG_AsLong(obj0
);
27171 if (PyErr_Occurred()) SWIG_fail
;
27173 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27178 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
27180 wxPyEndAllowThreads(__tstate
);
27181 if (PyErr_Occurred()) SWIG_fail
;
27184 resultobj
= wxPyMake_wxObject(result
);
27192 static PyObject
*_wrap_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27193 PyObject
*resultobj
;
27194 wxString
*arg1
= 0 ;
27195 wxWindow
*arg2
= (wxWindow
*) NULL
;
27197 bool temp1
= False
;
27198 PyObject
* obj0
= 0 ;
27199 PyObject
* obj1
= 0 ;
27200 char *kwnames
[] = {
27201 (char *) "name",(char *) "parent", NULL
27204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
27206 arg1
= wxString_in_helper(obj0
);
27207 if (arg1
== NULL
) SWIG_fail
;
27211 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27216 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
27218 wxPyEndAllowThreads(__tstate
);
27219 if (PyErr_Occurred()) SWIG_fail
;
27222 resultobj
= wxPyMake_wxObject(result
);
27238 static PyObject
*_wrap_FindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27239 PyObject
*resultobj
;
27240 wxString
*arg1
= 0 ;
27241 wxWindow
*arg2
= (wxWindow
*) NULL
;
27243 bool temp1
= False
;
27244 PyObject
* obj0
= 0 ;
27245 PyObject
* obj1
= 0 ;
27246 char *kwnames
[] = {
27247 (char *) "label",(char *) "parent", NULL
27250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27252 arg1
= wxString_in_helper(obj0
);
27253 if (arg1
== NULL
) SWIG_fail
;
27257 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27262 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
27264 wxPyEndAllowThreads(__tstate
);
27265 if (PyErr_Occurred()) SWIG_fail
;
27268 resultobj
= wxPyMake_wxObject(result
);
27284 static PyObject
*_wrap_Window_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27285 PyObject
*resultobj
;
27286 wxWindow
*arg1
= (wxWindow
*) 0 ;
27287 unsigned long arg2
;
27289 PyObject
* obj0
= 0 ;
27290 PyObject
* obj1
= 0 ;
27291 char *kwnames
[] = {
27292 (char *) "parent",(char *) "_hWnd", NULL
27295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
27296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27298 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
27299 if (PyErr_Occurred()) SWIG_fail
;
27301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27302 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
27304 wxPyEndAllowThreads(__tstate
);
27305 if (PyErr_Occurred()) SWIG_fail
;
27308 resultobj
= wxPyMake_wxObject(result
);
27316 static PyObject
*_wrap_new_Validator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27317 PyObject
*resultobj
;
27318 wxValidator
*result
;
27319 char *kwnames
[] = {
27323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
27325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27326 result
= (wxValidator
*)new wxValidator();
27328 wxPyEndAllowThreads(__tstate
);
27329 if (PyErr_Occurred()) SWIG_fail
;
27332 resultobj
= wxPyMake_wxObject(result
);
27340 static PyObject
*_wrap_Validator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27341 PyObject
*resultobj
;
27342 wxValidator
*arg1
= (wxValidator
*) 0 ;
27343 wxValidator
*result
;
27344 PyObject
* obj0
= 0 ;
27345 char *kwnames
[] = {
27346 (char *) "self", NULL
27349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
27350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
27351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27354 result
= (wxValidator
*)(arg1
)->Clone();
27356 wxPyEndAllowThreads(__tstate
);
27357 if (PyErr_Occurred()) SWIG_fail
;
27360 resultobj
= wxPyMake_wxObject(result
);
27368 static PyObject
*_wrap_Validator_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27369 PyObject
*resultobj
;
27370 wxValidator
*arg1
= (wxValidator
*) 0 ;
27371 wxWindow
*arg2
= (wxWindow
*) 0 ;
27373 PyObject
* obj0
= 0 ;
27374 PyObject
* obj1
= 0 ;
27375 char *kwnames
[] = {
27376 (char *) "self",(char *) "parent", NULL
27379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
27380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
27381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27382 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27386 result
= (bool)(arg1
)->Validate(arg2
);
27388 wxPyEndAllowThreads(__tstate
);
27389 if (PyErr_Occurred()) SWIG_fail
;
27392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27400 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27401 PyObject
*resultobj
;
27402 wxValidator
*arg1
= (wxValidator
*) 0 ;
27404 PyObject
* obj0
= 0 ;
27405 char *kwnames
[] = {
27406 (char *) "self", NULL
27409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
27410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
27411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27414 result
= (bool)(arg1
)->TransferToWindow();
27416 wxPyEndAllowThreads(__tstate
);
27417 if (PyErr_Occurred()) SWIG_fail
;
27420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27428 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27429 PyObject
*resultobj
;
27430 wxValidator
*arg1
= (wxValidator
*) 0 ;
27432 PyObject
* obj0
= 0 ;
27433 char *kwnames
[] = {
27434 (char *) "self", NULL
27437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
27438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
27439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27442 result
= (bool)(arg1
)->TransferFromWindow();
27444 wxPyEndAllowThreads(__tstate
);
27445 if (PyErr_Occurred()) SWIG_fail
;
27448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27456 static PyObject
*_wrap_Validator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27457 PyObject
*resultobj
;
27458 wxValidator
*arg1
= (wxValidator
*) 0 ;
27460 PyObject
* obj0
= 0 ;
27461 char *kwnames
[] = {
27462 (char *) "self", NULL
27465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
27466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
27467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27470 result
= (wxWindow
*)(arg1
)->GetWindow();
27472 wxPyEndAllowThreads(__tstate
);
27473 if (PyErr_Occurred()) SWIG_fail
;
27476 resultobj
= wxPyMake_wxObject(result
);
27484 static PyObject
*_wrap_Validator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27485 PyObject
*resultobj
;
27486 wxValidator
*arg1
= (wxValidator
*) 0 ;
27487 wxWindow
*arg2
= (wxWindow
*) 0 ;
27488 PyObject
* obj0
= 0 ;
27489 PyObject
* obj1
= 0 ;
27490 char *kwnames
[] = {
27491 (char *) "self",(char *) "window", NULL
27494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
27495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
27496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27497 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27501 (arg1
)->SetWindow(arg2
);
27503 wxPyEndAllowThreads(__tstate
);
27504 if (PyErr_Occurred()) SWIG_fail
;
27506 Py_INCREF(Py_None
); resultobj
= Py_None
;
27513 static PyObject
*_wrap_Validator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27514 PyObject
*resultobj
;
27516 char *kwnames
[] = {
27520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
27522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27523 result
= (bool)wxValidator::IsSilent();
27525 wxPyEndAllowThreads(__tstate
);
27526 if (PyErr_Occurred()) SWIG_fail
;
27529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27537 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27538 PyObject
*resultobj
;
27539 int arg1
= (int) True
;
27540 PyObject
* obj0
= 0 ;
27541 char *kwnames
[] = {
27542 (char *) "doIt", NULL
27545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
27547 arg1
= (int) SWIG_AsInt(obj0
);
27548 if (PyErr_Occurred()) SWIG_fail
;
27551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27552 wxValidator::SetBellOnError(arg1
);
27554 wxPyEndAllowThreads(__tstate
);
27555 if (PyErr_Occurred()) SWIG_fail
;
27557 Py_INCREF(Py_None
); resultobj
= Py_None
;
27564 static PyObject
* Validator_swigregister(PyObject
*self
, PyObject
*args
) {
27566 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27567 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
27569 return Py_BuildValue((char *)"");
27571 static PyObject
*_wrap_new_PyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27572 PyObject
*resultobj
;
27573 wxPyValidator
*result
;
27574 char *kwnames
[] = {
27578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
27580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27581 result
= (wxPyValidator
*)new wxPyValidator();
27583 wxPyEndAllowThreads(__tstate
);
27584 if (PyErr_Occurred()) SWIG_fail
;
27586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
27593 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27594 PyObject
*resultobj
;
27595 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
27596 PyObject
*arg2
= (PyObject
*) 0 ;
27597 PyObject
*arg3
= (PyObject
*) 0 ;
27598 int arg4
= (int) True
;
27599 PyObject
* obj0
= 0 ;
27600 PyObject
* obj1
= 0 ;
27601 PyObject
* obj2
= 0 ;
27602 PyObject
* obj3
= 0 ;
27603 char *kwnames
[] = {
27604 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
27607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
27609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27613 arg4
= (int) SWIG_AsInt(obj3
);
27614 if (PyErr_Occurred()) SWIG_fail
;
27617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27618 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
27620 wxPyEndAllowThreads(__tstate
);
27621 if (PyErr_Occurred()) SWIG_fail
;
27623 Py_INCREF(Py_None
); resultobj
= Py_None
;
27630 static PyObject
* PyValidator_swigregister(PyObject
*self
, PyObject
*args
) {
27632 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27633 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
27635 return Py_BuildValue((char *)"");
27637 static int _wrap_DefaultValidator_set(PyObject
*_val
) {
27638 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
27643 static PyObject
*_wrap_DefaultValidator_get() {
27646 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
27651 static PyObject
*_wrap_new_Menu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27652 PyObject
*resultobj
;
27653 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27654 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27655 long arg2
= (long) 0 ;
27657 bool temp1
= False
;
27658 PyObject
* obj0
= 0 ;
27659 PyObject
* obj1
= 0 ;
27660 char *kwnames
[] = {
27661 (char *) "title",(char *) "style", NULL
27664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
27667 arg1
= wxString_in_helper(obj0
);
27668 if (arg1
== NULL
) SWIG_fail
;
27673 arg2
= (long) SWIG_AsLong(obj1
);
27674 if (PyErr_Occurred()) SWIG_fail
;
27677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27678 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
27680 wxPyEndAllowThreads(__tstate
);
27681 if (PyErr_Occurred()) SWIG_fail
;
27684 resultobj
= wxPyMake_wxObject(result
);
27700 static PyObject
*_wrap_Menu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27701 PyObject
*resultobj
;
27702 wxMenu
*arg1
= (wxMenu
*) 0 ;
27704 wxString
*arg3
= 0 ;
27705 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27706 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27707 int arg5
= (int) wxITEM_NORMAL
;
27708 wxMenuItem
*result
;
27709 bool temp3
= False
;
27710 bool temp4
= False
;
27711 PyObject
* obj0
= 0 ;
27712 PyObject
* obj1
= 0 ;
27713 PyObject
* obj2
= 0 ;
27714 PyObject
* obj3
= 0 ;
27715 PyObject
* obj4
= 0 ;
27716 char *kwnames
[] = {
27717 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
27720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27723 arg2
= (int) SWIG_AsInt(obj1
);
27724 if (PyErr_Occurred()) SWIG_fail
;
27726 arg3
= wxString_in_helper(obj2
);
27727 if (arg3
== NULL
) SWIG_fail
;
27732 arg4
= wxString_in_helper(obj3
);
27733 if (arg4
== NULL
) SWIG_fail
;
27738 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
27739 if (PyErr_Occurred()) SWIG_fail
;
27742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27743 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
27745 wxPyEndAllowThreads(__tstate
);
27746 if (PyErr_Occurred()) SWIG_fail
;
27749 resultobj
= wxPyMake_wxObject(result
);
27773 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27774 PyObject
*resultobj
;
27775 wxMenu
*arg1
= (wxMenu
*) 0 ;
27776 wxMenuItem
*result
;
27777 PyObject
* obj0
= 0 ;
27778 char *kwnames
[] = {
27779 (char *) "self", NULL
27782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
27783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27787 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
27789 wxPyEndAllowThreads(__tstate
);
27790 if (PyErr_Occurred()) SWIG_fail
;
27793 resultobj
= wxPyMake_wxObject(result
);
27801 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27802 PyObject
*resultobj
;
27803 wxMenu
*arg1
= (wxMenu
*) 0 ;
27805 wxString
*arg3
= 0 ;
27806 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27807 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27808 wxMenuItem
*result
;
27809 bool temp3
= False
;
27810 bool temp4
= False
;
27811 PyObject
* obj0
= 0 ;
27812 PyObject
* obj1
= 0 ;
27813 PyObject
* obj2
= 0 ;
27814 PyObject
* obj3
= 0 ;
27815 char *kwnames
[] = {
27816 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
27819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27822 arg2
= (int) SWIG_AsInt(obj1
);
27823 if (PyErr_Occurred()) SWIG_fail
;
27825 arg3
= wxString_in_helper(obj2
);
27826 if (arg3
== NULL
) SWIG_fail
;
27831 arg4
= wxString_in_helper(obj3
);
27832 if (arg4
== NULL
) SWIG_fail
;
27837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27838 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
27840 wxPyEndAllowThreads(__tstate
);
27841 if (PyErr_Occurred()) SWIG_fail
;
27844 resultobj
= wxPyMake_wxObject(result
);
27868 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27869 PyObject
*resultobj
;
27870 wxMenu
*arg1
= (wxMenu
*) 0 ;
27872 wxString
*arg3
= 0 ;
27873 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27874 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27875 wxMenuItem
*result
;
27876 bool temp3
= False
;
27877 bool temp4
= False
;
27878 PyObject
* obj0
= 0 ;
27879 PyObject
* obj1
= 0 ;
27880 PyObject
* obj2
= 0 ;
27881 PyObject
* obj3
= 0 ;
27882 char *kwnames
[] = {
27883 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
27886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27889 arg2
= (int) SWIG_AsInt(obj1
);
27890 if (PyErr_Occurred()) SWIG_fail
;
27892 arg3
= wxString_in_helper(obj2
);
27893 if (arg3
== NULL
) SWIG_fail
;
27898 arg4
= wxString_in_helper(obj3
);
27899 if (arg4
== NULL
) SWIG_fail
;
27904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27905 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
27907 wxPyEndAllowThreads(__tstate
);
27908 if (PyErr_Occurred()) SWIG_fail
;
27911 resultobj
= wxPyMake_wxObject(result
);
27935 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27936 PyObject
*resultobj
;
27937 wxMenu
*arg1
= (wxMenu
*) 0 ;
27939 wxString
*arg3
= 0 ;
27940 wxMenu
*arg4
= (wxMenu
*) 0 ;
27941 wxString
const &arg5_defvalue
= wxPyEmptyString
;
27942 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
27943 wxMenuItem
*result
;
27944 bool temp3
= False
;
27945 bool temp5
= False
;
27946 PyObject
* obj0
= 0 ;
27947 PyObject
* obj1
= 0 ;
27948 PyObject
* obj2
= 0 ;
27949 PyObject
* obj3
= 0 ;
27950 PyObject
* obj4
= 0 ;
27951 char *kwnames
[] = {
27952 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
27955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27958 arg2
= (int) SWIG_AsInt(obj1
);
27959 if (PyErr_Occurred()) SWIG_fail
;
27961 arg3
= wxString_in_helper(obj2
);
27962 if (arg3
== NULL
) SWIG_fail
;
27965 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
27966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27969 arg5
= wxString_in_helper(obj4
);
27970 if (arg5
== NULL
) SWIG_fail
;
27975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27976 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
27978 wxPyEndAllowThreads(__tstate
);
27979 if (PyErr_Occurred()) SWIG_fail
;
27982 resultobj
= wxPyMake_wxObject(result
);
28006 static PyObject
*_wrap_Menu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28007 PyObject
*resultobj
;
28008 wxMenu
*arg1
= (wxMenu
*) 0 ;
28009 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28010 wxMenuItem
*result
;
28011 PyObject
* obj0
= 0 ;
28012 PyObject
* obj1
= 0 ;
28013 char *kwnames
[] = {
28014 (char *) "self",(char *) "item", NULL
28017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28020 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28024 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
28026 wxPyEndAllowThreads(__tstate
);
28027 if (PyErr_Occurred()) SWIG_fail
;
28030 resultobj
= wxPyMake_wxObject(result
);
28038 static PyObject
*_wrap_Menu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28039 PyObject
*resultobj
;
28040 wxMenu
*arg1
= (wxMenu
*) 0 ;
28041 PyObject
* obj0
= 0 ;
28042 char *kwnames
[] = {
28043 (char *) "self", NULL
28046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
28047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28053 wxPyEndAllowThreads(__tstate
);
28054 if (PyErr_Occurred()) SWIG_fail
;
28056 Py_INCREF(Py_None
); resultobj
= Py_None
;
28063 static PyObject
*_wrap_Menu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28064 PyObject
*resultobj
;
28065 wxMenu
*arg1
= (wxMenu
*) 0 ;
28067 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
28068 wxMenuItem
*result
;
28069 PyObject
* obj0
= 0 ;
28070 PyObject
* obj1
= 0 ;
28071 PyObject
* obj2
= 0 ;
28072 char *kwnames
[] = {
28073 (char *) "self",(char *) "pos",(char *) "item", NULL
28076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28079 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28080 if (PyErr_Occurred()) SWIG_fail
;
28081 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
28082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28085 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
28087 wxPyEndAllowThreads(__tstate
);
28088 if (PyErr_Occurred()) SWIG_fail
;
28091 resultobj
= wxPyMake_wxObject(result
);
28099 static PyObject
*_wrap_Menu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28100 PyObject
*resultobj
;
28101 wxMenu
*arg1
= (wxMenu
*) 0 ;
28104 wxString
*arg4
= 0 ;
28105 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28106 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28107 int arg6
= (int) wxITEM_NORMAL
;
28108 wxMenuItem
*result
;
28109 bool temp4
= False
;
28110 bool temp5
= False
;
28111 PyObject
* obj0
= 0 ;
28112 PyObject
* obj1
= 0 ;
28113 PyObject
* obj2
= 0 ;
28114 PyObject
* obj3
= 0 ;
28115 PyObject
* obj4
= 0 ;
28116 PyObject
* obj5
= 0 ;
28117 char *kwnames
[] = {
28118 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28124 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28125 if (PyErr_Occurred()) SWIG_fail
;
28126 arg3
= (int) SWIG_AsInt(obj2
);
28127 if (PyErr_Occurred()) SWIG_fail
;
28129 arg4
= wxString_in_helper(obj3
);
28130 if (arg4
== NULL
) SWIG_fail
;
28135 arg5
= wxString_in_helper(obj4
);
28136 if (arg5
== NULL
) SWIG_fail
;
28141 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
28142 if (PyErr_Occurred()) SWIG_fail
;
28145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28146 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
28148 wxPyEndAllowThreads(__tstate
);
28149 if (PyErr_Occurred()) SWIG_fail
;
28152 resultobj
= wxPyMake_wxObject(result
);
28176 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28177 PyObject
*resultobj
;
28178 wxMenu
*arg1
= (wxMenu
*) 0 ;
28180 wxMenuItem
*result
;
28181 PyObject
* obj0
= 0 ;
28182 PyObject
* obj1
= 0 ;
28183 char *kwnames
[] = {
28184 (char *) "self",(char *) "pos", NULL
28187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
28188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28190 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28191 if (PyErr_Occurred()) SWIG_fail
;
28193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28194 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
28196 wxPyEndAllowThreads(__tstate
);
28197 if (PyErr_Occurred()) SWIG_fail
;
28200 resultobj
= wxPyMake_wxObject(result
);
28208 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28209 PyObject
*resultobj
;
28210 wxMenu
*arg1
= (wxMenu
*) 0 ;
28213 wxString
*arg4
= 0 ;
28214 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28215 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28216 wxMenuItem
*result
;
28217 bool temp4
= False
;
28218 bool temp5
= False
;
28219 PyObject
* obj0
= 0 ;
28220 PyObject
* obj1
= 0 ;
28221 PyObject
* obj2
= 0 ;
28222 PyObject
* obj3
= 0 ;
28223 PyObject
* obj4
= 0 ;
28224 char *kwnames
[] = {
28225 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
28228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28231 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28232 if (PyErr_Occurred()) SWIG_fail
;
28233 arg3
= (int) SWIG_AsInt(obj2
);
28234 if (PyErr_Occurred()) SWIG_fail
;
28236 arg4
= wxString_in_helper(obj3
);
28237 if (arg4
== NULL
) SWIG_fail
;
28242 arg5
= wxString_in_helper(obj4
);
28243 if (arg5
== NULL
) SWIG_fail
;
28248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28249 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
28251 wxPyEndAllowThreads(__tstate
);
28252 if (PyErr_Occurred()) SWIG_fail
;
28255 resultobj
= wxPyMake_wxObject(result
);
28279 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28280 PyObject
*resultobj
;
28281 wxMenu
*arg1
= (wxMenu
*) 0 ;
28284 wxString
*arg4
= 0 ;
28285 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28286 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28287 wxMenuItem
*result
;
28288 bool temp4
= False
;
28289 bool temp5
= False
;
28290 PyObject
* obj0
= 0 ;
28291 PyObject
* obj1
= 0 ;
28292 PyObject
* obj2
= 0 ;
28293 PyObject
* obj3
= 0 ;
28294 PyObject
* obj4
= 0 ;
28295 char *kwnames
[] = {
28296 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
28299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28302 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28303 if (PyErr_Occurred()) SWIG_fail
;
28304 arg3
= (int) SWIG_AsInt(obj2
);
28305 if (PyErr_Occurred()) SWIG_fail
;
28307 arg4
= wxString_in_helper(obj3
);
28308 if (arg4
== NULL
) SWIG_fail
;
28313 arg5
= wxString_in_helper(obj4
);
28314 if (arg5
== NULL
) SWIG_fail
;
28319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28320 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
28322 wxPyEndAllowThreads(__tstate
);
28323 if (PyErr_Occurred()) SWIG_fail
;
28326 resultobj
= wxPyMake_wxObject(result
);
28350 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28351 PyObject
*resultobj
;
28352 wxMenu
*arg1
= (wxMenu
*) 0 ;
28355 wxString
*arg4
= 0 ;
28356 wxMenu
*arg5
= (wxMenu
*) 0 ;
28357 wxString
const &arg6_defvalue
= wxPyEmptyString
;
28358 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
28359 wxMenuItem
*result
;
28360 bool temp4
= False
;
28361 bool temp6
= False
;
28362 PyObject
* obj0
= 0 ;
28363 PyObject
* obj1
= 0 ;
28364 PyObject
* obj2
= 0 ;
28365 PyObject
* obj3
= 0 ;
28366 PyObject
* obj4
= 0 ;
28367 PyObject
* obj5
= 0 ;
28368 char *kwnames
[] = {
28369 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
28372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28375 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28376 if (PyErr_Occurred()) SWIG_fail
;
28377 arg3
= (int) SWIG_AsInt(obj2
);
28378 if (PyErr_Occurred()) SWIG_fail
;
28380 arg4
= wxString_in_helper(obj3
);
28381 if (arg4
== NULL
) SWIG_fail
;
28384 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
28385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28388 arg6
= wxString_in_helper(obj5
);
28389 if (arg6
== NULL
) SWIG_fail
;
28394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28395 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
28397 wxPyEndAllowThreads(__tstate
);
28398 if (PyErr_Occurred()) SWIG_fail
;
28401 resultobj
= wxPyMake_wxObject(result
);
28425 static PyObject
*_wrap_Menu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28426 PyObject
*resultobj
;
28427 wxMenu
*arg1
= (wxMenu
*) 0 ;
28428 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28429 wxMenuItem
*result
;
28430 PyObject
* obj0
= 0 ;
28431 PyObject
* obj1
= 0 ;
28432 char *kwnames
[] = {
28433 (char *) "self",(char *) "item", NULL
28436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28439 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28443 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
28445 wxPyEndAllowThreads(__tstate
);
28446 if (PyErr_Occurred()) SWIG_fail
;
28449 resultobj
= wxPyMake_wxObject(result
);
28457 static PyObject
*_wrap_Menu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28458 PyObject
*resultobj
;
28459 wxMenu
*arg1
= (wxMenu
*) 0 ;
28461 wxString
*arg3
= 0 ;
28462 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28463 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28464 int arg5
= (int) wxITEM_NORMAL
;
28465 wxMenuItem
*result
;
28466 bool temp3
= False
;
28467 bool temp4
= False
;
28468 PyObject
* obj0
= 0 ;
28469 PyObject
* obj1
= 0 ;
28470 PyObject
* obj2
= 0 ;
28471 PyObject
* obj3
= 0 ;
28472 PyObject
* obj4
= 0 ;
28473 char *kwnames
[] = {
28474 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28480 arg2
= (int) SWIG_AsInt(obj1
);
28481 if (PyErr_Occurred()) SWIG_fail
;
28483 arg3
= wxString_in_helper(obj2
);
28484 if (arg3
== NULL
) SWIG_fail
;
28489 arg4
= wxString_in_helper(obj3
);
28490 if (arg4
== NULL
) SWIG_fail
;
28495 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
28496 if (PyErr_Occurred()) SWIG_fail
;
28499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28500 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
28502 wxPyEndAllowThreads(__tstate
);
28503 if (PyErr_Occurred()) SWIG_fail
;
28506 resultobj
= wxPyMake_wxObject(result
);
28530 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28531 PyObject
*resultobj
;
28532 wxMenu
*arg1
= (wxMenu
*) 0 ;
28533 wxMenuItem
*result
;
28534 PyObject
* obj0
= 0 ;
28535 char *kwnames
[] = {
28536 (char *) "self", NULL
28539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
28540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28544 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
28546 wxPyEndAllowThreads(__tstate
);
28547 if (PyErr_Occurred()) SWIG_fail
;
28550 resultobj
= wxPyMake_wxObject(result
);
28558 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28559 PyObject
*resultobj
;
28560 wxMenu
*arg1
= (wxMenu
*) 0 ;
28562 wxString
*arg3
= 0 ;
28563 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28564 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28565 wxMenuItem
*result
;
28566 bool temp3
= False
;
28567 bool temp4
= False
;
28568 PyObject
* obj0
= 0 ;
28569 PyObject
* obj1
= 0 ;
28570 PyObject
* obj2
= 0 ;
28571 PyObject
* obj3
= 0 ;
28572 char *kwnames
[] = {
28573 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28579 arg2
= (int) SWIG_AsInt(obj1
);
28580 if (PyErr_Occurred()) SWIG_fail
;
28582 arg3
= wxString_in_helper(obj2
);
28583 if (arg3
== NULL
) SWIG_fail
;
28588 arg4
= wxString_in_helper(obj3
);
28589 if (arg4
== NULL
) SWIG_fail
;
28594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28595 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28597 wxPyEndAllowThreads(__tstate
);
28598 if (PyErr_Occurred()) SWIG_fail
;
28601 resultobj
= wxPyMake_wxObject(result
);
28625 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28626 PyObject
*resultobj
;
28627 wxMenu
*arg1
= (wxMenu
*) 0 ;
28629 wxString
*arg3
= 0 ;
28630 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28631 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28632 wxMenuItem
*result
;
28633 bool temp3
= False
;
28634 bool temp4
= False
;
28635 PyObject
* obj0
= 0 ;
28636 PyObject
* obj1
= 0 ;
28637 PyObject
* obj2
= 0 ;
28638 PyObject
* obj3
= 0 ;
28639 char *kwnames
[] = {
28640 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28646 arg2
= (int) SWIG_AsInt(obj1
);
28647 if (PyErr_Occurred()) SWIG_fail
;
28649 arg3
= wxString_in_helper(obj2
);
28650 if (arg3
== NULL
) SWIG_fail
;
28655 arg4
= wxString_in_helper(obj3
);
28656 if (arg4
== NULL
) SWIG_fail
;
28661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28662 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28664 wxPyEndAllowThreads(__tstate
);
28665 if (PyErr_Occurred()) SWIG_fail
;
28668 resultobj
= wxPyMake_wxObject(result
);
28692 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28693 PyObject
*resultobj
;
28694 wxMenu
*arg1
= (wxMenu
*) 0 ;
28696 wxString
*arg3
= 0 ;
28697 wxMenu
*arg4
= (wxMenu
*) 0 ;
28698 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28699 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28700 wxMenuItem
*result
;
28701 bool temp3
= False
;
28702 bool temp5
= False
;
28703 PyObject
* obj0
= 0 ;
28704 PyObject
* obj1
= 0 ;
28705 PyObject
* obj2
= 0 ;
28706 PyObject
* obj3
= 0 ;
28707 PyObject
* obj4
= 0 ;
28708 char *kwnames
[] = {
28709 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
28712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28715 arg2
= (int) SWIG_AsInt(obj1
);
28716 if (PyErr_Occurred()) SWIG_fail
;
28718 arg3
= wxString_in_helper(obj2
);
28719 if (arg3
== NULL
) SWIG_fail
;
28722 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
28723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28726 arg5
= wxString_in_helper(obj4
);
28727 if (arg5
== NULL
) SWIG_fail
;
28732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28733 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
28735 wxPyEndAllowThreads(__tstate
);
28736 if (PyErr_Occurred()) SWIG_fail
;
28739 resultobj
= wxPyMake_wxObject(result
);
28763 static PyObject
*_wrap_Menu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28764 PyObject
*resultobj
;
28765 wxMenu
*arg1
= (wxMenu
*) 0 ;
28767 wxMenuItem
*result
;
28768 PyObject
* obj0
= 0 ;
28769 PyObject
* obj1
= 0 ;
28770 char *kwnames
[] = {
28771 (char *) "self",(char *) "id", NULL
28774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
28775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28777 arg2
= (int) SWIG_AsInt(obj1
);
28778 if (PyErr_Occurred()) SWIG_fail
;
28780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28781 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
28783 wxPyEndAllowThreads(__tstate
);
28784 if (PyErr_Occurred()) SWIG_fail
;
28787 resultobj
= wxPyMake_wxObject(result
);
28795 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28796 PyObject
*resultobj
;
28797 wxMenu
*arg1
= (wxMenu
*) 0 ;
28798 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28799 wxMenuItem
*result
;
28800 PyObject
* obj0
= 0 ;
28801 PyObject
* obj1
= 0 ;
28802 char *kwnames
[] = {
28803 (char *) "self",(char *) "item", NULL
28806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28809 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28813 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
28815 wxPyEndAllowThreads(__tstate
);
28816 if (PyErr_Occurred()) SWIG_fail
;
28819 resultobj
= wxPyMake_wxObject(result
);
28827 static PyObject
*_wrap_Menu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28828 PyObject
*resultobj
;
28829 wxMenu
*arg1
= (wxMenu
*) 0 ;
28832 PyObject
* obj0
= 0 ;
28833 PyObject
* obj1
= 0 ;
28834 char *kwnames
[] = {
28835 (char *) "self",(char *) "id", NULL
28838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
28839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28841 arg2
= (int) SWIG_AsInt(obj1
);
28842 if (PyErr_Occurred()) SWIG_fail
;
28844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28845 result
= (bool)(arg1
)->Delete(arg2
);
28847 wxPyEndAllowThreads(__tstate
);
28848 if (PyErr_Occurred()) SWIG_fail
;
28851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28859 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28860 PyObject
*resultobj
;
28861 wxMenu
*arg1
= (wxMenu
*) 0 ;
28862 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28864 PyObject
* obj0
= 0 ;
28865 PyObject
* obj1
= 0 ;
28866 char *kwnames
[] = {
28867 (char *) "self",(char *) "item", NULL
28870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28873 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28877 result
= (bool)(arg1
)->Delete(arg2
);
28879 wxPyEndAllowThreads(__tstate
);
28880 if (PyErr_Occurred()) SWIG_fail
;
28883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28891 static PyObject
*_wrap_Menu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28892 PyObject
*resultobj
;
28893 wxMenu
*arg1
= (wxMenu
*) 0 ;
28894 PyObject
* obj0
= 0 ;
28895 char *kwnames
[] = {
28896 (char *) "self", NULL
28899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
28900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28904 wxMenu_Destroy(arg1
);
28906 wxPyEndAllowThreads(__tstate
);
28907 if (PyErr_Occurred()) SWIG_fail
;
28909 Py_INCREF(Py_None
); resultobj
= Py_None
;
28916 static PyObject
*_wrap_Menu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28917 PyObject
*resultobj
;
28918 wxMenu
*arg1
= (wxMenu
*) 0 ;
28921 PyObject
* obj0
= 0 ;
28922 PyObject
* obj1
= 0 ;
28923 char *kwnames
[] = {
28924 (char *) "self",(char *) "id", NULL
28927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
28928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28930 arg2
= (int) SWIG_AsInt(obj1
);
28931 if (PyErr_Occurred()) SWIG_fail
;
28933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28934 result
= (bool)(arg1
)->Destroy(arg2
);
28936 wxPyEndAllowThreads(__tstate
);
28937 if (PyErr_Occurred()) SWIG_fail
;
28940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28948 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28949 PyObject
*resultobj
;
28950 wxMenu
*arg1
= (wxMenu
*) 0 ;
28951 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28953 PyObject
* obj0
= 0 ;
28954 PyObject
* obj1
= 0 ;
28955 char *kwnames
[] = {
28956 (char *) "self",(char *) "item", NULL
28959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28962 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28966 result
= (bool)(arg1
)->Destroy(arg2
);
28968 wxPyEndAllowThreads(__tstate
);
28969 if (PyErr_Occurred()) SWIG_fail
;
28972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28980 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28981 PyObject
*resultobj
;
28982 wxMenu
*arg1
= (wxMenu
*) 0 ;
28984 PyObject
* obj0
= 0 ;
28985 char *kwnames
[] = {
28986 (char *) "self", NULL
28989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
28990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28994 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
28996 wxPyEndAllowThreads(__tstate
);
28997 if (PyErr_Occurred()) SWIG_fail
;
28999 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
29006 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29007 PyObject
*resultobj
;
29008 wxMenu
*arg1
= (wxMenu
*) 0 ;
29010 PyObject
* obj0
= 0 ;
29011 char *kwnames
[] = {
29012 (char *) "self", NULL
29015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
29016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29020 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
29022 wxPyEndAllowThreads(__tstate
);
29023 if (PyErr_Occurred()) SWIG_fail
;
29025 resultobj
= result
;
29032 static PyObject
*_wrap_Menu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29033 PyObject
*resultobj
;
29034 wxMenu
*arg1
= (wxMenu
*) 0 ;
29035 wxString
*arg2
= 0 ;
29037 bool temp2
= False
;
29038 PyObject
* obj0
= 0 ;
29039 PyObject
* obj1
= 0 ;
29040 char *kwnames
[] = {
29041 (char *) "self",(char *) "item", NULL
29044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29048 arg2
= wxString_in_helper(obj1
);
29049 if (arg2
== NULL
) SWIG_fail
;
29053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29054 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
29056 wxPyEndAllowThreads(__tstate
);
29057 if (PyErr_Occurred()) SWIG_fail
;
29059 resultobj
= SWIG_FromInt((int)result
);
29074 static PyObject
*_wrap_Menu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29075 PyObject
*resultobj
;
29076 wxMenu
*arg1
= (wxMenu
*) 0 ;
29078 wxMenuItem
*result
;
29079 PyObject
* obj0
= 0 ;
29080 PyObject
* obj1
= 0 ;
29081 char *kwnames
[] = {
29082 (char *) "self",(char *) "id", NULL
29085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
29086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29088 arg2
= (int) SWIG_AsInt(obj1
);
29089 if (PyErr_Occurred()) SWIG_fail
;
29091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29092 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
29094 wxPyEndAllowThreads(__tstate
);
29095 if (PyErr_Occurred()) SWIG_fail
;
29098 resultobj
= wxPyMake_wxObject(result
);
29106 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29107 PyObject
*resultobj
;
29108 wxMenu
*arg1
= (wxMenu
*) 0 ;
29110 wxMenuItem
*result
;
29111 PyObject
* obj0
= 0 ;
29112 PyObject
* obj1
= 0 ;
29113 char *kwnames
[] = {
29114 (char *) "self",(char *) "position", NULL
29117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
29118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29120 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29121 if (PyErr_Occurred()) SWIG_fail
;
29123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29124 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
29126 wxPyEndAllowThreads(__tstate
);
29127 if (PyErr_Occurred()) SWIG_fail
;
29130 resultobj
= wxPyMake_wxObject(result
);
29138 static PyObject
*_wrap_Menu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29139 PyObject
*resultobj
;
29140 wxMenu
*arg1
= (wxMenu
*) 0 ;
29143 PyObject
* obj0
= 0 ;
29144 PyObject
* obj1
= 0 ;
29145 PyObject
* obj2
= 0 ;
29146 char *kwnames
[] = {
29147 (char *) "self",(char *) "id",(char *) "enable", NULL
29150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29153 arg2
= (int) SWIG_AsInt(obj1
);
29154 if (PyErr_Occurred()) SWIG_fail
;
29155 arg3
= (bool) SWIG_AsBool(obj2
);
29156 if (PyErr_Occurred()) SWIG_fail
;
29158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29159 (arg1
)->Enable(arg2
,arg3
);
29161 wxPyEndAllowThreads(__tstate
);
29162 if (PyErr_Occurred()) SWIG_fail
;
29164 Py_INCREF(Py_None
); resultobj
= Py_None
;
29171 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29172 PyObject
*resultobj
;
29173 wxMenu
*arg1
= (wxMenu
*) 0 ;
29176 PyObject
* obj0
= 0 ;
29177 PyObject
* obj1
= 0 ;
29178 char *kwnames
[] = {
29179 (char *) "self",(char *) "id", NULL
29182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
29183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29185 arg2
= (int) SWIG_AsInt(obj1
);
29186 if (PyErr_Occurred()) SWIG_fail
;
29188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29189 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
29191 wxPyEndAllowThreads(__tstate
);
29192 if (PyErr_Occurred()) SWIG_fail
;
29195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29203 static PyObject
*_wrap_Menu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29204 PyObject
*resultobj
;
29205 wxMenu
*arg1
= (wxMenu
*) 0 ;
29208 PyObject
* obj0
= 0 ;
29209 PyObject
* obj1
= 0 ;
29210 PyObject
* obj2
= 0 ;
29211 char *kwnames
[] = {
29212 (char *) "self",(char *) "id",(char *) "check", NULL
29215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29218 arg2
= (int) SWIG_AsInt(obj1
);
29219 if (PyErr_Occurred()) SWIG_fail
;
29220 arg3
= (bool) SWIG_AsBool(obj2
);
29221 if (PyErr_Occurred()) SWIG_fail
;
29223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29224 (arg1
)->Check(arg2
,arg3
);
29226 wxPyEndAllowThreads(__tstate
);
29227 if (PyErr_Occurred()) SWIG_fail
;
29229 Py_INCREF(Py_None
); resultobj
= Py_None
;
29236 static PyObject
*_wrap_Menu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29237 PyObject
*resultobj
;
29238 wxMenu
*arg1
= (wxMenu
*) 0 ;
29241 PyObject
* obj0
= 0 ;
29242 PyObject
* obj1
= 0 ;
29243 char *kwnames
[] = {
29244 (char *) "self",(char *) "id", NULL
29247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
29248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29250 arg2
= (int) SWIG_AsInt(obj1
);
29251 if (PyErr_Occurred()) SWIG_fail
;
29253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29254 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
29256 wxPyEndAllowThreads(__tstate
);
29257 if (PyErr_Occurred()) SWIG_fail
;
29260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29268 static PyObject
*_wrap_Menu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29269 PyObject
*resultobj
;
29270 wxMenu
*arg1
= (wxMenu
*) 0 ;
29272 wxString
*arg3
= 0 ;
29273 bool temp3
= False
;
29274 PyObject
* obj0
= 0 ;
29275 PyObject
* obj1
= 0 ;
29276 PyObject
* obj2
= 0 ;
29277 char *kwnames
[] = {
29278 (char *) "self",(char *) "id",(char *) "label", NULL
29281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29284 arg2
= (int) SWIG_AsInt(obj1
);
29285 if (PyErr_Occurred()) SWIG_fail
;
29287 arg3
= wxString_in_helper(obj2
);
29288 if (arg3
== NULL
) SWIG_fail
;
29292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29293 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
29295 wxPyEndAllowThreads(__tstate
);
29296 if (PyErr_Occurred()) SWIG_fail
;
29298 Py_INCREF(Py_None
); resultobj
= Py_None
;
29313 static PyObject
*_wrap_Menu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29314 PyObject
*resultobj
;
29315 wxMenu
*arg1
= (wxMenu
*) 0 ;
29318 PyObject
* obj0
= 0 ;
29319 PyObject
* obj1
= 0 ;
29320 char *kwnames
[] = {
29321 (char *) "self",(char *) "id", NULL
29324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
29325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29327 arg2
= (int) SWIG_AsInt(obj1
);
29328 if (PyErr_Occurred()) SWIG_fail
;
29330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29331 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
29333 wxPyEndAllowThreads(__tstate
);
29334 if (PyErr_Occurred()) SWIG_fail
;
29338 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29340 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29349 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29350 PyObject
*resultobj
;
29351 wxMenu
*arg1
= (wxMenu
*) 0 ;
29353 wxString
*arg3
= 0 ;
29354 bool temp3
= False
;
29355 PyObject
* obj0
= 0 ;
29356 PyObject
* obj1
= 0 ;
29357 PyObject
* obj2
= 0 ;
29358 char *kwnames
[] = {
29359 (char *) "self",(char *) "id",(char *) "helpString", NULL
29362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29365 arg2
= (int) SWIG_AsInt(obj1
);
29366 if (PyErr_Occurred()) SWIG_fail
;
29368 arg3
= wxString_in_helper(obj2
);
29369 if (arg3
== NULL
) SWIG_fail
;
29373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29374 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
29376 wxPyEndAllowThreads(__tstate
);
29377 if (PyErr_Occurred()) SWIG_fail
;
29379 Py_INCREF(Py_None
); resultobj
= Py_None
;
29394 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29395 PyObject
*resultobj
;
29396 wxMenu
*arg1
= (wxMenu
*) 0 ;
29399 PyObject
* obj0
= 0 ;
29400 PyObject
* obj1
= 0 ;
29401 char *kwnames
[] = {
29402 (char *) "self",(char *) "id", NULL
29405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
29406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29408 arg2
= (int) SWIG_AsInt(obj1
);
29409 if (PyErr_Occurred()) SWIG_fail
;
29411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29412 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
29414 wxPyEndAllowThreads(__tstate
);
29415 if (PyErr_Occurred()) SWIG_fail
;
29419 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29421 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29430 static PyObject
*_wrap_Menu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29431 PyObject
*resultobj
;
29432 wxMenu
*arg1
= (wxMenu
*) 0 ;
29433 wxString
*arg2
= 0 ;
29434 bool temp2
= False
;
29435 PyObject
* obj0
= 0 ;
29436 PyObject
* obj1
= 0 ;
29437 char *kwnames
[] = {
29438 (char *) "self",(char *) "title", NULL
29441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
29442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29445 arg2
= wxString_in_helper(obj1
);
29446 if (arg2
== NULL
) SWIG_fail
;
29450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29451 (arg1
)->SetTitle((wxString
const &)*arg2
);
29453 wxPyEndAllowThreads(__tstate
);
29454 if (PyErr_Occurred()) SWIG_fail
;
29456 Py_INCREF(Py_None
); resultobj
= Py_None
;
29471 static PyObject
*_wrap_Menu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29472 PyObject
*resultobj
;
29473 wxMenu
*arg1
= (wxMenu
*) 0 ;
29475 PyObject
* obj0
= 0 ;
29476 char *kwnames
[] = {
29477 (char *) "self", NULL
29480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
29481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29485 result
= ((wxMenu
const *)arg1
)->GetTitle();
29487 wxPyEndAllowThreads(__tstate
);
29488 if (PyErr_Occurred()) SWIG_fail
;
29492 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29494 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29503 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29504 PyObject
*resultobj
;
29505 wxMenu
*arg1
= (wxMenu
*) 0 ;
29506 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
29507 PyObject
* obj0
= 0 ;
29508 PyObject
* obj1
= 0 ;
29509 char *kwnames
[] = {
29510 (char *) "self",(char *) "handler", NULL
29513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
29514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29516 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
29517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29520 (arg1
)->SetEventHandler(arg2
);
29522 wxPyEndAllowThreads(__tstate
);
29523 if (PyErr_Occurred()) SWIG_fail
;
29525 Py_INCREF(Py_None
); resultobj
= Py_None
;
29532 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29533 PyObject
*resultobj
;
29534 wxMenu
*arg1
= (wxMenu
*) 0 ;
29535 wxEvtHandler
*result
;
29536 PyObject
* obj0
= 0 ;
29537 char *kwnames
[] = {
29538 (char *) "self", NULL
29541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
29542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29546 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
29548 wxPyEndAllowThreads(__tstate
);
29549 if (PyErr_Occurred()) SWIG_fail
;
29552 resultobj
= wxPyMake_wxObject(result
);
29560 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29561 PyObject
*resultobj
;
29562 wxMenu
*arg1
= (wxMenu
*) 0 ;
29563 wxWindow
*arg2
= (wxWindow
*) 0 ;
29564 PyObject
* obj0
= 0 ;
29565 PyObject
* obj1
= 0 ;
29566 char *kwnames
[] = {
29567 (char *) "self",(char *) "win", NULL
29570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
29571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29573 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29577 (arg1
)->SetInvokingWindow(arg2
);
29579 wxPyEndAllowThreads(__tstate
);
29580 if (PyErr_Occurred()) SWIG_fail
;
29582 Py_INCREF(Py_None
); resultobj
= Py_None
;
29589 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29590 PyObject
*resultobj
;
29591 wxMenu
*arg1
= (wxMenu
*) 0 ;
29593 PyObject
* obj0
= 0 ;
29594 char *kwnames
[] = {
29595 (char *) "self", NULL
29598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
29599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29603 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
29605 wxPyEndAllowThreads(__tstate
);
29606 if (PyErr_Occurred()) SWIG_fail
;
29609 resultobj
= wxPyMake_wxObject(result
);
29617 static PyObject
*_wrap_Menu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29618 PyObject
*resultobj
;
29619 wxMenu
*arg1
= (wxMenu
*) 0 ;
29621 PyObject
* obj0
= 0 ;
29622 char *kwnames
[] = {
29623 (char *) "self", NULL
29626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
29627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29631 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
29633 wxPyEndAllowThreads(__tstate
);
29634 if (PyErr_Occurred()) SWIG_fail
;
29636 resultobj
= SWIG_FromLong((long)result
);
29643 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29644 PyObject
*resultobj
;
29645 wxMenu
*arg1
= (wxMenu
*) 0 ;
29646 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
29647 PyObject
* obj0
= 0 ;
29648 PyObject
* obj1
= 0 ;
29649 char *kwnames
[] = {
29650 (char *) "self",(char *) "source", NULL
29653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
29654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29657 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
29658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29662 (arg1
)->UpdateUI(arg2
);
29664 wxPyEndAllowThreads(__tstate
);
29665 if (PyErr_Occurred()) SWIG_fail
;
29667 Py_INCREF(Py_None
); resultobj
= Py_None
;
29674 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29675 PyObject
*resultobj
;
29676 wxMenu
*arg1
= (wxMenu
*) 0 ;
29678 PyObject
* obj0
= 0 ;
29679 char *kwnames
[] = {
29680 (char *) "self", NULL
29683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
29684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29688 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
29690 wxPyEndAllowThreads(__tstate
);
29691 if (PyErr_Occurred()) SWIG_fail
;
29694 resultobj
= wxPyMake_wxObject(result
);
29702 static PyObject
*_wrap_Menu_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29703 PyObject
*resultobj
;
29704 wxMenu
*arg1
= (wxMenu
*) 0 ;
29705 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
29706 PyObject
* obj0
= 0 ;
29707 PyObject
* obj1
= 0 ;
29708 char *kwnames
[] = {
29709 (char *) "self",(char *) "menubar", NULL
29712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
29713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29715 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
29716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29719 (arg1
)->Attach(arg2
);
29721 wxPyEndAllowThreads(__tstate
);
29722 if (PyErr_Occurred()) SWIG_fail
;
29724 Py_INCREF(Py_None
); resultobj
= Py_None
;
29731 static PyObject
*_wrap_Menu_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29732 PyObject
*resultobj
;
29733 wxMenu
*arg1
= (wxMenu
*) 0 ;
29734 PyObject
* obj0
= 0 ;
29735 char *kwnames
[] = {
29736 (char *) "self", NULL
29739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
29740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29746 wxPyEndAllowThreads(__tstate
);
29747 if (PyErr_Occurred()) SWIG_fail
;
29749 Py_INCREF(Py_None
); resultobj
= Py_None
;
29756 static PyObject
*_wrap_Menu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29757 PyObject
*resultobj
;
29758 wxMenu
*arg1
= (wxMenu
*) 0 ;
29760 PyObject
* obj0
= 0 ;
29761 char *kwnames
[] = {
29762 (char *) "self", NULL
29765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
29766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29770 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
29772 wxPyEndAllowThreads(__tstate
);
29773 if (PyErr_Occurred()) SWIG_fail
;
29776 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29784 static PyObject
*_wrap_Menu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29785 PyObject
*resultobj
;
29786 wxMenu
*arg1
= (wxMenu
*) 0 ;
29787 wxMenu
*arg2
= (wxMenu
*) 0 ;
29788 PyObject
* obj0
= 0 ;
29789 PyObject
* obj1
= 0 ;
29790 char *kwnames
[] = {
29791 (char *) "self",(char *) "parent", NULL
29794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
29795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29797 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
29798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29801 (arg1
)->SetParent(arg2
);
29803 wxPyEndAllowThreads(__tstate
);
29804 if (PyErr_Occurred()) SWIG_fail
;
29806 Py_INCREF(Py_None
); resultobj
= Py_None
;
29813 static PyObject
*_wrap_Menu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29814 PyObject
*resultobj
;
29815 wxMenu
*arg1
= (wxMenu
*) 0 ;
29817 PyObject
* obj0
= 0 ;
29818 char *kwnames
[] = {
29819 (char *) "self", NULL
29822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
29823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29827 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
29829 wxPyEndAllowThreads(__tstate
);
29830 if (PyErr_Occurred()) SWIG_fail
;
29833 resultobj
= wxPyMake_wxObject(result
);
29841 static PyObject
* Menu_swigregister(PyObject
*self
, PyObject
*args
) {
29843 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29844 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
29846 return Py_BuildValue((char *)"");
29848 static PyObject
*_wrap_new_MenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29849 PyObject
*resultobj
;
29850 long arg1
= (long) 0 ;
29852 PyObject
* obj0
= 0 ;
29853 char *kwnames
[] = {
29854 (char *) "style", NULL
29857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
29859 arg1
= (long) SWIG_AsLong(obj0
);
29860 if (PyErr_Occurred()) SWIG_fail
;
29863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29864 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
29866 wxPyEndAllowThreads(__tstate
);
29867 if (PyErr_Occurred()) SWIG_fail
;
29870 resultobj
= wxPyMake_wxObject(result
);
29878 static PyObject
*_wrap_MenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29879 PyObject
*resultobj
;
29880 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29881 wxMenu
*arg2
= (wxMenu
*) 0 ;
29882 wxString
*arg3
= 0 ;
29884 bool temp3
= False
;
29885 PyObject
* obj0
= 0 ;
29886 PyObject
* obj1
= 0 ;
29887 PyObject
* obj2
= 0 ;
29888 char *kwnames
[] = {
29889 (char *) "self",(char *) "menu",(char *) "title", NULL
29892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29895 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
29896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29898 arg3
= wxString_in_helper(obj2
);
29899 if (arg3
== NULL
) SWIG_fail
;
29903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29904 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
29906 wxPyEndAllowThreads(__tstate
);
29907 if (PyErr_Occurred()) SWIG_fail
;
29910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29926 static PyObject
*_wrap_MenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29927 PyObject
*resultobj
;
29928 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29930 wxMenu
*arg3
= (wxMenu
*) 0 ;
29931 wxString
*arg4
= 0 ;
29933 bool temp4
= False
;
29934 PyObject
* obj0
= 0 ;
29935 PyObject
* obj1
= 0 ;
29936 PyObject
* obj2
= 0 ;
29937 PyObject
* obj3
= 0 ;
29938 char *kwnames
[] = {
29939 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
29942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29945 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29946 if (PyErr_Occurred()) SWIG_fail
;
29947 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
29948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29950 arg4
= wxString_in_helper(obj3
);
29951 if (arg4
== NULL
) SWIG_fail
;
29955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29956 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
29958 wxPyEndAllowThreads(__tstate
);
29959 if (PyErr_Occurred()) SWIG_fail
;
29962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29978 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29979 PyObject
*resultobj
;
29980 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29982 PyObject
* obj0
= 0 ;
29983 char *kwnames
[] = {
29984 (char *) "self", NULL
29987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
29988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29992 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
29994 wxPyEndAllowThreads(__tstate
);
29995 if (PyErr_Occurred()) SWIG_fail
;
29997 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
30004 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30005 PyObject
*resultobj
;
30006 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30009 PyObject
* obj0
= 0 ;
30010 PyObject
* obj1
= 0 ;
30011 char *kwnames
[] = {
30012 (char *) "self",(char *) "pos", NULL
30015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
30016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30018 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30019 if (PyErr_Occurred()) SWIG_fail
;
30021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30022 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
30024 wxPyEndAllowThreads(__tstate
);
30025 if (PyErr_Occurred()) SWIG_fail
;
30028 resultobj
= wxPyMake_wxObject(result
);
30036 static PyObject
*_wrap_MenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30037 PyObject
*resultobj
;
30038 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30040 wxMenu
*arg3
= (wxMenu
*) 0 ;
30041 wxString
*arg4
= 0 ;
30043 bool temp4
= False
;
30044 PyObject
* obj0
= 0 ;
30045 PyObject
* obj1
= 0 ;
30046 PyObject
* obj2
= 0 ;
30047 PyObject
* obj3
= 0 ;
30048 char *kwnames
[] = {
30049 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30055 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30056 if (PyErr_Occurred()) SWIG_fail
;
30057 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
30058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30060 arg4
= wxString_in_helper(obj3
);
30061 if (arg4
== NULL
) SWIG_fail
;
30065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30066 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
30068 wxPyEndAllowThreads(__tstate
);
30069 if (PyErr_Occurred()) SWIG_fail
;
30072 resultobj
= wxPyMake_wxObject(result
);
30088 static PyObject
*_wrap_MenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30089 PyObject
*resultobj
;
30090 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30093 PyObject
* obj0
= 0 ;
30094 PyObject
* obj1
= 0 ;
30095 char *kwnames
[] = {
30096 (char *) "self",(char *) "pos", NULL
30099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
30100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30102 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30103 if (PyErr_Occurred()) SWIG_fail
;
30105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30106 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
30108 wxPyEndAllowThreads(__tstate
);
30109 if (PyErr_Occurred()) SWIG_fail
;
30112 resultobj
= wxPyMake_wxObject(result
);
30120 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30121 PyObject
*resultobj
;
30122 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30125 PyObject
* obj0
= 0 ;
30126 PyObject
* obj1
= 0 ;
30127 PyObject
* obj2
= 0 ;
30128 char *kwnames
[] = {
30129 (char *) "self",(char *) "pos",(char *) "enable", NULL
30132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30135 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30136 if (PyErr_Occurred()) SWIG_fail
;
30137 arg3
= (bool) SWIG_AsBool(obj2
);
30138 if (PyErr_Occurred()) SWIG_fail
;
30140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30141 (arg1
)->EnableTop(arg2
,arg3
);
30143 wxPyEndAllowThreads(__tstate
);
30144 if (PyErr_Occurred()) SWIG_fail
;
30146 Py_INCREF(Py_None
); resultobj
= Py_None
;
30153 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30154 PyObject
*resultobj
;
30155 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30158 PyObject
* obj0
= 0 ;
30159 PyObject
* obj1
= 0 ;
30160 char *kwnames
[] = {
30161 (char *) "self",(char *) "pos", NULL
30164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
30165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30167 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30168 if (PyErr_Occurred()) SWIG_fail
;
30170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30171 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
30173 wxPyEndAllowThreads(__tstate
);
30174 if (PyErr_Occurred()) SWIG_fail
;
30177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30185 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30186 PyObject
*resultobj
;
30187 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30189 wxString
*arg3
= 0 ;
30190 bool temp3
= False
;
30191 PyObject
* obj0
= 0 ;
30192 PyObject
* obj1
= 0 ;
30193 PyObject
* obj2
= 0 ;
30194 char *kwnames
[] = {
30195 (char *) "self",(char *) "pos",(char *) "label", NULL
30198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30201 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30202 if (PyErr_Occurred()) SWIG_fail
;
30204 arg3
= wxString_in_helper(obj2
);
30205 if (arg3
== NULL
) SWIG_fail
;
30209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30210 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
30212 wxPyEndAllowThreads(__tstate
);
30213 if (PyErr_Occurred()) SWIG_fail
;
30215 Py_INCREF(Py_None
); resultobj
= Py_None
;
30230 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30231 PyObject
*resultobj
;
30232 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30235 PyObject
* obj0
= 0 ;
30236 PyObject
* obj1
= 0 ;
30237 char *kwnames
[] = {
30238 (char *) "self",(char *) "pos", NULL
30241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
30242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30244 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30245 if (PyErr_Occurred()) SWIG_fail
;
30247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30248 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
30250 wxPyEndAllowThreads(__tstate
);
30251 if (PyErr_Occurred()) SWIG_fail
;
30255 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30257 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30266 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30267 PyObject
*resultobj
;
30268 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30269 wxString
*arg2
= 0 ;
30270 wxString
*arg3
= 0 ;
30272 bool temp2
= False
;
30273 bool temp3
= False
;
30274 PyObject
* obj0
= 0 ;
30275 PyObject
* obj1
= 0 ;
30276 PyObject
* obj2
= 0 ;
30277 char *kwnames
[] = {
30278 (char *) "self",(char *) "menu",(char *) "item", NULL
30281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30285 arg2
= wxString_in_helper(obj1
);
30286 if (arg2
== NULL
) SWIG_fail
;
30290 arg3
= wxString_in_helper(obj2
);
30291 if (arg3
== NULL
) SWIG_fail
;
30295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30296 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
30298 wxPyEndAllowThreads(__tstate
);
30299 if (PyErr_Occurred()) SWIG_fail
;
30301 resultobj
= SWIG_FromInt((int)result
);
30324 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30325 PyObject
*resultobj
;
30326 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30328 wxMenuItem
*result
;
30329 PyObject
* obj0
= 0 ;
30330 PyObject
* obj1
= 0 ;
30331 char *kwnames
[] = {
30332 (char *) "self",(char *) "id", NULL
30335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
30336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30338 arg2
= (int) SWIG_AsInt(obj1
);
30339 if (PyErr_Occurred()) SWIG_fail
;
30341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30342 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
30344 wxPyEndAllowThreads(__tstate
);
30345 if (PyErr_Occurred()) SWIG_fail
;
30348 resultobj
= wxPyMake_wxObject(result
);
30356 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30357 PyObject
*resultobj
;
30358 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30359 wxString
*arg2
= 0 ;
30361 bool temp2
= False
;
30362 PyObject
* obj0
= 0 ;
30363 PyObject
* obj1
= 0 ;
30364 char *kwnames
[] = {
30365 (char *) "self",(char *) "title", NULL
30368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
30369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30372 arg2
= wxString_in_helper(obj1
);
30373 if (arg2
== NULL
) SWIG_fail
;
30377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30378 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
30380 wxPyEndAllowThreads(__tstate
);
30381 if (PyErr_Occurred()) SWIG_fail
;
30383 resultobj
= SWIG_FromInt((int)result
);
30398 static PyObject
*_wrap_MenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30399 PyObject
*resultobj
;
30400 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30403 PyObject
* obj0
= 0 ;
30404 PyObject
* obj1
= 0 ;
30405 PyObject
* obj2
= 0 ;
30406 char *kwnames
[] = {
30407 (char *) "self",(char *) "id",(char *) "enable", NULL
30410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30413 arg2
= (int) SWIG_AsInt(obj1
);
30414 if (PyErr_Occurred()) SWIG_fail
;
30415 arg3
= (bool) SWIG_AsBool(obj2
);
30416 if (PyErr_Occurred()) SWIG_fail
;
30418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30419 (arg1
)->Enable(arg2
,arg3
);
30421 wxPyEndAllowThreads(__tstate
);
30422 if (PyErr_Occurred()) SWIG_fail
;
30424 Py_INCREF(Py_None
); resultobj
= Py_None
;
30431 static PyObject
*_wrap_MenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30432 PyObject
*resultobj
;
30433 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30436 PyObject
* obj0
= 0 ;
30437 PyObject
* obj1
= 0 ;
30438 PyObject
* obj2
= 0 ;
30439 char *kwnames
[] = {
30440 (char *) "self",(char *) "id",(char *) "check", NULL
30443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30446 arg2
= (int) SWIG_AsInt(obj1
);
30447 if (PyErr_Occurred()) SWIG_fail
;
30448 arg3
= (bool) SWIG_AsBool(obj2
);
30449 if (PyErr_Occurred()) SWIG_fail
;
30451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30452 (arg1
)->Check(arg2
,arg3
);
30454 wxPyEndAllowThreads(__tstate
);
30455 if (PyErr_Occurred()) SWIG_fail
;
30457 Py_INCREF(Py_None
); resultobj
= Py_None
;
30464 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30465 PyObject
*resultobj
;
30466 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30469 PyObject
* obj0
= 0 ;
30470 PyObject
* obj1
= 0 ;
30471 char *kwnames
[] = {
30472 (char *) "self",(char *) "id", NULL
30475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
30476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30478 arg2
= (int) SWIG_AsInt(obj1
);
30479 if (PyErr_Occurred()) SWIG_fail
;
30481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30482 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
30484 wxPyEndAllowThreads(__tstate
);
30485 if (PyErr_Occurred()) SWIG_fail
;
30488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30496 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30497 PyObject
*resultobj
;
30498 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30501 PyObject
* obj0
= 0 ;
30502 PyObject
* obj1
= 0 ;
30503 char *kwnames
[] = {
30504 (char *) "self",(char *) "id", NULL
30507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
30508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30510 arg2
= (int) SWIG_AsInt(obj1
);
30511 if (PyErr_Occurred()) SWIG_fail
;
30513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30514 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
30516 wxPyEndAllowThreads(__tstate
);
30517 if (PyErr_Occurred()) SWIG_fail
;
30520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30528 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30529 PyObject
*resultobj
;
30530 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30532 wxString
*arg3
= 0 ;
30533 bool temp3
= False
;
30534 PyObject
* obj0
= 0 ;
30535 PyObject
* obj1
= 0 ;
30536 PyObject
* obj2
= 0 ;
30537 char *kwnames
[] = {
30538 (char *) "self",(char *) "id",(char *) "label", NULL
30541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30544 arg2
= (int) SWIG_AsInt(obj1
);
30545 if (PyErr_Occurred()) SWIG_fail
;
30547 arg3
= wxString_in_helper(obj2
);
30548 if (arg3
== NULL
) SWIG_fail
;
30552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30553 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
30555 wxPyEndAllowThreads(__tstate
);
30556 if (PyErr_Occurred()) SWIG_fail
;
30558 Py_INCREF(Py_None
); resultobj
= Py_None
;
30573 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30574 PyObject
*resultobj
;
30575 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30578 PyObject
* obj0
= 0 ;
30579 PyObject
* obj1
= 0 ;
30580 char *kwnames
[] = {
30581 (char *) "self",(char *) "id", NULL
30584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30587 arg2
= (int) SWIG_AsInt(obj1
);
30588 if (PyErr_Occurred()) SWIG_fail
;
30590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30591 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
30593 wxPyEndAllowThreads(__tstate
);
30594 if (PyErr_Occurred()) SWIG_fail
;
30598 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30600 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30609 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30610 PyObject
*resultobj
;
30611 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30613 wxString
*arg3
= 0 ;
30614 bool temp3
= False
;
30615 PyObject
* obj0
= 0 ;
30616 PyObject
* obj1
= 0 ;
30617 PyObject
* obj2
= 0 ;
30618 char *kwnames
[] = {
30619 (char *) "self",(char *) "id",(char *) "helpString", NULL
30622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30625 arg2
= (int) SWIG_AsInt(obj1
);
30626 if (PyErr_Occurred()) SWIG_fail
;
30628 arg3
= wxString_in_helper(obj2
);
30629 if (arg3
== NULL
) SWIG_fail
;
30633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30634 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
30636 wxPyEndAllowThreads(__tstate
);
30637 if (PyErr_Occurred()) SWIG_fail
;
30639 Py_INCREF(Py_None
); resultobj
= Py_None
;
30654 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30655 PyObject
*resultobj
;
30656 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30659 PyObject
* obj0
= 0 ;
30660 PyObject
* obj1
= 0 ;
30661 char *kwnames
[] = {
30662 (char *) "self",(char *) "id", NULL
30665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
30666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30668 arg2
= (int) SWIG_AsInt(obj1
);
30669 if (PyErr_Occurred()) SWIG_fail
;
30671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30672 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
30674 wxPyEndAllowThreads(__tstate
);
30675 if (PyErr_Occurred()) SWIG_fail
;
30679 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30681 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30690 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30691 PyObject
*resultobj
;
30692 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30694 PyObject
* obj0
= 0 ;
30695 char *kwnames
[] = {
30696 (char *) "self", NULL
30699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
30700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30704 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
30706 wxPyEndAllowThreads(__tstate
);
30707 if (PyErr_Occurred()) SWIG_fail
;
30710 resultobj
= wxPyMake_wxObject(result
);
30718 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30719 PyObject
*resultobj
;
30720 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30722 PyObject
* obj0
= 0 ;
30723 char *kwnames
[] = {
30724 (char *) "self", NULL
30727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
30728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30732 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
30734 wxPyEndAllowThreads(__tstate
);
30735 if (PyErr_Occurred()) SWIG_fail
;
30738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30746 static PyObject
*_wrap_MenuBar_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30747 PyObject
*resultobj
;
30748 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30749 wxFrame
*arg2
= (wxFrame
*) 0 ;
30750 PyObject
* obj0
= 0 ;
30751 PyObject
* obj1
= 0 ;
30752 char *kwnames
[] = {
30753 (char *) "self",(char *) "frame", NULL
30756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
30757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30759 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
30760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30763 (arg1
)->Attach(arg2
);
30765 wxPyEndAllowThreads(__tstate
);
30766 if (PyErr_Occurred()) SWIG_fail
;
30768 Py_INCREF(Py_None
); resultobj
= Py_None
;
30775 static PyObject
*_wrap_MenuBar_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30776 PyObject
*resultobj
;
30777 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30778 PyObject
* obj0
= 0 ;
30779 char *kwnames
[] = {
30780 (char *) "self", NULL
30783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
30784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30790 wxPyEndAllowThreads(__tstate
);
30791 if (PyErr_Occurred()) SWIG_fail
;
30793 Py_INCREF(Py_None
); resultobj
= Py_None
;
30800 static PyObject
* MenuBar_swigregister(PyObject
*self
, PyObject
*args
) {
30802 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30803 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
30805 return Py_BuildValue((char *)"");
30807 static PyObject
*_wrap_new_MenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30808 PyObject
*resultobj
;
30809 wxMenu
*arg1
= (wxMenu
*) NULL
;
30810 int arg2
= (int) wxID_SEPARATOR
;
30811 wxString
const &arg3_defvalue
= wxPyEmptyString
;
30812 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
30813 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30814 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30815 int arg5
= (int) wxITEM_NORMAL
;
30816 wxMenu
*arg6
= (wxMenu
*) NULL
;
30817 wxMenuItem
*result
;
30818 bool temp3
= False
;
30819 bool temp4
= False
;
30820 PyObject
* obj0
= 0 ;
30821 PyObject
* obj1
= 0 ;
30822 PyObject
* obj2
= 0 ;
30823 PyObject
* obj3
= 0 ;
30824 PyObject
* obj4
= 0 ;
30825 PyObject
* obj5
= 0 ;
30826 char *kwnames
[] = {
30827 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
30830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30836 arg2
= (int) SWIG_AsInt(obj1
);
30837 if (PyErr_Occurred()) SWIG_fail
;
30841 arg3
= wxString_in_helper(obj2
);
30842 if (arg3
== NULL
) SWIG_fail
;
30848 arg4
= wxString_in_helper(obj3
);
30849 if (arg4
== NULL
) SWIG_fail
;
30854 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
30855 if (PyErr_Occurred()) SWIG_fail
;
30858 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
30859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30863 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
30865 wxPyEndAllowThreads(__tstate
);
30866 if (PyErr_Occurred()) SWIG_fail
;
30869 resultobj
= wxPyMake_wxObject(result
);
30893 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30894 PyObject
*resultobj
;
30895 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30897 PyObject
* obj0
= 0 ;
30898 char *kwnames
[] = {
30899 (char *) "self", NULL
30902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
30903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30907 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
30909 wxPyEndAllowThreads(__tstate
);
30910 if (PyErr_Occurred()) SWIG_fail
;
30913 resultobj
= wxPyMake_wxObject(result
);
30921 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30922 PyObject
*resultobj
;
30923 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30924 wxMenu
*arg2
= (wxMenu
*) 0 ;
30925 PyObject
* obj0
= 0 ;
30926 PyObject
* obj1
= 0 ;
30927 char *kwnames
[] = {
30928 (char *) "self",(char *) "menu", NULL
30931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
30932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30934 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30938 (arg1
)->SetMenu(arg2
);
30940 wxPyEndAllowThreads(__tstate
);
30941 if (PyErr_Occurred()) SWIG_fail
;
30943 Py_INCREF(Py_None
); resultobj
= Py_None
;
30950 static PyObject
*_wrap_MenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30951 PyObject
*resultobj
;
30952 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30954 PyObject
* obj0
= 0 ;
30955 PyObject
* obj1
= 0 ;
30956 char *kwnames
[] = {
30957 (char *) "self",(char *) "id", NULL
30960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
30961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30963 arg2
= (int) SWIG_AsInt(obj1
);
30964 if (PyErr_Occurred()) SWIG_fail
;
30966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30967 (arg1
)->SetId(arg2
);
30969 wxPyEndAllowThreads(__tstate
);
30970 if (PyErr_Occurred()) SWIG_fail
;
30972 Py_INCREF(Py_None
); resultobj
= Py_None
;
30979 static PyObject
*_wrap_MenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30980 PyObject
*resultobj
;
30981 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30983 PyObject
* obj0
= 0 ;
30984 char *kwnames
[] = {
30985 (char *) "self", NULL
30988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
30989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30993 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
30995 wxPyEndAllowThreads(__tstate
);
30996 if (PyErr_Occurred()) SWIG_fail
;
30998 resultobj
= SWIG_FromInt((int)result
);
31005 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31006 PyObject
*resultobj
;
31007 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31009 PyObject
* obj0
= 0 ;
31010 char *kwnames
[] = {
31011 (char *) "self", NULL
31014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
31015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31019 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
31021 wxPyEndAllowThreads(__tstate
);
31022 if (PyErr_Occurred()) SWIG_fail
;
31025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31033 static PyObject
*_wrap_MenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31034 PyObject
*resultobj
;
31035 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31036 wxString
*arg2
= 0 ;
31037 bool temp2
= False
;
31038 PyObject
* obj0
= 0 ;
31039 PyObject
* obj1
= 0 ;
31040 char *kwnames
[] = {
31041 (char *) "self",(char *) "str", NULL
31044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
31045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31048 arg2
= wxString_in_helper(obj1
);
31049 if (arg2
== NULL
) SWIG_fail
;
31053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31054 (arg1
)->SetText((wxString
const &)*arg2
);
31056 wxPyEndAllowThreads(__tstate
);
31057 if (PyErr_Occurred()) SWIG_fail
;
31059 Py_INCREF(Py_None
); resultobj
= Py_None
;
31074 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31075 PyObject
*resultobj
;
31076 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31078 PyObject
* obj0
= 0 ;
31079 char *kwnames
[] = {
31080 (char *) "self", NULL
31083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
31084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31088 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
31090 wxPyEndAllowThreads(__tstate
);
31091 if (PyErr_Occurred()) SWIG_fail
;
31095 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31097 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31106 static PyObject
*_wrap_MenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31107 PyObject
*resultobj
;
31108 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31110 PyObject
* obj0
= 0 ;
31111 char *kwnames
[] = {
31112 (char *) "self", NULL
31115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
31116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31121 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
31122 result
= (wxString
*) &_result_ref
;
31125 wxPyEndAllowThreads(__tstate
);
31126 if (PyErr_Occurred()) SWIG_fail
;
31130 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
31132 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
31141 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31142 PyObject
*resultobj
;
31143 wxString
*arg1
= 0 ;
31145 bool temp1
= False
;
31146 PyObject
* obj0
= 0 ;
31147 char *kwnames
[] = {
31148 (char *) "text", NULL
31151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
31153 arg1
= wxString_in_helper(obj0
);
31154 if (arg1
== NULL
) SWIG_fail
;
31158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31159 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
31161 wxPyEndAllowThreads(__tstate
);
31162 if (PyErr_Occurred()) SWIG_fail
;
31166 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31168 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31185 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31186 PyObject
*resultobj
;
31187 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31189 PyObject
* obj0
= 0 ;
31190 char *kwnames
[] = {
31191 (char *) "self", NULL
31194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
31195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31199 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
31201 wxPyEndAllowThreads(__tstate
);
31202 if (PyErr_Occurred()) SWIG_fail
;
31204 resultobj
= SWIG_FromInt((int)result
);
31211 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31212 PyObject
*resultobj
;
31213 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31215 PyObject
* obj0
= 0 ;
31216 PyObject
* obj1
= 0 ;
31217 char *kwnames
[] = {
31218 (char *) "self",(char *) "checkable", NULL
31221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
31222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31224 arg2
= (bool) SWIG_AsBool(obj1
);
31225 if (PyErr_Occurred()) SWIG_fail
;
31227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31228 (arg1
)->SetCheckable(arg2
);
31230 wxPyEndAllowThreads(__tstate
);
31231 if (PyErr_Occurred()) SWIG_fail
;
31233 Py_INCREF(Py_None
); resultobj
= Py_None
;
31240 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31241 PyObject
*resultobj
;
31242 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31244 PyObject
* obj0
= 0 ;
31245 char *kwnames
[] = {
31246 (char *) "self", NULL
31249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
31250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31254 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
31256 wxPyEndAllowThreads(__tstate
);
31257 if (PyErr_Occurred()) SWIG_fail
;
31260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31268 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31269 PyObject
*resultobj
;
31270 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31272 PyObject
* obj0
= 0 ;
31273 char *kwnames
[] = {
31274 (char *) "self", NULL
31277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
31278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31282 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
31284 wxPyEndAllowThreads(__tstate
);
31285 if (PyErr_Occurred()) SWIG_fail
;
31288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31296 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31297 PyObject
*resultobj
;
31298 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31299 wxMenu
*arg2
= (wxMenu
*) 0 ;
31300 PyObject
* obj0
= 0 ;
31301 PyObject
* obj1
= 0 ;
31302 char *kwnames
[] = {
31303 (char *) "self",(char *) "menu", NULL
31306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31309 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31313 (arg1
)->SetSubMenu(arg2
);
31315 wxPyEndAllowThreads(__tstate
);
31316 if (PyErr_Occurred()) SWIG_fail
;
31318 Py_INCREF(Py_None
); resultobj
= Py_None
;
31325 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31326 PyObject
*resultobj
;
31327 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31329 PyObject
* obj0
= 0 ;
31330 char *kwnames
[] = {
31331 (char *) "self", NULL
31334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
31335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31339 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
31341 wxPyEndAllowThreads(__tstate
);
31342 if (PyErr_Occurred()) SWIG_fail
;
31345 resultobj
= wxPyMake_wxObject(result
);
31353 static PyObject
*_wrap_MenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31354 PyObject
*resultobj
;
31355 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31356 bool arg2
= (bool) True
;
31357 PyObject
* obj0
= 0 ;
31358 PyObject
* obj1
= 0 ;
31359 char *kwnames
[] = {
31360 (char *) "self",(char *) "enable", NULL
31363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
31364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31367 arg2
= (bool) SWIG_AsBool(obj1
);
31368 if (PyErr_Occurred()) SWIG_fail
;
31371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31372 (arg1
)->Enable(arg2
);
31374 wxPyEndAllowThreads(__tstate
);
31375 if (PyErr_Occurred()) SWIG_fail
;
31377 Py_INCREF(Py_None
); resultobj
= Py_None
;
31384 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31385 PyObject
*resultobj
;
31386 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31388 PyObject
* obj0
= 0 ;
31389 char *kwnames
[] = {
31390 (char *) "self", NULL
31393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
31394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31398 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
31400 wxPyEndAllowThreads(__tstate
);
31401 if (PyErr_Occurred()) SWIG_fail
;
31404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31412 static PyObject
*_wrap_MenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31413 PyObject
*resultobj
;
31414 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31415 bool arg2
= (bool) True
;
31416 PyObject
* obj0
= 0 ;
31417 PyObject
* obj1
= 0 ;
31418 char *kwnames
[] = {
31419 (char *) "self",(char *) "check", NULL
31422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
31423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31426 arg2
= (bool) SWIG_AsBool(obj1
);
31427 if (PyErr_Occurred()) SWIG_fail
;
31430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31431 (arg1
)->Check(arg2
);
31433 wxPyEndAllowThreads(__tstate
);
31434 if (PyErr_Occurred()) SWIG_fail
;
31436 Py_INCREF(Py_None
); resultobj
= Py_None
;
31443 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31444 PyObject
*resultobj
;
31445 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31447 PyObject
* obj0
= 0 ;
31448 char *kwnames
[] = {
31449 (char *) "self", NULL
31452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
31453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31457 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
31459 wxPyEndAllowThreads(__tstate
);
31460 if (PyErr_Occurred()) SWIG_fail
;
31463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31471 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31472 PyObject
*resultobj
;
31473 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31474 PyObject
* obj0
= 0 ;
31475 char *kwnames
[] = {
31476 (char *) "self", NULL
31479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
31480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31486 wxPyEndAllowThreads(__tstate
);
31487 if (PyErr_Occurred()) SWIG_fail
;
31489 Py_INCREF(Py_None
); resultobj
= Py_None
;
31496 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31497 PyObject
*resultobj
;
31498 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31499 wxString
*arg2
= 0 ;
31500 bool temp2
= False
;
31501 PyObject
* obj0
= 0 ;
31502 PyObject
* obj1
= 0 ;
31503 char *kwnames
[] = {
31504 (char *) "self",(char *) "str", NULL
31507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
31508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31511 arg2
= wxString_in_helper(obj1
);
31512 if (arg2
== NULL
) SWIG_fail
;
31516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31517 (arg1
)->SetHelp((wxString
const &)*arg2
);
31519 wxPyEndAllowThreads(__tstate
);
31520 if (PyErr_Occurred()) SWIG_fail
;
31522 Py_INCREF(Py_None
); resultobj
= Py_None
;
31537 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31538 PyObject
*resultobj
;
31539 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31541 PyObject
* obj0
= 0 ;
31542 char *kwnames
[] = {
31543 (char *) "self", NULL
31546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
31547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31552 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
31553 result
= (wxString
*) &_result_ref
;
31556 wxPyEndAllowThreads(__tstate
);
31557 if (PyErr_Occurred()) SWIG_fail
;
31561 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
31563 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
31572 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31573 PyObject
*resultobj
;
31574 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31575 wxAcceleratorEntry
*result
;
31576 PyObject
* obj0
= 0 ;
31577 char *kwnames
[] = {
31578 (char *) "self", NULL
31581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
31582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31586 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
31588 wxPyEndAllowThreads(__tstate
);
31589 if (PyErr_Occurred()) SWIG_fail
;
31591 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
31598 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31599 PyObject
*resultobj
;
31600 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31601 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
31602 PyObject
* obj0
= 0 ;
31603 PyObject
* obj1
= 0 ;
31604 char *kwnames
[] = {
31605 (char *) "self",(char *) "accel", NULL
31608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
31609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31611 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
31612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31615 (arg1
)->SetAccel(arg2
);
31617 wxPyEndAllowThreads(__tstate
);
31618 if (PyErr_Occurred()) SWIG_fail
;
31620 Py_INCREF(Py_None
); resultobj
= Py_None
;
31627 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31628 PyObject
*resultobj
;
31629 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31631 PyObject
* obj0
= 0 ;
31632 PyObject
* obj1
= 0 ;
31633 char *kwnames
[] = {
31634 (char *) "self",(char *) "font", NULL
31637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
31638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31640 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
31641 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31643 if (arg2
== NULL
) {
31644 PyErr_SetString(PyExc_TypeError
,"null reference");
31648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31649 (arg1
)->SetFont((wxFont
const &)*arg2
);
31651 wxPyEndAllowThreads(__tstate
);
31652 if (PyErr_Occurred()) SWIG_fail
;
31654 Py_INCREF(Py_None
); resultobj
= Py_None
;
31661 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31662 PyObject
*resultobj
;
31663 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31665 PyObject
* obj0
= 0 ;
31666 char *kwnames
[] = {
31667 (char *) "self", NULL
31670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
31671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31675 result
= (arg1
)->GetFont();
31677 wxPyEndAllowThreads(__tstate
);
31678 if (PyErr_Occurred()) SWIG_fail
;
31681 wxFont
* resultptr
;
31682 resultptr
= new wxFont((wxFont
&) result
);
31683 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
31691 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31692 PyObject
*resultobj
;
31693 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31694 wxColour
*arg2
= 0 ;
31696 PyObject
* obj0
= 0 ;
31697 PyObject
* obj1
= 0 ;
31698 char *kwnames
[] = {
31699 (char *) "self",(char *) "colText", NULL
31702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
31703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31707 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
31710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31711 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
31713 wxPyEndAllowThreads(__tstate
);
31714 if (PyErr_Occurred()) SWIG_fail
;
31716 Py_INCREF(Py_None
); resultobj
= Py_None
;
31723 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31724 PyObject
*resultobj
;
31725 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31727 PyObject
* obj0
= 0 ;
31728 char *kwnames
[] = {
31729 (char *) "self", NULL
31732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
31733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31737 result
= (arg1
)->GetTextColour();
31739 wxPyEndAllowThreads(__tstate
);
31740 if (PyErr_Occurred()) SWIG_fail
;
31743 wxColour
* resultptr
;
31744 resultptr
= new wxColour((wxColour
&) result
);
31745 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
31753 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31754 PyObject
*resultobj
;
31755 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31756 wxColour
*arg2
= 0 ;
31758 PyObject
* obj0
= 0 ;
31759 PyObject
* obj1
= 0 ;
31760 char *kwnames
[] = {
31761 (char *) "self",(char *) "colBack", NULL
31764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
31765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31769 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
31772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31773 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
31775 wxPyEndAllowThreads(__tstate
);
31776 if (PyErr_Occurred()) SWIG_fail
;
31778 Py_INCREF(Py_None
); resultobj
= Py_None
;
31785 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31786 PyObject
*resultobj
;
31787 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31789 PyObject
* obj0
= 0 ;
31790 char *kwnames
[] = {
31791 (char *) "self", NULL
31794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
31795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31799 result
= (arg1
)->GetBackgroundColour();
31801 wxPyEndAllowThreads(__tstate
);
31802 if (PyErr_Occurred()) SWIG_fail
;
31805 wxColour
* resultptr
;
31806 resultptr
= new wxColour((wxColour
&) result
);
31807 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
31815 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31816 PyObject
*resultobj
;
31817 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31818 wxBitmap
*arg2
= 0 ;
31819 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
31820 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
31821 PyObject
* obj0
= 0 ;
31822 PyObject
* obj1
= 0 ;
31823 PyObject
* obj2
= 0 ;
31824 char *kwnames
[] = {
31825 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
31828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31831 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
31832 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31834 if (arg2
== NULL
) {
31835 PyErr_SetString(PyExc_TypeError
,"null reference");
31839 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
31840 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31842 if (arg3
== NULL
) {
31843 PyErr_SetString(PyExc_TypeError
,"null reference");
31848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31849 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
31851 wxPyEndAllowThreads(__tstate
);
31852 if (PyErr_Occurred()) SWIG_fail
;
31854 Py_INCREF(Py_None
); resultobj
= Py_None
;
31861 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31862 PyObject
*resultobj
;
31863 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31864 wxBitmap
*arg2
= 0 ;
31865 PyObject
* obj0
= 0 ;
31866 PyObject
* obj1
= 0 ;
31867 char *kwnames
[] = {
31868 (char *) "self",(char *) "bmpDisabled", NULL
31871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
31872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31874 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
31875 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31877 if (arg2
== NULL
) {
31878 PyErr_SetString(PyExc_TypeError
,"null reference");
31882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31883 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
31885 wxPyEndAllowThreads(__tstate
);
31886 if (PyErr_Occurred()) SWIG_fail
;
31888 Py_INCREF(Py_None
); resultobj
= Py_None
;
31895 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31896 PyObject
*resultobj
;
31897 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31899 PyObject
* obj0
= 0 ;
31900 char *kwnames
[] = {
31901 (char *) "self", NULL
31904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
31905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31910 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
31911 result
= (wxBitmap
*) &_result_ref
;
31914 wxPyEndAllowThreads(__tstate
);
31915 if (PyErr_Occurred()) SWIG_fail
;
31918 wxBitmap
* resultptr
= new wxBitmap(*result
);
31919 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
31927 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31928 PyObject
*resultobj
;
31929 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31931 PyObject
* obj0
= 0 ;
31932 PyObject
* obj1
= 0 ;
31933 char *kwnames
[] = {
31934 (char *) "self",(char *) "nWidth", NULL
31937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
31938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31940 arg2
= (int) SWIG_AsInt(obj1
);
31941 if (PyErr_Occurred()) SWIG_fail
;
31943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31944 (arg1
)->SetMarginWidth(arg2
);
31946 wxPyEndAllowThreads(__tstate
);
31947 if (PyErr_Occurred()) SWIG_fail
;
31949 Py_INCREF(Py_None
); resultobj
= Py_None
;
31956 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31957 PyObject
*resultobj
;
31958 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31960 PyObject
* obj0
= 0 ;
31961 char *kwnames
[] = {
31962 (char *) "self", NULL
31965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
31966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31970 result
= (int)(arg1
)->GetMarginWidth();
31972 wxPyEndAllowThreads(__tstate
);
31973 if (PyErr_Occurred()) SWIG_fail
;
31975 resultobj
= SWIG_FromInt((int)result
);
31982 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31983 PyObject
*resultobj
;
31985 char *kwnames
[] = {
31989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
31991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31992 result
= (int)wxMenuItem::GetDefaultMarginWidth();
31994 wxPyEndAllowThreads(__tstate
);
31995 if (PyErr_Occurred()) SWIG_fail
;
31997 resultobj
= SWIG_FromInt((int)result
);
32004 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32005 PyObject
*resultobj
;
32006 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32008 PyObject
* obj0
= 0 ;
32009 char *kwnames
[] = {
32010 (char *) "self", NULL
32013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
32014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32018 result
= (bool)(arg1
)->IsOwnerDrawn();
32020 wxPyEndAllowThreads(__tstate
);
32021 if (PyErr_Occurred()) SWIG_fail
;
32024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32032 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32033 PyObject
*resultobj
;
32034 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32035 bool arg2
= (bool) True
;
32036 PyObject
* obj0
= 0 ;
32037 PyObject
* obj1
= 0 ;
32038 char *kwnames
[] = {
32039 (char *) "self",(char *) "ownerDrawn", NULL
32042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
32043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32046 arg2
= (bool) SWIG_AsBool(obj1
);
32047 if (PyErr_Occurred()) SWIG_fail
;
32050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32051 (arg1
)->SetOwnerDrawn(arg2
);
32053 wxPyEndAllowThreads(__tstate
);
32054 if (PyErr_Occurred()) SWIG_fail
;
32056 Py_INCREF(Py_None
); resultobj
= Py_None
;
32063 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32064 PyObject
*resultobj
;
32065 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32066 PyObject
* obj0
= 0 ;
32067 char *kwnames
[] = {
32068 (char *) "self", NULL
32071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
32072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32076 (arg1
)->ResetOwnerDrawn();
32078 wxPyEndAllowThreads(__tstate
);
32079 if (PyErr_Occurred()) SWIG_fail
;
32081 Py_INCREF(Py_None
); resultobj
= Py_None
;
32088 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32089 PyObject
*resultobj
;
32090 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32091 wxBitmap
*arg2
= 0 ;
32092 PyObject
* obj0
= 0 ;
32093 PyObject
* obj1
= 0 ;
32094 char *kwnames
[] = {
32095 (char *) "self",(char *) "bitmap", NULL
32098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
32099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32101 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
32102 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32104 if (arg2
== NULL
) {
32105 PyErr_SetString(PyExc_TypeError
,"null reference");
32109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32110 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
32112 wxPyEndAllowThreads(__tstate
);
32113 if (PyErr_Occurred()) SWIG_fail
;
32115 Py_INCREF(Py_None
); resultobj
= Py_None
;
32122 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32123 PyObject
*resultobj
;
32124 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32126 PyObject
* obj0
= 0 ;
32127 char *kwnames
[] = {
32128 (char *) "self", NULL
32131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
32132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32137 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
32138 result
= (wxBitmap
*) &_result_ref
;
32141 wxPyEndAllowThreads(__tstate
);
32142 if (PyErr_Occurred()) SWIG_fail
;
32145 wxBitmap
* resultptr
= new wxBitmap(*result
);
32146 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
32154 static PyObject
* MenuItem_swigregister(PyObject
*self
, PyObject
*args
) {
32156 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32157 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
32159 return Py_BuildValue((char *)"");
32161 static int _wrap_ControlNameStr_set(PyObject
*_val
) {
32162 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
32167 static PyObject
*_wrap_ControlNameStr_get() {
32172 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
32174 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
32181 static PyObject
*_wrap_new_Control(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32182 PyObject
*resultobj
;
32183 wxWindow
*arg1
= (wxWindow
*) 0 ;
32185 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32186 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32187 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32188 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32189 long arg5
= (long) 0 ;
32190 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32191 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32192 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
32193 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32197 bool temp7
= False
;
32198 PyObject
* obj0
= 0 ;
32199 PyObject
* obj1
= 0 ;
32200 PyObject
* obj2
= 0 ;
32201 PyObject
* obj3
= 0 ;
32202 PyObject
* obj4
= 0 ;
32203 PyObject
* obj5
= 0 ;
32204 PyObject
* obj6
= 0 ;
32205 char *kwnames
[] = {
32206 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
32210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
32211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32212 arg2
= (int) SWIG_AsInt(obj1
);
32213 if (PyErr_Occurred()) SWIG_fail
;
32217 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32223 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32227 arg5
= (long) SWIG_AsLong(obj4
);
32228 if (PyErr_Occurred()) SWIG_fail
;
32231 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
32232 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32234 if (arg6
== NULL
) {
32235 PyErr_SetString(PyExc_TypeError
,"null reference");
32241 arg7
= wxString_in_helper(obj6
);
32242 if (arg7
== NULL
) SWIG_fail
;
32247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32248 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32250 wxPyEndAllowThreads(__tstate
);
32251 if (PyErr_Occurred()) SWIG_fail
;
32254 resultobj
= wxPyMake_wxObject(result
);
32270 static PyObject
*_wrap_new_PreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32271 PyObject
*resultobj
;
32273 char *kwnames
[] = {
32277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
32279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32280 result
= (wxControl
*)new wxControl();
32282 wxPyEndAllowThreads(__tstate
);
32283 if (PyErr_Occurred()) SWIG_fail
;
32286 resultobj
= wxPyMake_wxObject(result
);
32294 static PyObject
*_wrap_Control_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32295 PyObject
*resultobj
;
32296 wxControl
*arg1
= (wxControl
*) 0 ;
32297 wxWindow
*arg2
= (wxWindow
*) 0 ;
32299 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32300 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32301 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32302 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32303 long arg6
= (long) 0 ;
32304 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32305 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32306 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
32307 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32311 bool temp8
= False
;
32312 PyObject
* obj0
= 0 ;
32313 PyObject
* obj1
= 0 ;
32314 PyObject
* obj2
= 0 ;
32315 PyObject
* obj3
= 0 ;
32316 PyObject
* obj4
= 0 ;
32317 PyObject
* obj5
= 0 ;
32318 PyObject
* obj6
= 0 ;
32319 PyObject
* obj7
= 0 ;
32320 char *kwnames
[] = {
32321 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
32325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32327 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
32328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32329 arg3
= (int) SWIG_AsInt(obj2
);
32330 if (PyErr_Occurred()) SWIG_fail
;
32334 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
32340 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
32344 arg6
= (long) SWIG_AsLong(obj5
);
32345 if (PyErr_Occurred()) SWIG_fail
;
32348 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
32349 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32351 if (arg7
== NULL
) {
32352 PyErr_SetString(PyExc_TypeError
,"null reference");
32358 arg8
= wxString_in_helper(obj7
);
32359 if (arg8
== NULL
) SWIG_fail
;
32364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32365 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
32367 wxPyEndAllowThreads(__tstate
);
32368 if (PyErr_Occurred()) SWIG_fail
;
32371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32387 static PyObject
*_wrap_Control_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32388 PyObject
*resultobj
;
32389 wxControl
*arg1
= (wxControl
*) 0 ;
32390 wxCommandEvent
*arg2
= 0 ;
32391 PyObject
* obj0
= 0 ;
32392 PyObject
* obj1
= 0 ;
32393 char *kwnames
[] = {
32394 (char *) "self",(char *) "event", NULL
32397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
32398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32400 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
32401 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32403 if (arg2
== NULL
) {
32404 PyErr_SetString(PyExc_TypeError
,"null reference");
32408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32409 (arg1
)->Command(*arg2
);
32411 wxPyEndAllowThreads(__tstate
);
32412 if (PyErr_Occurred()) SWIG_fail
;
32414 Py_INCREF(Py_None
); resultobj
= Py_None
;
32421 static PyObject
*_wrap_Control_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32422 PyObject
*resultobj
;
32423 wxControl
*arg1
= (wxControl
*) 0 ;
32425 PyObject
* obj0
= 0 ;
32426 char *kwnames
[] = {
32427 (char *) "self", NULL
32430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
32431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32435 result
= (arg1
)->GetLabel();
32437 wxPyEndAllowThreads(__tstate
);
32438 if (PyErr_Occurred()) SWIG_fail
;
32442 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32444 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32453 static PyObject
*_wrap_Control_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32454 PyObject
*resultobj
;
32455 wxControl
*arg1
= (wxControl
*) 0 ;
32456 wxString
*arg2
= 0 ;
32457 bool temp2
= False
;
32458 PyObject
* obj0
= 0 ;
32459 PyObject
* obj1
= 0 ;
32460 char *kwnames
[] = {
32461 (char *) "self",(char *) "label", NULL
32464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32468 arg2
= wxString_in_helper(obj1
);
32469 if (arg2
== NULL
) SWIG_fail
;
32473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32474 (arg1
)->SetLabel((wxString
const &)*arg2
);
32476 wxPyEndAllowThreads(__tstate
);
32477 if (PyErr_Occurred()) SWIG_fail
;
32479 Py_INCREF(Py_None
); resultobj
= Py_None
;
32494 static PyObject
* Control_swigregister(PyObject
*self
, PyObject
*args
) {
32496 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32497 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
32499 return Py_BuildValue((char *)"");
32501 static PyObject
*_wrap_ItemContainer_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32502 PyObject
*resultobj
;
32503 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32504 wxString
*arg2
= 0 ;
32505 PyObject
*arg3
= (PyObject
*) NULL
;
32507 bool temp2
= False
;
32508 PyObject
* obj0
= 0 ;
32509 PyObject
* obj1
= 0 ;
32510 PyObject
* obj2
= 0 ;
32511 char *kwnames
[] = {
32512 (char *) "self",(char *) "item",(char *) "clientData", NULL
32515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32519 arg2
= wxString_in_helper(obj1
);
32520 if (arg2
== NULL
) SWIG_fail
;
32527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32528 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
32530 wxPyEndAllowThreads(__tstate
);
32531 if (PyErr_Occurred()) SWIG_fail
;
32533 resultobj
= SWIG_FromInt((int)result
);
32548 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32549 PyObject
*resultobj
;
32550 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32551 wxArrayString
*arg2
= 0 ;
32552 bool temp2
= False
;
32553 PyObject
* obj0
= 0 ;
32554 PyObject
* obj1
= 0 ;
32555 char *kwnames
[] = {
32556 (char *) "self",(char *) "strings", NULL
32559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
32560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32563 if (! PySequence_Check(obj1
)) {
32564 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
32567 arg2
= new wxArrayString
;
32569 int i
, len
=PySequence_Length(obj1
);
32570 for (i
=0; i
<len
; i
++) {
32571 PyObject
* item
= PySequence_GetItem(obj1
, i
);
32573 PyObject
* str
= PyObject_Unicode(item
);
32575 PyObject
* str
= PyObject_Str(item
);
32577 arg2
->Add(Py2wxString(str
));
32583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32584 (arg1
)->Append((wxArrayString
const &)*arg2
);
32586 wxPyEndAllowThreads(__tstate
);
32587 if (PyErr_Occurred()) SWIG_fail
;
32589 Py_INCREF(Py_None
); resultobj
= Py_None
;
32591 if (temp2
) delete arg2
;
32596 if (temp2
) delete arg2
;
32602 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32603 PyObject
*resultobj
;
32604 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32605 wxString
*arg2
= 0 ;
32607 PyObject
*arg4
= (PyObject
*) NULL
;
32609 bool temp2
= False
;
32610 PyObject
* obj0
= 0 ;
32611 PyObject
* obj1
= 0 ;
32612 PyObject
* obj2
= 0 ;
32613 PyObject
* obj3
= 0 ;
32614 char *kwnames
[] = {
32615 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
32618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32622 arg2
= wxString_in_helper(obj1
);
32623 if (arg2
== NULL
) SWIG_fail
;
32626 arg3
= (int) SWIG_AsInt(obj2
);
32627 if (PyErr_Occurred()) SWIG_fail
;
32632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32633 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
32635 wxPyEndAllowThreads(__tstate
);
32636 if (PyErr_Occurred()) SWIG_fail
;
32638 resultobj
= SWIG_FromInt((int)result
);
32653 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32654 PyObject
*resultobj
;
32655 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32656 PyObject
* obj0
= 0 ;
32657 char *kwnames
[] = {
32658 (char *) "self", NULL
32661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
32662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32668 wxPyEndAllowThreads(__tstate
);
32669 if (PyErr_Occurred()) SWIG_fail
;
32671 Py_INCREF(Py_None
); resultobj
= Py_None
;
32678 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32679 PyObject
*resultobj
;
32680 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32682 PyObject
* obj0
= 0 ;
32683 PyObject
* obj1
= 0 ;
32684 char *kwnames
[] = {
32685 (char *) "self",(char *) "n", NULL
32688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
32689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32691 arg2
= (int) SWIG_AsInt(obj1
);
32692 if (PyErr_Occurred()) SWIG_fail
;
32694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32695 (arg1
)->Delete(arg2
);
32697 wxPyEndAllowThreads(__tstate
);
32698 if (PyErr_Occurred()) SWIG_fail
;
32700 Py_INCREF(Py_None
); resultobj
= Py_None
;
32707 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32708 PyObject
*resultobj
;
32709 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32711 PyObject
* obj0
= 0 ;
32712 char *kwnames
[] = {
32713 (char *) "self", NULL
32716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
32717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32721 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
32723 wxPyEndAllowThreads(__tstate
);
32724 if (PyErr_Occurred()) SWIG_fail
;
32726 resultobj
= SWIG_FromInt((int)result
);
32733 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32734 PyObject
*resultobj
;
32735 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32737 PyObject
* obj0
= 0 ;
32738 char *kwnames
[] = {
32739 (char *) "self", NULL
32742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
32743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32747 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
32749 wxPyEndAllowThreads(__tstate
);
32750 if (PyErr_Occurred()) SWIG_fail
;
32753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32761 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32762 PyObject
*resultobj
;
32763 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32766 PyObject
* obj0
= 0 ;
32767 PyObject
* obj1
= 0 ;
32768 char *kwnames
[] = {
32769 (char *) "self",(char *) "n", NULL
32772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
32773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32775 arg2
= (int) SWIG_AsInt(obj1
);
32776 if (PyErr_Occurred()) SWIG_fail
;
32778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32779 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
32781 wxPyEndAllowThreads(__tstate
);
32782 if (PyErr_Occurred()) SWIG_fail
;
32786 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32788 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32797 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32798 PyObject
*resultobj
;
32799 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32800 wxArrayString result
;
32801 PyObject
* obj0
= 0 ;
32802 char *kwnames
[] = {
32803 (char *) "self", NULL
32806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
32807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32811 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
32813 wxPyEndAllowThreads(__tstate
);
32814 if (PyErr_Occurred()) SWIG_fail
;
32817 resultobj
= wxArrayString2PyList_helper(result
);
32825 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32826 PyObject
*resultobj
;
32827 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32829 wxString
*arg3
= 0 ;
32830 bool temp3
= False
;
32831 PyObject
* obj0
= 0 ;
32832 PyObject
* obj1
= 0 ;
32833 PyObject
* obj2
= 0 ;
32834 char *kwnames
[] = {
32835 (char *) "self",(char *) "n",(char *) "s", NULL
32838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32841 arg2
= (int) SWIG_AsInt(obj1
);
32842 if (PyErr_Occurred()) SWIG_fail
;
32844 arg3
= wxString_in_helper(obj2
);
32845 if (arg3
== NULL
) SWIG_fail
;
32849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32850 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
32852 wxPyEndAllowThreads(__tstate
);
32853 if (PyErr_Occurred()) SWIG_fail
;
32855 Py_INCREF(Py_None
); resultobj
= Py_None
;
32870 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32871 PyObject
*resultobj
;
32872 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32873 wxString
*arg2
= 0 ;
32875 bool temp2
= False
;
32876 PyObject
* obj0
= 0 ;
32877 PyObject
* obj1
= 0 ;
32878 char *kwnames
[] = {
32879 (char *) "self",(char *) "s", NULL
32882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
32883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32886 arg2
= wxString_in_helper(obj1
);
32887 if (arg2
== NULL
) SWIG_fail
;
32891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32892 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
32894 wxPyEndAllowThreads(__tstate
);
32895 if (PyErr_Occurred()) SWIG_fail
;
32897 resultobj
= SWIG_FromInt((int)result
);
32912 static PyObject
*_wrap_ItemContainer_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32913 PyObject
*resultobj
;
32914 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32916 PyObject
* obj0
= 0 ;
32917 PyObject
* obj1
= 0 ;
32918 char *kwnames
[] = {
32919 (char *) "self",(char *) "n", NULL
32922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
32923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32925 arg2
= (int) SWIG_AsInt(obj1
);
32926 if (PyErr_Occurred()) SWIG_fail
;
32928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32929 (arg1
)->Select(arg2
);
32931 wxPyEndAllowThreads(__tstate
);
32932 if (PyErr_Occurred()) SWIG_fail
;
32934 Py_INCREF(Py_None
); resultobj
= Py_None
;
32941 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32942 PyObject
*resultobj
;
32943 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32945 PyObject
* obj0
= 0 ;
32946 char *kwnames
[] = {
32947 (char *) "self", NULL
32950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
32951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32955 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
32957 wxPyEndAllowThreads(__tstate
);
32958 if (PyErr_Occurred()) SWIG_fail
;
32960 resultobj
= SWIG_FromInt((int)result
);
32967 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32968 PyObject
*resultobj
;
32969 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32971 PyObject
* obj0
= 0 ;
32972 char *kwnames
[] = {
32973 (char *) "self", NULL
32976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
32977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32981 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
32983 wxPyEndAllowThreads(__tstate
);
32984 if (PyErr_Occurred()) SWIG_fail
;
32988 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32990 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32999 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33000 PyObject
*resultobj
;
33001 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33004 PyObject
* obj0
= 0 ;
33005 PyObject
* obj1
= 0 ;
33006 char *kwnames
[] = {
33007 (char *) "self",(char *) "n", NULL
33010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
33011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33013 arg2
= (int) SWIG_AsInt(obj1
);
33014 if (PyErr_Occurred()) SWIG_fail
;
33016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33017 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
33019 wxPyEndAllowThreads(__tstate
);
33020 if (PyErr_Occurred()) SWIG_fail
;
33022 resultobj
= result
;
33029 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33030 PyObject
*resultobj
;
33031 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33033 PyObject
*arg3
= (PyObject
*) 0 ;
33034 PyObject
* obj0
= 0 ;
33035 PyObject
* obj1
= 0 ;
33036 PyObject
* obj2
= 0 ;
33037 char *kwnames
[] = {
33038 (char *) "self",(char *) "n",(char *) "clientData", NULL
33041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33044 arg2
= (int) SWIG_AsInt(obj1
);
33045 if (PyErr_Occurred()) SWIG_fail
;
33048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33049 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
33051 wxPyEndAllowThreads(__tstate
);
33052 if (PyErr_Occurred()) SWIG_fail
;
33054 Py_INCREF(Py_None
); resultobj
= Py_None
;
33061 static PyObject
* ItemContainer_swigregister(PyObject
*self
, PyObject
*args
) {
33063 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33064 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
33066 return Py_BuildValue((char *)"");
33068 static PyObject
* ControlWithItems_swigregister(PyObject
*self
, PyObject
*args
) {
33070 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33071 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
33073 return Py_BuildValue((char *)"");
33075 static PyObject
*_wrap_new_SizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33076 PyObject
*resultobj
;
33077 wxSizerItem
*result
;
33078 char *kwnames
[] = {
33082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
33084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33085 result
= (wxSizerItem
*)new wxSizerItem();
33087 wxPyEndAllowThreads(__tstate
);
33088 if (PyErr_Occurred()) SWIG_fail
;
33090 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33097 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33098 PyObject
*resultobj
;
33104 wxObject
*arg6
= (wxObject
*) 0 ;
33105 wxSizerItem
*result
;
33106 PyObject
* obj0
= 0 ;
33107 PyObject
* obj1
= 0 ;
33108 PyObject
* obj2
= 0 ;
33109 PyObject
* obj3
= 0 ;
33110 PyObject
* obj4
= 0 ;
33111 PyObject
* obj5
= 0 ;
33112 char *kwnames
[] = {
33113 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33117 arg1
= (int) SWIG_AsInt(obj0
);
33118 if (PyErr_Occurred()) SWIG_fail
;
33119 arg2
= (int) SWIG_AsInt(obj1
);
33120 if (PyErr_Occurred()) SWIG_fail
;
33121 arg3
= (int) SWIG_AsInt(obj2
);
33122 if (PyErr_Occurred()) SWIG_fail
;
33123 arg4
= (int) SWIG_AsInt(obj3
);
33124 if (PyErr_Occurred()) SWIG_fail
;
33125 arg5
= (int) SWIG_AsInt(obj4
);
33126 if (PyErr_Occurred()) SWIG_fail
;
33127 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
33128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33131 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
33133 wxPyEndAllowThreads(__tstate
);
33134 if (PyErr_Occurred()) SWIG_fail
;
33136 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33143 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33144 PyObject
*resultobj
;
33145 wxWindow
*arg1
= (wxWindow
*) 0 ;
33149 wxObject
*arg5
= (wxObject
*) 0 ;
33150 wxSizerItem
*result
;
33151 PyObject
* obj0
= 0 ;
33152 PyObject
* obj1
= 0 ;
33153 PyObject
* obj2
= 0 ;
33154 PyObject
* obj3
= 0 ;
33155 PyObject
* obj4
= 0 ;
33156 char *kwnames
[] = {
33157 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
33162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33163 arg2
= (int) SWIG_AsInt(obj1
);
33164 if (PyErr_Occurred()) SWIG_fail
;
33165 arg3
= (int) SWIG_AsInt(obj2
);
33166 if (PyErr_Occurred()) SWIG_fail
;
33167 arg4
= (int) SWIG_AsInt(obj3
);
33168 if (PyErr_Occurred()) SWIG_fail
;
33169 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
33170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33173 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
33175 wxPyEndAllowThreads(__tstate
);
33176 if (PyErr_Occurred()) SWIG_fail
;
33178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33185 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33186 PyObject
*resultobj
;
33187 wxSizer
*arg1
= (wxSizer
*) 0 ;
33191 wxObject
*arg5
= (wxObject
*) 0 ;
33192 wxSizerItem
*result
;
33193 PyObject
* obj0
= 0 ;
33194 PyObject
* obj1
= 0 ;
33195 PyObject
* obj2
= 0 ;
33196 PyObject
* obj3
= 0 ;
33197 PyObject
* obj4
= 0 ;
33198 char *kwnames
[] = {
33199 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33205 arg2
= (int) SWIG_AsInt(obj1
);
33206 if (PyErr_Occurred()) SWIG_fail
;
33207 arg3
= (int) SWIG_AsInt(obj2
);
33208 if (PyErr_Occurred()) SWIG_fail
;
33209 arg4
= (int) SWIG_AsInt(obj3
);
33210 if (PyErr_Occurred()) SWIG_fail
;
33211 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
33212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33215 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
33217 wxPyEndAllowThreads(__tstate
);
33218 if (PyErr_Occurred()) SWIG_fail
;
33220 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33227 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33228 PyObject
*resultobj
;
33229 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33230 PyObject
* obj0
= 0 ;
33231 char *kwnames
[] = {
33232 (char *) "self", NULL
33235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
33236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33240 (arg1
)->DeleteWindows();
33242 wxPyEndAllowThreads(__tstate
);
33243 if (PyErr_Occurred()) SWIG_fail
;
33245 Py_INCREF(Py_None
); resultobj
= Py_None
;
33252 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33253 PyObject
*resultobj
;
33254 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33255 PyObject
* obj0
= 0 ;
33256 char *kwnames
[] = {
33257 (char *) "self", NULL
33260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
33261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33265 (arg1
)->DetachSizer();
33267 wxPyEndAllowThreads(__tstate
);
33268 if (PyErr_Occurred()) SWIG_fail
;
33270 Py_INCREF(Py_None
); resultobj
= Py_None
;
33277 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33278 PyObject
*resultobj
;
33279 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33281 PyObject
* obj0
= 0 ;
33282 char *kwnames
[] = {
33283 (char *) "self", NULL
33286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
33287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33291 result
= (arg1
)->GetSize();
33293 wxPyEndAllowThreads(__tstate
);
33294 if (PyErr_Occurred()) SWIG_fail
;
33297 wxSize
* resultptr
;
33298 resultptr
= new wxSize((wxSize
&) result
);
33299 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33307 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33308 PyObject
*resultobj
;
33309 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33311 PyObject
* obj0
= 0 ;
33312 char *kwnames
[] = {
33313 (char *) "self", NULL
33316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
33317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33321 result
= (arg1
)->CalcMin();
33323 wxPyEndAllowThreads(__tstate
);
33324 if (PyErr_Occurred()) SWIG_fail
;
33327 wxSize
* resultptr
;
33328 resultptr
= new wxSize((wxSize
&) result
);
33329 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33337 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33338 PyObject
*resultobj
;
33339 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33344 PyObject
* obj0
= 0 ;
33345 PyObject
* obj1
= 0 ;
33346 PyObject
* obj2
= 0 ;
33347 char *kwnames
[] = {
33348 (char *) "self",(char *) "pos",(char *) "size", NULL
33351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33354 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
33355 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
33357 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
33358 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
33361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33362 (arg1
)->SetDimension(arg2
,arg3
);
33364 wxPyEndAllowThreads(__tstate
);
33365 if (PyErr_Occurred()) SWIG_fail
;
33367 Py_INCREF(Py_None
); resultobj
= Py_None
;
33374 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33375 PyObject
*resultobj
;
33376 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33378 PyObject
* obj0
= 0 ;
33379 char *kwnames
[] = {
33380 (char *) "self", NULL
33383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
33384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33388 result
= (arg1
)->GetMinSize();
33390 wxPyEndAllowThreads(__tstate
);
33391 if (PyErr_Occurred()) SWIG_fail
;
33394 wxSize
* resultptr
;
33395 resultptr
= new wxSize((wxSize
&) result
);
33396 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33404 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33405 PyObject
*resultobj
;
33406 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33409 PyObject
* obj0
= 0 ;
33410 PyObject
* obj1
= 0 ;
33411 PyObject
* obj2
= 0 ;
33412 char *kwnames
[] = {
33413 (char *) "self",(char *) "x",(char *) "y", NULL
33416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33419 arg2
= (int) SWIG_AsInt(obj1
);
33420 if (PyErr_Occurred()) SWIG_fail
;
33421 arg3
= (int) SWIG_AsInt(obj2
);
33422 if (PyErr_Occurred()) SWIG_fail
;
33424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33425 (arg1
)->SetInitSize(arg2
,arg3
);
33427 wxPyEndAllowThreads(__tstate
);
33428 if (PyErr_Occurred()) SWIG_fail
;
33430 Py_INCREF(Py_None
); resultobj
= Py_None
;
33437 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33438 PyObject
*resultobj
;
33439 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33442 PyObject
* obj0
= 0 ;
33443 PyObject
* obj1
= 0 ;
33444 PyObject
* obj2
= 0 ;
33445 char *kwnames
[] = {
33446 (char *) "self",(char *) "width",(char *) "height", NULL
33449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33452 arg2
= (int) SWIG_AsInt(obj1
);
33453 if (PyErr_Occurred()) SWIG_fail
;
33454 arg3
= (int) SWIG_AsInt(obj2
);
33455 if (PyErr_Occurred()) SWIG_fail
;
33457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33458 (arg1
)->SetRatio(arg2
,arg3
);
33460 wxPyEndAllowThreads(__tstate
);
33461 if (PyErr_Occurred()) SWIG_fail
;
33463 Py_INCREF(Py_None
); resultobj
= Py_None
;
33470 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33471 PyObject
*resultobj
;
33472 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33475 PyObject
* obj0
= 0 ;
33476 PyObject
* obj1
= 0 ;
33477 char *kwnames
[] = {
33478 (char *) "self",(char *) "size", NULL
33481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
33482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33484 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
33485 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
33488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33489 (arg1
)->SetRatio(arg2
);
33491 wxPyEndAllowThreads(__tstate
);
33492 if (PyErr_Occurred()) SWIG_fail
;
33494 Py_INCREF(Py_None
); resultobj
= Py_None
;
33501 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33502 PyObject
*resultobj
;
33503 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33505 PyObject
* obj0
= 0 ;
33506 PyObject
* obj1
= 0 ;
33507 char *kwnames
[] = {
33508 (char *) "self",(char *) "ratio", NULL
33511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
33512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33514 arg2
= (float) SWIG_AsFloat(obj1
);
33515 if (PyErr_Occurred()) SWIG_fail
;
33517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33518 (arg1
)->SetRatio(arg2
);
33520 wxPyEndAllowThreads(__tstate
);
33521 if (PyErr_Occurred()) SWIG_fail
;
33523 Py_INCREF(Py_None
); resultobj
= Py_None
;
33530 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33531 PyObject
*resultobj
;
33532 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33534 PyObject
* obj0
= 0 ;
33535 char *kwnames
[] = {
33536 (char *) "self", NULL
33539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
33540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33544 result
= (float)(arg1
)->GetRatio();
33546 wxPyEndAllowThreads(__tstate
);
33547 if (PyErr_Occurred()) SWIG_fail
;
33549 resultobj
= SWIG_FromFloat((float)result
);
33556 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33557 PyObject
*resultobj
;
33558 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33560 PyObject
* obj0
= 0 ;
33561 char *kwnames
[] = {
33562 (char *) "self", NULL
33565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
33566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33570 result
= (bool)(arg1
)->IsWindow();
33572 wxPyEndAllowThreads(__tstate
);
33573 if (PyErr_Occurred()) SWIG_fail
;
33576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33584 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33585 PyObject
*resultobj
;
33586 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33588 PyObject
* obj0
= 0 ;
33589 char *kwnames
[] = {
33590 (char *) "self", NULL
33593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
33594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33598 result
= (bool)(arg1
)->IsSizer();
33600 wxPyEndAllowThreads(__tstate
);
33601 if (PyErr_Occurred()) SWIG_fail
;
33604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33612 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33613 PyObject
*resultobj
;
33614 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33616 PyObject
* obj0
= 0 ;
33617 char *kwnames
[] = {
33618 (char *) "self", NULL
33621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
33622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33626 result
= (bool)(arg1
)->IsSpacer();
33628 wxPyEndAllowThreads(__tstate
);
33629 if (PyErr_Occurred()) SWIG_fail
;
33632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33640 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33641 PyObject
*resultobj
;
33642 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33644 PyObject
* obj0
= 0 ;
33645 PyObject
* obj1
= 0 ;
33646 char *kwnames
[] = {
33647 (char *) "self",(char *) "proportion", NULL
33650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
33651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33653 arg2
= (int) SWIG_AsInt(obj1
);
33654 if (PyErr_Occurred()) SWIG_fail
;
33656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33657 (arg1
)->SetProportion(arg2
);
33659 wxPyEndAllowThreads(__tstate
);
33660 if (PyErr_Occurred()) SWIG_fail
;
33662 Py_INCREF(Py_None
); resultobj
= Py_None
;
33669 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33670 PyObject
*resultobj
;
33671 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33673 PyObject
* obj0
= 0 ;
33674 char *kwnames
[] = {
33675 (char *) "self", NULL
33678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
33679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33683 result
= (int)(arg1
)->GetProportion();
33685 wxPyEndAllowThreads(__tstate
);
33686 if (PyErr_Occurred()) SWIG_fail
;
33688 resultobj
= SWIG_FromInt((int)result
);
33695 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33696 PyObject
*resultobj
;
33697 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33699 PyObject
* obj0
= 0 ;
33700 PyObject
* obj1
= 0 ;
33701 char *kwnames
[] = {
33702 (char *) "self",(char *) "flag", NULL
33705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
33706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33708 arg2
= (int) SWIG_AsInt(obj1
);
33709 if (PyErr_Occurred()) SWIG_fail
;
33711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33712 (arg1
)->SetFlag(arg2
);
33714 wxPyEndAllowThreads(__tstate
);
33715 if (PyErr_Occurred()) SWIG_fail
;
33717 Py_INCREF(Py_None
); resultobj
= Py_None
;
33724 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33725 PyObject
*resultobj
;
33726 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33728 PyObject
* obj0
= 0 ;
33729 char *kwnames
[] = {
33730 (char *) "self", NULL
33733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
33734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33738 result
= (int)(arg1
)->GetFlag();
33740 wxPyEndAllowThreads(__tstate
);
33741 if (PyErr_Occurred()) SWIG_fail
;
33743 resultobj
= SWIG_FromInt((int)result
);
33750 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33751 PyObject
*resultobj
;
33752 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33754 PyObject
* obj0
= 0 ;
33755 PyObject
* obj1
= 0 ;
33756 char *kwnames
[] = {
33757 (char *) "self",(char *) "border", NULL
33760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
33761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33763 arg2
= (int) SWIG_AsInt(obj1
);
33764 if (PyErr_Occurred()) SWIG_fail
;
33766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33767 (arg1
)->SetBorder(arg2
);
33769 wxPyEndAllowThreads(__tstate
);
33770 if (PyErr_Occurred()) SWIG_fail
;
33772 Py_INCREF(Py_None
); resultobj
= Py_None
;
33779 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33780 PyObject
*resultobj
;
33781 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33783 PyObject
* obj0
= 0 ;
33784 char *kwnames
[] = {
33785 (char *) "self", NULL
33788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
33789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33793 result
= (int)(arg1
)->GetBorder();
33795 wxPyEndAllowThreads(__tstate
);
33796 if (PyErr_Occurred()) SWIG_fail
;
33798 resultobj
= SWIG_FromInt((int)result
);
33805 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33806 PyObject
*resultobj
;
33807 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33809 PyObject
* obj0
= 0 ;
33810 char *kwnames
[] = {
33811 (char *) "self", NULL
33814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
33815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33819 result
= (wxWindow
*)(arg1
)->GetWindow();
33821 wxPyEndAllowThreads(__tstate
);
33822 if (PyErr_Occurred()) SWIG_fail
;
33825 resultobj
= wxPyMake_wxObject(result
);
33833 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33834 PyObject
*resultobj
;
33835 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33836 wxWindow
*arg2
= (wxWindow
*) 0 ;
33837 PyObject
* obj0
= 0 ;
33838 PyObject
* obj1
= 0 ;
33839 char *kwnames
[] = {
33840 (char *) "self",(char *) "window", NULL
33843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
33844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33846 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
33847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33850 (arg1
)->SetWindow(arg2
);
33852 wxPyEndAllowThreads(__tstate
);
33853 if (PyErr_Occurred()) SWIG_fail
;
33855 Py_INCREF(Py_None
); resultobj
= Py_None
;
33862 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33863 PyObject
*resultobj
;
33864 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33866 PyObject
* obj0
= 0 ;
33867 char *kwnames
[] = {
33868 (char *) "self", NULL
33871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
33872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33876 result
= (wxSizer
*)(arg1
)->GetSizer();
33878 wxPyEndAllowThreads(__tstate
);
33879 if (PyErr_Occurred()) SWIG_fail
;
33882 resultobj
= wxPyMake_wxSizer(result
);
33890 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33891 PyObject
*resultobj
;
33892 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33893 wxSizer
*arg2
= (wxSizer
*) 0 ;
33894 PyObject
* obj0
= 0 ;
33895 PyObject
* obj1
= 0 ;
33896 char *kwnames
[] = {
33897 (char *) "self",(char *) "sizer", NULL
33900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
33901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33903 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
33904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33907 (arg1
)->SetSizer(arg2
);
33909 wxPyEndAllowThreads(__tstate
);
33910 if (PyErr_Occurred()) SWIG_fail
;
33912 Py_INCREF(Py_None
); resultobj
= Py_None
;
33919 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33920 PyObject
*resultobj
;
33921 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33923 PyObject
* obj0
= 0 ;
33924 char *kwnames
[] = {
33925 (char *) "self", NULL
33928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
33929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33934 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
33935 result
= (wxSize
*) &_result_ref
;
33938 wxPyEndAllowThreads(__tstate
);
33939 if (PyErr_Occurred()) SWIG_fail
;
33941 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
33948 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33949 PyObject
*resultobj
;
33950 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33953 PyObject
* obj0
= 0 ;
33954 PyObject
* obj1
= 0 ;
33955 char *kwnames
[] = {
33956 (char *) "self",(char *) "size", NULL
33959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
33960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33964 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33968 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
33970 wxPyEndAllowThreads(__tstate
);
33971 if (PyErr_Occurred()) SWIG_fail
;
33973 Py_INCREF(Py_None
); resultobj
= Py_None
;
33980 static PyObject
*_wrap_SizerItem_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33981 PyObject
*resultobj
;
33982 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33984 PyObject
* obj0
= 0 ;
33985 PyObject
* obj1
= 0 ;
33986 char *kwnames
[] = {
33987 (char *) "self",(char *) "show", NULL
33990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
33991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33993 arg2
= (bool) SWIG_AsBool(obj1
);
33994 if (PyErr_Occurred()) SWIG_fail
;
33996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33997 (arg1
)->Show(arg2
);
33999 wxPyEndAllowThreads(__tstate
);
34000 if (PyErr_Occurred()) SWIG_fail
;
34002 Py_INCREF(Py_None
); resultobj
= Py_None
;
34009 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34010 PyObject
*resultobj
;
34011 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34013 PyObject
* obj0
= 0 ;
34014 char *kwnames
[] = {
34015 (char *) "self", NULL
34018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
34019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34023 result
= (bool)(arg1
)->IsShown();
34025 wxPyEndAllowThreads(__tstate
);
34026 if (PyErr_Occurred()) SWIG_fail
;
34029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34037 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34038 PyObject
*resultobj
;
34039 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34041 PyObject
* obj0
= 0 ;
34042 char *kwnames
[] = {
34043 (char *) "self", NULL
34046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
34047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34051 result
= (arg1
)->GetPosition();
34053 wxPyEndAllowThreads(__tstate
);
34054 if (PyErr_Occurred()) SWIG_fail
;
34057 wxPoint
* resultptr
;
34058 resultptr
= new wxPoint((wxPoint
&) result
);
34059 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
34067 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34068 PyObject
*resultobj
;
34069 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34071 PyObject
* obj0
= 0 ;
34072 char *kwnames
[] = {
34073 (char *) "self", NULL
34076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
34077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34081 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
34083 wxPyEndAllowThreads(__tstate
);
34084 if (PyErr_Occurred()) SWIG_fail
;
34086 resultobj
= result
;
34093 static PyObject
* SizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
34095 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34096 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
34098 return Py_BuildValue((char *)"");
34100 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34101 PyObject
*resultobj
;
34102 wxSizer
*arg1
= (wxSizer
*) 0 ;
34103 PyObject
*arg2
= (PyObject
*) 0 ;
34104 PyObject
* obj0
= 0 ;
34105 PyObject
* obj1
= 0 ;
34106 char *kwnames
[] = {
34107 (char *) "self",(char *) "_self", NULL
34110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
34111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34116 wxSizer__setOORInfo(arg1
,arg2
);
34118 wxPyEndAllowThreads(__tstate
);
34119 if (PyErr_Occurred()) SWIG_fail
;
34121 Py_INCREF(Py_None
); resultobj
= Py_None
;
34128 static PyObject
*_wrap_Sizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34129 PyObject
*resultobj
;
34130 wxSizer
*arg1
= (wxSizer
*) 0 ;
34131 PyObject
*arg2
= (PyObject
*) 0 ;
34132 int arg3
= (int) 0 ;
34133 int arg4
= (int) 0 ;
34134 int arg5
= (int) 0 ;
34135 PyObject
*arg6
= (PyObject
*) NULL
;
34136 PyObject
* obj0
= 0 ;
34137 PyObject
* obj1
= 0 ;
34138 PyObject
* obj2
= 0 ;
34139 PyObject
* obj3
= 0 ;
34140 PyObject
* obj4
= 0 ;
34141 PyObject
* obj5
= 0 ;
34142 char *kwnames
[] = {
34143 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34151 arg3
= (int) SWIG_AsInt(obj2
);
34152 if (PyErr_Occurred()) SWIG_fail
;
34155 arg4
= (int) SWIG_AsInt(obj3
);
34156 if (PyErr_Occurred()) SWIG_fail
;
34159 arg5
= (int) SWIG_AsInt(obj4
);
34160 if (PyErr_Occurred()) SWIG_fail
;
34166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34167 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34169 wxPyEndAllowThreads(__tstate
);
34170 if (PyErr_Occurred()) SWIG_fail
;
34172 Py_INCREF(Py_None
); resultobj
= Py_None
;
34179 static PyObject
*_wrap_Sizer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34180 PyObject
*resultobj
;
34181 wxSizer
*arg1
= (wxSizer
*) 0 ;
34183 PyObject
*arg3
= (PyObject
*) 0 ;
34184 int arg4
= (int) 0 ;
34185 int arg5
= (int) 0 ;
34186 int arg6
= (int) 0 ;
34187 PyObject
*arg7
= (PyObject
*) NULL
;
34188 PyObject
* obj0
= 0 ;
34189 PyObject
* obj1
= 0 ;
34190 PyObject
* obj2
= 0 ;
34191 PyObject
* obj3
= 0 ;
34192 PyObject
* obj4
= 0 ;
34193 PyObject
* obj5
= 0 ;
34194 PyObject
* obj6
= 0 ;
34195 char *kwnames
[] = {
34196 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
34200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34202 arg2
= (int) SWIG_AsInt(obj1
);
34203 if (PyErr_Occurred()) SWIG_fail
;
34206 arg4
= (int) SWIG_AsInt(obj3
);
34207 if (PyErr_Occurred()) SWIG_fail
;
34210 arg5
= (int) SWIG_AsInt(obj4
);
34211 if (PyErr_Occurred()) SWIG_fail
;
34214 arg6
= (int) SWIG_AsInt(obj5
);
34215 if (PyErr_Occurred()) SWIG_fail
;
34221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34222 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
34224 wxPyEndAllowThreads(__tstate
);
34225 if (PyErr_Occurred()) SWIG_fail
;
34227 Py_INCREF(Py_None
); resultobj
= Py_None
;
34234 static PyObject
*_wrap_Sizer_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34235 PyObject
*resultobj
;
34236 wxSizer
*arg1
= (wxSizer
*) 0 ;
34237 PyObject
*arg2
= (PyObject
*) 0 ;
34238 int arg3
= (int) 0 ;
34239 int arg4
= (int) 0 ;
34240 int arg5
= (int) 0 ;
34241 PyObject
*arg6
= (PyObject
*) NULL
;
34242 PyObject
* obj0
= 0 ;
34243 PyObject
* obj1
= 0 ;
34244 PyObject
* obj2
= 0 ;
34245 PyObject
* obj3
= 0 ;
34246 PyObject
* obj4
= 0 ;
34247 PyObject
* obj5
= 0 ;
34248 char *kwnames
[] = {
34249 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34257 arg3
= (int) SWIG_AsInt(obj2
);
34258 if (PyErr_Occurred()) SWIG_fail
;
34261 arg4
= (int) SWIG_AsInt(obj3
);
34262 if (PyErr_Occurred()) SWIG_fail
;
34265 arg5
= (int) SWIG_AsInt(obj4
);
34266 if (PyErr_Occurred()) SWIG_fail
;
34272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34273 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34275 wxPyEndAllowThreads(__tstate
);
34276 if (PyErr_Occurred()) SWIG_fail
;
34278 Py_INCREF(Py_None
); resultobj
= Py_None
;
34285 static PyObject
*_wrap_Sizer_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34286 PyObject
*resultobj
;
34287 wxSizer
*arg1
= (wxSizer
*) 0 ;
34288 PyObject
*arg2
= (PyObject
*) 0 ;
34290 PyObject
* obj0
= 0 ;
34291 PyObject
* obj1
= 0 ;
34292 char *kwnames
[] = {
34293 (char *) "self",(char *) "item", NULL
34296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
34297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34302 result
= (bool)wxSizer_Remove(arg1
,arg2
);
34304 wxPyEndAllowThreads(__tstate
);
34305 if (PyErr_Occurred()) SWIG_fail
;
34308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34316 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34317 PyObject
*resultobj
;
34318 wxSizer
*arg1
= (wxSizer
*) 0 ;
34319 PyObject
*arg2
= (PyObject
*) 0 ;
34322 PyObject
* obj0
= 0 ;
34323 PyObject
* obj1
= 0 ;
34324 PyObject
* obj2
= 0 ;
34325 char *kwnames
[] = {
34326 (char *) "self",(char *) "item",(char *) "size", NULL
34329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34335 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
34338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34339 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
34341 wxPyEndAllowThreads(__tstate
);
34342 if (PyErr_Occurred()) SWIG_fail
;
34344 Py_INCREF(Py_None
); resultobj
= Py_None
;
34351 static PyObject
*_wrap_Sizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34352 PyObject
*resultobj
;
34353 wxSizer
*arg1
= (wxSizer
*) 0 ;
34354 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
34355 PyObject
* obj0
= 0 ;
34356 PyObject
* obj1
= 0 ;
34357 char *kwnames
[] = {
34358 (char *) "self",(char *) "item", NULL
34361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34364 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
34365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34370 wxPyEndAllowThreads(__tstate
);
34371 if (PyErr_Occurred()) SWIG_fail
;
34373 Py_INCREF(Py_None
); resultobj
= Py_None
;
34380 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34381 PyObject
*resultobj
;
34382 wxSizer
*arg1
= (wxSizer
*) 0 ;
34384 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
34385 PyObject
* obj0
= 0 ;
34386 PyObject
* obj1
= 0 ;
34387 PyObject
* obj2
= 0 ;
34388 char *kwnames
[] = {
34389 (char *) "self",(char *) "index",(char *) "item", NULL
34392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34395 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
34396 if (PyErr_Occurred()) SWIG_fail
;
34397 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
34398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34401 (arg1
)->Insert(arg2
,arg3
);
34403 wxPyEndAllowThreads(__tstate
);
34404 if (PyErr_Occurred()) SWIG_fail
;
34406 Py_INCREF(Py_None
); resultobj
= Py_None
;
34413 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34414 PyObject
*resultobj
;
34415 wxSizer
*arg1
= (wxSizer
*) 0 ;
34416 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
34417 PyObject
* obj0
= 0 ;
34418 PyObject
* obj1
= 0 ;
34419 char *kwnames
[] = {
34420 (char *) "self",(char *) "item", NULL
34423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
34424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34426 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
34427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34430 (arg1
)->Prepend(arg2
);
34432 wxPyEndAllowThreads(__tstate
);
34433 if (PyErr_Occurred()) SWIG_fail
;
34435 Py_INCREF(Py_None
); resultobj
= Py_None
;
34442 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34443 PyObject
*resultobj
;
34444 wxSizer
*arg1
= (wxSizer
*) 0 ;
34449 PyObject
* obj0
= 0 ;
34450 PyObject
* obj1
= 0 ;
34451 PyObject
* obj2
= 0 ;
34452 PyObject
* obj3
= 0 ;
34453 PyObject
* obj4
= 0 ;
34454 char *kwnames
[] = {
34455 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
34458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34461 arg2
= (int) SWIG_AsInt(obj1
);
34462 if (PyErr_Occurred()) SWIG_fail
;
34463 arg3
= (int) SWIG_AsInt(obj2
);
34464 if (PyErr_Occurred()) SWIG_fail
;
34465 arg4
= (int) SWIG_AsInt(obj3
);
34466 if (PyErr_Occurred()) SWIG_fail
;
34467 arg5
= (int) SWIG_AsInt(obj4
);
34468 if (PyErr_Occurred()) SWIG_fail
;
34470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34471 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
34473 wxPyEndAllowThreads(__tstate
);
34474 if (PyErr_Occurred()) SWIG_fail
;
34476 Py_INCREF(Py_None
); resultobj
= Py_None
;
34483 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34484 PyObject
*resultobj
;
34485 wxSizer
*arg1
= (wxSizer
*) 0 ;
34488 PyObject
* obj0
= 0 ;
34489 PyObject
* obj1
= 0 ;
34490 char *kwnames
[] = {
34491 (char *) "self",(char *) "size", NULL
34494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
34495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34499 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
34502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34503 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
34505 wxPyEndAllowThreads(__tstate
);
34506 if (PyErr_Occurred()) SWIG_fail
;
34508 Py_INCREF(Py_None
); resultobj
= Py_None
;
34515 static PyObject
*_wrap_Sizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34516 PyObject
*resultobj
;
34517 wxSizer
*arg1
= (wxSizer
*) 0 ;
34519 PyObject
* obj0
= 0 ;
34520 char *kwnames
[] = {
34521 (char *) "self", NULL
34524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
34525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34529 result
= (arg1
)->GetSize();
34531 wxPyEndAllowThreads(__tstate
);
34532 if (PyErr_Occurred()) SWIG_fail
;
34535 wxSize
* resultptr
;
34536 resultptr
= new wxSize((wxSize
&) result
);
34537 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34545 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34546 PyObject
*resultobj
;
34547 wxSizer
*arg1
= (wxSizer
*) 0 ;
34549 PyObject
* obj0
= 0 ;
34550 char *kwnames
[] = {
34551 (char *) "self", NULL
34554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
34555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34559 result
= (arg1
)->GetPosition();
34561 wxPyEndAllowThreads(__tstate
);
34562 if (PyErr_Occurred()) SWIG_fail
;
34565 wxPoint
* resultptr
;
34566 resultptr
= new wxPoint((wxPoint
&) result
);
34567 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
34575 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34576 PyObject
*resultobj
;
34577 wxSizer
*arg1
= (wxSizer
*) 0 ;
34579 PyObject
* obj0
= 0 ;
34580 char *kwnames
[] = {
34581 (char *) "self", NULL
34584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
34585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34589 result
= (arg1
)->GetMinSize();
34591 wxPyEndAllowThreads(__tstate
);
34592 if (PyErr_Occurred()) SWIG_fail
;
34595 wxSize
* resultptr
;
34596 resultptr
= new wxSize((wxSize
&) result
);
34597 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34605 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34606 PyObject
*resultobj
;
34607 wxSizer
*arg1
= (wxSizer
*) 0 ;
34608 PyObject
* obj0
= 0 ;
34609 char *kwnames
[] = {
34610 (char *) "self", NULL
34613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34618 (arg1
)->RecalcSizes();
34620 wxPyEndAllowThreads(__tstate
);
34621 if (PyErr_Occurred()) SWIG_fail
;
34623 Py_INCREF(Py_None
); resultobj
= Py_None
;
34630 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34631 PyObject
*resultobj
;
34632 wxSizer
*arg1
= (wxSizer
*) 0 ;
34634 PyObject
* obj0
= 0 ;
34635 char *kwnames
[] = {
34636 (char *) "self", NULL
34639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34644 result
= (arg1
)->CalcMin();
34646 wxPyEndAllowThreads(__tstate
);
34647 if (PyErr_Occurred()) SWIG_fail
;
34650 wxSize
* resultptr
;
34651 resultptr
= new wxSize((wxSize
&) result
);
34652 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34660 static PyObject
*_wrap_Sizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34661 PyObject
*resultobj
;
34662 wxSizer
*arg1
= (wxSizer
*) 0 ;
34663 PyObject
* obj0
= 0 ;
34664 char *kwnames
[] = {
34665 (char *) "self", NULL
34668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
34669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34675 wxPyEndAllowThreads(__tstate
);
34676 if (PyErr_Occurred()) SWIG_fail
;
34678 Py_INCREF(Py_None
); resultobj
= Py_None
;
34685 static PyObject
*_wrap_Sizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34686 PyObject
*resultobj
;
34687 wxSizer
*arg1
= (wxSizer
*) 0 ;
34688 wxWindow
*arg2
= (wxWindow
*) 0 ;
34690 PyObject
* obj0
= 0 ;
34691 PyObject
* obj1
= 0 ;
34692 char *kwnames
[] = {
34693 (char *) "self",(char *) "window", NULL
34696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
34697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34699 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34703 result
= (arg1
)->Fit(arg2
);
34705 wxPyEndAllowThreads(__tstate
);
34706 if (PyErr_Occurred()) SWIG_fail
;
34709 wxSize
* resultptr
;
34710 resultptr
= new wxSize((wxSize
&) result
);
34711 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34719 static PyObject
*_wrap_Sizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34720 PyObject
*resultobj
;
34721 wxSizer
*arg1
= (wxSizer
*) 0 ;
34722 wxWindow
*arg2
= (wxWindow
*) 0 ;
34723 PyObject
* obj0
= 0 ;
34724 PyObject
* obj1
= 0 ;
34725 char *kwnames
[] = {
34726 (char *) "self",(char *) "window", NULL
34729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
34730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34732 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34736 (arg1
)->FitInside(arg2
);
34738 wxPyEndAllowThreads(__tstate
);
34739 if (PyErr_Occurred()) SWIG_fail
;
34741 Py_INCREF(Py_None
); resultobj
= Py_None
;
34748 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34749 PyObject
*resultobj
;
34750 wxSizer
*arg1
= (wxSizer
*) 0 ;
34751 wxWindow
*arg2
= (wxWindow
*) 0 ;
34752 PyObject
* obj0
= 0 ;
34753 PyObject
* obj1
= 0 ;
34754 char *kwnames
[] = {
34755 (char *) "self",(char *) "window", NULL
34758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
34759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34761 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34765 (arg1
)->SetSizeHints(arg2
);
34767 wxPyEndAllowThreads(__tstate
);
34768 if (PyErr_Occurred()) SWIG_fail
;
34770 Py_INCREF(Py_None
); resultobj
= Py_None
;
34777 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34778 PyObject
*resultobj
;
34779 wxSizer
*arg1
= (wxSizer
*) 0 ;
34780 wxWindow
*arg2
= (wxWindow
*) 0 ;
34781 PyObject
* obj0
= 0 ;
34782 PyObject
* obj1
= 0 ;
34783 char *kwnames
[] = {
34784 (char *) "self",(char *) "window", NULL
34787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
34788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34790 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34794 (arg1
)->SetVirtualSizeHints(arg2
);
34796 wxPyEndAllowThreads(__tstate
);
34797 if (PyErr_Occurred()) SWIG_fail
;
34799 Py_INCREF(Py_None
); resultobj
= Py_None
;
34806 static PyObject
*_wrap_Sizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34807 PyObject
*resultobj
;
34808 wxSizer
*arg1
= (wxSizer
*) 0 ;
34809 bool arg2
= (bool) False
;
34810 PyObject
* obj0
= 0 ;
34811 PyObject
* obj1
= 0 ;
34812 char *kwnames
[] = {
34813 (char *) "self",(char *) "delete_windows", NULL
34816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
34817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34820 arg2
= (bool) SWIG_AsBool(obj1
);
34821 if (PyErr_Occurred()) SWIG_fail
;
34824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34825 (arg1
)->Clear(arg2
);
34827 wxPyEndAllowThreads(__tstate
);
34828 if (PyErr_Occurred()) SWIG_fail
;
34830 Py_INCREF(Py_None
); resultobj
= Py_None
;
34837 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34838 PyObject
*resultobj
;
34839 wxSizer
*arg1
= (wxSizer
*) 0 ;
34840 PyObject
* obj0
= 0 ;
34841 char *kwnames
[] = {
34842 (char *) "self", NULL
34845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
34846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34850 (arg1
)->DeleteWindows();
34852 wxPyEndAllowThreads(__tstate
);
34853 if (PyErr_Occurred()) SWIG_fail
;
34855 Py_INCREF(Py_None
); resultobj
= Py_None
;
34862 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34863 PyObject
*resultobj
;
34864 wxSizer
*arg1
= (wxSizer
*) 0 ;
34866 PyObject
* obj0
= 0 ;
34867 char *kwnames
[] = {
34868 (char *) "self", NULL
34871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
34872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34876 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
34878 wxPyEndAllowThreads(__tstate
);
34879 if (PyErr_Occurred()) SWIG_fail
;
34881 resultobj
= result
;
34888 static PyObject
*_wrap_Sizer_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34889 PyObject
*resultobj
;
34890 wxSizer
*arg1
= (wxSizer
*) 0 ;
34891 PyObject
*arg2
= (PyObject
*) 0 ;
34892 bool arg3
= (bool) True
;
34893 PyObject
* obj0
= 0 ;
34894 PyObject
* obj1
= 0 ;
34895 PyObject
* obj2
= 0 ;
34896 char *kwnames
[] = {
34897 (char *) "self",(char *) "item",(char *) "show", NULL
34900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34905 arg3
= (bool) SWIG_AsBool(obj2
);
34906 if (PyErr_Occurred()) SWIG_fail
;
34909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34910 wxSizer_Show(arg1
,arg2
,arg3
);
34912 wxPyEndAllowThreads(__tstate
);
34913 if (PyErr_Occurred()) SWIG_fail
;
34915 Py_INCREF(Py_None
); resultobj
= Py_None
;
34922 static PyObject
*_wrap_Sizer_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34923 PyObject
*resultobj
;
34924 wxSizer
*arg1
= (wxSizer
*) 0 ;
34925 PyObject
*arg2
= (PyObject
*) 0 ;
34926 PyObject
* obj0
= 0 ;
34927 PyObject
* obj1
= 0 ;
34928 char *kwnames
[] = {
34929 (char *) "self",(char *) "item", NULL
34932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Hide",kwnames
,&obj0
,&obj1
)) goto fail
;
34933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34938 wxSizer_Hide(arg1
,arg2
);
34940 wxPyEndAllowThreads(__tstate
);
34941 if (PyErr_Occurred()) SWIG_fail
;
34943 Py_INCREF(Py_None
); resultobj
= Py_None
;
34950 static PyObject
*_wrap_Sizer_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34951 PyObject
*resultobj
;
34952 wxSizer
*arg1
= (wxSizer
*) 0 ;
34953 PyObject
*arg2
= (PyObject
*) 0 ;
34955 PyObject
* obj0
= 0 ;
34956 PyObject
* obj1
= 0 ;
34957 char *kwnames
[] = {
34958 (char *) "self",(char *) "item", NULL
34961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
34962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34967 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
34969 wxPyEndAllowThreads(__tstate
);
34970 if (PyErr_Occurred()) SWIG_fail
;
34973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34981 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34982 PyObject
*resultobj
;
34983 wxSizer
*arg1
= (wxSizer
*) 0 ;
34985 PyObject
* obj0
= 0 ;
34986 PyObject
* obj1
= 0 ;
34987 char *kwnames
[] = {
34988 (char *) "self",(char *) "show", NULL
34991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
34992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34994 arg2
= (bool) SWIG_AsBool(obj1
);
34995 if (PyErr_Occurred()) SWIG_fail
;
34997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34998 (arg1
)->ShowItems(arg2
);
35000 wxPyEndAllowThreads(__tstate
);
35001 if (PyErr_Occurred()) SWIG_fail
;
35003 Py_INCREF(Py_None
); resultobj
= Py_None
;
35010 static PyObject
* Sizer_swigregister(PyObject
*self
, PyObject
*args
) {
35012 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35013 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
35015 return Py_BuildValue((char *)"");
35017 static PyObject
*_wrap_new_PySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35018 PyObject
*resultobj
;
35020 char *kwnames
[] = {
35024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
35026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35027 result
= (wxPySizer
*)new wxPySizer();
35029 wxPyEndAllowThreads(__tstate
);
35030 if (PyErr_Occurred()) SWIG_fail
;
35032 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
35039 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35040 PyObject
*resultobj
;
35041 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
35042 PyObject
*arg2
= (PyObject
*) 0 ;
35043 PyObject
*arg3
= (PyObject
*) 0 ;
35044 PyObject
* obj0
= 0 ;
35045 PyObject
* obj1
= 0 ;
35046 PyObject
* obj2
= 0 ;
35047 char *kwnames
[] = {
35048 (char *) "self",(char *) "self",(char *) "_class", NULL
35051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
35053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35058 (arg1
)->_setCallbackInfo(arg2
,arg3
);
35060 wxPyEndAllowThreads(__tstate
);
35061 if (PyErr_Occurred()) SWIG_fail
;
35063 Py_INCREF(Py_None
); resultobj
= Py_None
;
35070 static PyObject
* PySizer_swigregister(PyObject
*self
, PyObject
*args
) {
35072 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35073 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
35075 return Py_BuildValue((char *)"");
35077 static PyObject
*_wrap_new_BoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35078 PyObject
*resultobj
;
35079 int arg1
= (int) wxHORIZONTAL
;
35080 wxBoxSizer
*result
;
35081 PyObject
* obj0
= 0 ;
35082 char *kwnames
[] = {
35083 (char *) "orient", NULL
35086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
35088 arg1
= (int) SWIG_AsInt(obj0
);
35089 if (PyErr_Occurred()) SWIG_fail
;
35092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35093 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
35095 wxPyEndAllowThreads(__tstate
);
35096 if (PyErr_Occurred()) SWIG_fail
;
35098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
35105 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35106 PyObject
*resultobj
;
35107 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35109 PyObject
* obj0
= 0 ;
35110 char *kwnames
[] = {
35111 (char *) "self", NULL
35114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
35115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35119 result
= (int)(arg1
)->GetOrientation();
35121 wxPyEndAllowThreads(__tstate
);
35122 if (PyErr_Occurred()) SWIG_fail
;
35124 resultobj
= SWIG_FromInt((int)result
);
35131 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35132 PyObject
*resultobj
;
35133 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35135 PyObject
* obj0
= 0 ;
35136 PyObject
* obj1
= 0 ;
35137 char *kwnames
[] = {
35138 (char *) "self",(char *) "orient", NULL
35141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
35142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35144 arg2
= (int) SWIG_AsInt(obj1
);
35145 if (PyErr_Occurred()) SWIG_fail
;
35147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35148 (arg1
)->SetOrientation(arg2
);
35150 wxPyEndAllowThreads(__tstate
);
35151 if (PyErr_Occurred()) SWIG_fail
;
35153 Py_INCREF(Py_None
); resultobj
= Py_None
;
35160 static PyObject
*_wrap_BoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35161 PyObject
*resultobj
;
35162 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35163 PyObject
* obj0
= 0 ;
35164 char *kwnames
[] = {
35165 (char *) "self", NULL
35168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35173 (arg1
)->RecalcSizes();
35175 wxPyEndAllowThreads(__tstate
);
35176 if (PyErr_Occurred()) SWIG_fail
;
35178 Py_INCREF(Py_None
); resultobj
= Py_None
;
35185 static PyObject
*_wrap_BoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35186 PyObject
*resultobj
;
35187 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35189 PyObject
* obj0
= 0 ;
35190 char *kwnames
[] = {
35191 (char *) "self", NULL
35194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35199 result
= (arg1
)->CalcMin();
35201 wxPyEndAllowThreads(__tstate
);
35202 if (PyErr_Occurred()) SWIG_fail
;
35205 wxSize
* resultptr
;
35206 resultptr
= new wxSize((wxSize
&) result
);
35207 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35215 static PyObject
* BoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
35217 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35218 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
35220 return Py_BuildValue((char *)"");
35222 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35223 PyObject
*resultobj
;
35224 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
35225 int arg2
= (int) wxHORIZONTAL
;
35226 wxStaticBoxSizer
*result
;
35227 PyObject
* obj0
= 0 ;
35228 PyObject
* obj1
= 0 ;
35229 char *kwnames
[] = {
35230 (char *) "box",(char *) "orient", NULL
35233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
35234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
35235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35237 arg2
= (int) SWIG_AsInt(obj1
);
35238 if (PyErr_Occurred()) SWIG_fail
;
35241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35242 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
35244 wxPyEndAllowThreads(__tstate
);
35245 if (PyErr_Occurred()) SWIG_fail
;
35247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
35254 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35255 PyObject
*resultobj
;
35256 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
35257 wxStaticBox
*result
;
35258 PyObject
* obj0
= 0 ;
35259 char *kwnames
[] = {
35260 (char *) "self", NULL
35263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
35264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
35265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35268 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
35270 wxPyEndAllowThreads(__tstate
);
35271 if (PyErr_Occurred()) SWIG_fail
;
35274 resultobj
= wxPyMake_wxObject(result
);
35282 static PyObject
*_wrap_StaticBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35283 PyObject
*resultobj
;
35284 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
35285 PyObject
* obj0
= 0 ;
35286 char *kwnames
[] = {
35287 (char *) "self", NULL
35290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
35292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35295 (arg1
)->RecalcSizes();
35297 wxPyEndAllowThreads(__tstate
);
35298 if (PyErr_Occurred()) SWIG_fail
;
35300 Py_INCREF(Py_None
); resultobj
= Py_None
;
35307 static PyObject
*_wrap_StaticBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35308 PyObject
*resultobj
;
35309 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
35311 PyObject
* obj0
= 0 ;
35312 char *kwnames
[] = {
35313 (char *) "self", NULL
35316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
35318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35321 result
= (arg1
)->CalcMin();
35323 wxPyEndAllowThreads(__tstate
);
35324 if (PyErr_Occurred()) SWIG_fail
;
35327 wxSize
* resultptr
;
35328 resultptr
= new wxSize((wxSize
&) result
);
35329 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35337 static PyObject
* StaticBoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
35339 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35340 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
35342 return Py_BuildValue((char *)"");
35344 static PyObject
*_wrap_new_GridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35345 PyObject
*resultobj
;
35346 int arg1
= (int) 1 ;
35347 int arg2
= (int) 0 ;
35348 int arg3
= (int) 0 ;
35349 int arg4
= (int) 0 ;
35350 wxGridSizer
*result
;
35351 PyObject
* obj0
= 0 ;
35352 PyObject
* obj1
= 0 ;
35353 PyObject
* obj2
= 0 ;
35354 PyObject
* obj3
= 0 ;
35355 char *kwnames
[] = {
35356 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
35359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35361 arg1
= (int) SWIG_AsInt(obj0
);
35362 if (PyErr_Occurred()) SWIG_fail
;
35365 arg2
= (int) SWIG_AsInt(obj1
);
35366 if (PyErr_Occurred()) SWIG_fail
;
35369 arg3
= (int) SWIG_AsInt(obj2
);
35370 if (PyErr_Occurred()) SWIG_fail
;
35373 arg4
= (int) SWIG_AsInt(obj3
);
35374 if (PyErr_Occurred()) SWIG_fail
;
35377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35378 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
35380 wxPyEndAllowThreads(__tstate
);
35381 if (PyErr_Occurred()) SWIG_fail
;
35383 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
35390 static PyObject
*_wrap_GridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35391 PyObject
*resultobj
;
35392 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35393 PyObject
* obj0
= 0 ;
35394 char *kwnames
[] = {
35395 (char *) "self", NULL
35398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35403 (arg1
)->RecalcSizes();
35405 wxPyEndAllowThreads(__tstate
);
35406 if (PyErr_Occurred()) SWIG_fail
;
35408 Py_INCREF(Py_None
); resultobj
= Py_None
;
35415 static PyObject
*_wrap_GridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35416 PyObject
*resultobj
;
35417 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35419 PyObject
* obj0
= 0 ;
35420 char *kwnames
[] = {
35421 (char *) "self", NULL
35424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35429 result
= (arg1
)->CalcMin();
35431 wxPyEndAllowThreads(__tstate
);
35432 if (PyErr_Occurred()) SWIG_fail
;
35435 wxSize
* resultptr
;
35436 resultptr
= new wxSize((wxSize
&) result
);
35437 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35445 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35446 PyObject
*resultobj
;
35447 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35449 PyObject
* obj0
= 0 ;
35450 PyObject
* obj1
= 0 ;
35451 char *kwnames
[] = {
35452 (char *) "self",(char *) "cols", NULL
35455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
35456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35458 arg2
= (int) SWIG_AsInt(obj1
);
35459 if (PyErr_Occurred()) SWIG_fail
;
35461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35462 (arg1
)->SetCols(arg2
);
35464 wxPyEndAllowThreads(__tstate
);
35465 if (PyErr_Occurred()) SWIG_fail
;
35467 Py_INCREF(Py_None
); resultobj
= Py_None
;
35474 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35475 PyObject
*resultobj
;
35476 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35478 PyObject
* obj0
= 0 ;
35479 PyObject
* obj1
= 0 ;
35480 char *kwnames
[] = {
35481 (char *) "self",(char *) "rows", NULL
35484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
35485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35487 arg2
= (int) SWIG_AsInt(obj1
);
35488 if (PyErr_Occurred()) SWIG_fail
;
35490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35491 (arg1
)->SetRows(arg2
);
35493 wxPyEndAllowThreads(__tstate
);
35494 if (PyErr_Occurred()) SWIG_fail
;
35496 Py_INCREF(Py_None
); resultobj
= Py_None
;
35503 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35504 PyObject
*resultobj
;
35505 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35507 PyObject
* obj0
= 0 ;
35508 PyObject
* obj1
= 0 ;
35509 char *kwnames
[] = {
35510 (char *) "self",(char *) "gap", NULL
35513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
35514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35516 arg2
= (int) SWIG_AsInt(obj1
);
35517 if (PyErr_Occurred()) SWIG_fail
;
35519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35520 (arg1
)->SetVGap(arg2
);
35522 wxPyEndAllowThreads(__tstate
);
35523 if (PyErr_Occurred()) SWIG_fail
;
35525 Py_INCREF(Py_None
); resultobj
= Py_None
;
35532 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35533 PyObject
*resultobj
;
35534 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35536 PyObject
* obj0
= 0 ;
35537 PyObject
* obj1
= 0 ;
35538 char *kwnames
[] = {
35539 (char *) "self",(char *) "gap", NULL
35542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
35543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35545 arg2
= (int) SWIG_AsInt(obj1
);
35546 if (PyErr_Occurred()) SWIG_fail
;
35548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35549 (arg1
)->SetHGap(arg2
);
35551 wxPyEndAllowThreads(__tstate
);
35552 if (PyErr_Occurred()) SWIG_fail
;
35554 Py_INCREF(Py_None
); resultobj
= Py_None
;
35561 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35562 PyObject
*resultobj
;
35563 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35565 PyObject
* obj0
= 0 ;
35566 char *kwnames
[] = {
35567 (char *) "self", NULL
35570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
35571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35575 result
= (int)(arg1
)->GetCols();
35577 wxPyEndAllowThreads(__tstate
);
35578 if (PyErr_Occurred()) SWIG_fail
;
35580 resultobj
= SWIG_FromInt((int)result
);
35587 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35588 PyObject
*resultobj
;
35589 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35591 PyObject
* obj0
= 0 ;
35592 char *kwnames
[] = {
35593 (char *) "self", NULL
35596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
35597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35601 result
= (int)(arg1
)->GetRows();
35603 wxPyEndAllowThreads(__tstate
);
35604 if (PyErr_Occurred()) SWIG_fail
;
35606 resultobj
= SWIG_FromInt((int)result
);
35613 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35614 PyObject
*resultobj
;
35615 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35617 PyObject
* obj0
= 0 ;
35618 char *kwnames
[] = {
35619 (char *) "self", NULL
35622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
35623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35627 result
= (int)(arg1
)->GetVGap();
35629 wxPyEndAllowThreads(__tstate
);
35630 if (PyErr_Occurred()) SWIG_fail
;
35632 resultobj
= SWIG_FromInt((int)result
);
35639 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35640 PyObject
*resultobj
;
35641 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35643 PyObject
* obj0
= 0 ;
35644 char *kwnames
[] = {
35645 (char *) "self", NULL
35648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
35649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35653 result
= (int)(arg1
)->GetHGap();
35655 wxPyEndAllowThreads(__tstate
);
35656 if (PyErr_Occurred()) SWIG_fail
;
35658 resultobj
= SWIG_FromInt((int)result
);
35665 static PyObject
* GridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
35667 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35668 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
35670 return Py_BuildValue((char *)"");
35672 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35673 PyObject
*resultobj
;
35674 int arg1
= (int) 1 ;
35675 int arg2
= (int) 0 ;
35676 int arg3
= (int) 0 ;
35677 int arg4
= (int) 0 ;
35678 wxFlexGridSizer
*result
;
35679 PyObject
* obj0
= 0 ;
35680 PyObject
* obj1
= 0 ;
35681 PyObject
* obj2
= 0 ;
35682 PyObject
* obj3
= 0 ;
35683 char *kwnames
[] = {
35684 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
35687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35689 arg1
= (int) SWIG_AsInt(obj0
);
35690 if (PyErr_Occurred()) SWIG_fail
;
35693 arg2
= (int) SWIG_AsInt(obj1
);
35694 if (PyErr_Occurred()) SWIG_fail
;
35697 arg3
= (int) SWIG_AsInt(obj2
);
35698 if (PyErr_Occurred()) SWIG_fail
;
35701 arg4
= (int) SWIG_AsInt(obj3
);
35702 if (PyErr_Occurred()) SWIG_fail
;
35705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35706 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
35708 wxPyEndAllowThreads(__tstate
);
35709 if (PyErr_Occurred()) SWIG_fail
;
35711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
35718 static PyObject
*_wrap_FlexGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35719 PyObject
*resultobj
;
35720 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35721 PyObject
* obj0
= 0 ;
35722 char *kwnames
[] = {
35723 (char *) "self", NULL
35726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35731 (arg1
)->RecalcSizes();
35733 wxPyEndAllowThreads(__tstate
);
35734 if (PyErr_Occurred()) SWIG_fail
;
35736 Py_INCREF(Py_None
); resultobj
= Py_None
;
35743 static PyObject
*_wrap_FlexGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35744 PyObject
*resultobj
;
35745 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35747 PyObject
* obj0
= 0 ;
35748 char *kwnames
[] = {
35749 (char *) "self", NULL
35752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35757 result
= (arg1
)->CalcMin();
35759 wxPyEndAllowThreads(__tstate
);
35760 if (PyErr_Occurred()) SWIG_fail
;
35763 wxSize
* resultptr
;
35764 resultptr
= new wxSize((wxSize
&) result
);
35765 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35773 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35774 PyObject
*resultobj
;
35775 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35777 int arg3
= (int) 0 ;
35778 PyObject
* obj0
= 0 ;
35779 PyObject
* obj1
= 0 ;
35780 PyObject
* obj2
= 0 ;
35781 char *kwnames
[] = {
35782 (char *) "self",(char *) "idx",(char *) "proportion", NULL
35785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35788 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
35789 if (PyErr_Occurred()) SWIG_fail
;
35791 arg3
= (int) SWIG_AsInt(obj2
);
35792 if (PyErr_Occurred()) SWIG_fail
;
35795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35796 (arg1
)->AddGrowableRow(arg2
,arg3
);
35798 wxPyEndAllowThreads(__tstate
);
35799 if (PyErr_Occurred()) SWIG_fail
;
35801 Py_INCREF(Py_None
); resultobj
= Py_None
;
35808 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35809 PyObject
*resultobj
;
35810 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35812 PyObject
* obj0
= 0 ;
35813 PyObject
* obj1
= 0 ;
35814 char *kwnames
[] = {
35815 (char *) "self",(char *) "idx", NULL
35818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
35819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35821 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
35822 if (PyErr_Occurred()) SWIG_fail
;
35824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35825 (arg1
)->RemoveGrowableRow(arg2
);
35827 wxPyEndAllowThreads(__tstate
);
35828 if (PyErr_Occurred()) SWIG_fail
;
35830 Py_INCREF(Py_None
); resultobj
= Py_None
;
35837 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35838 PyObject
*resultobj
;
35839 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35841 int arg3
= (int) 0 ;
35842 PyObject
* obj0
= 0 ;
35843 PyObject
* obj1
= 0 ;
35844 PyObject
* obj2
= 0 ;
35845 char *kwnames
[] = {
35846 (char *) "self",(char *) "idx",(char *) "proportion", NULL
35849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35852 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
35853 if (PyErr_Occurred()) SWIG_fail
;
35855 arg3
= (int) SWIG_AsInt(obj2
);
35856 if (PyErr_Occurred()) SWIG_fail
;
35859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35860 (arg1
)->AddGrowableCol(arg2
,arg3
);
35862 wxPyEndAllowThreads(__tstate
);
35863 if (PyErr_Occurred()) SWIG_fail
;
35865 Py_INCREF(Py_None
); resultobj
= Py_None
;
35872 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35873 PyObject
*resultobj
;
35874 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35876 PyObject
* obj0
= 0 ;
35877 PyObject
* obj1
= 0 ;
35878 char *kwnames
[] = {
35879 (char *) "self",(char *) "idx", NULL
35882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
35883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35885 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
35886 if (PyErr_Occurred()) SWIG_fail
;
35888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35889 (arg1
)->RemoveGrowableCol(arg2
);
35891 wxPyEndAllowThreads(__tstate
);
35892 if (PyErr_Occurred()) SWIG_fail
;
35894 Py_INCREF(Py_None
); resultobj
= Py_None
;
35901 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35902 PyObject
*resultobj
;
35903 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35905 PyObject
* obj0
= 0 ;
35906 PyObject
* obj1
= 0 ;
35907 char *kwnames
[] = {
35908 (char *) "self",(char *) "direction", NULL
35911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
35912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35914 arg2
= (int) SWIG_AsInt(obj1
);
35915 if (PyErr_Occurred()) SWIG_fail
;
35917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35918 (arg1
)->SetFlexibleDirection(arg2
);
35920 wxPyEndAllowThreads(__tstate
);
35921 if (PyErr_Occurred()) SWIG_fail
;
35923 Py_INCREF(Py_None
); resultobj
= Py_None
;
35930 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35931 PyObject
*resultobj
;
35932 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35934 PyObject
* obj0
= 0 ;
35935 char *kwnames
[] = {
35936 (char *) "self", NULL
35939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
35940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35944 result
= (int)(arg1
)->GetFlexibleDirection();
35946 wxPyEndAllowThreads(__tstate
);
35947 if (PyErr_Occurred()) SWIG_fail
;
35949 resultobj
= SWIG_FromInt((int)result
);
35956 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35957 PyObject
*resultobj
;
35958 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35960 PyObject
* obj0
= 0 ;
35961 PyObject
* obj1
= 0 ;
35962 char *kwnames
[] = {
35963 (char *) "self",(char *) "mode", NULL
35966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
35967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35969 arg2
= (wxFlexSizerGrowMode
) SWIG_AsInt(obj1
);
35970 if (PyErr_Occurred()) SWIG_fail
;
35972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35973 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
35975 wxPyEndAllowThreads(__tstate
);
35976 if (PyErr_Occurred()) SWIG_fail
;
35978 Py_INCREF(Py_None
); resultobj
= Py_None
;
35985 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35986 PyObject
*resultobj
;
35987 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35989 PyObject
* obj0
= 0 ;
35990 char *kwnames
[] = {
35991 (char *) "self", NULL
35994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
35995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35999 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
36001 wxPyEndAllowThreads(__tstate
);
36002 if (PyErr_Occurred()) SWIG_fail
;
36004 resultobj
= SWIG_FromInt((int)result
);
36011 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36012 PyObject
*resultobj
;
36013 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36014 wxArrayInt
*result
;
36015 PyObject
* obj0
= 0 ;
36016 char *kwnames
[] = {
36017 (char *) "self", NULL
36020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
36021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36026 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
36027 result
= (wxArrayInt
*) &_result_ref
;
36030 wxPyEndAllowThreads(__tstate
);
36031 if (PyErr_Occurred()) SWIG_fail
;
36034 resultobj
= PyList_New(0);
36036 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
36037 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
36038 PyList_Append(resultobj
, val
);
36048 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36049 PyObject
*resultobj
;
36050 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36051 wxArrayInt
*result
;
36052 PyObject
* obj0
= 0 ;
36053 char *kwnames
[] = {
36054 (char *) "self", NULL
36057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
36058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36063 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
36064 result
= (wxArrayInt
*) &_result_ref
;
36067 wxPyEndAllowThreads(__tstate
);
36068 if (PyErr_Occurred()) SWIG_fail
;
36071 resultobj
= PyList_New(0);
36073 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
36074 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
36075 PyList_Append(resultobj
, val
);
36085 static PyObject
* FlexGridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36087 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36088 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
36090 return Py_BuildValue((char *)"");
36092 static PyObject
*_wrap_new_GBPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36093 PyObject
*resultobj
;
36094 int arg1
= (int) 0 ;
36095 int arg2
= (int) 0 ;
36096 wxGBPosition
*result
;
36097 PyObject
* obj0
= 0 ;
36098 PyObject
* obj1
= 0 ;
36099 char *kwnames
[] = {
36100 (char *) "row",(char *) "col", NULL
36103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
36105 arg1
= (int) SWIG_AsInt(obj0
);
36106 if (PyErr_Occurred()) SWIG_fail
;
36109 arg2
= (int) SWIG_AsInt(obj1
);
36110 if (PyErr_Occurred()) SWIG_fail
;
36113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36114 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
36116 wxPyEndAllowThreads(__tstate
);
36117 if (PyErr_Occurred()) SWIG_fail
;
36119 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
36126 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36127 PyObject
*resultobj
;
36128 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36130 PyObject
* obj0
= 0 ;
36131 char *kwnames
[] = {
36132 (char *) "self", NULL
36135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
36136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36140 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
36142 wxPyEndAllowThreads(__tstate
);
36143 if (PyErr_Occurred()) SWIG_fail
;
36145 resultobj
= SWIG_FromInt((int)result
);
36152 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36153 PyObject
*resultobj
;
36154 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36156 PyObject
* obj0
= 0 ;
36157 char *kwnames
[] = {
36158 (char *) "self", NULL
36161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
36162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36166 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
36168 wxPyEndAllowThreads(__tstate
);
36169 if (PyErr_Occurred()) SWIG_fail
;
36171 resultobj
= SWIG_FromInt((int)result
);
36178 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36179 PyObject
*resultobj
;
36180 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36182 PyObject
* obj0
= 0 ;
36183 PyObject
* obj1
= 0 ;
36184 char *kwnames
[] = {
36185 (char *) "self",(char *) "row", NULL
36188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36191 arg2
= (int) SWIG_AsInt(obj1
);
36192 if (PyErr_Occurred()) SWIG_fail
;
36194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36195 (arg1
)->SetRow(arg2
);
36197 wxPyEndAllowThreads(__tstate
);
36198 if (PyErr_Occurred()) SWIG_fail
;
36200 Py_INCREF(Py_None
); resultobj
= Py_None
;
36207 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36208 PyObject
*resultobj
;
36209 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36211 PyObject
* obj0
= 0 ;
36212 PyObject
* obj1
= 0 ;
36213 char *kwnames
[] = {
36214 (char *) "self",(char *) "col", NULL
36217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
36218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36220 arg2
= (int) SWIG_AsInt(obj1
);
36221 if (PyErr_Occurred()) SWIG_fail
;
36223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36224 (arg1
)->SetCol(arg2
);
36226 wxPyEndAllowThreads(__tstate
);
36227 if (PyErr_Occurred()) SWIG_fail
;
36229 Py_INCREF(Py_None
); resultobj
= Py_None
;
36236 static PyObject
*_wrap_GBPosition___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36237 PyObject
*resultobj
;
36238 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36239 wxGBPosition
*arg2
= 0 ;
36241 wxGBPosition temp2
;
36242 PyObject
* obj0
= 0 ;
36243 PyObject
* obj1
= 0 ;
36244 char *kwnames
[] = {
36245 (char *) "self",(char *) "other", NULL
36248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
36249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36253 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36257 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
36259 wxPyEndAllowThreads(__tstate
);
36260 if (PyErr_Occurred()) SWIG_fail
;
36263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36271 static PyObject
*_wrap_GBPosition___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36272 PyObject
*resultobj
;
36273 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36274 wxGBPosition
*arg2
= 0 ;
36276 wxGBPosition temp2
;
36277 PyObject
* obj0
= 0 ;
36278 PyObject
* obj1
= 0 ;
36279 char *kwnames
[] = {
36280 (char *) "self",(char *) "other", NULL
36283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
36284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36288 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36292 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
36294 wxPyEndAllowThreads(__tstate
);
36295 if (PyErr_Occurred()) SWIG_fail
;
36298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36306 static PyObject
*_wrap_GBPosition_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36307 PyObject
*resultobj
;
36308 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36309 int arg2
= (int) 0 ;
36310 int arg3
= (int) 0 ;
36311 PyObject
* obj0
= 0 ;
36312 PyObject
* obj1
= 0 ;
36313 PyObject
* obj2
= 0 ;
36314 char *kwnames
[] = {
36315 (char *) "self",(char *) "row",(char *) "col", NULL
36318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36322 arg2
= (int) SWIG_AsInt(obj1
);
36323 if (PyErr_Occurred()) SWIG_fail
;
36326 arg3
= (int) SWIG_AsInt(obj2
);
36327 if (PyErr_Occurred()) SWIG_fail
;
36330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36331 wxGBPosition_Set(arg1
,arg2
,arg3
);
36333 wxPyEndAllowThreads(__tstate
);
36334 if (PyErr_Occurred()) SWIG_fail
;
36336 Py_INCREF(Py_None
); resultobj
= Py_None
;
36343 static PyObject
*_wrap_GBPosition_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36344 PyObject
*resultobj
;
36345 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36347 PyObject
* obj0
= 0 ;
36348 char *kwnames
[] = {
36349 (char *) "self", NULL
36352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
36353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36357 result
= (PyObject
*)wxGBPosition_Get(arg1
);
36359 wxPyEndAllowThreads(__tstate
);
36360 if (PyErr_Occurred()) SWIG_fail
;
36362 resultobj
= result
;
36369 static PyObject
* GBPosition_swigregister(PyObject
*self
, PyObject
*args
) {
36371 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36372 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
36374 return Py_BuildValue((char *)"");
36376 static PyObject
*_wrap_new_GBSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36377 PyObject
*resultobj
;
36378 int arg1
= (int) 1 ;
36379 int arg2
= (int) 1 ;
36381 PyObject
* obj0
= 0 ;
36382 PyObject
* obj1
= 0 ;
36383 char *kwnames
[] = {
36384 (char *) "rowspan",(char *) "colspan", NULL
36387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
36389 arg1
= (int) SWIG_AsInt(obj0
);
36390 if (PyErr_Occurred()) SWIG_fail
;
36393 arg2
= (int) SWIG_AsInt(obj1
);
36394 if (PyErr_Occurred()) SWIG_fail
;
36397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36398 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
36400 wxPyEndAllowThreads(__tstate
);
36401 if (PyErr_Occurred()) SWIG_fail
;
36403 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
36410 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36411 PyObject
*resultobj
;
36412 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36414 PyObject
* obj0
= 0 ;
36415 char *kwnames
[] = {
36416 (char *) "self", NULL
36419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
36420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36424 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
36426 wxPyEndAllowThreads(__tstate
);
36427 if (PyErr_Occurred()) SWIG_fail
;
36429 resultobj
= SWIG_FromInt((int)result
);
36436 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36437 PyObject
*resultobj
;
36438 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36440 PyObject
* obj0
= 0 ;
36441 char *kwnames
[] = {
36442 (char *) "self", NULL
36445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
36446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36450 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
36452 wxPyEndAllowThreads(__tstate
);
36453 if (PyErr_Occurred()) SWIG_fail
;
36455 resultobj
= SWIG_FromInt((int)result
);
36462 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36463 PyObject
*resultobj
;
36464 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36466 PyObject
* obj0
= 0 ;
36467 PyObject
* obj1
= 0 ;
36468 char *kwnames
[] = {
36469 (char *) "self",(char *) "rowspan", NULL
36472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
36473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36475 arg2
= (int) SWIG_AsInt(obj1
);
36476 if (PyErr_Occurred()) SWIG_fail
;
36478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36479 (arg1
)->SetRowspan(arg2
);
36481 wxPyEndAllowThreads(__tstate
);
36482 if (PyErr_Occurred()) SWIG_fail
;
36484 Py_INCREF(Py_None
); resultobj
= Py_None
;
36491 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36492 PyObject
*resultobj
;
36493 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36495 PyObject
* obj0
= 0 ;
36496 PyObject
* obj1
= 0 ;
36497 char *kwnames
[] = {
36498 (char *) "self",(char *) "colspan", NULL
36501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
36502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36504 arg2
= (int) SWIG_AsInt(obj1
);
36505 if (PyErr_Occurred()) SWIG_fail
;
36507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36508 (arg1
)->SetColspan(arg2
);
36510 wxPyEndAllowThreads(__tstate
);
36511 if (PyErr_Occurred()) SWIG_fail
;
36513 Py_INCREF(Py_None
); resultobj
= Py_None
;
36520 static PyObject
*_wrap_GBSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36521 PyObject
*resultobj
;
36522 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36523 wxGBSpan
*arg2
= 0 ;
36526 PyObject
* obj0
= 0 ;
36527 PyObject
* obj1
= 0 ;
36528 char *kwnames
[] = {
36529 (char *) "self",(char *) "other", NULL
36532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
36533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36537 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
36540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36541 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
36543 wxPyEndAllowThreads(__tstate
);
36544 if (PyErr_Occurred()) SWIG_fail
;
36547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36555 static PyObject
*_wrap_GBSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36556 PyObject
*resultobj
;
36557 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36558 wxGBSpan
*arg2
= 0 ;
36561 PyObject
* obj0
= 0 ;
36562 PyObject
* obj1
= 0 ;
36563 char *kwnames
[] = {
36564 (char *) "self",(char *) "other", NULL
36567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
36568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36572 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
36575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36576 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
36578 wxPyEndAllowThreads(__tstate
);
36579 if (PyErr_Occurred()) SWIG_fail
;
36582 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36590 static PyObject
*_wrap_GBSpan_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36591 PyObject
*resultobj
;
36592 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36593 int arg2
= (int) 1 ;
36594 int arg3
= (int) 1 ;
36595 PyObject
* obj0
= 0 ;
36596 PyObject
* obj1
= 0 ;
36597 PyObject
* obj2
= 0 ;
36598 char *kwnames
[] = {
36599 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
36602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36606 arg2
= (int) SWIG_AsInt(obj1
);
36607 if (PyErr_Occurred()) SWIG_fail
;
36610 arg3
= (int) SWIG_AsInt(obj2
);
36611 if (PyErr_Occurred()) SWIG_fail
;
36614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36615 wxGBSpan_Set(arg1
,arg2
,arg3
);
36617 wxPyEndAllowThreads(__tstate
);
36618 if (PyErr_Occurred()) SWIG_fail
;
36620 Py_INCREF(Py_None
); resultobj
= Py_None
;
36627 static PyObject
*_wrap_GBSpan_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36628 PyObject
*resultobj
;
36629 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36631 PyObject
* obj0
= 0 ;
36632 char *kwnames
[] = {
36633 (char *) "self", NULL
36636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
36637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36641 result
= (PyObject
*)wxGBSpan_Get(arg1
);
36643 wxPyEndAllowThreads(__tstate
);
36644 if (PyErr_Occurred()) SWIG_fail
;
36646 resultobj
= result
;
36653 static PyObject
* GBSpan_swigregister(PyObject
*self
, PyObject
*args
) {
36655 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36656 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
36658 return Py_BuildValue((char *)"");
36660 static int _wrap_DefaultSpan_set(PyObject
*_val
) {
36661 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
36666 static PyObject
*_wrap_DefaultSpan_get() {
36669 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
36674 static PyObject
*_wrap_new_GBSizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36675 PyObject
*resultobj
;
36676 wxGBSizerItem
*result
;
36677 char *kwnames
[] = {
36681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
36683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36684 result
= (wxGBSizerItem
*)new wxGBSizerItem();
36686 wxPyEndAllowThreads(__tstate
);
36687 if (PyErr_Occurred()) SWIG_fail
;
36689 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
36696 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36697 PyObject
*resultobj
;
36698 wxWindow
*arg1
= (wxWindow
*) 0 ;
36699 wxGBPosition
*arg2
= 0 ;
36700 wxGBSpan
*arg3
= 0 ;
36703 wxObject
*arg6
= (wxObject
*) 0 ;
36704 wxGBSizerItem
*result
;
36705 wxGBPosition temp2
;
36707 PyObject
* obj0
= 0 ;
36708 PyObject
* obj1
= 0 ;
36709 PyObject
* obj2
= 0 ;
36710 PyObject
* obj3
= 0 ;
36711 PyObject
* obj4
= 0 ;
36712 PyObject
* obj5
= 0 ;
36713 char *kwnames
[] = {
36714 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
36717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
36718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
36719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36722 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36726 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
36728 arg4
= (int) SWIG_AsInt(obj3
);
36729 if (PyErr_Occurred()) SWIG_fail
;
36730 arg5
= (int) SWIG_AsInt(obj4
);
36731 if (PyErr_Occurred()) SWIG_fail
;
36732 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
36733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36736 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
36738 wxPyEndAllowThreads(__tstate
);
36739 if (PyErr_Occurred()) SWIG_fail
;
36741 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
36748 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36749 PyObject
*resultobj
;
36750 wxSizer
*arg1
= (wxSizer
*) 0 ;
36751 wxGBPosition
*arg2
= 0 ;
36752 wxGBSpan
*arg3
= 0 ;
36755 wxObject
*arg6
= (wxObject
*) 0 ;
36756 wxGBSizerItem
*result
;
36757 wxGBPosition temp2
;
36759 PyObject
* obj0
= 0 ;
36760 PyObject
* obj1
= 0 ;
36761 PyObject
* obj2
= 0 ;
36762 PyObject
* obj3
= 0 ;
36763 PyObject
* obj4
= 0 ;
36764 PyObject
* obj5
= 0 ;
36765 char *kwnames
[] = {
36766 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
36769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
36770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36774 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36778 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
36780 arg4
= (int) SWIG_AsInt(obj3
);
36781 if (PyErr_Occurred()) SWIG_fail
;
36782 arg5
= (int) SWIG_AsInt(obj4
);
36783 if (PyErr_Occurred()) SWIG_fail
;
36784 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
36785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36788 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
36790 wxPyEndAllowThreads(__tstate
);
36791 if (PyErr_Occurred()) SWIG_fail
;
36793 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
36800 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36801 PyObject
*resultobj
;
36804 wxGBPosition
*arg3
= 0 ;
36805 wxGBSpan
*arg4
= 0 ;
36808 wxObject
*arg7
= (wxObject
*) 0 ;
36809 wxGBSizerItem
*result
;
36810 wxGBPosition temp3
;
36812 PyObject
* obj0
= 0 ;
36813 PyObject
* obj1
= 0 ;
36814 PyObject
* obj2
= 0 ;
36815 PyObject
* obj3
= 0 ;
36816 PyObject
* obj4
= 0 ;
36817 PyObject
* obj5
= 0 ;
36818 PyObject
* obj6
= 0 ;
36819 char *kwnames
[] = {
36820 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
36823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
36824 arg1
= (int) SWIG_AsInt(obj0
);
36825 if (PyErr_Occurred()) SWIG_fail
;
36826 arg2
= (int) SWIG_AsInt(obj1
);
36827 if (PyErr_Occurred()) SWIG_fail
;
36830 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
36834 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
36836 arg5
= (int) SWIG_AsInt(obj4
);
36837 if (PyErr_Occurred()) SWIG_fail
;
36838 arg6
= (int) SWIG_AsInt(obj5
);
36839 if (PyErr_Occurred()) SWIG_fail
;
36840 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxObject
,
36841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36844 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
36846 wxPyEndAllowThreads(__tstate
);
36847 if (PyErr_Occurred()) SWIG_fail
;
36849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
36856 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36857 PyObject
*resultobj
;
36858 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36859 wxGBPosition result
;
36860 PyObject
* obj0
= 0 ;
36861 char *kwnames
[] = {
36862 (char *) "self", NULL
36865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
36866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36870 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
36872 wxPyEndAllowThreads(__tstate
);
36873 if (PyErr_Occurred()) SWIG_fail
;
36876 wxGBPosition
* resultptr
;
36877 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
36878 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
36886 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36887 PyObject
*resultobj
;
36888 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36890 PyObject
* obj0
= 0 ;
36891 char *kwnames
[] = {
36892 (char *) "self", NULL
36895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
36896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36900 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
36902 wxPyEndAllowThreads(__tstate
);
36903 if (PyErr_Occurred()) SWIG_fail
;
36906 wxGBSpan
* resultptr
;
36907 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
36908 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
36916 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36917 PyObject
*resultobj
;
36918 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36919 wxGBPosition
*arg2
= 0 ;
36921 wxGBPosition temp2
;
36922 PyObject
* obj0
= 0 ;
36923 PyObject
* obj1
= 0 ;
36924 char *kwnames
[] = {
36925 (char *) "self",(char *) "pos", NULL
36928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
36929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36933 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36937 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
36939 wxPyEndAllowThreads(__tstate
);
36940 if (PyErr_Occurred()) SWIG_fail
;
36943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36951 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36952 PyObject
*resultobj
;
36953 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36954 wxGBSpan
*arg2
= 0 ;
36957 PyObject
* obj0
= 0 ;
36958 PyObject
* obj1
= 0 ;
36959 char *kwnames
[] = {
36960 (char *) "self",(char *) "span", NULL
36963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
36964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36968 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
36971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36972 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
36974 wxPyEndAllowThreads(__tstate
);
36975 if (PyErr_Occurred()) SWIG_fail
;
36978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36986 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_0(PyObject
*self
, PyObject
*args
) {
36987 PyObject
*resultobj
;
36988 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36989 wxGBSizerItem
*arg2
= 0 ;
36991 PyObject
* obj0
= 0 ;
36992 PyObject
* obj1
= 0 ;
36994 if(!PyArg_ParseTuple(args
,(char *)"OO:GBSizerItem_Intersects",&obj0
,&obj1
)) goto fail
;
36995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36997 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
36998 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37000 if (arg2
== NULL
) {
37001 PyErr_SetString(PyExc_TypeError
,"null reference");
37005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37006 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
37008 wxPyEndAllowThreads(__tstate
);
37009 if (PyErr_Occurred()) SWIG_fail
;
37012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37020 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_1(PyObject
*self
, PyObject
*args
) {
37021 PyObject
*resultobj
;
37022 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37023 wxGBPosition
*arg2
= 0 ;
37024 wxGBSpan
*arg3
= 0 ;
37026 wxGBPosition temp2
;
37028 PyObject
* obj0
= 0 ;
37029 PyObject
* obj1
= 0 ;
37030 PyObject
* obj2
= 0 ;
37032 if(!PyArg_ParseTuple(args
,(char *)"OOO:GBSizerItem_Intersects",&obj0
,&obj1
,&obj2
)) goto fail
;
37033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37037 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37041 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37045 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
37047 wxPyEndAllowThreads(__tstate
);
37048 if (PyErr_Occurred()) SWIG_fail
;
37051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37059 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
) {
37064 argc
= PyObject_Length(args
);
37065 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
37066 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37072 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37082 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37090 return _wrap_GBSizerItem_Intersects__SWIG_0(self
,args
);
37098 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37107 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
37111 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
37114 return _wrap_GBSizerItem_Intersects__SWIG_1(self
,args
);
37120 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GBSizerItem_Intersects'");
37125 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37126 PyObject
*resultobj
;
37127 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37130 PyObject
* obj0
= 0 ;
37131 PyObject
* obj1
= 0 ;
37132 PyObject
* obj2
= 0 ;
37133 char *kwnames
[] = {
37134 (char *) "self",(char *) "row",(char *) "col", NULL
37137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_GetEndPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37140 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,
37141 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37143 if (arg2
== NULL
) {
37144 PyErr_SetString(PyExc_TypeError
,"null reference");
37147 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,
37148 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37150 if (arg3
== NULL
) {
37151 PyErr_SetString(PyExc_TypeError
,"null reference");
37155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37156 (arg1
)->GetEndPos(*arg2
,*arg3
);
37158 wxPyEndAllowThreads(__tstate
);
37159 if (PyErr_Occurred()) SWIG_fail
;
37161 Py_INCREF(Py_None
); resultobj
= Py_None
;
37168 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37169 PyObject
*resultobj
;
37170 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37171 wxGridBagSizer
*result
;
37172 PyObject
* obj0
= 0 ;
37173 char *kwnames
[] = {
37174 (char *) "self", NULL
37177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
37178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37182 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
37184 wxPyEndAllowThreads(__tstate
);
37185 if (PyErr_Occurred()) SWIG_fail
;
37187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
37194 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37195 PyObject
*resultobj
;
37196 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37197 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
37198 PyObject
* obj0
= 0 ;
37199 PyObject
* obj1
= 0 ;
37200 char *kwnames
[] = {
37201 (char *) "self",(char *) "sizer", NULL
37204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
37205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37207 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
37208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37211 (arg1
)->SetGBSizer(arg2
);
37213 wxPyEndAllowThreads(__tstate
);
37214 if (PyErr_Occurred()) SWIG_fail
;
37216 Py_INCREF(Py_None
); resultobj
= Py_None
;
37223 static PyObject
* GBSizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
37225 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37226 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
37228 return Py_BuildValue((char *)"");
37230 static PyObject
*_wrap_new_GridBagSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37231 PyObject
*resultobj
;
37232 int arg1
= (int) 0 ;
37233 int arg2
= (int) 0 ;
37234 wxGridBagSizer
*result
;
37235 PyObject
* obj0
= 0 ;
37236 PyObject
* obj1
= 0 ;
37237 char *kwnames
[] = {
37238 (char *) "vgap",(char *) "hgap", NULL
37241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
37243 arg1
= (int) SWIG_AsInt(obj0
);
37244 if (PyErr_Occurred()) SWIG_fail
;
37247 arg2
= (int) SWIG_AsInt(obj1
);
37248 if (PyErr_Occurred()) SWIG_fail
;
37251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37252 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
37254 wxPyEndAllowThreads(__tstate
);
37255 if (PyErr_Occurred()) SWIG_fail
;
37257 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
37264 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37265 PyObject
*resultobj
;
37266 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37267 PyObject
*arg2
= (PyObject
*) 0 ;
37268 wxGBPosition
*arg3
= 0 ;
37269 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
37270 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
37271 int arg5
= (int) 0 ;
37272 int arg6
= (int) 0 ;
37273 PyObject
*arg7
= (PyObject
*) NULL
;
37275 wxGBPosition temp3
;
37277 PyObject
* obj0
= 0 ;
37278 PyObject
* obj1
= 0 ;
37279 PyObject
* obj2
= 0 ;
37280 PyObject
* obj3
= 0 ;
37281 PyObject
* obj4
= 0 ;
37282 PyObject
* obj5
= 0 ;
37283 PyObject
* obj6
= 0 ;
37284 char *kwnames
[] = {
37285 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37294 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37299 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
37303 arg5
= (int) SWIG_AsInt(obj4
);
37304 if (PyErr_Occurred()) SWIG_fail
;
37307 arg6
= (int) SWIG_AsInt(obj5
);
37308 if (PyErr_Occurred()) SWIG_fail
;
37314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37315 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
37317 wxPyEndAllowThreads(__tstate
);
37318 if (PyErr_Occurred()) SWIG_fail
;
37321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37329 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37330 PyObject
*resultobj
;
37331 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37332 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
37334 PyObject
* obj0
= 0 ;
37335 PyObject
* obj1
= 0 ;
37336 char *kwnames
[] = {
37337 (char *) "self",(char *) "item", NULL
37340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
37341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37343 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
37344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37347 result
= (bool)(arg1
)->Add(arg2
);
37349 wxPyEndAllowThreads(__tstate
);
37350 if (PyErr_Occurred()) SWIG_fail
;
37353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37361 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37362 PyObject
*resultobj
;
37363 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37365 PyObject
* obj0
= 0 ;
37366 char *kwnames
[] = {
37367 (char *) "self", NULL
37370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
37371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37375 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
37377 wxPyEndAllowThreads(__tstate
);
37378 if (PyErr_Occurred()) SWIG_fail
;
37381 wxSize
* resultptr
;
37382 resultptr
= new wxSize((wxSize
&) result
);
37383 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37391 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37392 PyObject
*resultobj
;
37393 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37396 PyObject
* obj0
= 0 ;
37397 PyObject
* obj1
= 0 ;
37398 char *kwnames
[] = {
37399 (char *) "self",(char *) "sz", NULL
37402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
37403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37407 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
37410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37411 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
37413 wxPyEndAllowThreads(__tstate
);
37414 if (PyErr_Occurred()) SWIG_fail
;
37416 Py_INCREF(Py_None
); resultobj
= Py_None
;
37423 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
37424 PyObject
*resultobj
;
37425 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37426 wxWindow
*arg2
= (wxWindow
*) 0 ;
37427 wxGBPosition result
;
37428 PyObject
* obj0
= 0 ;
37429 PyObject
* obj1
= 0 ;
37431 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
37432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37434 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37438 result
= (arg1
)->GetItemPosition(arg2
);
37440 wxPyEndAllowThreads(__tstate
);
37441 if (PyErr_Occurred()) SWIG_fail
;
37444 wxGBPosition
* resultptr
;
37445 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37446 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37454 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
37455 PyObject
*resultobj
;
37456 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37457 wxSizer
*arg2
= (wxSizer
*) 0 ;
37458 wxGBPosition result
;
37459 PyObject
* obj0
= 0 ;
37460 PyObject
* obj1
= 0 ;
37462 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
37463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37465 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
37466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37469 result
= (arg1
)->GetItemPosition(arg2
);
37471 wxPyEndAllowThreads(__tstate
);
37472 if (PyErr_Occurred()) SWIG_fail
;
37475 wxGBPosition
* resultptr
;
37476 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37477 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37485 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
37486 PyObject
*resultobj
;
37487 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37489 wxGBPosition result
;
37490 PyObject
* obj0
= 0 ;
37491 PyObject
* obj1
= 0 ;
37493 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
37494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37496 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
37497 if (PyErr_Occurred()) SWIG_fail
;
37499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37500 result
= (arg1
)->GetItemPosition(arg2
);
37502 wxPyEndAllowThreads(__tstate
);
37503 if (PyErr_Occurred()) SWIG_fail
;
37506 wxGBPosition
* resultptr
;
37507 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37508 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37516 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
37521 argc
= PyObject_Length(args
);
37522 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
37523 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37529 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37539 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37547 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
37555 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37565 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
37573 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
37581 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37589 _v
= SWIG_CheckUnsignedLong(argv
[1]);
37591 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
37596 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
37601 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
37602 PyObject
*resultobj
;
37603 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37604 wxWindow
*arg2
= (wxWindow
*) 0 ;
37605 wxGBPosition
*arg3
= 0 ;
37607 wxGBPosition temp3
;
37608 PyObject
* obj0
= 0 ;
37609 PyObject
* obj1
= 0 ;
37610 PyObject
* obj2
= 0 ;
37612 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
37613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37615 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37619 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37623 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
37625 wxPyEndAllowThreads(__tstate
);
37626 if (PyErr_Occurred()) SWIG_fail
;
37629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37637 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
37638 PyObject
*resultobj
;
37639 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37640 wxSizer
*arg2
= (wxSizer
*) 0 ;
37641 wxGBPosition
*arg3
= 0 ;
37643 wxGBPosition temp3
;
37644 PyObject
* obj0
= 0 ;
37645 PyObject
* obj1
= 0 ;
37646 PyObject
* obj2
= 0 ;
37648 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
37649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37651 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
37652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37655 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37659 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
37661 wxPyEndAllowThreads(__tstate
);
37662 if (PyErr_Occurred()) SWIG_fail
;
37665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37673 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
37674 PyObject
*resultobj
;
37675 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37677 wxGBPosition
*arg3
= 0 ;
37679 wxGBPosition temp3
;
37680 PyObject
* obj0
= 0 ;
37681 PyObject
* obj1
= 0 ;
37682 PyObject
* obj2
= 0 ;
37684 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
37685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37687 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
37688 if (PyErr_Occurred()) SWIG_fail
;
37691 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37695 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
37697 wxPyEndAllowThreads(__tstate
);
37698 if (PyErr_Occurred()) SWIG_fail
;
37701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37709 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
37714 argc
= PyObject_Length(args
);
37715 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
37716 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37722 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37732 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37741 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
37744 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
37753 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37763 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
37772 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
37775 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
37784 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37792 _v
= SWIG_CheckUnsignedLong(argv
[1]);
37795 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
37798 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
37804 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
37809 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
37810 PyObject
*resultobj
;
37811 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37812 wxWindow
*arg2
= (wxWindow
*) 0 ;
37814 PyObject
* obj0
= 0 ;
37815 PyObject
* obj1
= 0 ;
37817 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
37818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37820 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37824 result
= (arg1
)->GetItemSpan(arg2
);
37826 wxPyEndAllowThreads(__tstate
);
37827 if (PyErr_Occurred()) SWIG_fail
;
37830 wxGBSpan
* resultptr
;
37831 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37832 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
37840 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
37841 PyObject
*resultobj
;
37842 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37843 wxSizer
*arg2
= (wxSizer
*) 0 ;
37845 PyObject
* obj0
= 0 ;
37846 PyObject
* obj1
= 0 ;
37848 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
37849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37851 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
37852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37855 result
= (arg1
)->GetItemSpan(arg2
);
37857 wxPyEndAllowThreads(__tstate
);
37858 if (PyErr_Occurred()) SWIG_fail
;
37861 wxGBSpan
* resultptr
;
37862 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37863 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
37871 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
37872 PyObject
*resultobj
;
37873 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37876 PyObject
* obj0
= 0 ;
37877 PyObject
* obj1
= 0 ;
37879 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
37880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37882 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
37883 if (PyErr_Occurred()) SWIG_fail
;
37885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37886 result
= (arg1
)->GetItemSpan(arg2
);
37888 wxPyEndAllowThreads(__tstate
);
37889 if (PyErr_Occurred()) SWIG_fail
;
37892 wxGBSpan
* resultptr
;
37893 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37894 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
37902 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
37907 argc
= PyObject_Length(args
);
37908 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
37909 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37915 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37925 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37933 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
37941 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37951 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
37959 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
37967 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37975 _v
= SWIG_CheckUnsignedLong(argv
[1]);
37977 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
37982 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
37987 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
37988 PyObject
*resultobj
;
37989 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37990 wxWindow
*arg2
= (wxWindow
*) 0 ;
37991 wxGBSpan
*arg3
= 0 ;
37994 PyObject
* obj0
= 0 ;
37995 PyObject
* obj1
= 0 ;
37996 PyObject
* obj2
= 0 ;
37998 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
37999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38001 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38005 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38009 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38011 wxPyEndAllowThreads(__tstate
);
38012 if (PyErr_Occurred()) SWIG_fail
;
38015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38023 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38024 PyObject
*resultobj
;
38025 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38026 wxSizer
*arg2
= (wxSizer
*) 0 ;
38027 wxGBSpan
*arg3
= 0 ;
38030 PyObject
* obj0
= 0 ;
38031 PyObject
* obj1
= 0 ;
38032 PyObject
* obj2
= 0 ;
38034 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38037 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38041 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38045 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38047 wxPyEndAllowThreads(__tstate
);
38048 if (PyErr_Occurred()) SWIG_fail
;
38051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38059 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
38060 PyObject
*resultobj
;
38061 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38063 wxGBSpan
*arg3
= 0 ;
38066 PyObject
* obj0
= 0 ;
38067 PyObject
* obj1
= 0 ;
38068 PyObject
* obj2
= 0 ;
38070 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38073 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38074 if (PyErr_Occurred()) SWIG_fail
;
38077 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38081 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38083 wxPyEndAllowThreads(__tstate
);
38084 if (PyErr_Occurred()) SWIG_fail
;
38087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38095 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
38100 argc
= PyObject_Length(args
);
38101 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38102 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38108 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38118 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38127 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38130 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
38139 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38149 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38158 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38161 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
38170 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38178 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38181 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38184 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
38190 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
38195 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*self
, PyObject
*args
) {
38196 PyObject
*resultobj
;
38197 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38198 wxWindow
*arg2
= (wxWindow
*) 0 ;
38199 wxGBSizerItem
*result
;
38200 PyObject
* obj0
= 0 ;
38201 PyObject
* obj1
= 0 ;
38203 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
38204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38206 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38210 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
38212 wxPyEndAllowThreads(__tstate
);
38213 if (PyErr_Occurred()) SWIG_fail
;
38215 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38222 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*self
, PyObject
*args
) {
38223 PyObject
*resultobj
;
38224 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38225 wxSizer
*arg2
= (wxSizer
*) 0 ;
38226 wxGBSizerItem
*result
;
38227 PyObject
* obj0
= 0 ;
38228 PyObject
* obj1
= 0 ;
38230 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
38231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38233 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38237 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
38239 wxPyEndAllowThreads(__tstate
);
38240 if (PyErr_Occurred()) SWIG_fail
;
38242 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38249 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
38254 argc
= PyObject_Length(args
);
38255 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38256 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38262 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38272 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38280 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
38288 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38298 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38306 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
38311 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
38316 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38317 PyObject
*resultobj
;
38318 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38319 wxGBPosition
*arg2
= 0 ;
38320 wxGBSizerItem
*result
;
38321 wxGBPosition temp2
;
38322 PyObject
* obj0
= 0 ;
38323 PyObject
* obj1
= 0 ;
38324 char *kwnames
[] = {
38325 (char *) "self",(char *) "pos", NULL
38328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
38329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38333 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38337 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
38339 wxPyEndAllowThreads(__tstate
);
38340 if (PyErr_Occurred()) SWIG_fail
;
38342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38349 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38350 PyObject
*resultobj
;
38351 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38352 wxPoint
*arg2
= 0 ;
38353 wxGBSizerItem
*result
;
38355 PyObject
* obj0
= 0 ;
38356 PyObject
* obj1
= 0 ;
38357 char *kwnames
[] = {
38358 (char *) "self",(char *) "pt", NULL
38361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
38362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38366 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38370 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
38372 wxPyEndAllowThreads(__tstate
);
38373 if (PyErr_Occurred()) SWIG_fail
;
38375 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38382 static PyObject
*_wrap_GridBagSizer_FindItemWithData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38383 PyObject
*resultobj
;
38384 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38385 wxObject
*arg2
= (wxObject
*) 0 ;
38386 wxGBSizerItem
*result
;
38387 PyObject
* obj0
= 0 ;
38388 PyObject
* obj1
= 0 ;
38389 char *kwnames
[] = {
38390 (char *) "self",(char *) "userData", NULL
38393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemWithData",kwnames
,&obj0
,&obj1
)) goto fail
;
38394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38396 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
38397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38400 result
= (wxGBSizerItem
*)(arg1
)->FindItemWithData((wxObject
const *)arg2
);
38402 wxPyEndAllowThreads(__tstate
);
38403 if (PyErr_Occurred()) SWIG_fail
;
38405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38412 static PyObject
*_wrap_GridBagSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38413 PyObject
*resultobj
;
38414 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38415 PyObject
* obj0
= 0 ;
38416 char *kwnames
[] = {
38417 (char *) "self", NULL
38420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
38421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38425 (arg1
)->RecalcSizes();
38427 wxPyEndAllowThreads(__tstate
);
38428 if (PyErr_Occurred()) SWIG_fail
;
38430 Py_INCREF(Py_None
); resultobj
= Py_None
;
38437 static PyObject
*_wrap_GridBagSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38438 PyObject
*resultobj
;
38439 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38441 PyObject
* obj0
= 0 ;
38442 char *kwnames
[] = {
38443 (char *) "self", NULL
38446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
38447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38451 result
= (arg1
)->CalcMin();
38453 wxPyEndAllowThreads(__tstate
);
38454 if (PyErr_Occurred()) SWIG_fail
;
38457 wxSize
* resultptr
;
38458 resultptr
= new wxSize((wxSize
&) result
);
38459 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38467 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject
*self
, PyObject
*args
) {
38468 PyObject
*resultobj
;
38469 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38470 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
38471 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
38473 PyObject
* obj0
= 0 ;
38474 PyObject
* obj1
= 0 ;
38475 PyObject
* obj2
= 0 ;
38477 if(!PyArg_ParseTuple(args
,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
)) goto fail
;
38478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38480 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38483 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
38484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38488 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
38490 wxPyEndAllowThreads(__tstate
);
38491 if (PyErr_Occurred()) SWIG_fail
;
38494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38502 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject
*self
, PyObject
*args
) {
38503 PyObject
*resultobj
;
38504 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38505 wxGBPosition
*arg2
= 0 ;
38506 wxGBSpan
*arg3
= 0 ;
38507 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
38509 wxGBPosition temp2
;
38511 PyObject
* obj0
= 0 ;
38512 PyObject
* obj1
= 0 ;
38513 PyObject
* obj2
= 0 ;
38514 PyObject
* obj3
= 0 ;
38516 if(!PyArg_ParseTuple(args
,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38521 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38525 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38528 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
38529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38533 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
38535 wxPyEndAllowThreads(__tstate
);
38536 if (PyErr_Occurred()) SWIG_fail
;
38539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38547 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
) {
38552 argc
= PyObject_Length(args
);
38553 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
38554 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38556 if ((argc
>= 2) && (argc
<= 3)) {
38560 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38570 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
38579 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
38583 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
38591 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
38596 if ((argc
>= 3) && (argc
<= 4)) {
38600 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38609 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
38613 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38617 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
38621 if (SWIG_ConvertPtr(argv
[3], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
38629 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
38636 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
38641 static PyObject
* GridBagSizer_swigregister(PyObject
*self
, PyObject
*args
) {
38643 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38644 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
38646 return Py_BuildValue((char *)"");
38648 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38649 PyObject
*resultobj
;
38650 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38652 wxWindow
*arg3
= (wxWindow
*) 0 ;
38654 int arg5
= (int) 0 ;
38655 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
38656 PyObject
* obj0
= 0 ;
38657 PyObject
* obj1
= 0 ;
38658 PyObject
* obj2
= 0 ;
38659 PyObject
* obj3
= 0 ;
38660 PyObject
* obj4
= 0 ;
38661 PyObject
* obj5
= 0 ;
38662 char *kwnames
[] = {
38663 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
38666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38669 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
38670 if (PyErr_Occurred()) SWIG_fail
;
38671 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
38672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38673 arg4
= (wxEdge
) SWIG_AsInt(obj3
);
38674 if (PyErr_Occurred()) SWIG_fail
;
38676 arg5
= (int) SWIG_AsInt(obj4
);
38677 if (PyErr_Occurred()) SWIG_fail
;
38680 arg6
= (int) SWIG_AsInt(obj5
);
38681 if (PyErr_Occurred()) SWIG_fail
;
38684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38685 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
38687 wxPyEndAllowThreads(__tstate
);
38688 if (PyErr_Occurred()) SWIG_fail
;
38690 Py_INCREF(Py_None
); resultobj
= Py_None
;
38697 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38698 PyObject
*resultobj
;
38699 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38700 wxWindow
*arg2
= (wxWindow
*) 0 ;
38701 int arg3
= (int) 0 ;
38702 PyObject
* obj0
= 0 ;
38703 PyObject
* obj1
= 0 ;
38704 PyObject
* obj2
= 0 ;
38705 char *kwnames
[] = {
38706 (char *) "self",(char *) "sibling",(char *) "marg", NULL
38709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38712 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38715 arg3
= (int) SWIG_AsInt(obj2
);
38716 if (PyErr_Occurred()) SWIG_fail
;
38719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38720 (arg1
)->LeftOf(arg2
,arg3
);
38722 wxPyEndAllowThreads(__tstate
);
38723 if (PyErr_Occurred()) SWIG_fail
;
38725 Py_INCREF(Py_None
); resultobj
= Py_None
;
38732 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38733 PyObject
*resultobj
;
38734 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38735 wxWindow
*arg2
= (wxWindow
*) 0 ;
38736 int arg3
= (int) 0 ;
38737 PyObject
* obj0
= 0 ;
38738 PyObject
* obj1
= 0 ;
38739 PyObject
* obj2
= 0 ;
38740 char *kwnames
[] = {
38741 (char *) "self",(char *) "sibling",(char *) "marg", NULL
38744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38747 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38750 arg3
= (int) SWIG_AsInt(obj2
);
38751 if (PyErr_Occurred()) SWIG_fail
;
38754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38755 (arg1
)->RightOf(arg2
,arg3
);
38757 wxPyEndAllowThreads(__tstate
);
38758 if (PyErr_Occurred()) SWIG_fail
;
38760 Py_INCREF(Py_None
); resultobj
= Py_None
;
38767 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38768 PyObject
*resultobj
;
38769 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38770 wxWindow
*arg2
= (wxWindow
*) 0 ;
38771 int arg3
= (int) 0 ;
38772 PyObject
* obj0
= 0 ;
38773 PyObject
* obj1
= 0 ;
38774 PyObject
* obj2
= 0 ;
38775 char *kwnames
[] = {
38776 (char *) "self",(char *) "sibling",(char *) "marg", NULL
38779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38782 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38785 arg3
= (int) SWIG_AsInt(obj2
);
38786 if (PyErr_Occurred()) SWIG_fail
;
38789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38790 (arg1
)->Above(arg2
,arg3
);
38792 wxPyEndAllowThreads(__tstate
);
38793 if (PyErr_Occurred()) SWIG_fail
;
38795 Py_INCREF(Py_None
); resultobj
= Py_None
;
38802 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38803 PyObject
*resultobj
;
38804 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38805 wxWindow
*arg2
= (wxWindow
*) 0 ;
38806 int arg3
= (int) 0 ;
38807 PyObject
* obj0
= 0 ;
38808 PyObject
* obj1
= 0 ;
38809 PyObject
* obj2
= 0 ;
38810 char *kwnames
[] = {
38811 (char *) "self",(char *) "sibling",(char *) "marg", NULL
38814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38817 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38820 arg3
= (int) SWIG_AsInt(obj2
);
38821 if (PyErr_Occurred()) SWIG_fail
;
38824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38825 (arg1
)->Below(arg2
,arg3
);
38827 wxPyEndAllowThreads(__tstate
);
38828 if (PyErr_Occurred()) SWIG_fail
;
38830 Py_INCREF(Py_None
); resultobj
= Py_None
;
38837 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38838 PyObject
*resultobj
;
38839 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38840 wxWindow
*arg2
= (wxWindow
*) 0 ;
38842 int arg4
= (int) 0 ;
38843 PyObject
* obj0
= 0 ;
38844 PyObject
* obj1
= 0 ;
38845 PyObject
* obj2
= 0 ;
38846 PyObject
* obj3
= 0 ;
38847 char *kwnames
[] = {
38848 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
38851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38854 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38856 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
38857 if (PyErr_Occurred()) SWIG_fail
;
38859 arg4
= (int) SWIG_AsInt(obj3
);
38860 if (PyErr_Occurred()) SWIG_fail
;
38863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38864 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
38866 wxPyEndAllowThreads(__tstate
);
38867 if (PyErr_Occurred()) SWIG_fail
;
38869 Py_INCREF(Py_None
); resultobj
= Py_None
;
38876 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38877 PyObject
*resultobj
;
38878 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38879 wxWindow
*arg2
= (wxWindow
*) 0 ;
38882 PyObject
* obj0
= 0 ;
38883 PyObject
* obj1
= 0 ;
38884 PyObject
* obj2
= 0 ;
38885 PyObject
* obj3
= 0 ;
38886 char *kwnames
[] = {
38887 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
38890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38893 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38895 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
38896 if (PyErr_Occurred()) SWIG_fail
;
38897 arg4
= (int) SWIG_AsInt(obj3
);
38898 if (PyErr_Occurred()) SWIG_fail
;
38900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38901 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
38903 wxPyEndAllowThreads(__tstate
);
38904 if (PyErr_Occurred()) SWIG_fail
;
38906 Py_INCREF(Py_None
); resultobj
= Py_None
;
38913 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38914 PyObject
*resultobj
;
38915 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38917 PyObject
* obj0
= 0 ;
38918 PyObject
* obj1
= 0 ;
38919 char *kwnames
[] = {
38920 (char *) "self",(char *) "val", NULL
38923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
38924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38926 arg2
= (int) SWIG_AsInt(obj1
);
38927 if (PyErr_Occurred()) SWIG_fail
;
38929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38930 (arg1
)->Absolute(arg2
);
38932 wxPyEndAllowThreads(__tstate
);
38933 if (PyErr_Occurred()) SWIG_fail
;
38935 Py_INCREF(Py_None
); resultobj
= Py_None
;
38942 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38943 PyObject
*resultobj
;
38944 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38945 PyObject
* obj0
= 0 ;
38946 char *kwnames
[] = {
38947 (char *) "self", NULL
38950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
38951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38955 (arg1
)->Unconstrained();
38957 wxPyEndAllowThreads(__tstate
);
38958 if (PyErr_Occurred()) SWIG_fail
;
38960 Py_INCREF(Py_None
); resultobj
= Py_None
;
38967 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38968 PyObject
*resultobj
;
38969 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38970 PyObject
* obj0
= 0 ;
38971 char *kwnames
[] = {
38972 (char *) "self", NULL
38975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
38976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38982 wxPyEndAllowThreads(__tstate
);
38983 if (PyErr_Occurred()) SWIG_fail
;
38985 Py_INCREF(Py_None
); resultobj
= Py_None
;
38992 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38993 PyObject
*resultobj
;
38994 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38996 PyObject
* obj0
= 0 ;
38997 char *kwnames
[] = {
38998 (char *) "self", NULL
39001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
39002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39006 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
39008 wxPyEndAllowThreads(__tstate
);
39009 if (PyErr_Occurred()) SWIG_fail
;
39012 resultobj
= wxPyMake_wxObject(result
);
39020 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39021 PyObject
*resultobj
;
39022 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39024 PyObject
* obj0
= 0 ;
39025 char *kwnames
[] = {
39026 (char *) "self", NULL
39029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
39030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39034 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
39036 wxPyEndAllowThreads(__tstate
);
39037 if (PyErr_Occurred()) SWIG_fail
;
39039 resultobj
= SWIG_FromInt((int)result
);
39046 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39047 PyObject
*resultobj
;
39048 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39050 PyObject
* obj0
= 0 ;
39051 PyObject
* obj1
= 0 ;
39052 char *kwnames
[] = {
39053 (char *) "self",(char *) "which", NULL
39056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
39057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39059 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
39060 if (PyErr_Occurred()) SWIG_fail
;
39062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39063 (arg1
)->SetEdge((wxEdge
)arg2
);
39065 wxPyEndAllowThreads(__tstate
);
39066 if (PyErr_Occurred()) SWIG_fail
;
39068 Py_INCREF(Py_None
); resultobj
= Py_None
;
39075 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39076 PyObject
*resultobj
;
39077 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39079 PyObject
* obj0
= 0 ;
39080 PyObject
* obj1
= 0 ;
39081 char *kwnames
[] = {
39082 (char *) "self",(char *) "v", NULL
39085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
39086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39088 arg2
= (int) SWIG_AsInt(obj1
);
39089 if (PyErr_Occurred()) SWIG_fail
;
39091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39092 (arg1
)->SetValue(arg2
);
39094 wxPyEndAllowThreads(__tstate
);
39095 if (PyErr_Occurred()) SWIG_fail
;
39097 Py_INCREF(Py_None
); resultobj
= Py_None
;
39104 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39105 PyObject
*resultobj
;
39106 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39108 PyObject
* obj0
= 0 ;
39109 char *kwnames
[] = {
39110 (char *) "self", NULL
39113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
39114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39118 result
= (int)(arg1
)->GetMargin();
39120 wxPyEndAllowThreads(__tstate
);
39121 if (PyErr_Occurred()) SWIG_fail
;
39123 resultobj
= SWIG_FromInt((int)result
);
39130 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39131 PyObject
*resultobj
;
39132 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39134 PyObject
* obj0
= 0 ;
39135 PyObject
* obj1
= 0 ;
39136 char *kwnames
[] = {
39137 (char *) "self",(char *) "m", NULL
39140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
39141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39143 arg2
= (int) SWIG_AsInt(obj1
);
39144 if (PyErr_Occurred()) SWIG_fail
;
39146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39147 (arg1
)->SetMargin(arg2
);
39149 wxPyEndAllowThreads(__tstate
);
39150 if (PyErr_Occurred()) SWIG_fail
;
39152 Py_INCREF(Py_None
); resultobj
= Py_None
;
39159 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39160 PyObject
*resultobj
;
39161 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39163 PyObject
* obj0
= 0 ;
39164 char *kwnames
[] = {
39165 (char *) "self", NULL
39168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
39169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39173 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
39175 wxPyEndAllowThreads(__tstate
);
39176 if (PyErr_Occurred()) SWIG_fail
;
39178 resultobj
= SWIG_FromInt((int)result
);
39185 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39186 PyObject
*resultobj
;
39187 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39189 PyObject
* obj0
= 0 ;
39190 char *kwnames
[] = {
39191 (char *) "self", NULL
39194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
39195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39199 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
39201 wxPyEndAllowThreads(__tstate
);
39202 if (PyErr_Occurred()) SWIG_fail
;
39204 resultobj
= SWIG_FromInt((int)result
);
39211 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39212 PyObject
*resultobj
;
39213 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39215 PyObject
* obj0
= 0 ;
39216 char *kwnames
[] = {
39217 (char *) "self", NULL
39220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
39221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39225 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
39227 wxPyEndAllowThreads(__tstate
);
39228 if (PyErr_Occurred()) SWIG_fail
;
39230 resultobj
= SWIG_FromInt((int)result
);
39237 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39238 PyObject
*resultobj
;
39239 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39241 PyObject
* obj0
= 0 ;
39242 char *kwnames
[] = {
39243 (char *) "self", NULL
39246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
39247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39251 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
39253 wxPyEndAllowThreads(__tstate
);
39254 if (PyErr_Occurred()) SWIG_fail
;
39257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39265 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39266 PyObject
*resultobj
;
39267 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39269 PyObject
* obj0
= 0 ;
39270 PyObject
* obj1
= 0 ;
39271 char *kwnames
[] = {
39272 (char *) "self",(char *) "d", NULL
39275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
39276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39278 arg2
= (bool) SWIG_AsBool(obj1
);
39279 if (PyErr_Occurred()) SWIG_fail
;
39281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39282 (arg1
)->SetDone(arg2
);
39284 wxPyEndAllowThreads(__tstate
);
39285 if (PyErr_Occurred()) SWIG_fail
;
39287 Py_INCREF(Py_None
); resultobj
= Py_None
;
39294 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39295 PyObject
*resultobj
;
39296 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39298 PyObject
* obj0
= 0 ;
39299 char *kwnames
[] = {
39300 (char *) "self", NULL
39303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
39304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39308 result
= (int)(arg1
)->GetRelationship();
39310 wxPyEndAllowThreads(__tstate
);
39311 if (PyErr_Occurred()) SWIG_fail
;
39313 resultobj
= SWIG_FromInt((int)result
);
39320 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39321 PyObject
*resultobj
;
39322 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39324 PyObject
* obj0
= 0 ;
39325 PyObject
* obj1
= 0 ;
39326 char *kwnames
[] = {
39327 (char *) "self",(char *) "r", NULL
39330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
39331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39333 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
39334 if (PyErr_Occurred()) SWIG_fail
;
39336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39337 (arg1
)->SetRelationship((wxRelationship
)arg2
);
39339 wxPyEndAllowThreads(__tstate
);
39340 if (PyErr_Occurred()) SWIG_fail
;
39342 Py_INCREF(Py_None
); resultobj
= Py_None
;
39349 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39350 PyObject
*resultobj
;
39351 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39352 wxWindow
*arg2
= (wxWindow
*) 0 ;
39354 PyObject
* obj0
= 0 ;
39355 PyObject
* obj1
= 0 ;
39356 char *kwnames
[] = {
39357 (char *) "self",(char *) "otherW", NULL
39360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
39361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39363 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39367 result
= (bool)(arg1
)->ResetIfWin(arg2
);
39369 wxPyEndAllowThreads(__tstate
);
39370 if (PyErr_Occurred()) SWIG_fail
;
39373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39381 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39382 PyObject
*resultobj
;
39383 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39384 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
39385 wxWindow
*arg3
= (wxWindow
*) 0 ;
39387 PyObject
* obj0
= 0 ;
39388 PyObject
* obj1
= 0 ;
39389 PyObject
* obj2
= 0 ;
39390 char *kwnames
[] = {
39391 (char *) "self",(char *) "constraints",(char *) "win", NULL
39394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39397 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
39398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39399 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39403 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
39405 wxPyEndAllowThreads(__tstate
);
39406 if (PyErr_Occurred()) SWIG_fail
;
39409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39417 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39418 PyObject
*resultobj
;
39419 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39421 wxWindow
*arg3
= (wxWindow
*) 0 ;
39422 wxWindow
*arg4
= (wxWindow
*) 0 ;
39424 PyObject
* obj0
= 0 ;
39425 PyObject
* obj1
= 0 ;
39426 PyObject
* obj2
= 0 ;
39427 PyObject
* obj3
= 0 ;
39428 char *kwnames
[] = {
39429 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
39432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39435 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
39436 if (PyErr_Occurred()) SWIG_fail
;
39437 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39439 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
39440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39443 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
39445 wxPyEndAllowThreads(__tstate
);
39446 if (PyErr_Occurred()) SWIG_fail
;
39448 resultobj
= SWIG_FromInt((int)result
);
39455 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
39457 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39458 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
39460 return Py_BuildValue((char *)"");
39462 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39463 PyObject
*resultobj
;
39464 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39465 wxIndividualLayoutConstraint
*result
;
39466 PyObject
* obj0
= 0 ;
39467 char *kwnames
[] = {
39468 (char *) "self", NULL
39471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
39472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39474 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
39476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39483 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39484 PyObject
*resultobj
;
39485 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39486 wxIndividualLayoutConstraint
*result
;
39487 PyObject
* obj0
= 0 ;
39488 char *kwnames
[] = {
39489 (char *) "self", NULL
39492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
39493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39495 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
39497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39504 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39505 PyObject
*resultobj
;
39506 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39507 wxIndividualLayoutConstraint
*result
;
39508 PyObject
* obj0
= 0 ;
39509 char *kwnames
[] = {
39510 (char *) "self", NULL
39513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
39514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39516 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
39518 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39525 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39526 PyObject
*resultobj
;
39527 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39528 wxIndividualLayoutConstraint
*result
;
39529 PyObject
* obj0
= 0 ;
39530 char *kwnames
[] = {
39531 (char *) "self", NULL
39534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
39535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39537 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
39539 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39546 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39547 PyObject
*resultobj
;
39548 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39549 wxIndividualLayoutConstraint
*result
;
39550 PyObject
* obj0
= 0 ;
39551 char *kwnames
[] = {
39552 (char *) "self", NULL
39555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
39556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39558 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
39560 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39567 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39568 PyObject
*resultobj
;
39569 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39570 wxIndividualLayoutConstraint
*result
;
39571 PyObject
* obj0
= 0 ;
39572 char *kwnames
[] = {
39573 (char *) "self", NULL
39576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
39577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39579 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
39581 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39588 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39589 PyObject
*resultobj
;
39590 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39591 wxIndividualLayoutConstraint
*result
;
39592 PyObject
* obj0
= 0 ;
39593 char *kwnames
[] = {
39594 (char *) "self", NULL
39597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
39598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39600 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
39602 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39609 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39610 PyObject
*resultobj
;
39611 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39612 wxIndividualLayoutConstraint
*result
;
39613 PyObject
* obj0
= 0 ;
39614 char *kwnames
[] = {
39615 (char *) "self", NULL
39618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
39619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39621 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
39623 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39630 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39631 PyObject
*resultobj
;
39632 wxLayoutConstraints
*result
;
39633 char *kwnames
[] = {
39637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
39639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39640 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
39642 wxPyEndAllowThreads(__tstate
);
39643 if (PyErr_Occurred()) SWIG_fail
;
39645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
39652 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39653 PyObject
*resultobj
;
39654 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39655 wxWindow
*arg2
= (wxWindow
*) 0 ;
39656 int *arg3
= (int *) 0 ;
39659 PyObject
* obj0
= 0 ;
39660 PyObject
* obj1
= 0 ;
39661 char *kwnames
[] = {
39662 (char *) "self",(char *) "win", NULL
39666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
39667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39669 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39673 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
39675 wxPyEndAllowThreads(__tstate
);
39676 if (PyErr_Occurred()) SWIG_fail
;
39679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39682 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
39683 resultobj
= t_output_helper(resultobj
,o
);
39691 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39692 PyObject
*resultobj
;
39693 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39695 PyObject
* obj0
= 0 ;
39696 char *kwnames
[] = {
39697 (char *) "self", NULL
39700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
39701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39705 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
39707 wxPyEndAllowThreads(__tstate
);
39708 if (PyErr_Occurred()) SWIG_fail
;
39711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39719 static PyObject
* LayoutConstraints_swigregister(PyObject
*self
, PyObject
*args
) {
39721 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39722 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
39724 return Py_BuildValue((char *)"");
39726 static PyMethodDef SwigMethods
[] = {
39727 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
},
39728 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
},
39729 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
39730 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
39731 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
},
39732 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
},
39733 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
},
39734 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
},
39735 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
},
39736 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
},
39737 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
},
39738 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
},
39739 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
},
39740 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
},
39741 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
},
39742 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
39743 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
39744 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
},
39745 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
39746 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
39747 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
39748 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
39749 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
},
39750 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
},
39751 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
39752 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
39753 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
39754 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
39755 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
39756 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
39757 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
39758 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
39759 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
39760 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
39761 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
39762 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
},
39763 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
},
39764 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
},
39765 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
},
39766 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
},
39767 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
},
39768 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
},
39769 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
},
39770 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
},
39771 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
},
39772 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
},
39773 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
},
39774 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
39775 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
},
39776 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
},
39777 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
},
39778 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
39779 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
},
39780 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
},
39781 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
},
39782 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
},
39783 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
39784 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
39785 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
39786 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
39787 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
39788 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
39789 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
39790 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
39791 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39792 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39793 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
39794 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
39795 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
39796 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
39797 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
39798 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
39799 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
39800 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
39801 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
39802 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
39803 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
39804 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
39805 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
39806 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
39807 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
39808 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
39809 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
39810 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
39811 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
39812 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
},
39813 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
39814 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
39815 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
39816 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
39817 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
39818 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
39819 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
39820 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
39821 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
39822 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
39823 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
39824 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
39825 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
39826 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
39827 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
},
39828 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
},
39829 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
39830 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
39831 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
},
39832 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
},
39833 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
39834 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
39835 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
39836 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
39837 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
39838 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
39839 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
39840 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
39841 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
39842 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
39843 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
39844 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
},
39845 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
39846 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
},
39847 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
},
39848 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
39849 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
},
39850 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
},
39851 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
},
39852 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
},
39853 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
},
39854 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
},
39855 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
},
39856 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
},
39857 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
},
39858 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
},
39859 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
},
39860 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
},
39861 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
},
39862 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
},
39863 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
},
39864 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
},
39865 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
},
39866 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
},
39867 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
},
39868 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
},
39869 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
},
39870 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
39871 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
},
39872 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
},
39873 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
},
39874 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
},
39875 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
},
39876 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
},
39877 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
},
39878 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
39879 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
39880 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
39881 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
39882 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
39883 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
39884 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
39885 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
},
39886 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
},
39887 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
39888 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
39889 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
39890 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
39891 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
39892 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
39893 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
39894 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
39895 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
39896 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
39897 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
39898 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
},
39899 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
39900 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
39901 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
39902 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
39903 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
39904 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
39905 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
39906 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
39907 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
39908 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
},
39909 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
},
39910 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
},
39911 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
39912 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
39913 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
39914 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
},
39915 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
39916 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
39917 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
39918 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
39919 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
39920 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
},
39921 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
39922 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
39923 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
39924 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
39925 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
39926 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
39927 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
39928 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
39929 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
39930 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
},
39931 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
},
39932 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
},
39933 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
},
39934 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
39935 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
39936 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
},
39937 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
},
39938 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
},
39939 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
39940 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
},
39941 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
},
39942 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
},
39943 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
39944 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
},
39945 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
},
39946 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
},
39947 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
},
39948 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
},
39949 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
},
39950 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
},
39951 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
39952 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
},
39953 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
},
39954 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
39955 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
},
39956 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
},
39957 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
},
39958 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
39959 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
},
39960 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
},
39961 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
},
39962 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
39963 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
39964 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
},
39965 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
39966 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
},
39967 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
39968 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
39969 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
39970 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
39971 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
39972 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
39973 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
},
39974 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
39975 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
},
39976 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
},
39977 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
39978 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
39979 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
},
39980 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
},
39981 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
},
39982 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
},
39983 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
},
39984 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
39985 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
39986 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
39987 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
39988 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
39989 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
39990 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
39991 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
},
39992 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
},
39993 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
},
39994 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
39995 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
},
39996 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
39997 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
},
39998 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
},
39999 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
},
40000 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
},
40001 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
40002 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40003 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
40004 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40005 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
40006 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
},
40007 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40008 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40009 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
},
40010 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
},
40011 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
},
40012 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40013 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40014 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
},
40015 { (char *)"InitAllImageHandlers", (PyCFunction
) _wrap_InitAllImageHandlers
, METH_VARARGS
| METH_KEYWORDS
},
40016 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
},
40017 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
},
40018 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
},
40019 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
},
40020 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
},
40021 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
},
40022 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
},
40023 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
},
40024 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40025 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
},
40026 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40027 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
},
40028 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
},
40029 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
},
40030 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40031 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
},
40032 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40033 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
},
40034 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40035 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
},
40036 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40037 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
},
40038 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
40039 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40040 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40041 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40042 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40043 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40044 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40045 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
40046 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
40047 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
40048 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
40049 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
40050 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
40051 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
},
40052 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
},
40053 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
},
40054 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
40055 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
40056 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
40057 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
40058 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
40059 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
40060 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
},
40061 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
},
40062 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40063 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
},
40064 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
40065 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
},
40066 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
},
40067 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
},
40068 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40069 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
},
40070 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
40071 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
40072 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
},
40073 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
40074 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
40075 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
},
40076 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40077 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
40078 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
40079 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
40080 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
40081 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
40082 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
40083 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
40084 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
40085 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
40086 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40087 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
},
40088 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40089 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
40090 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
40091 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
40092 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
},
40093 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
40094 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40095 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40096 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40097 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40098 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
},
40099 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
40100 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40101 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40102 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40103 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40104 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
},
40105 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40106 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
40107 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
40108 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
40109 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
40110 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
40111 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40112 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
},
40113 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
40114 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
40115 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
40116 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
40117 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
40118 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
40119 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
40120 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
40121 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
40122 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
40123 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
40124 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
40125 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
40126 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40127 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40128 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40129 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
40130 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
40131 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
40132 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
40133 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40134 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40135 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
40136 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40137 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40138 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
40139 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
40140 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
40141 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
},
40142 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40143 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40144 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40145 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40146 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40147 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40148 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40149 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40150 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40151 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40152 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40153 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40154 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40155 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40156 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40157 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40158 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40159 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40160 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
40161 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
40162 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
40163 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
40164 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
40165 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
40166 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
},
40167 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
},
40168 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40169 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40170 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40171 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40172 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
},
40173 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
},
40174 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40175 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
40176 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
40177 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
40178 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
40179 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
40180 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40181 { (char *)"KeyEvent_GetUniChar", (PyCFunction
) _wrap_KeyEvent_GetUniChar
, METH_VARARGS
| METH_KEYWORDS
},
40182 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40183 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
},
40184 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40185 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40186 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40187 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40188 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40189 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40190 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40191 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40192 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40193 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40194 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40195 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40196 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40197 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40198 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40199 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40200 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40201 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40202 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40203 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40204 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40205 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40206 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
},
40207 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
},
40208 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
},
40209 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40210 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40211 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40212 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40213 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40214 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
},
40215 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
},
40216 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
40217 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
40218 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
},
40219 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
40220 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40221 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40222 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40223 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40224 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
40225 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
40226 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
40227 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
40228 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
},
40229 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
40230 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
},
40231 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
40232 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
},
40233 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40234 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
40235 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
},
40236 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
40237 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40238 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40239 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
},
40240 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
40241 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40242 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
},
40243 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
40244 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
40245 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
},
40246 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
40247 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
},
40248 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
40249 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
40250 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
},
40251 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
40252 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
},
40253 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40254 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
40255 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
40256 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
40257 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
40258 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
40259 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
40260 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
},
40261 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
40262 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
40263 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
40264 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
},
40265 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40266 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
40267 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
},
40268 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40269 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
},
40270 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40271 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
40272 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
40273 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
},
40274 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
40275 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
40276 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40277 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
40278 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
40279 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
40280 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40281 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
40282 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40283 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
40284 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
40285 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
40286 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
},
40287 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
},
40288 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
40289 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
40290 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
},
40291 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40292 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
},
40293 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40294 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
},
40295 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
},
40296 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40297 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
},
40298 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40299 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
40300 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
40301 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
},
40302 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
40303 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
40304 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
40305 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
},
40306 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40307 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
40308 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
40309 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
40310 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
40311 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
40312 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
40313 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
},
40314 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
40315 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40316 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
},
40317 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40318 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40319 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
},
40320 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
40321 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40322 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40323 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
},
40324 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
40325 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
40326 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
40327 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
40328 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
40329 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
},
40330 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
},
40331 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40332 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40333 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40334 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40335 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
},
40336 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40337 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40338 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40339 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40340 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
},
40341 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
40342 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
40343 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40344 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
40345 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
40346 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40347 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40348 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
40349 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
40350 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
},
40351 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
40352 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
},
40353 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
40354 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
},
40355 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
},
40356 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
},
40357 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
},
40358 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
},
40359 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
},
40360 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
},
40361 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
40362 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
40363 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
40364 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
40365 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
40366 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
40367 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
40368 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
40369 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
40370 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
40371 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
40372 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
40373 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40374 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40375 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40376 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
40377 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
40378 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40379 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40380 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40381 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
40382 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
},
40383 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
},
40384 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
},
40385 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
},
40386 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
},
40387 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
40388 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
},
40389 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
40390 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
},
40391 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
},
40392 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
},
40393 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
40394 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
40395 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
40396 { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_SetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
40397 { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_GetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
40398 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
40399 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40400 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
40401 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
},
40402 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40403 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40404 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
},
40405 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
},
40406 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
40407 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
},
40408 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
},
40409 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
},
40410 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
},
40411 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40412 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
40413 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
40414 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
40415 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
40416 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40417 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40418 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
},
40419 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
},
40420 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
40421 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
40422 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
},
40423 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
},
40424 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
40425 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
40426 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
40427 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40428 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
40429 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40430 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
40431 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
},
40432 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
40433 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
},
40434 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
},
40435 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
40436 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
40437 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
40438 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40439 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40440 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40441 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40442 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40443 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
40444 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40445 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
40446 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
40447 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
40448 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40449 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
40450 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
},
40451 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
40452 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
40453 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
},
40454 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
40455 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
40456 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
40457 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
},
40458 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
40459 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
},
40460 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
},
40461 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
40462 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
40463 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
40464 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
40465 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40466 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
40467 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
},
40468 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
},
40469 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40470 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
},
40471 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
40472 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40473 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
40474 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
40475 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
40476 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
40477 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
40478 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
40479 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
40480 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40481 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40482 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
40483 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
40484 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
40485 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
40486 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
40487 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
40488 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
40489 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
40490 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
40491 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
40492 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
40493 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
40494 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
40495 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
40496 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
40497 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
40498 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
40499 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40500 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40501 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40502 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40503 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40504 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
40505 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
40506 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40507 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40508 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
40509 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
40510 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
40511 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
40512 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
},
40513 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
},
40514 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
40515 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
40516 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
40517 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
40518 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
40519 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
40520 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
40521 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
40522 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
40523 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
},
40524 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
},
40525 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
40526 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
40527 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
40528 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
40529 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
},
40530 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
40531 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
40532 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
40533 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40534 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40535 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40536 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40537 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40538 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40539 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
40540 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
40541 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
40542 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
40543 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
40544 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
40545 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
40546 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
40547 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
40548 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
40549 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
40550 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
40551 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
40552 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
40553 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
},
40554 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
40555 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
40556 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
40557 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
40558 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
},
40559 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
40560 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
40561 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
40562 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
40563 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
40564 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
40565 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
40566 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
40567 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
40568 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
40569 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
40570 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
40571 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
40572 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
40573 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
40574 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
40575 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
40576 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
40577 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
40578 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
40579 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
40580 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
40581 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
40582 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
40583 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
40584 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
40585 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
},
40586 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
40587 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
40588 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
40589 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
40590 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
40591 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
},
40592 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
40593 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
40594 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
40595 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
40596 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
},
40597 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40598 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
},
40599 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
},
40600 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
40601 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40602 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40603 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
40604 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
40605 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
},
40606 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
},
40607 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40608 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
},
40609 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
},
40610 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
},
40611 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
40612 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
40613 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
40614 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
40615 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
40616 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
},
40617 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
40618 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
40619 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
40620 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
40621 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
40622 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
40623 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
40624 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
40625 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
40626 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
40627 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
40628 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
40629 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
40630 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
40631 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
40632 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
40633 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40634 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
40635 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
40636 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
40637 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
40638 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
40639 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
40640 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
40641 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40642 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40643 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
},
40644 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
40645 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40646 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40647 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
40648 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
40649 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
40650 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
40651 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40652 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40653 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
40654 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
40655 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
40656 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
40657 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
40658 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
},
40659 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
},
40660 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
40661 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
40662 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
40663 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
},
40664 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
},
40665 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
40666 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
40667 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
40668 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
40669 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
40670 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
40671 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
40672 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
40673 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
40674 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
40675 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
40676 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
40677 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
40678 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40679 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
40680 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
40681 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40682 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40683 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40684 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
40685 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
40686 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
40687 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
40688 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
},
40689 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
},
40690 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
},
40691 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
},
40692 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
40693 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
40694 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
40695 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
40696 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
40697 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
40698 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40699 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
40700 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
40701 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
40702 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
40703 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
40704 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
40705 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
40706 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
40707 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40708 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40709 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
40710 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
40711 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
40712 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
40713 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
40714 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
40715 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
40716 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
40717 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
40718 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
40719 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
40720 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40721 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40722 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
},
40723 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40724 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40725 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
40726 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
40727 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
40728 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
40729 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
40730 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
40731 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40732 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40733 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
},
40734 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
},
40735 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
},
40736 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
},
40737 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
},
40738 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40739 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40740 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
},
40741 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
},
40742 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
40743 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
40744 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
40745 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
},
40746 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
40747 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
40748 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
},
40749 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
40750 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
},
40751 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
},
40752 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
},
40753 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
40754 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
40755 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
40756 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
40757 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
},
40758 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
},
40759 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
},
40760 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
40761 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
40762 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
40763 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
40764 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
40765 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40766 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
40767 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
40768 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
40769 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
40770 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
40771 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
40772 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
40773 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
40774 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
40775 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
40776 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
40777 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
},
40778 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
40779 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
40780 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
40781 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
40782 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
40783 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40784 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40785 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
40786 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
40787 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
40788 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
40789 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
},
40790 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
40791 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40792 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
40793 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
},
40794 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
40795 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
40796 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
40797 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
40798 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
},
40799 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
},
40800 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
40801 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
40802 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
40803 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
40804 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
40805 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40806 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40807 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
40808 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
40809 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
40810 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
40811 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
40812 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
40813 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
40814 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
40815 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
40816 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
40817 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
40818 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
},
40819 { (char *)"Sizer_Hide", (PyCFunction
) _wrap_Sizer_Hide
, METH_VARARGS
| METH_KEYWORDS
},
40820 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
40821 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
},
40822 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
},
40823 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
},
40824 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40825 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
},
40826 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
40827 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40828 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40829 { (char *)"BoxSizer_RecalcSizes", (PyCFunction
) _wrap_BoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
40830 { (char *)"BoxSizer_CalcMin", (PyCFunction
) _wrap_BoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
40831 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
},
40832 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
40833 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
40834 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_StaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
40835 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction
) _wrap_StaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
40836 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
},
40837 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
},
40838 { (char *)"GridSizer_RecalcSizes", (PyCFunction
) _wrap_GridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
40839 { (char *)"GridSizer_CalcMin", (PyCFunction
) _wrap_GridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
40840 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
40841 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
40842 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
40843 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
40844 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
40845 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
40846 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
40847 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
40848 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
},
40849 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
40850 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_FlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
40851 { (char *)"FlexGridSizer_CalcMin", (PyCFunction
) _wrap_FlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
40852 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
40853 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
40854 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
40855 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
40856 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
40857 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
40858 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
40859 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
40860 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
},
40861 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
},
40862 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
},
40863 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
},
40864 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
40865 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
40866 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
40867 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
40868 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40869 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40870 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
},
40871 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
},
40872 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
},
40873 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
},
40874 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
40875 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
},
40876 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
40877 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
},
40878 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40879 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40880 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
},
40881 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
},
40882 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
},
40883 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
},
40884 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
40885 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
40886 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
40887 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
},
40888 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
},
40889 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
40890 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
},
40891 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects
, METH_VARARGS
},
40892 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
},
40893 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
40894 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
40895 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
},
40896 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
},
40897 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
40898 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
40899 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
40900 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
40901 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
},
40902 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
},
40903 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
},
40904 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
},
40905 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
},
40906 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
40907 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
40908 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction
) _wrap_GridBagSizer_FindItemWithData
, METH_VARARGS
| METH_KEYWORDS
},
40909 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction
) _wrap_GridBagSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
40910 { (char *)"GridBagSizer_CalcMin", (PyCFunction
) _wrap_GridBagSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
40911 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
},
40912 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
},
40913 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
40914 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
40915 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
40916 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
40917 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
40918 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
40919 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
40920 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
40921 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
40922 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
40923 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
},
40924 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
},
40925 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
40926 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
40927 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
40928 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
40929 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
40930 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
},
40931 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
},
40932 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
},
40933 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
},
40934 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
40935 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
40936 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
},
40937 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
},
40938 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
40939 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
},
40940 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
40941 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
40942 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
40943 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
40944 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40945 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40946 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
40947 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
40948 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
40949 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
},
40950 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
},
40951 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
},
40956 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
40958 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
40959 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
40961 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
40962 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
40964 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
40965 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40967 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
40968 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40970 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
40971 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
40973 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
40974 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40976 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
40977 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
40979 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
40980 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40982 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
40983 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40985 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
40986 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
40988 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
40989 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
40991 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
40992 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
40994 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
40995 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
40997 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
40998 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
41000 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
41001 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
41003 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
41004 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
41006 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
41007 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
41009 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
41010 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41012 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
41013 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
41015 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
41016 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41018 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
41019 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41021 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
41022 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
41024 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
41025 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
41027 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
41028 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
41030 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
41031 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
41033 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
41034 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
41036 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
41037 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
41039 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
41040 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
41042 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
41043 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41045 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
41046 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41048 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
41049 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41051 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
41052 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41054 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
41055 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41057 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
41058 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
41060 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
41061 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
41063 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
41064 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41066 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
41067 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
41069 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
41070 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
41072 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
41073 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41075 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
41076 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41078 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
41079 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41081 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
41082 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
41084 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
41085 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
41087 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
41088 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41090 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
41091 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41093 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
41094 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41096 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
41097 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
41099 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
41100 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
41102 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
41103 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
41105 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
41106 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
41108 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
41109 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
41111 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
41112 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
41114 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
41115 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
41117 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
41118 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
41120 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
41121 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
41123 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
41124 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
41126 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
41127 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
41129 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
41130 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
41132 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
41133 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
41135 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
41136 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
41138 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
41139 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
41141 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
41142 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41144 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
41145 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
41147 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
41148 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
41150 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
41151 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
41153 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
41154 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41156 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
41157 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
41159 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
41160 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
41162 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
41163 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
41165 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
41166 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
41168 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
41169 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
41171 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
41172 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
41174 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
41175 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
41177 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
41178 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
41180 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41181 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
41183 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41184 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
41186 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41187 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
41189 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
41190 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
41192 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
41193 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
41195 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
41196 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41198 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
41199 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
41201 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
41202 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
41204 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
41205 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
41207 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
41208 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
41210 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
41211 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
41213 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
41214 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
41216 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
41217 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
41219 static void *_p_wxSizerTo_p_wxObject(void *x
) {
41220 return (void *)((wxObject
*) ((wxSizer
*) x
));
41222 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
41223 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
41225 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
41226 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41228 static void *_p_wxMenuTo_p_wxObject(void *x
) {
41229 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
41231 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
41232 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
41234 static void *_p_wxImageTo_p_wxObject(void *x
) {
41235 return (void *)((wxObject
*) ((wxImage
*) x
));
41237 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
41238 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
41240 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
41241 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41243 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
41244 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
41246 static void *_p_wxWindowTo_p_wxObject(void *x
) {
41247 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
41249 static void *_p_wxControlTo_p_wxObject(void *x
) {
41250 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
41252 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
41253 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
41255 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
41256 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
41258 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
41259 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41261 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
41262 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
41264 static void *_p_wxEventTo_p_wxObject(void *x
) {
41265 return (void *)((wxObject
*) ((wxEvent
*) x
));
41267 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
41268 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
41270 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
41271 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
41273 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
41274 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
41276 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
41277 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
41279 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
41280 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
41282 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
41283 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41285 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
41286 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41288 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
41289 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
41291 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
41292 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
41294 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
41295 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
41297 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
41298 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
41300 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
41301 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
41303 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
41304 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
41306 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
41307 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
41309 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
41310 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
41312 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
41313 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41315 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
41316 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
41318 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
41319 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
41321 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
41322 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
41324 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
41325 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
41327 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
41328 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
41330 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
41331 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
41333 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
41334 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
41336 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
41337 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
41339 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
41340 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41342 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
41343 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41345 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
41346 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41348 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
41349 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41351 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
41352 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41354 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
41355 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
41357 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
41358 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
41360 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
41361 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41363 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
41364 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
41366 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
41367 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
41369 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
41370 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
41372 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
41373 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
41375 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
41376 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
41378 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
41379 return (void *)((wxObject
*) ((wxFSFile
*) x
));
41381 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
41382 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
41384 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
41385 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41387 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
41388 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
41390 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
41391 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41393 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
41394 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41396 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
41397 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41399 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
41400 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
41402 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
41403 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
41405 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
41406 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
41408 static void *_p_wxControlTo_p_wxWindow(void *x
) {
41409 return (void *)((wxWindow
*) ((wxControl
*) x
));
41411 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
41412 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
41414 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
41415 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
41417 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
41418 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41420 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
41421 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
41423 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
41424 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41426 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
41427 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41429 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
41430 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41432 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
41433 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41435 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
41436 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41438 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
41439 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41441 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
41442 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
41444 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}};
41445 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}};
41446 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}};
41447 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}};
41448 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}};
41449 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}};
41450 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}};
41451 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}};
41452 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}};
41453 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}};
41454 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}};
41455 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}};
41456 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}};
41457 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}};
41458 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}};
41459 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}};
41460 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}};
41461 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}};
41462 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}};
41463 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}};
41464 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}};
41465 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}};
41466 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}};
41467 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}};
41468 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}};
41469 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}};
41470 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}};
41471 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}};
41472 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}};
41473 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}};
41474 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}};
41475 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}};
41476 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}};
41477 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}};
41478 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}};
41479 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}};
41480 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}};
41481 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}};
41482 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}};
41483 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}};
41484 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}};
41485 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}};
41486 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}};
41487 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}};
41488 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}};
41489 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}};
41490 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}};
41491 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}};
41492 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}};
41493 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}};
41494 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}};
41495 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}};
41496 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}};
41497 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}};
41498 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}};
41499 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}};
41500 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}};
41501 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}};
41502 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}};
41503 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}};
41504 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}};
41505 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}};
41506 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}};
41507 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}};
41508 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}};
41509 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}};
41510 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}};
41511 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}};
41512 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}};
41513 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}};
41514 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}};
41515 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}};
41516 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}};
41517 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}};
41518 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}};
41519 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}};
41520 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}};
41521 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}};
41522 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}};
41523 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}};
41524 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}};
41525 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}};
41526 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}};
41527 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}};
41528 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}};
41529 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}};
41530 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}};
41531 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}};
41532 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}};
41533 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}};
41534 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}};
41535 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}};
41536 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}};
41537 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}};
41538 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}};
41539 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}};
41540 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}};
41541 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}};
41542 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}};
41543 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}};
41544 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}};
41545 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}};
41546 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}};
41547 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}};
41548 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}};
41549 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}};
41550 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}};
41551 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}};
41552 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}};
41553 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}};
41554 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}};
41555 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}};
41556 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}};
41557 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}};
41559 static swig_type_info
*swig_types_initial
[] = {
41560 _swigt__p_wxLayoutConstraints
,
41561 _swigt__p_wxRealPoint
,
41562 _swigt__p_wxSizerItem
,
41563 _swigt__p_wxGBSizerItem
,
41564 _swigt__p_wxScrollEvent
,
41565 _swigt__p_wxIndividualLayoutConstraint
,
41567 _swigt__p_wxBoxSizer
,
41568 _swigt__p_wxStaticBoxSizer
,
41569 _swigt__p_wxGridBagSizer
,
41570 _swigt__p_wxAcceleratorEntry
,
41571 _swigt__p_wxUpdateUIEvent
,
41574 _swigt__p_wxGridSizer
,
41575 _swigt__p_wxFlexGridSizer
,
41576 _swigt__p_wxInitDialogEvent
,
41577 _swigt__p_wxItemContainer
,
41578 _swigt__p_wxNcPaintEvent
,
41579 _swigt__p_wxPaintEvent
,
41580 _swigt__p_wxSysColourChangedEvent
,
41581 _swigt__p_wxMouseCaptureChangedEvent
,
41582 _swigt__p_wxDisplayChangedEvent
,
41583 _swigt__p_wxPaletteChangedEvent
,
41584 _swigt__p_wxControl
,
41586 _swigt__p_wxMenuBarBase
,
41587 _swigt__p_wxSetCursorEvent
,
41588 _swigt__p_wxFSFile
,
41590 _swigt__p_wxRegion
,
41591 _swigt__p_wxPoint2D
,
41595 _swigt__p_wxPySizer
,
41596 _swigt__p_wxNotifyEvent
,
41597 _swigt__p_wxPyEvent
,
41598 _swigt__p_wxPropagationDisabler
,
41599 _swigt__p_wxAppTraits
,
41600 _swigt__p_wxArrayString
,
41601 _swigt__p_wxShowEvent
,
41602 _swigt__p_wxToolTip
,
41603 _swigt__p_wxMaximizeEvent
,
41604 _swigt__p_wxIconizeEvent
,
41605 _swigt__p_wxActivateEvent
,
41606 _swigt__p_wxMoveEvent
,
41607 _swigt__p_wxSizeEvent
,
41608 _swigt__p_wxQueryNewPaletteEvent
,
41609 _swigt__p_wxWindowCreateEvent
,
41610 _swigt__p_wxIdleEvent
,
41611 _swigt__p_wxMenuItem
,
41612 _swigt__p_wxStaticBox
,
41614 _swigt__p_wxTIFFHandler
,
41615 _swigt__p_wxXPMHandler
,
41616 _swigt__p_wxPNMHandler
,
41617 _swigt__p_wxJPEGHandler
,
41618 _swigt__p_wxPCXHandler
,
41619 _swigt__p_wxGIFHandler
,
41620 _swigt__p_wxPNGHandler
,
41621 _swigt__p_wxANIHandler
,
41622 _swigt__p_wxMemoryFSHandler
,
41623 _swigt__p_wxEvtHandler
,
41624 _swigt__p_wxCURHandler
,
41625 _swigt__p_wxICOHandler
,
41626 _swigt__p_wxBMPHandler
,
41627 _swigt__p_wxImageHandler
,
41628 _swigt__p_wxFileSystemHandler
,
41629 _swigt__p_wxPyFileSystemHandler
,
41630 _swigt__p_wxInternetFSHandler
,
41631 _swigt__p_wxZipFSHandler
,
41633 _swigt__p_wxGBSpan
,
41634 _swigt__p_wxPropagateOnce
,
41635 _swigt__p_wxAcceleratorTable
,
41637 _swigt__p_wxGBPosition
,
41640 _swigt__p_wxScrollWinEvent
,
41641 _swigt__p_wxImageHistogram
,
41644 _swigt__p_wxCursor
,
41645 _swigt__p_wxObject
,
41646 _swigt__p_wxPyInputStream
,
41647 _swigt__p_wxOutputStream
,
41648 _swigt__p_wxInputStream
,
41649 _swigt__p_wxDateTime
,
41650 _swigt__p_wxKeyEvent
,
41651 _swigt__p_wxNavigationKeyEvent
,
41652 _swigt__p_wxWindowDestroyEvent
,
41653 _swigt__p_wxWindow
,
41654 _swigt__p_wxMenuBar
,
41655 _swigt__p_wxFileSystem
,
41656 _swigt__p_wxBitmap
,
41657 _swigt__p_wxMenuEvent
,
41658 _swigt__p_wxContextMenuEvent
,
41659 _swigt__p_unsigned_char
,
41660 _swigt__p_wxCloseEvent
,
41661 _swigt__p_wxEraseEvent
,
41662 _swigt__p_wxMouseEvent
,
41664 _swigt__p_wxCommandEvent
,
41665 _swigt__p_wxPyCommandEvent
,
41666 _swigt__p_wxPyDropTarget
,
41667 _swigt__p_wxChildFocusEvent
,
41668 _swigt__p_wxFocusEvent
,
41669 _swigt__p_wxDropFilesEvent
,
41670 _swigt__p_wxControlWithItems
,
41671 _swigt__p_wxColour
,
41672 _swigt__p_wxValidator
,
41673 _swigt__p_wxPyValidator
,
41678 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
41680 static swig_const_info swig_const_table
[] = {
41690 SWIGEXPORT(void) SWIG_init(void) {
41691 static PyObject
*SWIG_globals
= 0;
41692 static int typeinit
= 0;
41695 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
41696 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
41697 d
= PyModule_GetDict(m
);
41700 for (i
= 0; swig_types_initial
[i
]; i
++) {
41701 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
41705 SWIG_InstallConstants(d
,swig_const_table
);
41708 #ifndef wxPyUSE_EXPORT
41709 // Make our API structure a CObject so other modules can import it
41710 // from this module.
41711 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
41712 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
41716 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_FromInt((int)wxNOT_FOUND
));
41717 PyDict_SetItemString(d
,"VSCROLL", SWIG_FromInt((int)wxVSCROLL
));
41718 PyDict_SetItemString(d
,"HSCROLL", SWIG_FromInt((int)wxHSCROLL
));
41719 PyDict_SetItemString(d
,"CAPTION", SWIG_FromInt((int)wxCAPTION
));
41720 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_FromInt((int)wxDOUBLE_BORDER
));
41721 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_FromInt((int)wxSUNKEN_BORDER
));
41722 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_FromInt((int)wxRAISED_BORDER
));
41723 PyDict_SetItemString(d
,"BORDER", SWIG_FromInt((int)wxBORDER
));
41724 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_FromInt((int)wxSIMPLE_BORDER
));
41725 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_FromInt((int)wxSTATIC_BORDER
));
41726 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_FromInt((int)wxTRANSPARENT_WINDOW
));
41727 PyDict_SetItemString(d
,"NO_BORDER", SWIG_FromInt((int)wxNO_BORDER
));
41728 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS
));
41729 PyDict_SetItemString(d
,"NO_3D", SWIG_FromInt((int)wxNO_3D
));
41730 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_FromInt((int)wxTAB_TRAVERSAL
));
41731 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_FromInt((int)wxWANTS_CHARS
));
41732 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_FromInt((int)wxPOPUP_WINDOW
));
41733 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_FromInt((int)wxCENTER_FRAME
));
41734 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_FromInt((int)wxCENTRE_ON_SCREEN
));
41735 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_FromInt((int)wxCENTER_ON_SCREEN
));
41736 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP
));
41737 PyDict_SetItemString(d
,"ICONIZE", SWIG_FromInt((int)wxICONIZE
));
41738 PyDict_SetItemString(d
,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE
));
41739 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE
));
41740 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX
));
41741 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME
));
41742 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU
));
41743 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX
));
41744 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX
));
41745 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ
));
41746 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT
));
41747 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX
));
41748 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER
));
41749 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL
));
41750 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS
));
41751 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT
));
41752 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE
));
41753 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE
));
41754 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW
));
41755 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT
));
41756 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU
));
41757 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR
));
41758 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED
));
41759 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_FromInt((int)wxED_CLIENT_MARGIN
));
41760 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_FromInt((int)wxED_BUTTONS_BOTTOM
));
41761 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_FromInt((int)wxED_BUTTONS_RIGHT
));
41762 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_FromInt((int)wxED_STATIC_LINE
));
41763 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_FromInt((int)wxEXT_DIALOG_STYLE
));
41764 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_FromInt((int)wxCLIP_CHILDREN
));
41765 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_FromInt((int)wxCLIP_SIBLINGS
));
41766 PyDict_SetItemString(d
,"RETAINED", SWIG_FromInt((int)wxRETAINED
));
41767 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_FromInt((int)wxBACKINGSTORE
));
41768 PyDict_SetItemString(d
,"COLOURED", SWIG_FromInt((int)wxCOLOURED
));
41769 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_FromInt((int)wxFIXED_LENGTH
));
41770 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_FromInt((int)wxLB_NEEDED_SB
));
41771 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_FromInt((int)wxLB_ALWAYS_SB
));
41772 PyDict_SetItemString(d
,"LB_SORT", SWIG_FromInt((int)wxLB_SORT
));
41773 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_FromInt((int)wxLB_SINGLE
));
41774 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_FromInt((int)wxLB_MULTIPLE
));
41775 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_FromInt((int)wxLB_EXTENDED
));
41776 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_FromInt((int)wxLB_OWNERDRAW
));
41777 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_FromInt((int)wxLB_HSCROLL
));
41778 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_FromInt((int)wxPROCESS_ENTER
));
41779 PyDict_SetItemString(d
,"PASSWORD", SWIG_FromInt((int)wxPASSWORD
));
41780 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_FromInt((int)wxCB_SIMPLE
));
41781 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_FromInt((int)wxCB_DROPDOWN
));
41782 PyDict_SetItemString(d
,"CB_SORT", SWIG_FromInt((int)wxCB_SORT
));
41783 PyDict_SetItemString(d
,"CB_READONLY", SWIG_FromInt((int)wxCB_READONLY
));
41784 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_FromInt((int)wxRA_HORIZONTAL
));
41785 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_FromInt((int)wxRA_VERTICAL
));
41786 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_FromInt((int)wxRA_SPECIFY_ROWS
));
41787 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_FromInt((int)wxRA_SPECIFY_COLS
));
41788 PyDict_SetItemString(d
,"RB_GROUP", SWIG_FromInt((int)wxRB_GROUP
));
41789 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_FromInt((int)wxRB_SINGLE
));
41790 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_FromInt((int)wxSL_HORIZONTAL
));
41791 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_FromInt((int)wxSL_VERTICAL
));
41792 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_FromInt((int)wxSL_AUTOTICKS
));
41793 PyDict_SetItemString(d
,"SL_LABELS", SWIG_FromInt((int)wxSL_LABELS
));
41794 PyDict_SetItemString(d
,"SL_LEFT", SWIG_FromInt((int)wxSL_LEFT
));
41795 PyDict_SetItemString(d
,"SL_TOP", SWIG_FromInt((int)wxSL_TOP
));
41796 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_FromInt((int)wxSL_RIGHT
));
41797 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_FromInt((int)wxSL_BOTTOM
));
41798 PyDict_SetItemString(d
,"SL_BOTH", SWIG_FromInt((int)wxSL_BOTH
));
41799 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_FromInt((int)wxSL_SELRANGE
));
41800 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_FromInt((int)wxSB_HORIZONTAL
));
41801 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_FromInt((int)wxSB_VERTICAL
));
41802 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_FromInt((int)wxST_SIZEGRIP
));
41803 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_FromInt((int)wxST_NO_AUTORESIZE
));
41804 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_FromInt((int)wxFLOOD_SURFACE
));
41805 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_FromInt((int)wxFLOOD_BORDER
));
41806 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_FromInt((int)wxODDEVEN_RULE
));
41807 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_FromInt((int)wxWINDING_RULE
));
41808 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_FromInt((int)wxTOOL_TOP
));
41809 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_FromInt((int)wxTOOL_BOTTOM
));
41810 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_FromInt((int)wxTOOL_LEFT
));
41811 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_FromInt((int)wxTOOL_RIGHT
));
41812 PyDict_SetItemString(d
,"OK", SWIG_FromInt((int)wxOK
));
41813 PyDict_SetItemString(d
,"YES_NO", SWIG_FromInt((int)wxYES_NO
));
41814 PyDict_SetItemString(d
,"CANCEL", SWIG_FromInt((int)wxCANCEL
));
41815 PyDict_SetItemString(d
,"YES", SWIG_FromInt((int)wxYES
));
41816 PyDict_SetItemString(d
,"NO", SWIG_FromInt((int)wxNO
));
41817 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_FromInt((int)wxNO_DEFAULT
));
41818 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_FromInt((int)wxYES_DEFAULT
));
41819 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_FromInt((int)wxICON_EXCLAMATION
));
41820 PyDict_SetItemString(d
,"ICON_HAND", SWIG_FromInt((int)wxICON_HAND
));
41821 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_FromInt((int)wxICON_QUESTION
));
41822 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_FromInt((int)wxICON_INFORMATION
));
41823 PyDict_SetItemString(d
,"ICON_STOP", SWIG_FromInt((int)wxICON_STOP
));
41824 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_FromInt((int)wxICON_ASTERISK
));
41825 PyDict_SetItemString(d
,"ICON_MASK", SWIG_FromInt((int)wxICON_MASK
));
41826 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_FromInt((int)wxICON_WARNING
));
41827 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_FromInt((int)wxICON_ERROR
));
41828 PyDict_SetItemString(d
,"FORWARD", SWIG_FromInt((int)wxFORWARD
));
41829 PyDict_SetItemString(d
,"BACKWARD", SWIG_FromInt((int)wxBACKWARD
));
41830 PyDict_SetItemString(d
,"RESET", SWIG_FromInt((int)wxRESET
));
41831 PyDict_SetItemString(d
,"HELP", SWIG_FromInt((int)wxHELP
));
41832 PyDict_SetItemString(d
,"MORE", SWIG_FromInt((int)wxMORE
));
41833 PyDict_SetItemString(d
,"SETUP", SWIG_FromInt((int)wxSETUP
));
41834 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_FromInt((int)wxSIZE_AUTO_WIDTH
));
41835 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_FromInt((int)wxSIZE_AUTO_HEIGHT
));
41836 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_FromInt((int)wxSIZE_AUTO
));
41837 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_FromInt((int)wxSIZE_USE_EXISTING
));
41838 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_FromInt((int)wxSIZE_ALLOW_MINUS_ONE
));
41839 PyDict_SetItemString(d
,"PORTRAIT", SWIG_FromInt((int)wxPORTRAIT
));
41840 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_FromInt((int)wxLANDSCAPE
));
41841 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_FromInt((int)wxPRINT_QUALITY_HIGH
));
41842 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_FromInt((int)wxPRINT_QUALITY_MEDIUM
));
41843 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_FromInt((int)wxPRINT_QUALITY_LOW
));
41844 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_FromInt((int)wxPRINT_QUALITY_DRAFT
));
41845 PyDict_SetItemString(d
,"ID_ANY", SWIG_FromInt((int)wxID_ANY
));
41846 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_FromInt((int)wxID_SEPARATOR
));
41847 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_FromInt((int)wxID_LOWEST
));
41848 PyDict_SetItemString(d
,"ID_OPEN", SWIG_FromInt((int)wxID_OPEN
));
41849 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_FromInt((int)wxID_CLOSE
));
41850 PyDict_SetItemString(d
,"ID_NEW", SWIG_FromInt((int)wxID_NEW
));
41851 PyDict_SetItemString(d
,"ID_SAVE", SWIG_FromInt((int)wxID_SAVE
));
41852 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_FromInt((int)wxID_SAVEAS
));
41853 PyDict_SetItemString(d
,"ID_REVERT", SWIG_FromInt((int)wxID_REVERT
));
41854 PyDict_SetItemString(d
,"ID_EXIT", SWIG_FromInt((int)wxID_EXIT
));
41855 PyDict_SetItemString(d
,"ID_UNDO", SWIG_FromInt((int)wxID_UNDO
));
41856 PyDict_SetItemString(d
,"ID_REDO", SWIG_FromInt((int)wxID_REDO
));
41857 PyDict_SetItemString(d
,"ID_HELP", SWIG_FromInt((int)wxID_HELP
));
41858 PyDict_SetItemString(d
,"ID_PRINT", SWIG_FromInt((int)wxID_PRINT
));
41859 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_FromInt((int)wxID_PRINT_SETUP
));
41860 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_FromInt((int)wxID_PREVIEW
));
41861 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_FromInt((int)wxID_ABOUT
));
41862 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_FromInt((int)wxID_HELP_CONTENTS
));
41863 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_FromInt((int)wxID_HELP_COMMANDS
));
41864 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_FromInt((int)wxID_HELP_PROCEDURES
));
41865 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_FromInt((int)wxID_HELP_CONTEXT
));
41866 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_FromInt((int)wxID_CLOSE_ALL
));
41867 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_FromInt((int)wxID_PREFERENCES
));
41868 PyDict_SetItemString(d
,"ID_CUT", SWIG_FromInt((int)wxID_CUT
));
41869 PyDict_SetItemString(d
,"ID_COPY", SWIG_FromInt((int)wxID_COPY
));
41870 PyDict_SetItemString(d
,"ID_PASTE", SWIG_FromInt((int)wxID_PASTE
));
41871 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_FromInt((int)wxID_CLEAR
));
41872 PyDict_SetItemString(d
,"ID_FIND", SWIG_FromInt((int)wxID_FIND
));
41873 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_FromInt((int)wxID_DUPLICATE
));
41874 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_FromInt((int)wxID_SELECTALL
));
41875 PyDict_SetItemString(d
,"ID_DELETE", SWIG_FromInt((int)wxID_DELETE
));
41876 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_FromInt((int)wxID_REPLACE
));
41877 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_FromInt((int)wxID_REPLACE_ALL
));
41878 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_FromInt((int)wxID_PROPERTIES
));
41879 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_FromInt((int)wxID_VIEW_DETAILS
));
41880 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_FromInt((int)wxID_VIEW_LARGEICONS
));
41881 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_FromInt((int)wxID_VIEW_SMALLICONS
));
41882 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_FromInt((int)wxID_VIEW_LIST
));
41883 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_FromInt((int)wxID_VIEW_SORTDATE
));
41884 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_FromInt((int)wxID_VIEW_SORTNAME
));
41885 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_FromInt((int)wxID_VIEW_SORTSIZE
));
41886 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_FromInt((int)wxID_VIEW_SORTTYPE
));
41887 PyDict_SetItemString(d
,"ID_FILE1", SWIG_FromInt((int)wxID_FILE1
));
41888 PyDict_SetItemString(d
,"ID_FILE2", SWIG_FromInt((int)wxID_FILE2
));
41889 PyDict_SetItemString(d
,"ID_FILE3", SWIG_FromInt((int)wxID_FILE3
));
41890 PyDict_SetItemString(d
,"ID_FILE4", SWIG_FromInt((int)wxID_FILE4
));
41891 PyDict_SetItemString(d
,"ID_FILE5", SWIG_FromInt((int)wxID_FILE5
));
41892 PyDict_SetItemString(d
,"ID_FILE6", SWIG_FromInt((int)wxID_FILE6
));
41893 PyDict_SetItemString(d
,"ID_FILE7", SWIG_FromInt((int)wxID_FILE7
));
41894 PyDict_SetItemString(d
,"ID_FILE8", SWIG_FromInt((int)wxID_FILE8
));
41895 PyDict_SetItemString(d
,"ID_FILE9", SWIG_FromInt((int)wxID_FILE9
));
41896 PyDict_SetItemString(d
,"ID_OK", SWIG_FromInt((int)wxID_OK
));
41897 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_FromInt((int)wxID_CANCEL
));
41898 PyDict_SetItemString(d
,"ID_APPLY", SWIG_FromInt((int)wxID_APPLY
));
41899 PyDict_SetItemString(d
,"ID_YES", SWIG_FromInt((int)wxID_YES
));
41900 PyDict_SetItemString(d
,"ID_NO", SWIG_FromInt((int)wxID_NO
));
41901 PyDict_SetItemString(d
,"ID_STATIC", SWIG_FromInt((int)wxID_STATIC
));
41902 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_FromInt((int)wxID_FORWARD
));
41903 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_FromInt((int)wxID_BACKWARD
));
41904 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_FromInt((int)wxID_DEFAULT
));
41905 PyDict_SetItemString(d
,"ID_MORE", SWIG_FromInt((int)wxID_MORE
));
41906 PyDict_SetItemString(d
,"ID_SETUP", SWIG_FromInt((int)wxID_SETUP
));
41907 PyDict_SetItemString(d
,"ID_RESET", SWIG_FromInt((int)wxID_RESET
));
41908 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_FromInt((int)wxID_CONTEXT_HELP
));
41909 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_FromInt((int)wxID_YESTOALL
));
41910 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_FromInt((int)wxID_NOTOALL
));
41911 PyDict_SetItemString(d
,"ID_ABORT", SWIG_FromInt((int)wxID_ABORT
));
41912 PyDict_SetItemString(d
,"ID_RETRY", SWIG_FromInt((int)wxID_RETRY
));
41913 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_FromInt((int)wxID_IGNORE
));
41914 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_FromInt((int)wxID_HIGHEST
));
41915 PyDict_SetItemString(d
,"OPEN", SWIG_FromInt((int)wxOPEN
));
41916 PyDict_SetItemString(d
,"SAVE", SWIG_FromInt((int)wxSAVE
));
41917 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_FromInt((int)wxHIDE_READONLY
));
41918 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_FromInt((int)wxOVERWRITE_PROMPT
));
41919 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_FromInt((int)wxFILE_MUST_EXIST
));
41920 PyDict_SetItemString(d
,"MULTIPLE", SWIG_FromInt((int)wxMULTIPLE
));
41921 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_FromInt((int)wxCHANGE_DIR
));
41922 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_FromInt((int)wxACCEL_ALT
));
41923 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_FromInt((int)wxACCEL_CTRL
));
41924 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_FromInt((int)wxACCEL_SHIFT
));
41925 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_FromInt((int)wxACCEL_NORMAL
));
41926 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_FromInt((int)wxPD_AUTO_HIDE
));
41927 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_FromInt((int)wxPD_APP_MODAL
));
41928 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_FromInt((int)wxPD_CAN_ABORT
));
41929 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_FromInt((int)wxPD_ELAPSED_TIME
));
41930 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_FromInt((int)wxPD_ESTIMATED_TIME
));
41931 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_FromInt((int)wxPD_REMAINING_TIME
));
41932 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_FromInt((int)wxDD_NEW_DIR_BUTTON
));
41933 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_FromInt((int)wxDD_DEFAULT_STYLE
));
41934 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_FromInt((int)wxMENU_TEAROFF
));
41935 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_FromInt((int)wxMB_DOCKABLE
));
41936 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE
));
41937 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxFULL_REPAINT_ON_RESIZE
));
41938 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_FromInt((int)wxLI_HORIZONTAL
));
41939 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_FromInt((int)wxLI_VERTICAL
));
41940 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY
));
41941 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_FromInt((int)wxWS_EX_BLOCK_EVENTS
));
41942 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_FromInt((int)wxWS_EX_TRANSIENT
));
41943 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_FromInt((int)wxWS_EX_THEMED_BACKGROUND
));
41944 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_FromInt((int)wxWS_EX_PROCESS_IDLE
));
41945 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES
));
41946 PyDict_SetItemString(d
,"MM_TEXT", SWIG_FromInt((int)wxMM_TEXT
));
41947 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_FromInt((int)wxMM_LOMETRIC
));
41948 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_FromInt((int)wxMM_HIMETRIC
));
41949 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_FromInt((int)wxMM_LOENGLISH
));
41950 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_FromInt((int)wxMM_HIENGLISH
));
41951 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_FromInt((int)wxMM_TWIPS
));
41952 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_FromInt((int)wxMM_ISOTROPIC
));
41953 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_FromInt((int)wxMM_ANISOTROPIC
));
41954 PyDict_SetItemString(d
,"MM_POINTS", SWIG_FromInt((int)wxMM_POINTS
));
41955 PyDict_SetItemString(d
,"MM_METRIC", SWIG_FromInt((int)wxMM_METRIC
));
41956 PyDict_SetItemString(d
,"CENTRE", SWIG_FromInt((int)wxCENTRE
));
41957 PyDict_SetItemString(d
,"CENTER", SWIG_FromInt((int)wxCENTER
));
41958 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_FromInt((int)wxHORIZONTAL
));
41959 PyDict_SetItemString(d
,"VERTICAL", SWIG_FromInt((int)wxVERTICAL
));
41960 PyDict_SetItemString(d
,"BOTH", SWIG_FromInt((int)wxBOTH
));
41961 PyDict_SetItemString(d
,"LEFT", SWIG_FromInt((int)wxLEFT
));
41962 PyDict_SetItemString(d
,"RIGHT", SWIG_FromInt((int)wxRIGHT
));
41963 PyDict_SetItemString(d
,"UP", SWIG_FromInt((int)wxUP
));
41964 PyDict_SetItemString(d
,"DOWN", SWIG_FromInt((int)wxDOWN
));
41965 PyDict_SetItemString(d
,"TOP", SWIG_FromInt((int)wxTOP
));
41966 PyDict_SetItemString(d
,"BOTTOM", SWIG_FromInt((int)wxBOTTOM
));
41967 PyDict_SetItemString(d
,"NORTH", SWIG_FromInt((int)wxNORTH
));
41968 PyDict_SetItemString(d
,"SOUTH", SWIG_FromInt((int)wxSOUTH
));
41969 PyDict_SetItemString(d
,"WEST", SWIG_FromInt((int)wxWEST
));
41970 PyDict_SetItemString(d
,"EAST", SWIG_FromInt((int)wxEAST
));
41971 PyDict_SetItemString(d
,"ALL", SWIG_FromInt((int)wxALL
));
41972 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_FromInt((int)wxALIGN_NOT
));
41973 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTER_HORIZONTAL
));
41974 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTRE_HORIZONTAL
));
41975 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_FromInt((int)wxALIGN_LEFT
));
41976 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_FromInt((int)wxALIGN_TOP
));
41977 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_FromInt((int)wxALIGN_RIGHT
));
41978 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_FromInt((int)wxALIGN_BOTTOM
));
41979 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTER_VERTICAL
));
41980 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTRE_VERTICAL
));
41981 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_FromInt((int)wxALIGN_CENTER
));
41982 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_FromInt((int)wxALIGN_CENTRE
));
41983 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_FromInt((int)wxALIGN_MASK
));
41984 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_FromInt((int)wxSTRETCH_NOT
));
41985 PyDict_SetItemString(d
,"SHRINK", SWIG_FromInt((int)wxSHRINK
));
41986 PyDict_SetItemString(d
,"GROW", SWIG_FromInt((int)wxGROW
));
41987 PyDict_SetItemString(d
,"EXPAND", SWIG_FromInt((int)wxEXPAND
));
41988 PyDict_SetItemString(d
,"SHAPED", SWIG_FromInt((int)wxSHAPED
));
41989 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_FromInt((int)wxADJUST_MINSIZE
));
41990 PyDict_SetItemString(d
,"TILE", SWIG_FromInt((int)wxTILE
));
41991 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_FromInt((int)wxBORDER_DEFAULT
));
41992 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_FromInt((int)wxBORDER_NONE
));
41993 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_FromInt((int)wxBORDER_STATIC
));
41994 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_FromInt((int)wxBORDER_SIMPLE
));
41995 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_FromInt((int)wxBORDER_RAISED
));
41996 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_FromInt((int)wxBORDER_SUNKEN
));
41997 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_FromInt((int)wxBORDER_DOUBLE
));
41998 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_FromInt((int)wxBORDER_MASK
));
41999 PyDict_SetItemString(d
,"DEFAULT", SWIG_FromInt((int)wxDEFAULT
));
42000 PyDict_SetItemString(d
,"DECORATIVE", SWIG_FromInt((int)wxDECORATIVE
));
42001 PyDict_SetItemString(d
,"ROMAN", SWIG_FromInt((int)wxROMAN
));
42002 PyDict_SetItemString(d
,"SCRIPT", SWIG_FromInt((int)wxSCRIPT
));
42003 PyDict_SetItemString(d
,"SWISS", SWIG_FromInt((int)wxSWISS
));
42004 PyDict_SetItemString(d
,"MODERN", SWIG_FromInt((int)wxMODERN
));
42005 PyDict_SetItemString(d
,"TELETYPE", SWIG_FromInt((int)wxTELETYPE
));
42006 PyDict_SetItemString(d
,"VARIABLE", SWIG_FromInt((int)wxVARIABLE
));
42007 PyDict_SetItemString(d
,"FIXED", SWIG_FromInt((int)wxFIXED
));
42008 PyDict_SetItemString(d
,"NORMAL", SWIG_FromInt((int)wxNORMAL
));
42009 PyDict_SetItemString(d
,"LIGHT", SWIG_FromInt((int)wxLIGHT
));
42010 PyDict_SetItemString(d
,"BOLD", SWIG_FromInt((int)wxBOLD
));
42011 PyDict_SetItemString(d
,"ITALIC", SWIG_FromInt((int)wxITALIC
));
42012 PyDict_SetItemString(d
,"SLANT", SWIG_FromInt((int)wxSLANT
));
42013 PyDict_SetItemString(d
,"SOLID", SWIG_FromInt((int)wxSOLID
));
42014 PyDict_SetItemString(d
,"DOT", SWIG_FromInt((int)wxDOT
));
42015 PyDict_SetItemString(d
,"LONG_DASH", SWIG_FromInt((int)wxLONG_DASH
));
42016 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_FromInt((int)wxSHORT_DASH
));
42017 PyDict_SetItemString(d
,"DOT_DASH", SWIG_FromInt((int)wxDOT_DASH
));
42018 PyDict_SetItemString(d
,"USER_DASH", SWIG_FromInt((int)wxUSER_DASH
));
42019 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_FromInt((int)wxTRANSPARENT
));
42020 PyDict_SetItemString(d
,"STIPPLE", SWIG_FromInt((int)wxSTIPPLE
));
42021 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_FromInt((int)wxBDIAGONAL_HATCH
));
42022 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_FromInt((int)wxCROSSDIAG_HATCH
));
42023 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_FromInt((int)wxFDIAGONAL_HATCH
));
42024 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_FromInt((int)wxCROSS_HATCH
));
42025 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_FromInt((int)wxHORIZONTAL_HATCH
));
42026 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_FromInt((int)wxVERTICAL_HATCH
));
42027 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_FromInt((int)wxJOIN_BEVEL
));
42028 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_FromInt((int)wxJOIN_MITER
));
42029 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_FromInt((int)wxJOIN_ROUND
));
42030 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_FromInt((int)wxCAP_ROUND
));
42031 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_FromInt((int)wxCAP_PROJECTING
));
42032 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_FromInt((int)wxCAP_BUTT
));
42033 PyDict_SetItemString(d
,"CLEAR", SWIG_FromInt((int)wxCLEAR
));
42034 PyDict_SetItemString(d
,"XOR", SWIG_FromInt((int)wxXOR
));
42035 PyDict_SetItemString(d
,"INVERT", SWIG_FromInt((int)wxINVERT
));
42036 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_FromInt((int)wxOR_REVERSE
));
42037 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_FromInt((int)wxAND_REVERSE
));
42038 PyDict_SetItemString(d
,"COPY", SWIG_FromInt((int)wxCOPY
));
42039 PyDict_SetItemString(d
,"AND", SWIG_FromInt((int)wxAND
));
42040 PyDict_SetItemString(d
,"AND_INVERT", SWIG_FromInt((int)wxAND_INVERT
));
42041 PyDict_SetItemString(d
,"NO_OP", SWIG_FromInt((int)wxNO_OP
));
42042 PyDict_SetItemString(d
,"NOR", SWIG_FromInt((int)wxNOR
));
42043 PyDict_SetItemString(d
,"EQUIV", SWIG_FromInt((int)wxEQUIV
));
42044 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_FromInt((int)wxSRC_INVERT
));
42045 PyDict_SetItemString(d
,"OR_INVERT", SWIG_FromInt((int)wxOR_INVERT
));
42046 PyDict_SetItemString(d
,"NAND", SWIG_FromInt((int)wxNAND
));
42047 PyDict_SetItemString(d
,"OR", SWIG_FromInt((int)wxOR
));
42048 PyDict_SetItemString(d
,"SET", SWIG_FromInt((int)wxSET
));
42049 PyDict_SetItemString(d
,"WXK_BACK", SWIG_FromInt((int)WXK_BACK
));
42050 PyDict_SetItemString(d
,"WXK_TAB", SWIG_FromInt((int)WXK_TAB
));
42051 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_FromInt((int)WXK_RETURN
));
42052 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_FromInt((int)WXK_ESCAPE
));
42053 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_FromInt((int)WXK_SPACE
));
42054 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_FromInt((int)WXK_DELETE
));
42055 PyDict_SetItemString(d
,"WXK_START", SWIG_FromInt((int)WXK_START
));
42056 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_FromInt((int)WXK_LBUTTON
));
42057 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_FromInt((int)WXK_RBUTTON
));
42058 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_FromInt((int)WXK_CANCEL
));
42059 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_FromInt((int)WXK_MBUTTON
));
42060 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_FromInt((int)WXK_CLEAR
));
42061 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_FromInt((int)WXK_SHIFT
));
42062 PyDict_SetItemString(d
,"WXK_ALT", SWIG_FromInt((int)WXK_ALT
));
42063 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_FromInt((int)WXK_CONTROL
));
42064 PyDict_SetItemString(d
,"WXK_MENU", SWIG_FromInt((int)WXK_MENU
));
42065 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_FromInt((int)WXK_PAUSE
));
42066 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_FromInt((int)WXK_CAPITAL
));
42067 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_FromInt((int)WXK_PRIOR
));
42068 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_FromInt((int)WXK_NEXT
));
42069 PyDict_SetItemString(d
,"WXK_END", SWIG_FromInt((int)WXK_END
));
42070 PyDict_SetItemString(d
,"WXK_HOME", SWIG_FromInt((int)WXK_HOME
));
42071 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_FromInt((int)WXK_LEFT
));
42072 PyDict_SetItemString(d
,"WXK_UP", SWIG_FromInt((int)WXK_UP
));
42073 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_FromInt((int)WXK_RIGHT
));
42074 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_FromInt((int)WXK_DOWN
));
42075 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_FromInt((int)WXK_SELECT
));
42076 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_FromInt((int)WXK_PRINT
));
42077 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_FromInt((int)WXK_EXECUTE
));
42078 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_FromInt((int)WXK_SNAPSHOT
));
42079 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_FromInt((int)WXK_INSERT
));
42080 PyDict_SetItemString(d
,"WXK_HELP", SWIG_FromInt((int)WXK_HELP
));
42081 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_FromInt((int)WXK_NUMPAD0
));
42082 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_FromInt((int)WXK_NUMPAD1
));
42083 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_FromInt((int)WXK_NUMPAD2
));
42084 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_FromInt((int)WXK_NUMPAD3
));
42085 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_FromInt((int)WXK_NUMPAD4
));
42086 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_FromInt((int)WXK_NUMPAD5
));
42087 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_FromInt((int)WXK_NUMPAD6
));
42088 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_FromInt((int)WXK_NUMPAD7
));
42089 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_FromInt((int)WXK_NUMPAD8
));
42090 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_FromInt((int)WXK_NUMPAD9
));
42091 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_FromInt((int)WXK_MULTIPLY
));
42092 PyDict_SetItemString(d
,"WXK_ADD", SWIG_FromInt((int)WXK_ADD
));
42093 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_FromInt((int)WXK_SEPARATOR
));
42094 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_FromInt((int)WXK_SUBTRACT
));
42095 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_FromInt((int)WXK_DECIMAL
));
42096 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_FromInt((int)WXK_DIVIDE
));
42097 PyDict_SetItemString(d
,"WXK_F1", SWIG_FromInt((int)WXK_F1
));
42098 PyDict_SetItemString(d
,"WXK_F2", SWIG_FromInt((int)WXK_F2
));
42099 PyDict_SetItemString(d
,"WXK_F3", SWIG_FromInt((int)WXK_F3
));
42100 PyDict_SetItemString(d
,"WXK_F4", SWIG_FromInt((int)WXK_F4
));
42101 PyDict_SetItemString(d
,"WXK_F5", SWIG_FromInt((int)WXK_F5
));
42102 PyDict_SetItemString(d
,"WXK_F6", SWIG_FromInt((int)WXK_F6
));
42103 PyDict_SetItemString(d
,"WXK_F7", SWIG_FromInt((int)WXK_F7
));
42104 PyDict_SetItemString(d
,"WXK_F8", SWIG_FromInt((int)WXK_F8
));
42105 PyDict_SetItemString(d
,"WXK_F9", SWIG_FromInt((int)WXK_F9
));
42106 PyDict_SetItemString(d
,"WXK_F10", SWIG_FromInt((int)WXK_F10
));
42107 PyDict_SetItemString(d
,"WXK_F11", SWIG_FromInt((int)WXK_F11
));
42108 PyDict_SetItemString(d
,"WXK_F12", SWIG_FromInt((int)WXK_F12
));
42109 PyDict_SetItemString(d
,"WXK_F13", SWIG_FromInt((int)WXK_F13
));
42110 PyDict_SetItemString(d
,"WXK_F14", SWIG_FromInt((int)WXK_F14
));
42111 PyDict_SetItemString(d
,"WXK_F15", SWIG_FromInt((int)WXK_F15
));
42112 PyDict_SetItemString(d
,"WXK_F16", SWIG_FromInt((int)WXK_F16
));
42113 PyDict_SetItemString(d
,"WXK_F17", SWIG_FromInt((int)WXK_F17
));
42114 PyDict_SetItemString(d
,"WXK_F18", SWIG_FromInt((int)WXK_F18
));
42115 PyDict_SetItemString(d
,"WXK_F19", SWIG_FromInt((int)WXK_F19
));
42116 PyDict_SetItemString(d
,"WXK_F20", SWIG_FromInt((int)WXK_F20
));
42117 PyDict_SetItemString(d
,"WXK_F21", SWIG_FromInt((int)WXK_F21
));
42118 PyDict_SetItemString(d
,"WXK_F22", SWIG_FromInt((int)WXK_F22
));
42119 PyDict_SetItemString(d
,"WXK_F23", SWIG_FromInt((int)WXK_F23
));
42120 PyDict_SetItemString(d
,"WXK_F24", SWIG_FromInt((int)WXK_F24
));
42121 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_FromInt((int)WXK_NUMLOCK
));
42122 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_FromInt((int)WXK_SCROLL
));
42123 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_FromInt((int)WXK_PAGEUP
));
42124 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_FromInt((int)WXK_PAGEDOWN
));
42125 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_FromInt((int)WXK_NUMPAD_SPACE
));
42126 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_FromInt((int)WXK_NUMPAD_TAB
));
42127 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_FromInt((int)WXK_NUMPAD_ENTER
));
42128 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_FromInt((int)WXK_NUMPAD_F1
));
42129 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_FromInt((int)WXK_NUMPAD_F2
));
42130 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_FromInt((int)WXK_NUMPAD_F3
));
42131 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_FromInt((int)WXK_NUMPAD_F4
));
42132 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_FromInt((int)WXK_NUMPAD_HOME
));
42133 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_FromInt((int)WXK_NUMPAD_LEFT
));
42134 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_FromInt((int)WXK_NUMPAD_UP
));
42135 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_FromInt((int)WXK_NUMPAD_RIGHT
));
42136 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_FromInt((int)WXK_NUMPAD_DOWN
));
42137 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_FromInt((int)WXK_NUMPAD_PRIOR
));
42138 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_FromInt((int)WXK_NUMPAD_PAGEUP
));
42139 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_FromInt((int)WXK_NUMPAD_NEXT
));
42140 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_FromInt((int)WXK_NUMPAD_PAGEDOWN
));
42141 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_FromInt((int)WXK_NUMPAD_END
));
42142 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_FromInt((int)WXK_NUMPAD_BEGIN
));
42143 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_FromInt((int)WXK_NUMPAD_INSERT
));
42144 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_FromInt((int)WXK_NUMPAD_DELETE
));
42145 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_FromInt((int)WXK_NUMPAD_EQUAL
));
42146 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_FromInt((int)WXK_NUMPAD_MULTIPLY
));
42147 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_FromInt((int)WXK_NUMPAD_ADD
));
42148 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_FromInt((int)WXK_NUMPAD_SEPARATOR
));
42149 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_FromInt((int)WXK_NUMPAD_SUBTRACT
));
42150 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_FromInt((int)WXK_NUMPAD_DECIMAL
));
42151 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_FromInt((int)WXK_NUMPAD_DIVIDE
));
42152 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_FromInt((int)WXK_WINDOWS_LEFT
));
42153 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_FromInt((int)WXK_WINDOWS_RIGHT
));
42154 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_FromInt((int)WXK_WINDOWS_MENU
));
42155 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_FromInt((int)wxPAPER_NONE
));
42156 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_FromInt((int)wxPAPER_LETTER
));
42157 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_FromInt((int)wxPAPER_LEGAL
));
42158 PyDict_SetItemString(d
,"PAPER_A4", SWIG_FromInt((int)wxPAPER_A4
));
42159 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_FromInt((int)wxPAPER_CSHEET
));
42160 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_FromInt((int)wxPAPER_DSHEET
));
42161 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_FromInt((int)wxPAPER_ESHEET
));
42162 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_FromInt((int)wxPAPER_LETTERSMALL
));
42163 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_FromInt((int)wxPAPER_TABLOID
));
42164 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_FromInt((int)wxPAPER_LEDGER
));
42165 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_FromInt((int)wxPAPER_STATEMENT
));
42166 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_FromInt((int)wxPAPER_EXECUTIVE
));
42167 PyDict_SetItemString(d
,"PAPER_A3", SWIG_FromInt((int)wxPAPER_A3
));
42168 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_FromInt((int)wxPAPER_A4SMALL
));
42169 PyDict_SetItemString(d
,"PAPER_A5", SWIG_FromInt((int)wxPAPER_A5
));
42170 PyDict_SetItemString(d
,"PAPER_B4", SWIG_FromInt((int)wxPAPER_B4
));
42171 PyDict_SetItemString(d
,"PAPER_B5", SWIG_FromInt((int)wxPAPER_B5
));
42172 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_FromInt((int)wxPAPER_FOLIO
));
42173 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_FromInt((int)wxPAPER_QUARTO
));
42174 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_FromInt((int)wxPAPER_10X14
));
42175 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_FromInt((int)wxPAPER_11X17
));
42176 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_FromInt((int)wxPAPER_NOTE
));
42177 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_FromInt((int)wxPAPER_ENV_9
));
42178 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_FromInt((int)wxPAPER_ENV_10
));
42179 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_FromInt((int)wxPAPER_ENV_11
));
42180 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_FromInt((int)wxPAPER_ENV_12
));
42181 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_FromInt((int)wxPAPER_ENV_14
));
42182 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_FromInt((int)wxPAPER_ENV_DL
));
42183 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_FromInt((int)wxPAPER_ENV_C5
));
42184 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_FromInt((int)wxPAPER_ENV_C3
));
42185 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_FromInt((int)wxPAPER_ENV_C4
));
42186 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_FromInt((int)wxPAPER_ENV_C6
));
42187 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_FromInt((int)wxPAPER_ENV_C65
));
42188 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_FromInt((int)wxPAPER_ENV_B4
));
42189 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_FromInt((int)wxPAPER_ENV_B5
));
42190 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_FromInt((int)wxPAPER_ENV_B6
));
42191 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_FromInt((int)wxPAPER_ENV_ITALY
));
42192 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_FromInt((int)wxPAPER_ENV_MONARCH
));
42193 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_FromInt((int)wxPAPER_ENV_PERSONAL
));
42194 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_FromInt((int)wxPAPER_FANFOLD_US
));
42195 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN
));
42196 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN
));
42197 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_FromInt((int)wxPAPER_ISO_B4
));
42198 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_FromInt((int)wxPAPER_JAPANESE_POSTCARD
));
42199 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_FromInt((int)wxPAPER_9X11
));
42200 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_FromInt((int)wxPAPER_10X11
));
42201 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_FromInt((int)wxPAPER_15X11
));
42202 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_FromInt((int)wxPAPER_ENV_INVITE
));
42203 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA
));
42204 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_FromInt((int)wxPAPER_LEGAL_EXTRA
));
42205 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_FromInt((int)wxPAPER_TABLOID_EXTRA
));
42206 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_FromInt((int)wxPAPER_A4_EXTRA
));
42207 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_TRANSVERSE
));
42208 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A4_TRANSVERSE
));
42209 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
42210 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_FromInt((int)wxPAPER_A_PLUS
));
42211 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_FromInt((int)wxPAPER_B_PLUS
));
42212 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_FromInt((int)wxPAPER_LETTER_PLUS
));
42213 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_FromInt((int)wxPAPER_A4_PLUS
));
42214 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A5_TRANSVERSE
));
42215 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_B5_TRANSVERSE
));
42216 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_FromInt((int)wxPAPER_A3_EXTRA
));
42217 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_FromInt((int)wxPAPER_A5_EXTRA
));
42218 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_FromInt((int)wxPAPER_B5_EXTRA
));
42219 PyDict_SetItemString(d
,"PAPER_A2", SWIG_FromInt((int)wxPAPER_A2
));
42220 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_TRANSVERSE
));
42221 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
42222 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_FromInt((int)wxDUPLEX_SIMPLEX
));
42223 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_FromInt((int)wxDUPLEX_HORIZONTAL
));
42224 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_FromInt((int)wxDUPLEX_VERTICAL
));
42225 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_FromInt((int)wxITEM_SEPARATOR
));
42226 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_FromInt((int)wxITEM_NORMAL
));
42227 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_FromInt((int)wxITEM_CHECK
));
42228 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_FromInt((int)wxITEM_RADIO
));
42229 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_FromInt((int)wxITEM_MAX
));
42230 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_FromInt((int)wxHT_NOWHERE
));
42231 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_FromInt((int)wxHT_SCROLLBAR_FIRST
));
42232 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
42233 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
42234 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
42235 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
42236 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_FromInt((int)wxHT_SCROLLBAR_THUMB
));
42237 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_1
));
42238 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_2
));
42239 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_FromInt((int)wxHT_SCROLLBAR_LAST
));
42240 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_FromInt((int)wxHT_WINDOW_OUTSIDE
));
42241 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_FromInt((int)wxHT_WINDOW_INSIDE
));
42242 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR
));
42243 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
42244 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_FromInt((int)wxHT_WINDOW_CORNER
));
42245 PyDict_SetItemString(d
,"HT_MAX", SWIG_FromInt((int)wxHT_MAX
));
42246 PyDict_SetItemString(d
,"MOD_NONE", SWIG_FromInt((int)wxMOD_NONE
));
42247 PyDict_SetItemString(d
,"MOD_ALT", SWIG_FromInt((int)wxMOD_ALT
));
42248 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_FromInt((int)wxMOD_CONTROL
));
42249 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_FromInt((int)wxMOD_SHIFT
));
42250 PyDict_SetItemString(d
,"MOD_WIN", SWIG_FromInt((int)wxMOD_WIN
));
42251 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_FromInt((int)wxUPDATE_UI_NONE
));
42252 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_FromInt((int)wxUPDATE_UI_RECURSE
));
42253 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_FromInt((int)wxUPDATE_UI_FROMIDLE
));
42254 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
42255 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
42256 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_FromInt((int)wxBITMAP_TYPE_INVALID
));
42257 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_FromInt((int)wxBITMAP_TYPE_BMP
));
42258 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_FromInt((int)wxBITMAP_TYPE_ICO
));
42259 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_FromInt((int)wxBITMAP_TYPE_CUR
));
42260 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_FromInt((int)wxBITMAP_TYPE_XBM
));
42261 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XBM_DATA
));
42262 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_FromInt((int)wxBITMAP_TYPE_XPM
));
42263 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XPM_DATA
));
42264 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_FromInt((int)wxBITMAP_TYPE_TIF
));
42265 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_FromInt((int)wxBITMAP_TYPE_GIF
));
42266 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_FromInt((int)wxBITMAP_TYPE_PNG
));
42267 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_FromInt((int)wxBITMAP_TYPE_JPEG
));
42268 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_FromInt((int)wxBITMAP_TYPE_PNM
));
42269 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_FromInt((int)wxBITMAP_TYPE_PCX
));
42270 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_FromInt((int)wxBITMAP_TYPE_PICT
));
42271 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_FromInt((int)wxBITMAP_TYPE_ICON
));
42272 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_FromInt((int)wxBITMAP_TYPE_ANI
));
42273 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_FromInt((int)wxBITMAP_TYPE_IFF
));
42274 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_FromInt((int)wxBITMAP_TYPE_MACCURSOR
));
42275 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_FromInt((int)wxBITMAP_TYPE_ANY
));
42276 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_FromInt((int)wxCURSOR_NONE
));
42277 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_FromInt((int)wxCURSOR_ARROW
));
42278 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_FromInt((int)wxCURSOR_RIGHT_ARROW
));
42279 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_FromInt((int)wxCURSOR_BULLSEYE
));
42280 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_FromInt((int)wxCURSOR_CHAR
));
42281 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_FromInt((int)wxCURSOR_CROSS
));
42282 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_FromInt((int)wxCURSOR_HAND
));
42283 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_FromInt((int)wxCURSOR_IBEAM
));
42284 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_FromInt((int)wxCURSOR_LEFT_BUTTON
));
42285 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_FromInt((int)wxCURSOR_MAGNIFIER
));
42286 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_FromInt((int)wxCURSOR_MIDDLE_BUTTON
));
42287 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_FromInt((int)wxCURSOR_NO_ENTRY
));
42288 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_FromInt((int)wxCURSOR_PAINT_BRUSH
));
42289 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_FromInt((int)wxCURSOR_PENCIL
));
42290 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_FromInt((int)wxCURSOR_POINT_LEFT
));
42291 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_FromInt((int)wxCURSOR_POINT_RIGHT
));
42292 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_FromInt((int)wxCURSOR_QUESTION_ARROW
));
42293 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_FromInt((int)wxCURSOR_RIGHT_BUTTON
));
42294 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_FromInt((int)wxCURSOR_SIZENESW
));
42295 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_FromInt((int)wxCURSOR_SIZENS
));
42296 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_FromInt((int)wxCURSOR_SIZENWSE
));
42297 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_FromInt((int)wxCURSOR_SIZEWE
));
42298 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_FromInt((int)wxCURSOR_SIZING
));
42299 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_FromInt((int)wxCURSOR_SPRAYCAN
));
42300 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_FromInt((int)wxCURSOR_WAIT
));
42301 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_FromInt((int)wxCURSOR_WATCH
));
42302 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_FromInt((int)wxCURSOR_BLANK
));
42303 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_FromInt((int)wxCURSOR_DEFAULT
));
42304 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_FromInt((int)wxCURSOR_COPY_ARROW
));
42305 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_FromInt((int)wxCURSOR_ARROWWAIT
));
42306 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_FromInt((int)wxCURSOR_MAX
));
42307 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
42308 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
42309 PyDict_SetItemString(d
,"FromStart", SWIG_FromInt((int)wxFromStart
));
42310 PyDict_SetItemString(d
,"FromCurrent", SWIG_FromInt((int)wxFromCurrent
));
42311 PyDict_SetItemString(d
,"FromEnd", SWIG_FromInt((int)wxFromEnd
));
42313 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
42316 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
42318 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
42319 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
42320 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
42321 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
42322 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
42323 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
42324 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_FromInt((int)wxIMAGE_RESOLUTION_INCHES
));
42325 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_FromInt((int)wxIMAGE_RESOLUTION_CM
));
42326 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_FromInt((int)wxBMP_24BPP
));
42327 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_FromInt((int)wxBMP_8BPP
));
42328 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_FromInt((int)wxBMP_8BPP_GREY
));
42329 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_FromInt((int)wxBMP_8BPP_GRAY
));
42330 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_FromInt((int)wxBMP_8BPP_RED
));
42331 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_FromInt((int)wxBMP_8BPP_PALETTE
));
42332 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_FromInt((int)wxBMP_4BPP
));
42333 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_FromInt((int)wxBMP_1BPP
));
42334 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_FromInt((int)wxBMP_1BPP_BW
));
42335 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_FromInt((int)wxEVENT_PROPAGATE_NONE
));
42336 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_FromInt((int)wxEVENT_PROPAGATE_MAX
));
42337 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
42338 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
42339 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
42340 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
42341 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
42342 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
42343 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
42344 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
42345 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
42346 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
42347 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
42348 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
42349 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
42350 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
42351 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
42352 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
42353 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
42354 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
42355 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
42356 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
42357 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
42358 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
42359 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
42360 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
42361 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
42362 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
42363 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
42364 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
42365 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
42366 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
42367 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
42368 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
42369 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
42370 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
42371 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
42372 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
42373 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
42374 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
42375 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
42376 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
42377 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
42378 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
42379 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
42380 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
42381 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
42382 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
42383 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
42384 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
42385 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
42386 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
42387 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
42388 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
42389 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
42390 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
42391 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
42392 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
42393 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
42394 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
42395 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
42396 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
42397 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
42398 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
42399 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
42400 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
42401 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
42402 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
42403 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
42404 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
42405 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
42406 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
42407 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
42408 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
42409 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
42410 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
42411 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
42412 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
42413 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
42414 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
42415 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
42416 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
42417 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
42418 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
42419 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
42420 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
42421 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
42422 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
42423 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
42424 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
42425 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
42426 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
42427 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
42428 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
42429 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
42430 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
42431 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
42432 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
42433 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
42434 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
42435 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
42436 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
42437 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
42438 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
42439 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
42440 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
42441 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
42442 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
42443 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
42444 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
42445 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
42446 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
42447 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
42448 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
42449 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
42450 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
42451 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_FromInt((int)wxMOUSE_BTN_ANY
));
42452 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_FromInt((int)wxMOUSE_BTN_NONE
));
42453 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_FromInt((int)wxMOUSE_BTN_LEFT
));
42454 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_FromInt((int)wxMOUSE_BTN_MIDDLE
));
42455 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_FromInt((int)wxMOUSE_BTN_RIGHT
));
42456 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_ALL
));
42457 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
42458 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_FromInt((int)wxIDLE_PROCESS_ALL
));
42459 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_FromInt((int)wxIDLE_PROCESS_SPECIFIED
));
42460 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_FromInt((int)wxPYAPP_ASSERT_SUPPRESS
));
42461 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_FromInt((int)wxPYAPP_ASSERT_EXCEPTION
));
42462 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_FromInt((int)wxPYAPP_ASSERT_DIALOG
));
42463 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_FromInt((int)wxPYAPP_ASSERT_LOG
));
42464 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_FromInt((int)wxPRINT_WINDOWS
));
42465 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_FromInt((int)wxPRINT_POSTSCRIPT
));
42466 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
42467 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
42468 PyDict_SetItemString(d
,"WINDOW_VARIANT_DEFAULT", SWIG_FromInt((int)wxWINDOW_VARIANT_DEFAULT
));
42469 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_FromInt((int)wxWINDOW_VARIANT_NORMAL
));
42470 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_FromInt((int)wxWINDOW_VARIANT_SMALL
));
42471 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_FromInt((int)wxWINDOW_VARIANT_MINI
));
42472 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_FromInt((int)wxWINDOW_VARIANT_LARGE
));
42473 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
42474 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
42475 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_FromInt((int)wxFLEX_GROWMODE_NONE
));
42476 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_FromInt((int)wxFLEX_GROWMODE_SPECIFIED
));
42477 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_FromInt((int)wxFLEX_GROWMODE_ALL
));
42478 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
42479 PyDict_SetItemString(d
,"Left", SWIG_FromInt((int)wxLeft
));
42480 PyDict_SetItemString(d
,"Top", SWIG_FromInt((int)wxTop
));
42481 PyDict_SetItemString(d
,"Right", SWIG_FromInt((int)wxRight
));
42482 PyDict_SetItemString(d
,"Bottom", SWIG_FromInt((int)wxBottom
));
42483 PyDict_SetItemString(d
,"Width", SWIG_FromInt((int)wxWidth
));
42484 PyDict_SetItemString(d
,"Height", SWIG_FromInt((int)wxHeight
));
42485 PyDict_SetItemString(d
,"Centre", SWIG_FromInt((int)wxCentre
));
42486 PyDict_SetItemString(d
,"Center", SWIG_FromInt((int)wxCenter
));
42487 PyDict_SetItemString(d
,"CentreX", SWIG_FromInt((int)wxCentreX
));
42488 PyDict_SetItemString(d
,"CentreY", SWIG_FromInt((int)wxCentreY
));
42489 PyDict_SetItemString(d
,"Unconstrained", SWIG_FromInt((int)wxUnconstrained
));
42490 PyDict_SetItemString(d
,"AsIs", SWIG_FromInt((int)wxAsIs
));
42491 PyDict_SetItemString(d
,"PercentOf", SWIG_FromInt((int)wxPercentOf
));
42492 PyDict_SetItemString(d
,"Above", SWIG_FromInt((int)wxAbove
));
42493 PyDict_SetItemString(d
,"Below", SWIG_FromInt((int)wxBelow
));
42494 PyDict_SetItemString(d
,"LeftOf", SWIG_FromInt((int)wxLeftOf
));
42495 PyDict_SetItemString(d
,"RightOf", SWIG_FromInt((int)wxRightOf
));
42496 PyDict_SetItemString(d
,"SameAs", SWIG_FromInt((int)wxSameAs
));
42497 PyDict_SetItemString(d
,"Absolute", SWIG_FromInt((int)wxAbsolute
));
42499 // Initialize threading, some globals and such
42503 // Although these are defined in __version__ they need to be here too so
42504 // that an assert can be done to ensure that the wxPython and the wxWindows
42506 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
42507 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
42508 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));