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();
1326 int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
1328 void wxApp_CleanUp() {
1333 wxPyApp
* wxGetApp() {
1334 return (wxPyApp
*)wxTheApp
;
1339 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1340 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1341 wxWindowList
& list
= self
->GetChildren();
1342 return wxPy_ConvertList(&list
);
1344 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1351 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1358 long wxWindow_GetHandle(wxWindow
*self
){
1359 return wxPyGetWinHandle(self
);
1362 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1363 return wxWindow::FindWindowById(id
, parent
);
1366 wxWindow
* wxFindWindowByName( const wxString
& name
,
1367 const wxWindow
*parent
= NULL
) {
1368 return wxWindow::FindWindowByName(name
, parent
);
1371 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1372 const wxWindow
*parent
= NULL
) {
1373 return wxWindow::FindWindowByLabel(label
, parent
);
1378 #include <wx/msw/private.h> // to get wxGetWindowId
1382 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
1384 WXHWND hWnd
= (WXHWND
)_hWnd
;
1385 long id
= wxGetWindowId(hWnd
);
1386 wxWindow
* win
= new wxWindow
;
1387 parent
->AddChild(win
);
1388 win
->SetEventHandler(win
);
1391 win
->SubclassWin(hWnd
);
1392 win
->AdoptAttributesFromHWND();
1393 win
->SetupColours();
1396 wxPyRaiseNotImplemented();
1402 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1403 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1404 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1406 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1408 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1409 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1410 wxMenuItemList
& list
= self
->GetMenuItems();
1411 return wxPy_ConvertList(&list
);
1413 int MenuItem_GetDefaultMarginWidth(){ return 0; }
1414 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1415 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1417 wxPyClientData
* data
= new wxPyClientData(clientData
);
1418 return self
->Append(item
, data
);
1420 return self
->Append(item
);
1422 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1424 wxPyClientData
* data
= new wxPyClientData(clientData
);
1425 return self
->Insert(item
, pos
, data
);
1427 return self
->Insert(item
, pos
);
1429 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1430 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1432 Py_INCREF(data
->m_obj
);
1439 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1440 wxPyClientData
* data
= new wxPyClientData(clientData
);
1441 self
->SetClientObject(n
, data
);
1449 SWIG_FloatCast(double value
)
1452 if (!PyErr_Occurred()) {
1453 if (value
< FLT_MIN
) {
1455 PyString_FromFormat("value %g is less than float minimum %g",
1457 PyErr_SetObject(PyExc_OverflowError
, err
);
1459 } else if (value
> FLT_MAX
) {
1461 PyString_FromFormat("value %g is greater than float maximum %g",
1463 PyErr_SetObject(PyExc_OverflowError
, err
);
1466 f
= swig_numeric_cast(float, value
);
1473 SWIGSTATICINLINE(float)
1474 SWIG_AsFloat(PyObject
*obj
)
1476 return SWIG_FloatCast(SWIG_AsDouble(obj
));
1480 SWIGSTATICINLINE(int)
1481 SWIG_CheckFloat(PyObject
* obj
)
1484 if (PyErr_Occurred()) {
1492 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1493 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1495 Py_INCREF(data
->m_obj
);
1503 // Figure out the type of the sizer item
1505 struct wxPySizerItemInfo
{
1507 : window(NULL
), sizer(NULL
), gotSize(False
),
1508 size(wxDefaultSize
), gotPos(False
), pos(-1)
1519 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1521 wxPySizerItemInfo info
;
1523 wxSize
* sizePtr
= &size
;
1525 // Find out what the type of the item is
1527 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1532 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1536 // try wxSize or (w,h)
1537 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1538 info
.size
= *sizePtr
;
1539 info
.gotSize
= True
;
1543 if (checkIdx
&& PyInt_Check(item
)) {
1544 info
.pos
= PyInt_AsLong(item
);
1550 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1551 // no expected type, figure out what kind of error message to generate
1552 if ( !checkSize
&& !checkIdx
)
1553 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1554 else if ( checkSize
&& !checkIdx
)
1555 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1556 else if ( !checkSize
&& checkIdx
)
1557 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1559 // can this one happen?
1560 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1566 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1567 self
->SetClientObject(new wxPyOORClientData(_self
));
1569 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1571 wxPyUserData
* data
= NULL
;
1572 bool blocked
= wxPyBeginBlockThreads();
1573 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1574 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1575 data
= new wxPyUserData(userData
);
1576 wxPyEndBlockThreads(blocked
);
1578 // Now call the real Add method if a valid item type was found
1580 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1581 else if ( info
.sizer
)
1582 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1583 else if (info
.gotSize
)
1584 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1585 proportion
, flag
, border
, data
);
1587 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1589 wxPyUserData
* data
= NULL
;
1590 bool blocked
= wxPyBeginBlockThreads();
1591 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1592 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1593 data
= new wxPyUserData(userData
);
1594 wxPyEndBlockThreads(blocked
);
1596 // Now call the real Insert method if a valid item type was found
1598 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1599 else if ( info
.sizer
)
1600 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1601 else if (info
.gotSize
)
1602 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1603 proportion
, flag
, border
, data
);
1605 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1607 wxPyUserData
* data
= NULL
;
1608 bool blocked
= wxPyBeginBlockThreads();
1609 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1610 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1611 data
= new wxPyUserData(userData
);
1612 wxPyEndBlockThreads(blocked
);
1614 // Now call the real Prepend method if a valid item type was found
1616 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1617 else if ( info
.sizer
)
1618 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1619 else if (info
.gotSize
)
1620 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1621 proportion
, flag
, border
, data
);
1623 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1624 bool blocked
= wxPyBeginBlockThreads();
1625 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1626 wxPyEndBlockThreads(blocked
);
1628 return self
->Remove(info
.window
);
1629 else if ( info
.sizer
)
1630 return self
->Remove(info
.sizer
);
1631 else if ( info
.gotPos
)
1632 return self
->Remove(info
.pos
);
1636 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1637 bool blocked
= wxPyBeginBlockThreads();
1638 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1639 wxPyEndBlockThreads(blocked
);
1641 self
->SetItemMinSize(info
.window
, size
);
1642 else if ( info
.sizer
)
1643 self
->SetItemMinSize(info
.sizer
, size
);
1644 else if ( info
.gotPos
)
1645 self
->SetItemMinSize(info
.pos
, size
);
1647 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1648 wxSizerItemList
& list
= self
->GetChildren();
1649 return wxPy_ConvertList(&list
);
1651 void wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
){
1652 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1654 self
->Show(info
.window
, show
);
1655 else if ( info
.sizer
)
1656 self
->Show(info
.sizer
, show
);
1658 void wxSizer_Hide(wxSizer
*self
,PyObject
*item
){
1659 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1661 self
->Hide(info
.window
);
1662 else if ( info
.sizer
)
1663 self
->Hide(info
.sizer
);
1665 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1666 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1668 return self
->IsShown(info
.window
);
1669 else if ( info
.sizer
)
1670 return self
->IsShown(info
.sizer
);
1676 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1677 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1678 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1683 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1685 if (source
== Py_None
) {
1686 **obj
= wxGBPosition(-1,-1);
1689 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1692 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1694 if (source
== Py_None
) {
1695 **obj
= wxGBSpan(-1,-1);
1698 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1702 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1706 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1707 bool blocked
= wxPyBeginBlockThreads();
1708 PyObject
* tup
= PyTuple_New(2);
1709 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1710 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1711 wxPyEndBlockThreads(blocked
);
1714 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1715 self
->SetRowspan(rowspan
);
1716 self
->SetColspan(colspan
);
1718 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1719 bool blocked
= wxPyBeginBlockThreads();
1720 PyObject
* tup
= PyTuple_New(2);
1721 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1722 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1723 wxPyEndBlockThreads(blocked
);
1726 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1728 wxPyUserData
* data
= NULL
;
1729 bool blocked
= wxPyBeginBlockThreads();
1730 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1731 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1732 data
= new wxPyUserData(userData
);
1733 wxPyEndBlockThreads(blocked
);
1735 // Now call the real Add method if a valid item type was found
1737 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1738 else if ( info
.sizer
)
1739 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1740 else if (info
.gotSize
)
1741 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1742 pos
, span
, flag
, border
, data
);
1750 static int _wrap_EmptyString_set(PyObject
*) {
1751 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
1756 static PyObject
*_wrap_EmptyString_get() {
1761 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1763 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1770 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1771 PyObject
*resultobj
;
1772 wxObject
*arg1
= (wxObject
*) 0 ;
1774 PyObject
* obj0
= 0 ;
1776 (char *) "self", NULL
1779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1784 result
= wxObject_GetClassName(arg1
);
1786 wxPyEndAllowThreads(__tstate
);
1787 if (PyErr_Occurred()) SWIG_fail
;
1791 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1793 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1802 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1803 PyObject
*resultobj
;
1804 wxObject
*arg1
= (wxObject
*) 0 ;
1805 PyObject
* obj0
= 0 ;
1807 (char *) "self", NULL
1810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1815 wxObject_Destroy(arg1
);
1817 wxPyEndAllowThreads(__tstate
);
1818 if (PyErr_Occurred()) SWIG_fail
;
1820 Py_INCREF(Py_None
); resultobj
= Py_None
;
1827 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
1829 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1830 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1832 return Py_BuildValue((char *)"");
1834 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1835 PyObject
*resultobj
;
1836 wxSize
*arg1
= (wxSize
*) 0 ;
1838 PyObject
* obj0
= 0 ;
1839 PyObject
* obj1
= 0 ;
1841 (char *) "self",(char *) "x", NULL
1844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1847 arg2
= (int) SWIG_AsInt(obj1
);
1848 if (PyErr_Occurred()) SWIG_fail
;
1849 if (arg1
) (arg1
)->x
= arg2
;
1851 Py_INCREF(Py_None
); resultobj
= Py_None
;
1858 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1859 PyObject
*resultobj
;
1860 wxSize
*arg1
= (wxSize
*) 0 ;
1862 PyObject
* obj0
= 0 ;
1864 (char *) "self", NULL
1867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1870 result
= (int) ((arg1
)->x
);
1872 resultobj
= SWIG_FromInt((int)result
);
1879 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1880 PyObject
*resultobj
;
1881 wxSize
*arg1
= (wxSize
*) 0 ;
1883 PyObject
* obj0
= 0 ;
1884 PyObject
* obj1
= 0 ;
1886 (char *) "self",(char *) "y", NULL
1889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1892 arg2
= (int) SWIG_AsInt(obj1
);
1893 if (PyErr_Occurred()) SWIG_fail
;
1894 if (arg1
) (arg1
)->y
= arg2
;
1896 Py_INCREF(Py_None
); resultobj
= Py_None
;
1903 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1904 PyObject
*resultobj
;
1905 wxSize
*arg1
= (wxSize
*) 0 ;
1907 PyObject
* obj0
= 0 ;
1909 (char *) "self", NULL
1912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
1913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1915 result
= (int) ((arg1
)->y
);
1917 resultobj
= SWIG_FromInt((int)result
);
1924 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1925 PyObject
*resultobj
;
1926 int arg1
= (int) 0 ;
1927 int arg2
= (int) 0 ;
1929 PyObject
* obj0
= 0 ;
1930 PyObject
* obj1
= 0 ;
1932 (char *) "w",(char *) "h", NULL
1935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
1937 arg1
= (int) SWIG_AsInt(obj0
);
1938 if (PyErr_Occurred()) SWIG_fail
;
1941 arg2
= (int) SWIG_AsInt(obj1
);
1942 if (PyErr_Occurred()) SWIG_fail
;
1945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1946 result
= (wxSize
*)new wxSize(arg1
,arg2
);
1948 wxPyEndAllowThreads(__tstate
);
1949 if (PyErr_Occurred()) SWIG_fail
;
1951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
1958 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1959 PyObject
*resultobj
;
1960 wxSize
*arg1
= (wxSize
*) 0 ;
1961 PyObject
* obj0
= 0 ;
1963 (char *) "self", NULL
1966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
1967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1973 wxPyEndAllowThreads(__tstate
);
1974 if (PyErr_Occurred()) SWIG_fail
;
1976 Py_INCREF(Py_None
); resultobj
= Py_None
;
1983 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1984 PyObject
*resultobj
;
1985 wxSize
*arg1
= (wxSize
*) 0 ;
1989 PyObject
* obj0
= 0 ;
1990 PyObject
* obj1
= 0 ;
1992 (char *) "self",(char *) "sz", NULL
1995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2000 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2004 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2006 wxPyEndAllowThreads(__tstate
);
2007 if (PyErr_Occurred()) SWIG_fail
;
2010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2018 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2019 PyObject
*resultobj
;
2020 wxSize
*arg1
= (wxSize
*) 0 ;
2024 PyObject
* obj0
= 0 ;
2025 PyObject
* obj1
= 0 ;
2027 (char *) "self",(char *) "sz", NULL
2030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2035 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2039 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2041 wxPyEndAllowThreads(__tstate
);
2042 if (PyErr_Occurred()) SWIG_fail
;
2045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2053 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2054 PyObject
*resultobj
;
2055 wxSize
*arg1
= (wxSize
*) 0 ;
2059 PyObject
* obj0
= 0 ;
2060 PyObject
* obj1
= 0 ;
2062 (char *) "self",(char *) "sz", NULL
2065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2070 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2074 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2076 wxPyEndAllowThreads(__tstate
);
2077 if (PyErr_Occurred()) SWIG_fail
;
2081 resultptr
= new wxSize((wxSize
&) result
);
2082 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2090 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2091 PyObject
*resultobj
;
2092 wxSize
*arg1
= (wxSize
*) 0 ;
2096 PyObject
* obj0
= 0 ;
2097 PyObject
* obj1
= 0 ;
2099 (char *) "self",(char *) "sz", NULL
2102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2107 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2111 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2113 wxPyEndAllowThreads(__tstate
);
2114 if (PyErr_Occurred()) SWIG_fail
;
2118 resultptr
= new wxSize((wxSize
&) result
);
2119 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2127 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2128 PyObject
*resultobj
;
2129 wxSize
*arg1
= (wxSize
*) 0 ;
2132 PyObject
* obj0
= 0 ;
2133 PyObject
* obj1
= 0 ;
2135 (char *) "self",(char *) "sz", NULL
2138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2143 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2147 (arg1
)->IncTo((wxSize
const &)*arg2
);
2149 wxPyEndAllowThreads(__tstate
);
2150 if (PyErr_Occurred()) SWIG_fail
;
2152 Py_INCREF(Py_None
); resultobj
= Py_None
;
2159 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2160 PyObject
*resultobj
;
2161 wxSize
*arg1
= (wxSize
*) 0 ;
2164 PyObject
* obj0
= 0 ;
2165 PyObject
* obj1
= 0 ;
2167 (char *) "self",(char *) "sz", NULL
2170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2175 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2179 (arg1
)->DecTo((wxSize
const &)*arg2
);
2181 wxPyEndAllowThreads(__tstate
);
2182 if (PyErr_Occurred()) SWIG_fail
;
2184 Py_INCREF(Py_None
); resultobj
= Py_None
;
2191 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2192 PyObject
*resultobj
;
2193 wxSize
*arg1
= (wxSize
*) 0 ;
2196 PyObject
* obj0
= 0 ;
2197 PyObject
* obj1
= 0 ;
2198 PyObject
* obj2
= 0 ;
2200 (char *) "self",(char *) "w",(char *) "h", NULL
2203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2206 arg2
= (int) SWIG_AsInt(obj1
);
2207 if (PyErr_Occurred()) SWIG_fail
;
2208 arg3
= (int) SWIG_AsInt(obj2
);
2209 if (PyErr_Occurred()) SWIG_fail
;
2211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2212 (arg1
)->Set(arg2
,arg3
);
2214 wxPyEndAllowThreads(__tstate
);
2215 if (PyErr_Occurred()) SWIG_fail
;
2217 Py_INCREF(Py_None
); resultobj
= Py_None
;
2224 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2225 PyObject
*resultobj
;
2226 wxSize
*arg1
= (wxSize
*) 0 ;
2228 PyObject
* obj0
= 0 ;
2229 PyObject
* obj1
= 0 ;
2231 (char *) "self",(char *) "w", NULL
2234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2237 arg2
= (int) SWIG_AsInt(obj1
);
2238 if (PyErr_Occurred()) SWIG_fail
;
2240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2241 (arg1
)->SetWidth(arg2
);
2243 wxPyEndAllowThreads(__tstate
);
2244 if (PyErr_Occurred()) SWIG_fail
;
2246 Py_INCREF(Py_None
); resultobj
= Py_None
;
2253 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2254 PyObject
*resultobj
;
2255 wxSize
*arg1
= (wxSize
*) 0 ;
2257 PyObject
* obj0
= 0 ;
2258 PyObject
* obj1
= 0 ;
2260 (char *) "self",(char *) "h", NULL
2263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2266 arg2
= (int) SWIG_AsInt(obj1
);
2267 if (PyErr_Occurred()) SWIG_fail
;
2269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2270 (arg1
)->SetHeight(arg2
);
2272 wxPyEndAllowThreads(__tstate
);
2273 if (PyErr_Occurred()) SWIG_fail
;
2275 Py_INCREF(Py_None
); resultobj
= Py_None
;
2282 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2283 PyObject
*resultobj
;
2284 wxSize
*arg1
= (wxSize
*) 0 ;
2286 PyObject
* obj0
= 0 ;
2288 (char *) "self", NULL
2291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2296 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2298 wxPyEndAllowThreads(__tstate
);
2299 if (PyErr_Occurred()) SWIG_fail
;
2301 resultobj
= SWIG_FromInt((int)result
);
2308 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2309 PyObject
*resultobj
;
2310 wxSize
*arg1
= (wxSize
*) 0 ;
2312 PyObject
* obj0
= 0 ;
2314 (char *) "self", NULL
2317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2322 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2324 wxPyEndAllowThreads(__tstate
);
2325 if (PyErr_Occurred()) SWIG_fail
;
2327 resultobj
= SWIG_FromInt((int)result
);
2334 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2335 PyObject
*resultobj
;
2336 wxSize
*arg1
= (wxSize
*) 0 ;
2338 PyObject
* obj0
= 0 ;
2340 (char *) "self", NULL
2343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2348 result
= (PyObject
*)wxSize_Get(arg1
);
2350 wxPyEndAllowThreads(__tstate
);
2351 if (PyErr_Occurred()) SWIG_fail
;
2360 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
2362 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2363 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2365 return Py_BuildValue((char *)"");
2367 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2368 PyObject
*resultobj
;
2369 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2371 PyObject
* obj0
= 0 ;
2372 PyObject
* obj1
= 0 ;
2374 (char *) "self",(char *) "x", NULL
2377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2380 arg2
= (double) SWIG_AsDouble(obj1
);
2381 if (PyErr_Occurred()) SWIG_fail
;
2382 if (arg1
) (arg1
)->x
= arg2
;
2384 Py_INCREF(Py_None
); resultobj
= Py_None
;
2391 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2392 PyObject
*resultobj
;
2393 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2395 PyObject
* obj0
= 0 ;
2397 (char *) "self", NULL
2400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2403 result
= (double) ((arg1
)->x
);
2405 resultobj
= SWIG_FromDouble((double)result
);
2412 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2413 PyObject
*resultobj
;
2414 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2416 PyObject
* obj0
= 0 ;
2417 PyObject
* obj1
= 0 ;
2419 (char *) "self",(char *) "y", NULL
2422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2425 arg2
= (double) SWIG_AsDouble(obj1
);
2426 if (PyErr_Occurred()) SWIG_fail
;
2427 if (arg1
) (arg1
)->y
= arg2
;
2429 Py_INCREF(Py_None
); resultobj
= Py_None
;
2436 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2437 PyObject
*resultobj
;
2438 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2440 PyObject
* obj0
= 0 ;
2442 (char *) "self", NULL
2445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2448 result
= (double) ((arg1
)->y
);
2450 resultobj
= SWIG_FromDouble((double)result
);
2457 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2458 PyObject
*resultobj
;
2459 double arg1
= (double) 0.0 ;
2460 double arg2
= (double) 0.0 ;
2461 wxRealPoint
*result
;
2462 PyObject
* obj0
= 0 ;
2463 PyObject
* obj1
= 0 ;
2465 (char *) "x",(char *) "y", NULL
2468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2470 arg1
= (double) SWIG_AsDouble(obj0
);
2471 if (PyErr_Occurred()) SWIG_fail
;
2474 arg2
= (double) SWIG_AsDouble(obj1
);
2475 if (PyErr_Occurred()) SWIG_fail
;
2478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2479 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2481 wxPyEndAllowThreads(__tstate
);
2482 if (PyErr_Occurred()) SWIG_fail
;
2484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2491 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2492 PyObject
*resultobj
;
2493 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2494 PyObject
* obj0
= 0 ;
2496 (char *) "self", NULL
2499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2506 wxPyEndAllowThreads(__tstate
);
2507 if (PyErr_Occurred()) SWIG_fail
;
2509 Py_INCREF(Py_None
); resultobj
= Py_None
;
2516 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2517 PyObject
*resultobj
;
2518 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2519 wxRealPoint
*arg2
= 0 ;
2522 PyObject
* obj0
= 0 ;
2523 PyObject
* obj1
= 0 ;
2525 (char *) "self",(char *) "pt", NULL
2528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2533 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2537 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2539 wxPyEndAllowThreads(__tstate
);
2540 if (PyErr_Occurred()) SWIG_fail
;
2543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2551 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2552 PyObject
*resultobj
;
2553 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2554 wxRealPoint
*arg2
= 0 ;
2557 PyObject
* obj0
= 0 ;
2558 PyObject
* obj1
= 0 ;
2560 (char *) "self",(char *) "pt", NULL
2563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2568 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2572 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2574 wxPyEndAllowThreads(__tstate
);
2575 if (PyErr_Occurred()) SWIG_fail
;
2578 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2586 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2587 PyObject
*resultobj
;
2588 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2589 wxRealPoint
*arg2
= 0 ;
2592 PyObject
* obj0
= 0 ;
2593 PyObject
* obj1
= 0 ;
2595 (char *) "self",(char *) "pt", NULL
2598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2603 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2607 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2609 wxPyEndAllowThreads(__tstate
);
2610 if (PyErr_Occurred()) SWIG_fail
;
2613 wxRealPoint
* resultptr
;
2614 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2615 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2623 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2624 PyObject
*resultobj
;
2625 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2626 wxRealPoint
*arg2
= 0 ;
2629 PyObject
* obj0
= 0 ;
2630 PyObject
* obj1
= 0 ;
2632 (char *) "self",(char *) "pt", NULL
2635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2640 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2644 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2646 wxPyEndAllowThreads(__tstate
);
2647 if (PyErr_Occurred()) SWIG_fail
;
2650 wxRealPoint
* resultptr
;
2651 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2652 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2660 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2661 PyObject
*resultobj
;
2662 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2665 PyObject
* obj0
= 0 ;
2666 PyObject
* obj1
= 0 ;
2667 PyObject
* obj2
= 0 ;
2669 (char *) "self",(char *) "x",(char *) "y", NULL
2672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2675 arg2
= (double) SWIG_AsDouble(obj1
);
2676 if (PyErr_Occurred()) SWIG_fail
;
2677 arg3
= (double) SWIG_AsDouble(obj2
);
2678 if (PyErr_Occurred()) SWIG_fail
;
2680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2681 wxRealPoint_Set(arg1
,arg2
,arg3
);
2683 wxPyEndAllowThreads(__tstate
);
2684 if (PyErr_Occurred()) SWIG_fail
;
2686 Py_INCREF(Py_None
); resultobj
= Py_None
;
2693 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2694 PyObject
*resultobj
;
2695 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2697 PyObject
* obj0
= 0 ;
2699 (char *) "self", NULL
2702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
2703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2707 result
= (PyObject
*)wxRealPoint_Get(arg1
);
2709 wxPyEndAllowThreads(__tstate
);
2710 if (PyErr_Occurred()) SWIG_fail
;
2719 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
2721 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2722 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2724 return Py_BuildValue((char *)"");
2726 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2727 PyObject
*resultobj
;
2728 wxPoint
*arg1
= (wxPoint
*) 0 ;
2730 PyObject
* obj0
= 0 ;
2731 PyObject
* obj1
= 0 ;
2733 (char *) "self",(char *) "x", NULL
2736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2739 arg2
= (int) SWIG_AsInt(obj1
);
2740 if (PyErr_Occurred()) SWIG_fail
;
2741 if (arg1
) (arg1
)->x
= arg2
;
2743 Py_INCREF(Py_None
); resultobj
= Py_None
;
2750 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2751 PyObject
*resultobj
;
2752 wxPoint
*arg1
= (wxPoint
*) 0 ;
2754 PyObject
* obj0
= 0 ;
2756 (char *) "self", NULL
2759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2762 result
= (int) ((arg1
)->x
);
2764 resultobj
= SWIG_FromInt((int)result
);
2771 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2772 PyObject
*resultobj
;
2773 wxPoint
*arg1
= (wxPoint
*) 0 ;
2775 PyObject
* obj0
= 0 ;
2776 PyObject
* obj1
= 0 ;
2778 (char *) "self",(char *) "y", NULL
2781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2784 arg2
= (int) SWIG_AsInt(obj1
);
2785 if (PyErr_Occurred()) SWIG_fail
;
2786 if (arg1
) (arg1
)->y
= arg2
;
2788 Py_INCREF(Py_None
); resultobj
= Py_None
;
2795 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2796 PyObject
*resultobj
;
2797 wxPoint
*arg1
= (wxPoint
*) 0 ;
2799 PyObject
* obj0
= 0 ;
2801 (char *) "self", NULL
2804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2807 result
= (int) ((arg1
)->y
);
2809 resultobj
= SWIG_FromInt((int)result
);
2816 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2817 PyObject
*resultobj
;
2818 int arg1
= (int) 0 ;
2819 int arg2
= (int) 0 ;
2821 PyObject
* obj0
= 0 ;
2822 PyObject
* obj1
= 0 ;
2824 (char *) "x",(char *) "y", NULL
2827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
2829 arg1
= (int) SWIG_AsInt(obj0
);
2830 if (PyErr_Occurred()) SWIG_fail
;
2833 arg2
= (int) SWIG_AsInt(obj1
);
2834 if (PyErr_Occurred()) SWIG_fail
;
2837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2838 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2840 wxPyEndAllowThreads(__tstate
);
2841 if (PyErr_Occurred()) SWIG_fail
;
2843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
2850 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2851 PyObject
*resultobj
;
2852 wxPoint
*arg1
= (wxPoint
*) 0 ;
2853 PyObject
* obj0
= 0 ;
2855 (char *) "self", NULL
2858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
2859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2865 wxPyEndAllowThreads(__tstate
);
2866 if (PyErr_Occurred()) SWIG_fail
;
2868 Py_INCREF(Py_None
); resultobj
= Py_None
;
2875 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2876 PyObject
*resultobj
;
2877 wxPoint
*arg1
= (wxPoint
*) 0 ;
2881 PyObject
* obj0
= 0 ;
2882 PyObject
* obj1
= 0 ;
2884 (char *) "self",(char *) "pt", NULL
2887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2892 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2896 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
2898 wxPyEndAllowThreads(__tstate
);
2899 if (PyErr_Occurred()) SWIG_fail
;
2902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2910 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2911 PyObject
*resultobj
;
2912 wxPoint
*arg1
= (wxPoint
*) 0 ;
2916 PyObject
* obj0
= 0 ;
2917 PyObject
* obj1
= 0 ;
2919 (char *) "self",(char *) "pt", NULL
2922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2927 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2931 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
2933 wxPyEndAllowThreads(__tstate
);
2934 if (PyErr_Occurred()) SWIG_fail
;
2937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2945 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2946 PyObject
*resultobj
;
2947 wxPoint
*arg1
= (wxPoint
*) 0 ;
2951 PyObject
* obj0
= 0 ;
2952 PyObject
* obj1
= 0 ;
2954 (char *) "self",(char *) "pt", NULL
2957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2962 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2966 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
2968 wxPyEndAllowThreads(__tstate
);
2969 if (PyErr_Occurred()) SWIG_fail
;
2972 wxPoint
* resultptr
;
2973 resultptr
= new wxPoint((wxPoint
&) result
);
2974 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2982 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2983 PyObject
*resultobj
;
2984 wxPoint
*arg1
= (wxPoint
*) 0 ;
2988 PyObject
* obj0
= 0 ;
2989 PyObject
* obj1
= 0 ;
2991 (char *) "self",(char *) "pt", NULL
2994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2999 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3003 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
3005 wxPyEndAllowThreads(__tstate
);
3006 if (PyErr_Occurred()) SWIG_fail
;
3009 wxPoint
* resultptr
;
3010 resultptr
= new wxPoint((wxPoint
&) result
);
3011 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3019 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3020 PyObject
*resultobj
;
3021 wxPoint
*arg1
= (wxPoint
*) 0 ;
3025 PyObject
* obj0
= 0 ;
3026 PyObject
* obj1
= 0 ;
3028 (char *) "self",(char *) "pt", NULL
3031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3036 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3041 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3042 result
= (wxPoint
*) &_result_ref
;
3045 wxPyEndAllowThreads(__tstate
);
3046 if (PyErr_Occurred()) SWIG_fail
;
3048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3055 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3056 PyObject
*resultobj
;
3057 wxPoint
*arg1
= (wxPoint
*) 0 ;
3061 PyObject
* obj0
= 0 ;
3062 PyObject
* obj1
= 0 ;
3064 (char *) "self",(char *) "pt", NULL
3067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3072 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3077 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3078 result
= (wxPoint
*) &_result_ref
;
3081 wxPyEndAllowThreads(__tstate
);
3082 if (PyErr_Occurred()) SWIG_fail
;
3084 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3091 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3092 PyObject
*resultobj
;
3093 wxPoint
*arg1
= (wxPoint
*) 0 ;
3096 PyObject
* obj0
= 0 ;
3097 PyObject
* obj1
= 0 ;
3098 PyObject
* obj2
= 0 ;
3100 (char *) "self",(char *) "x",(char *) "y", NULL
3103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3106 arg2
= (long) SWIG_AsLong(obj1
);
3107 if (PyErr_Occurred()) SWIG_fail
;
3108 arg3
= (long) SWIG_AsLong(obj2
);
3109 if (PyErr_Occurred()) SWIG_fail
;
3111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3112 wxPoint_Set(arg1
,arg2
,arg3
);
3114 wxPyEndAllowThreads(__tstate
);
3115 if (PyErr_Occurred()) SWIG_fail
;
3117 Py_INCREF(Py_None
); resultobj
= Py_None
;
3124 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3125 PyObject
*resultobj
;
3126 wxPoint
*arg1
= (wxPoint
*) 0 ;
3128 PyObject
* obj0
= 0 ;
3130 (char *) "self", NULL
3133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3138 result
= (PyObject
*)wxPoint_Get(arg1
);
3140 wxPyEndAllowThreads(__tstate
);
3141 if (PyErr_Occurred()) SWIG_fail
;
3150 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
3152 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3153 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3155 return Py_BuildValue((char *)"");
3157 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3158 PyObject
*resultobj
;
3159 int arg1
= (int) 0 ;
3160 int arg2
= (int) 0 ;
3161 int arg3
= (int) 0 ;
3162 int arg4
= (int) 0 ;
3164 PyObject
* obj0
= 0 ;
3165 PyObject
* obj1
= 0 ;
3166 PyObject
* obj2
= 0 ;
3167 PyObject
* obj3
= 0 ;
3169 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3174 arg1
= (int) SWIG_AsInt(obj0
);
3175 if (PyErr_Occurred()) SWIG_fail
;
3178 arg2
= (int) SWIG_AsInt(obj1
);
3179 if (PyErr_Occurred()) SWIG_fail
;
3182 arg3
= (int) SWIG_AsInt(obj2
);
3183 if (PyErr_Occurred()) SWIG_fail
;
3186 arg4
= (int) SWIG_AsInt(obj3
);
3187 if (PyErr_Occurred()) SWIG_fail
;
3190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3191 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3193 wxPyEndAllowThreads(__tstate
);
3194 if (PyErr_Occurred()) SWIG_fail
;
3196 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3203 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3204 PyObject
*resultobj
;
3210 PyObject
* obj0
= 0 ;
3211 PyObject
* obj1
= 0 ;
3213 (char *) "topLeft",(char *) "bottomRight", NULL
3216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3219 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3223 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3227 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3229 wxPyEndAllowThreads(__tstate
);
3230 if (PyErr_Occurred()) SWIG_fail
;
3232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3239 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3240 PyObject
*resultobj
;
3246 PyObject
* obj0
= 0 ;
3247 PyObject
* obj1
= 0 ;
3249 (char *) "pos",(char *) "size", NULL
3252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3255 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3259 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3263 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3265 wxPyEndAllowThreads(__tstate
);
3266 if (PyErr_Occurred()) SWIG_fail
;
3268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3275 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3276 PyObject
*resultobj
;
3277 wxRect
*arg1
= (wxRect
*) 0 ;
3278 PyObject
* obj0
= 0 ;
3280 (char *) "self", NULL
3283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3290 wxPyEndAllowThreads(__tstate
);
3291 if (PyErr_Occurred()) SWIG_fail
;
3293 Py_INCREF(Py_None
); resultobj
= Py_None
;
3300 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3301 PyObject
*resultobj
;
3302 wxRect
*arg1
= (wxRect
*) 0 ;
3304 PyObject
* obj0
= 0 ;
3306 (char *) "self", NULL
3309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3314 result
= (int)((wxRect
const *)arg1
)->GetX();
3316 wxPyEndAllowThreads(__tstate
);
3317 if (PyErr_Occurred()) SWIG_fail
;
3319 resultobj
= SWIG_FromInt((int)result
);
3326 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3327 PyObject
*resultobj
;
3328 wxRect
*arg1
= (wxRect
*) 0 ;
3330 PyObject
* obj0
= 0 ;
3331 PyObject
* obj1
= 0 ;
3333 (char *) "self",(char *) "x", NULL
3336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3339 arg2
= (int) SWIG_AsInt(obj1
);
3340 if (PyErr_Occurred()) SWIG_fail
;
3342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3345 wxPyEndAllowThreads(__tstate
);
3346 if (PyErr_Occurred()) SWIG_fail
;
3348 Py_INCREF(Py_None
); resultobj
= Py_None
;
3355 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3356 PyObject
*resultobj
;
3357 wxRect
*arg1
= (wxRect
*) 0 ;
3359 PyObject
* obj0
= 0 ;
3361 (char *) "self", NULL
3364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3369 result
= (int)(arg1
)->GetY();
3371 wxPyEndAllowThreads(__tstate
);
3372 if (PyErr_Occurred()) SWIG_fail
;
3374 resultobj
= SWIG_FromInt((int)result
);
3381 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3382 PyObject
*resultobj
;
3383 wxRect
*arg1
= (wxRect
*) 0 ;
3385 PyObject
* obj0
= 0 ;
3386 PyObject
* obj1
= 0 ;
3388 (char *) "self",(char *) "y", NULL
3391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3394 arg2
= (int) SWIG_AsInt(obj1
);
3395 if (PyErr_Occurred()) SWIG_fail
;
3397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3400 wxPyEndAllowThreads(__tstate
);
3401 if (PyErr_Occurred()) SWIG_fail
;
3403 Py_INCREF(Py_None
); resultobj
= Py_None
;
3410 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3411 PyObject
*resultobj
;
3412 wxRect
*arg1
= (wxRect
*) 0 ;
3414 PyObject
* obj0
= 0 ;
3416 (char *) "self", NULL
3419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3424 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3426 wxPyEndAllowThreads(__tstate
);
3427 if (PyErr_Occurred()) SWIG_fail
;
3429 resultobj
= SWIG_FromInt((int)result
);
3436 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3437 PyObject
*resultobj
;
3438 wxRect
*arg1
= (wxRect
*) 0 ;
3440 PyObject
* obj0
= 0 ;
3441 PyObject
* obj1
= 0 ;
3443 (char *) "self",(char *) "w", NULL
3446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3449 arg2
= (int) SWIG_AsInt(obj1
);
3450 if (PyErr_Occurred()) SWIG_fail
;
3452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3453 (arg1
)->SetWidth(arg2
);
3455 wxPyEndAllowThreads(__tstate
);
3456 if (PyErr_Occurred()) SWIG_fail
;
3458 Py_INCREF(Py_None
); resultobj
= Py_None
;
3465 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3466 PyObject
*resultobj
;
3467 wxRect
*arg1
= (wxRect
*) 0 ;
3469 PyObject
* obj0
= 0 ;
3471 (char *) "self", NULL
3474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3479 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3481 wxPyEndAllowThreads(__tstate
);
3482 if (PyErr_Occurred()) SWIG_fail
;
3484 resultobj
= SWIG_FromInt((int)result
);
3491 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3492 PyObject
*resultobj
;
3493 wxRect
*arg1
= (wxRect
*) 0 ;
3495 PyObject
* obj0
= 0 ;
3496 PyObject
* obj1
= 0 ;
3498 (char *) "self",(char *) "h", NULL
3501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3504 arg2
= (int) SWIG_AsInt(obj1
);
3505 if (PyErr_Occurred()) SWIG_fail
;
3507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3508 (arg1
)->SetHeight(arg2
);
3510 wxPyEndAllowThreads(__tstate
);
3511 if (PyErr_Occurred()) SWIG_fail
;
3513 Py_INCREF(Py_None
); resultobj
= Py_None
;
3520 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3521 PyObject
*resultobj
;
3522 wxRect
*arg1
= (wxRect
*) 0 ;
3524 PyObject
* obj0
= 0 ;
3526 (char *) "self", NULL
3529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3534 result
= ((wxRect
const *)arg1
)->GetPosition();
3536 wxPyEndAllowThreads(__tstate
);
3537 if (PyErr_Occurred()) SWIG_fail
;
3540 wxPoint
* resultptr
;
3541 resultptr
= new wxPoint((wxPoint
&) result
);
3542 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3550 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3551 PyObject
*resultobj
;
3552 wxRect
*arg1
= (wxRect
*) 0 ;
3555 PyObject
* obj0
= 0 ;
3556 PyObject
* obj1
= 0 ;
3558 (char *) "self",(char *) "p", NULL
3561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3566 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3570 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3572 wxPyEndAllowThreads(__tstate
);
3573 if (PyErr_Occurred()) SWIG_fail
;
3575 Py_INCREF(Py_None
); resultobj
= Py_None
;
3582 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3583 PyObject
*resultobj
;
3584 wxRect
*arg1
= (wxRect
*) 0 ;
3586 PyObject
* obj0
= 0 ;
3588 (char *) "self", NULL
3591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3596 result
= ((wxRect
const *)arg1
)->GetSize();
3598 wxPyEndAllowThreads(__tstate
);
3599 if (PyErr_Occurred()) SWIG_fail
;
3603 resultptr
= new wxSize((wxSize
&) result
);
3604 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3612 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3613 PyObject
*resultobj
;
3614 wxRect
*arg1
= (wxRect
*) 0 ;
3617 PyObject
* obj0
= 0 ;
3618 PyObject
* obj1
= 0 ;
3620 (char *) "self",(char *) "s", NULL
3623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3628 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3632 (arg1
)->SetSize((wxSize
const &)*arg2
);
3634 wxPyEndAllowThreads(__tstate
);
3635 if (PyErr_Occurred()) SWIG_fail
;
3637 Py_INCREF(Py_None
); resultobj
= Py_None
;
3644 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3645 PyObject
*resultobj
;
3646 wxRect
*arg1
= (wxRect
*) 0 ;
3648 PyObject
* obj0
= 0 ;
3650 (char *) "self", NULL
3653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
3654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3658 result
= ((wxRect
const *)arg1
)->GetTopLeft();
3660 wxPyEndAllowThreads(__tstate
);
3661 if (PyErr_Occurred()) SWIG_fail
;
3664 wxPoint
* resultptr
;
3665 resultptr
= new wxPoint((wxPoint
&) result
);
3666 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3674 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3675 PyObject
*resultobj
;
3676 wxRect
*arg1
= (wxRect
*) 0 ;
3679 PyObject
* obj0
= 0 ;
3680 PyObject
* obj1
= 0 ;
3682 (char *) "self",(char *) "p", NULL
3685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3690 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3694 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
3696 wxPyEndAllowThreads(__tstate
);
3697 if (PyErr_Occurred()) SWIG_fail
;
3699 Py_INCREF(Py_None
); resultobj
= Py_None
;
3706 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3707 PyObject
*resultobj
;
3708 wxRect
*arg1
= (wxRect
*) 0 ;
3710 PyObject
* obj0
= 0 ;
3712 (char *) "self", NULL
3715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
3716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3720 result
= ((wxRect
const *)arg1
)->GetBottomRight();
3722 wxPyEndAllowThreads(__tstate
);
3723 if (PyErr_Occurred()) SWIG_fail
;
3726 wxPoint
* resultptr
;
3727 resultptr
= new wxPoint((wxPoint
&) result
);
3728 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3736 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3737 PyObject
*resultobj
;
3738 wxRect
*arg1
= (wxRect
*) 0 ;
3741 PyObject
* obj0
= 0 ;
3742 PyObject
* obj1
= 0 ;
3744 (char *) "self",(char *) "p", NULL
3747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3752 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3756 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
3758 wxPyEndAllowThreads(__tstate
);
3759 if (PyErr_Occurred()) SWIG_fail
;
3761 Py_INCREF(Py_None
); resultobj
= Py_None
;
3768 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3769 PyObject
*resultobj
;
3770 wxRect
*arg1
= (wxRect
*) 0 ;
3772 PyObject
* obj0
= 0 ;
3774 (char *) "self", NULL
3777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3782 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3784 wxPyEndAllowThreads(__tstate
);
3785 if (PyErr_Occurred()) SWIG_fail
;
3787 resultobj
= SWIG_FromInt((int)result
);
3794 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3795 PyObject
*resultobj
;
3796 wxRect
*arg1
= (wxRect
*) 0 ;
3798 PyObject
* obj0
= 0 ;
3800 (char *) "self", NULL
3803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3808 result
= (int)((wxRect
const *)arg1
)->GetTop();
3810 wxPyEndAllowThreads(__tstate
);
3811 if (PyErr_Occurred()) SWIG_fail
;
3813 resultobj
= SWIG_FromInt((int)result
);
3820 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3821 PyObject
*resultobj
;
3822 wxRect
*arg1
= (wxRect
*) 0 ;
3824 PyObject
* obj0
= 0 ;
3826 (char *) "self", NULL
3829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3834 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3836 wxPyEndAllowThreads(__tstate
);
3837 if (PyErr_Occurred()) SWIG_fail
;
3839 resultobj
= SWIG_FromInt((int)result
);
3846 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3847 PyObject
*resultobj
;
3848 wxRect
*arg1
= (wxRect
*) 0 ;
3850 PyObject
* obj0
= 0 ;
3852 (char *) "self", NULL
3855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
3856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3860 result
= (int)((wxRect
const *)arg1
)->GetRight();
3862 wxPyEndAllowThreads(__tstate
);
3863 if (PyErr_Occurred()) SWIG_fail
;
3865 resultobj
= SWIG_FromInt((int)result
);
3872 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3873 PyObject
*resultobj
;
3874 wxRect
*arg1
= (wxRect
*) 0 ;
3876 PyObject
* obj0
= 0 ;
3877 PyObject
* obj1
= 0 ;
3879 (char *) "self",(char *) "left", NULL
3882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3885 arg2
= (int) SWIG_AsInt(obj1
);
3886 if (PyErr_Occurred()) SWIG_fail
;
3888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3889 (arg1
)->SetLeft(arg2
);
3891 wxPyEndAllowThreads(__tstate
);
3892 if (PyErr_Occurred()) SWIG_fail
;
3894 Py_INCREF(Py_None
); resultobj
= Py_None
;
3901 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3902 PyObject
*resultobj
;
3903 wxRect
*arg1
= (wxRect
*) 0 ;
3905 PyObject
* obj0
= 0 ;
3906 PyObject
* obj1
= 0 ;
3908 (char *) "self",(char *) "right", NULL
3911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3914 arg2
= (int) SWIG_AsInt(obj1
);
3915 if (PyErr_Occurred()) SWIG_fail
;
3917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3918 (arg1
)->SetRight(arg2
);
3920 wxPyEndAllowThreads(__tstate
);
3921 if (PyErr_Occurred()) SWIG_fail
;
3923 Py_INCREF(Py_None
); resultobj
= Py_None
;
3930 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3931 PyObject
*resultobj
;
3932 wxRect
*arg1
= (wxRect
*) 0 ;
3934 PyObject
* obj0
= 0 ;
3935 PyObject
* obj1
= 0 ;
3937 (char *) "self",(char *) "top", NULL
3940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
3941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3943 arg2
= (int) SWIG_AsInt(obj1
);
3944 if (PyErr_Occurred()) SWIG_fail
;
3946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3947 (arg1
)->SetTop(arg2
);
3949 wxPyEndAllowThreads(__tstate
);
3950 if (PyErr_Occurred()) SWIG_fail
;
3952 Py_INCREF(Py_None
); resultobj
= Py_None
;
3959 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3960 PyObject
*resultobj
;
3961 wxRect
*arg1
= (wxRect
*) 0 ;
3963 PyObject
* obj0
= 0 ;
3964 PyObject
* obj1
= 0 ;
3966 (char *) "self",(char *) "bottom", NULL
3969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
3970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3972 arg2
= (int) SWIG_AsInt(obj1
);
3973 if (PyErr_Occurred()) SWIG_fail
;
3975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3976 (arg1
)->SetBottom(arg2
);
3978 wxPyEndAllowThreads(__tstate
);
3979 if (PyErr_Occurred()) SWIG_fail
;
3981 Py_INCREF(Py_None
); resultobj
= Py_None
;
3988 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3989 PyObject
*resultobj
;
3990 wxRect
*arg1
= (wxRect
*) 0 ;
3994 PyObject
* obj0
= 0 ;
3995 PyObject
* obj1
= 0 ;
3996 PyObject
* obj2
= 0 ;
3998 (char *) "self",(char *) "dx",(char *) "dy", NULL
4001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4004 arg2
= (int) SWIG_AsInt(obj1
);
4005 if (PyErr_Occurred()) SWIG_fail
;
4006 arg3
= (int) SWIG_AsInt(obj2
);
4007 if (PyErr_Occurred()) SWIG_fail
;
4009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4011 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
4012 result
= (wxRect
*) &_result_ref
;
4015 wxPyEndAllowThreads(__tstate
);
4016 if (PyErr_Occurred()) SWIG_fail
;
4018 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4025 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4026 PyObject
*resultobj
;
4027 wxRect
*arg1
= (wxRect
*) 0 ;
4031 PyObject
* obj0
= 0 ;
4032 PyObject
* obj1
= 0 ;
4033 PyObject
* obj2
= 0 ;
4035 (char *) "self",(char *) "dx",(char *) "dy", NULL
4038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4041 arg2
= (int) SWIG_AsInt(obj1
);
4042 if (PyErr_Occurred()) SWIG_fail
;
4043 arg3
= (int) SWIG_AsInt(obj2
);
4044 if (PyErr_Occurred()) SWIG_fail
;
4046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4048 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4049 result
= (wxRect
*) &_result_ref
;
4052 wxPyEndAllowThreads(__tstate
);
4053 if (PyErr_Occurred()) SWIG_fail
;
4055 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4062 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4063 PyObject
*resultobj
;
4064 wxRect
*arg1
= (wxRect
*) 0 ;
4067 PyObject
* obj0
= 0 ;
4068 PyObject
* obj1
= 0 ;
4069 PyObject
* obj2
= 0 ;
4071 (char *) "self",(char *) "dx",(char *) "dy", NULL
4074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4077 arg2
= (int) SWIG_AsInt(obj1
);
4078 if (PyErr_Occurred()) SWIG_fail
;
4079 arg3
= (int) SWIG_AsInt(obj2
);
4080 if (PyErr_Occurred()) SWIG_fail
;
4082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4083 (arg1
)->Offset(arg2
,arg3
);
4085 wxPyEndAllowThreads(__tstate
);
4086 if (PyErr_Occurred()) SWIG_fail
;
4088 Py_INCREF(Py_None
); resultobj
= Py_None
;
4095 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4096 PyObject
*resultobj
;
4097 wxRect
*arg1
= (wxRect
*) 0 ;
4100 PyObject
* obj0
= 0 ;
4101 PyObject
* obj1
= 0 ;
4103 (char *) "self",(char *) "pt", NULL
4106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4111 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4115 (arg1
)->Offset((wxPoint
const &)*arg2
);
4117 wxPyEndAllowThreads(__tstate
);
4118 if (PyErr_Occurred()) SWIG_fail
;
4120 Py_INCREF(Py_None
); resultobj
= Py_None
;
4127 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4128 PyObject
*resultobj
;
4129 wxRect
*arg1
= (wxRect
*) 0 ;
4133 PyObject
* obj0
= 0 ;
4134 PyObject
* obj1
= 0 ;
4136 (char *) "self",(char *) "rect", NULL
4139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4144 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4149 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4150 result
= (wxRect
*) &_result_ref
;
4153 wxPyEndAllowThreads(__tstate
);
4154 if (PyErr_Occurred()) SWIG_fail
;
4156 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4163 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4164 PyObject
*resultobj
;
4165 wxRect
*arg1
= (wxRect
*) 0 ;
4169 PyObject
* obj0
= 0 ;
4170 PyObject
* obj1
= 0 ;
4172 (char *) "self",(char *) "rect", NULL
4175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4180 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4184 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4186 wxPyEndAllowThreads(__tstate
);
4187 if (PyErr_Occurred()) SWIG_fail
;
4191 resultptr
= new wxRect((wxRect
&) result
);
4192 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4200 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4201 PyObject
*resultobj
;
4202 wxRect
*arg1
= (wxRect
*) 0 ;
4206 PyObject
* obj0
= 0 ;
4207 PyObject
* obj1
= 0 ;
4209 (char *) "self",(char *) "rect", NULL
4212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4217 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4222 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4223 result
= (wxRect
*) &_result_ref
;
4226 wxPyEndAllowThreads(__tstate
);
4227 if (PyErr_Occurred()) SWIG_fail
;
4229 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4236 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4237 PyObject
*resultobj
;
4238 wxRect
*arg1
= (wxRect
*) 0 ;
4242 PyObject
* obj0
= 0 ;
4243 PyObject
* obj1
= 0 ;
4245 (char *) "self",(char *) "rect", NULL
4248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4253 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4257 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4259 wxPyEndAllowThreads(__tstate
);
4260 if (PyErr_Occurred()) SWIG_fail
;
4263 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4271 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4272 PyObject
*resultobj
;
4273 wxRect
*arg1
= (wxRect
*) 0 ;
4277 PyObject
* obj0
= 0 ;
4278 PyObject
* obj1
= 0 ;
4280 (char *) "self",(char *) "rect", NULL
4283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4288 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4292 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4294 wxPyEndAllowThreads(__tstate
);
4295 if (PyErr_Occurred()) SWIG_fail
;
4298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4306 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4307 PyObject
*resultobj
;
4308 wxRect
*arg1
= (wxRect
*) 0 ;
4312 PyObject
* obj0
= 0 ;
4313 PyObject
* obj1
= 0 ;
4314 PyObject
* obj2
= 0 ;
4316 (char *) "self",(char *) "x",(char *) "y", NULL
4319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4322 arg2
= (int) SWIG_AsInt(obj1
);
4323 if (PyErr_Occurred()) SWIG_fail
;
4324 arg3
= (int) SWIG_AsInt(obj2
);
4325 if (PyErr_Occurred()) SWIG_fail
;
4327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4328 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4330 wxPyEndAllowThreads(__tstate
);
4331 if (PyErr_Occurred()) SWIG_fail
;
4334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4342 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4343 PyObject
*resultobj
;
4344 wxRect
*arg1
= (wxRect
*) 0 ;
4348 PyObject
* obj0
= 0 ;
4349 PyObject
* obj1
= 0 ;
4351 (char *) "self",(char *) "pt", NULL
4354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4359 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4363 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4365 wxPyEndAllowThreads(__tstate
);
4366 if (PyErr_Occurred()) SWIG_fail
;
4369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4377 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4378 PyObject
*resultobj
;
4379 wxRect
*arg1
= (wxRect
*) 0 ;
4383 PyObject
* obj0
= 0 ;
4384 PyObject
* obj1
= 0 ;
4386 (char *) "self",(char *) "rect", NULL
4389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4394 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4398 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4400 wxPyEndAllowThreads(__tstate
);
4401 if (PyErr_Occurred()) SWIG_fail
;
4404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4412 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4413 PyObject
*resultobj
;
4414 wxRect
*arg1
= (wxRect
*) 0 ;
4416 PyObject
* obj0
= 0 ;
4417 PyObject
* obj1
= 0 ;
4419 (char *) "self",(char *) "x", NULL
4422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4425 arg2
= (int) SWIG_AsInt(obj1
);
4426 if (PyErr_Occurred()) SWIG_fail
;
4427 if (arg1
) (arg1
)->x
= arg2
;
4429 Py_INCREF(Py_None
); resultobj
= Py_None
;
4436 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4437 PyObject
*resultobj
;
4438 wxRect
*arg1
= (wxRect
*) 0 ;
4440 PyObject
* obj0
= 0 ;
4442 (char *) "self", NULL
4445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4448 result
= (int) ((arg1
)->x
);
4450 resultobj
= SWIG_FromInt((int)result
);
4457 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4458 PyObject
*resultobj
;
4459 wxRect
*arg1
= (wxRect
*) 0 ;
4461 PyObject
* obj0
= 0 ;
4462 PyObject
* obj1
= 0 ;
4464 (char *) "self",(char *) "y", NULL
4467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4470 arg2
= (int) SWIG_AsInt(obj1
);
4471 if (PyErr_Occurred()) SWIG_fail
;
4472 if (arg1
) (arg1
)->y
= arg2
;
4474 Py_INCREF(Py_None
); resultobj
= Py_None
;
4481 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4482 PyObject
*resultobj
;
4483 wxRect
*arg1
= (wxRect
*) 0 ;
4485 PyObject
* obj0
= 0 ;
4487 (char *) "self", NULL
4490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4493 result
= (int) ((arg1
)->y
);
4495 resultobj
= SWIG_FromInt((int)result
);
4502 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4503 PyObject
*resultobj
;
4504 wxRect
*arg1
= (wxRect
*) 0 ;
4506 PyObject
* obj0
= 0 ;
4507 PyObject
* obj1
= 0 ;
4509 (char *) "self",(char *) "width", NULL
4512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4515 arg2
= (int) SWIG_AsInt(obj1
);
4516 if (PyErr_Occurred()) SWIG_fail
;
4517 if (arg1
) (arg1
)->width
= arg2
;
4519 Py_INCREF(Py_None
); resultobj
= Py_None
;
4526 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4527 PyObject
*resultobj
;
4528 wxRect
*arg1
= (wxRect
*) 0 ;
4530 PyObject
* obj0
= 0 ;
4532 (char *) "self", NULL
4535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4538 result
= (int) ((arg1
)->width
);
4540 resultobj
= SWIG_FromInt((int)result
);
4547 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4548 PyObject
*resultobj
;
4549 wxRect
*arg1
= (wxRect
*) 0 ;
4551 PyObject
* obj0
= 0 ;
4552 PyObject
* obj1
= 0 ;
4554 (char *) "self",(char *) "height", NULL
4557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4560 arg2
= (int) SWIG_AsInt(obj1
);
4561 if (PyErr_Occurred()) SWIG_fail
;
4562 if (arg1
) (arg1
)->height
= arg2
;
4564 Py_INCREF(Py_None
); resultobj
= Py_None
;
4571 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4572 PyObject
*resultobj
;
4573 wxRect
*arg1
= (wxRect
*) 0 ;
4575 PyObject
* obj0
= 0 ;
4577 (char *) "self", NULL
4580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4583 result
= (int) ((arg1
)->height
);
4585 resultobj
= SWIG_FromInt((int)result
);
4592 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4593 PyObject
*resultobj
;
4594 wxRect
*arg1
= (wxRect
*) 0 ;
4595 int arg2
= (int) 0 ;
4596 int arg3
= (int) 0 ;
4597 int arg4
= (int) 0 ;
4598 int arg5
= (int) 0 ;
4599 PyObject
* obj0
= 0 ;
4600 PyObject
* obj1
= 0 ;
4601 PyObject
* obj2
= 0 ;
4602 PyObject
* obj3
= 0 ;
4603 PyObject
* obj4
= 0 ;
4605 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4612 arg2
= (int) SWIG_AsInt(obj1
);
4613 if (PyErr_Occurred()) SWIG_fail
;
4616 arg3
= (int) SWIG_AsInt(obj2
);
4617 if (PyErr_Occurred()) SWIG_fail
;
4620 arg4
= (int) SWIG_AsInt(obj3
);
4621 if (PyErr_Occurred()) SWIG_fail
;
4624 arg5
= (int) SWIG_AsInt(obj4
);
4625 if (PyErr_Occurred()) SWIG_fail
;
4628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4629 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
4631 wxPyEndAllowThreads(__tstate
);
4632 if (PyErr_Occurred()) SWIG_fail
;
4634 Py_INCREF(Py_None
); resultobj
= Py_None
;
4641 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4642 PyObject
*resultobj
;
4643 wxRect
*arg1
= (wxRect
*) 0 ;
4645 PyObject
* obj0
= 0 ;
4647 (char *) "self", NULL
4650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
4651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4655 result
= (PyObject
*)wxRect_Get(arg1
);
4657 wxPyEndAllowThreads(__tstate
);
4658 if (PyErr_Occurred()) SWIG_fail
;
4667 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
4669 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4670 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
4672 return Py_BuildValue((char *)"");
4674 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4675 PyObject
*resultobj
;
4676 wxRect
*arg1
= (wxRect
*) 0 ;
4677 wxRect
*arg2
= (wxRect
*) 0 ;
4679 PyObject
* obj0
= 0 ;
4680 PyObject
* obj1
= 0 ;
4682 (char *) "r1",(char *) "r2", NULL
4685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4688 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
4689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4692 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
4694 wxPyEndAllowThreads(__tstate
);
4695 if (PyErr_Occurred()) SWIG_fail
;
4704 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4705 PyObject
*resultobj
;
4706 double arg1
= (double) 0.0 ;
4707 double arg2
= (double) 0.0 ;
4709 PyObject
* obj0
= 0 ;
4710 PyObject
* obj1
= 0 ;
4712 (char *) "x",(char *) "y", NULL
4715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
4717 arg1
= (double) SWIG_AsDouble(obj0
);
4718 if (PyErr_Occurred()) SWIG_fail
;
4721 arg2
= (double) SWIG_AsDouble(obj1
);
4722 if (PyErr_Occurred()) SWIG_fail
;
4725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4726 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
4728 wxPyEndAllowThreads(__tstate
);
4729 if (PyErr_Occurred()) SWIG_fail
;
4731 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4738 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4739 PyObject
*resultobj
;
4740 wxPoint2D
*arg1
= 0 ;
4743 PyObject
* obj0
= 0 ;
4748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
4751 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
4754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4755 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
4757 wxPyEndAllowThreads(__tstate
);
4758 if (PyErr_Occurred()) SWIG_fail
;
4760 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4767 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4768 PyObject
*resultobj
;
4772 PyObject
* obj0
= 0 ;
4777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
4780 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4784 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
4786 wxPyEndAllowThreads(__tstate
);
4787 if (PyErr_Occurred()) SWIG_fail
;
4789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4796 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4797 PyObject
*resultobj
;
4798 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4799 int *arg2
= (int *) 0 ;
4800 int *arg3
= (int *) 0 ;
4803 PyObject
* obj0
= 0 ;
4805 (char *) "self", NULL
4810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
4811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4815 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
4817 wxPyEndAllowThreads(__tstate
);
4818 if (PyErr_Occurred()) SWIG_fail
;
4820 Py_INCREF(Py_None
); resultobj
= Py_None
;
4822 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4823 resultobj
= t_output_helper(resultobj
,o
);
4826 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4827 resultobj
= t_output_helper(resultobj
,o
);
4835 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4836 PyObject
*resultobj
;
4837 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4838 int *arg2
= (int *) 0 ;
4839 int *arg3
= (int *) 0 ;
4842 PyObject
* obj0
= 0 ;
4844 (char *) "self", NULL
4849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
4850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4854 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
4856 wxPyEndAllowThreads(__tstate
);
4857 if (PyErr_Occurred()) SWIG_fail
;
4859 Py_INCREF(Py_None
); resultobj
= Py_None
;
4861 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4862 resultobj
= t_output_helper(resultobj
,o
);
4865 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4866 resultobj
= t_output_helper(resultobj
,o
);
4874 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4875 PyObject
*resultobj
;
4876 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4878 PyObject
* obj0
= 0 ;
4880 (char *) "self", NULL
4883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
4884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4888 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
4890 wxPyEndAllowThreads(__tstate
);
4891 if (PyErr_Occurred()) SWIG_fail
;
4893 resultobj
= SWIG_FromDouble((double)result
);
4900 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4901 PyObject
*resultobj
;
4902 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4904 PyObject
* obj0
= 0 ;
4906 (char *) "self", NULL
4909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
4910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4914 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
4916 wxPyEndAllowThreads(__tstate
);
4917 if (PyErr_Occurred()) SWIG_fail
;
4919 resultobj
= SWIG_FromDouble((double)result
);
4926 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4927 PyObject
*resultobj
;
4928 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4930 PyObject
* obj0
= 0 ;
4931 PyObject
* obj1
= 0 ;
4933 (char *) "self",(char *) "length", NULL
4936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
4937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4939 arg2
= (double) SWIG_AsDouble(obj1
);
4940 if (PyErr_Occurred()) SWIG_fail
;
4942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4943 (arg1
)->SetVectorLength(arg2
);
4945 wxPyEndAllowThreads(__tstate
);
4946 if (PyErr_Occurred()) SWIG_fail
;
4948 Py_INCREF(Py_None
); resultobj
= Py_None
;
4955 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4956 PyObject
*resultobj
;
4957 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4959 PyObject
* obj0
= 0 ;
4960 PyObject
* obj1
= 0 ;
4962 (char *) "self",(char *) "degrees", NULL
4965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
4966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4968 arg2
= (double) SWIG_AsDouble(obj1
);
4969 if (PyErr_Occurred()) SWIG_fail
;
4971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4972 (arg1
)->SetVectorAngle(arg2
);
4974 wxPyEndAllowThreads(__tstate
);
4975 if (PyErr_Occurred()) SWIG_fail
;
4977 Py_INCREF(Py_None
); resultobj
= Py_None
;
4984 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4985 PyObject
*resultobj
;
4986 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4987 wxPoint2D
*arg2
= 0 ;
4990 PyObject
* obj0
= 0 ;
4991 PyObject
* obj1
= 0 ;
4993 (char *) "self",(char *) "pt", NULL
4996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
4997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5001 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5005 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
5007 wxPyEndAllowThreads(__tstate
);
5008 if (PyErr_Occurred()) SWIG_fail
;
5010 resultobj
= SWIG_FromDouble((double)result
);
5017 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5018 PyObject
*resultobj
;
5019 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5020 wxPoint2D
*arg2
= 0 ;
5023 PyObject
* obj0
= 0 ;
5024 PyObject
* obj1
= 0 ;
5026 (char *) "self",(char *) "pt", NULL
5029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5034 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5038 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5040 wxPyEndAllowThreads(__tstate
);
5041 if (PyErr_Occurred()) SWIG_fail
;
5043 resultobj
= SWIG_FromDouble((double)result
);
5050 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5051 PyObject
*resultobj
;
5052 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5053 wxPoint2D
*arg2
= 0 ;
5056 PyObject
* obj0
= 0 ;
5057 PyObject
* obj1
= 0 ;
5059 (char *) "self",(char *) "vec", NULL
5062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5067 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5071 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5073 wxPyEndAllowThreads(__tstate
);
5074 if (PyErr_Occurred()) SWIG_fail
;
5076 resultobj
= SWIG_FromDouble((double)result
);
5083 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5084 PyObject
*resultobj
;
5085 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5086 wxPoint2D
*arg2
= 0 ;
5089 PyObject
* obj0
= 0 ;
5090 PyObject
* obj1
= 0 ;
5092 (char *) "self",(char *) "vec", NULL
5095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5100 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5104 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5106 wxPyEndAllowThreads(__tstate
);
5107 if (PyErr_Occurred()) SWIG_fail
;
5109 resultobj
= SWIG_FromDouble((double)result
);
5116 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5117 PyObject
*resultobj
;
5118 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5120 PyObject
* obj0
= 0 ;
5122 (char *) "self", NULL
5125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5130 result
= (arg1
)->operator -();
5132 wxPyEndAllowThreads(__tstate
);
5133 if (PyErr_Occurred()) SWIG_fail
;
5136 wxPoint2D
* resultptr
;
5137 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5138 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5146 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5147 PyObject
*resultobj
;
5148 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5149 wxPoint2D
*arg2
= 0 ;
5152 PyObject
* obj0
= 0 ;
5153 PyObject
* obj1
= 0 ;
5155 (char *) "self",(char *) "pt", NULL
5158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5163 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5168 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5169 result
= (wxPoint2D
*) &_result_ref
;
5172 wxPyEndAllowThreads(__tstate
);
5173 if (PyErr_Occurred()) SWIG_fail
;
5175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5182 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5183 PyObject
*resultobj
;
5184 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5185 wxPoint2D
*arg2
= 0 ;
5188 PyObject
* obj0
= 0 ;
5189 PyObject
* obj1
= 0 ;
5191 (char *) "self",(char *) "pt", NULL
5194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5199 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5204 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5205 result
= (wxPoint2D
*) &_result_ref
;
5208 wxPyEndAllowThreads(__tstate
);
5209 if (PyErr_Occurred()) SWIG_fail
;
5211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5218 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5219 PyObject
*resultobj
;
5220 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5221 wxPoint2D
*arg2
= 0 ;
5224 PyObject
* obj0
= 0 ;
5225 PyObject
* obj1
= 0 ;
5227 (char *) "self",(char *) "pt", NULL
5230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5235 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5240 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5241 result
= (wxPoint2D
*) &_result_ref
;
5244 wxPyEndAllowThreads(__tstate
);
5245 if (PyErr_Occurred()) SWIG_fail
;
5247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5254 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5255 PyObject
*resultobj
;
5256 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5257 wxPoint2D
*arg2
= 0 ;
5260 PyObject
* obj0
= 0 ;
5261 PyObject
* obj1
= 0 ;
5263 (char *) "self",(char *) "pt", NULL
5266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5271 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5276 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5277 result
= (wxPoint2D
*) &_result_ref
;
5280 wxPyEndAllowThreads(__tstate
);
5281 if (PyErr_Occurred()) SWIG_fail
;
5283 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5290 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5291 PyObject
*resultobj
;
5292 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5293 wxPoint2D
*arg2
= 0 ;
5296 PyObject
* obj0
= 0 ;
5297 PyObject
* obj1
= 0 ;
5299 (char *) "self",(char *) "pt", NULL
5302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5307 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5311 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5313 wxPyEndAllowThreads(__tstate
);
5314 if (PyErr_Occurred()) SWIG_fail
;
5317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5325 static PyObject
*_wrap_Point2D___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5326 PyObject
*resultobj
;
5327 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5328 wxPoint2D
*arg2
= 0 ;
5331 PyObject
* obj0
= 0 ;
5332 PyObject
* obj1
= 0 ;
5334 (char *) "self",(char *) "pt", NULL
5337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5342 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5346 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5348 wxPyEndAllowThreads(__tstate
);
5349 if (PyErr_Occurred()) SWIG_fail
;
5352 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5360 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5361 PyObject
*resultobj
;
5362 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5364 PyObject
* obj0
= 0 ;
5365 PyObject
* obj1
= 0 ;
5367 (char *) "self",(char *) "m_x", NULL
5370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5373 arg2
= (double) SWIG_AsDouble(obj1
);
5374 if (PyErr_Occurred()) SWIG_fail
;
5375 if (arg1
) (arg1
)->m_x
= arg2
;
5377 Py_INCREF(Py_None
); resultobj
= Py_None
;
5384 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5385 PyObject
*resultobj
;
5386 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5388 PyObject
* obj0
= 0 ;
5390 (char *) "self", NULL
5393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5396 result
= (double) ((arg1
)->m_x
);
5398 resultobj
= SWIG_FromDouble((double)result
);
5405 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5406 PyObject
*resultobj
;
5407 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5409 PyObject
* obj0
= 0 ;
5410 PyObject
* obj1
= 0 ;
5412 (char *) "self",(char *) "m_y", NULL
5415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5418 arg2
= (double) SWIG_AsDouble(obj1
);
5419 if (PyErr_Occurred()) SWIG_fail
;
5420 if (arg1
) (arg1
)->m_y
= arg2
;
5422 Py_INCREF(Py_None
); resultobj
= Py_None
;
5429 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5430 PyObject
*resultobj
;
5431 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5433 PyObject
* obj0
= 0 ;
5435 (char *) "self", NULL
5438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5441 result
= (double) ((arg1
)->m_y
);
5443 resultobj
= SWIG_FromDouble((double)result
);
5450 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5451 PyObject
*resultobj
;
5452 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5453 double arg2
= (double) 0 ;
5454 double arg3
= (double) 0 ;
5455 PyObject
* obj0
= 0 ;
5456 PyObject
* obj1
= 0 ;
5457 PyObject
* obj2
= 0 ;
5459 (char *) "self",(char *) "x",(char *) "y", NULL
5462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5466 arg2
= (double) SWIG_AsDouble(obj1
);
5467 if (PyErr_Occurred()) SWIG_fail
;
5470 arg3
= (double) SWIG_AsDouble(obj2
);
5471 if (PyErr_Occurred()) SWIG_fail
;
5474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5475 wxPoint2D_Set(arg1
,arg2
,arg3
);
5477 wxPyEndAllowThreads(__tstate
);
5478 if (PyErr_Occurred()) SWIG_fail
;
5480 Py_INCREF(Py_None
); resultobj
= Py_None
;
5487 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5488 PyObject
*resultobj
;
5489 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5491 PyObject
* obj0
= 0 ;
5493 (char *) "self", NULL
5496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5501 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5503 wxPyEndAllowThreads(__tstate
);
5504 if (PyErr_Occurred()) SWIG_fail
;
5513 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
5515 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5516 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5518 return Py_BuildValue((char *)"");
5520 static int _wrap_DefaultPosition_set(PyObject
*) {
5521 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5526 static PyObject
*_wrap_DefaultPosition_get() {
5529 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
5534 static int _wrap_DefaultSize_set(PyObject
*) {
5535 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5540 static PyObject
*_wrap_DefaultSize_get() {
5543 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
5548 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5549 PyObject
*resultobj
;
5550 PyObject
*arg1
= (PyObject
*) 0 ;
5551 wxPyInputStream
*result
;
5552 PyObject
* obj0
= 0 ;
5557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5561 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5563 wxPyEndAllowThreads(__tstate
);
5564 if (PyErr_Occurred()) SWIG_fail
;
5566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
5573 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5574 PyObject
*resultobj
;
5575 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5576 PyObject
* obj0
= 0 ;
5578 (char *) "self", NULL
5581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
5582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5588 wxPyEndAllowThreads(__tstate
);
5589 if (PyErr_Occurred()) SWIG_fail
;
5591 Py_INCREF(Py_None
); resultobj
= Py_None
;
5598 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5599 PyObject
*resultobj
;
5600 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5601 PyObject
* obj0
= 0 ;
5603 (char *) "self", NULL
5606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
5607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5613 wxPyEndAllowThreads(__tstate
);
5614 if (PyErr_Occurred()) SWIG_fail
;
5616 Py_INCREF(Py_None
); resultobj
= Py_None
;
5623 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5624 PyObject
*resultobj
;
5625 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5627 PyObject
* obj0
= 0 ;
5629 (char *) "self", NULL
5632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
5633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5637 result
= (bool)(arg1
)->eof();
5639 wxPyEndAllowThreads(__tstate
);
5640 if (PyErr_Occurred()) SWIG_fail
;
5643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5651 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5652 PyObject
*resultobj
;
5653 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5654 int arg2
= (int) -1 ;
5656 PyObject
* obj0
= 0 ;
5657 PyObject
* obj1
= 0 ;
5659 (char *) "self",(char *) "size", NULL
5662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
5663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5666 arg2
= (int) SWIG_AsInt(obj1
);
5667 if (PyErr_Occurred()) SWIG_fail
;
5670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5671 result
= (PyObject
*)(arg1
)->read(arg2
);
5673 wxPyEndAllowThreads(__tstate
);
5674 if (PyErr_Occurred()) SWIG_fail
;
5683 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5684 PyObject
*resultobj
;
5685 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5686 int arg2
= (int) -1 ;
5688 PyObject
* obj0
= 0 ;
5689 PyObject
* obj1
= 0 ;
5691 (char *) "self",(char *) "size", NULL
5694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
5695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5698 arg2
= (int) SWIG_AsInt(obj1
);
5699 if (PyErr_Occurred()) SWIG_fail
;
5702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5703 result
= (PyObject
*)(arg1
)->readline(arg2
);
5705 wxPyEndAllowThreads(__tstate
);
5706 if (PyErr_Occurred()) SWIG_fail
;
5715 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5716 PyObject
*resultobj
;
5717 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5718 int arg2
= (int) -1 ;
5720 PyObject
* obj0
= 0 ;
5721 PyObject
* obj1
= 0 ;
5723 (char *) "self",(char *) "sizehint", NULL
5726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
5727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5730 arg2
= (int) SWIG_AsInt(obj1
);
5731 if (PyErr_Occurred()) SWIG_fail
;
5734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5735 result
= (PyObject
*)(arg1
)->readlines(arg2
);
5737 wxPyEndAllowThreads(__tstate
);
5738 if (PyErr_Occurred()) SWIG_fail
;
5747 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5748 PyObject
*resultobj
;
5749 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5751 int arg3
= (int) 0 ;
5752 PyObject
* obj0
= 0 ;
5753 PyObject
* obj1
= 0 ;
5754 PyObject
* obj2
= 0 ;
5756 (char *) "self",(char *) "offset",(char *) "whence", NULL
5759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5762 arg2
= (int) SWIG_AsInt(obj1
);
5763 if (PyErr_Occurred()) SWIG_fail
;
5765 arg3
= (int) SWIG_AsInt(obj2
);
5766 if (PyErr_Occurred()) SWIG_fail
;
5769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5770 (arg1
)->seek(arg2
,arg3
);
5772 wxPyEndAllowThreads(__tstate
);
5773 if (PyErr_Occurred()) SWIG_fail
;
5775 Py_INCREF(Py_None
); resultobj
= Py_None
;
5782 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5783 PyObject
*resultobj
;
5784 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5786 PyObject
* obj0
= 0 ;
5788 (char *) "self", NULL
5791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
5792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5796 result
= (int)(arg1
)->tell();
5798 wxPyEndAllowThreads(__tstate
);
5799 if (PyErr_Occurred()) SWIG_fail
;
5801 resultobj
= SWIG_FromInt((int)result
);
5808 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5809 PyObject
*resultobj
;
5810 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5812 PyObject
* obj0
= 0 ;
5814 (char *) "self", NULL
5817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
5818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5822 result
= (char)(arg1
)->Peek();
5824 wxPyEndAllowThreads(__tstate
);
5825 if (PyErr_Occurred()) SWIG_fail
;
5827 resultobj
= SWIG_FromChar((char)result
);
5834 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5835 PyObject
*resultobj
;
5836 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5838 PyObject
* obj0
= 0 ;
5840 (char *) "self", NULL
5843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
5844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5848 result
= (char)(arg1
)->GetC();
5850 wxPyEndAllowThreads(__tstate
);
5851 if (PyErr_Occurred()) SWIG_fail
;
5853 resultobj
= SWIG_FromChar((char)result
);
5860 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5861 PyObject
*resultobj
;
5862 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5864 PyObject
* obj0
= 0 ;
5866 (char *) "self", NULL
5869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
5870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5874 result
= (size_t)(arg1
)->LastRead();
5876 wxPyEndAllowThreads(__tstate
);
5877 if (PyErr_Occurred()) SWIG_fail
;
5879 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
5886 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5887 PyObject
*resultobj
;
5888 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5890 PyObject
* obj0
= 0 ;
5892 (char *) "self", NULL
5895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
5896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5900 result
= (bool)(arg1
)->CanRead();
5902 wxPyEndAllowThreads(__tstate
);
5903 if (PyErr_Occurred()) SWIG_fail
;
5906 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5914 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5915 PyObject
*resultobj
;
5916 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5918 PyObject
* obj0
= 0 ;
5920 (char *) "self", NULL
5923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
5924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5928 result
= (bool)(arg1
)->Eof();
5930 wxPyEndAllowThreads(__tstate
);
5931 if (PyErr_Occurred()) SWIG_fail
;
5934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5942 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5943 PyObject
*resultobj
;
5944 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5947 PyObject
* obj0
= 0 ;
5948 PyObject
* obj1
= 0 ;
5950 (char *) "self",(char *) "c", NULL
5953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
5954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5956 arg2
= (char) SWIG_AsChar(obj1
);
5957 if (PyErr_Occurred()) SWIG_fail
;
5959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5960 result
= (bool)(arg1
)->Ungetch(arg2
);
5962 wxPyEndAllowThreads(__tstate
);
5963 if (PyErr_Occurred()) SWIG_fail
;
5966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5974 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5975 PyObject
*resultobj
;
5976 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5978 int arg3
= (int) wxFromStart
;
5980 PyObject
* obj0
= 0 ;
5981 PyObject
* obj1
= 0 ;
5982 PyObject
* obj2
= 0 ;
5984 (char *) "self",(char *) "pos",(char *) "mode", NULL
5987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5990 arg2
= (long) SWIG_AsLong(obj1
);
5991 if (PyErr_Occurred()) SWIG_fail
;
5993 arg3
= (wxSeekMode
) SWIG_AsInt(obj2
);
5994 if (PyErr_Occurred()) SWIG_fail
;
5997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5998 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
6000 wxPyEndAllowThreads(__tstate
);
6001 if (PyErr_Occurred()) SWIG_fail
;
6003 resultobj
= SWIG_FromLong((long)result
);
6010 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6011 PyObject
*resultobj
;
6012 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6014 PyObject
* obj0
= 0 ;
6016 (char *) "self", NULL
6019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
6020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6024 result
= (long)(arg1
)->TellI();
6026 wxPyEndAllowThreads(__tstate
);
6027 if (PyErr_Occurred()) SWIG_fail
;
6029 resultobj
= SWIG_FromLong((long)result
);
6036 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
6038 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6039 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6041 return Py_BuildValue((char *)"");
6043 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6044 PyObject
*resultobj
;
6045 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6046 PyObject
*arg2
= (PyObject
*) 0 ;
6047 PyObject
* obj0
= 0 ;
6048 PyObject
* obj1
= 0 ;
6050 (char *) "self",(char *) "obj", NULL
6053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6059 wxOutputStream_write(arg1
,arg2
);
6061 wxPyEndAllowThreads(__tstate
);
6062 if (PyErr_Occurred()) SWIG_fail
;
6064 Py_INCREF(Py_None
); resultobj
= Py_None
;
6071 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
6073 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6074 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6076 return Py_BuildValue((char *)"");
6078 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6079 PyObject
*resultobj
;
6080 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6081 wxString
*arg2
= 0 ;
6082 wxString
*arg3
= 0 ;
6083 wxString
*arg4
= 0 ;
6086 wxPyInputStream
*temp1
;
6088 bool temp2
= False
;
6089 bool temp3
= False
;
6090 bool temp4
= False
;
6092 PyObject
* obj0
= 0 ;
6093 PyObject
* obj1
= 0 ;
6094 PyObject
* obj2
= 0 ;
6095 PyObject
* obj3
= 0 ;
6096 PyObject
* obj4
= 0 ;
6098 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6103 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6104 arg1
= temp1
->m_wxis
;
6107 PyErr_Clear(); // clear the failure of the wxPyConvert above
6108 arg1
= wxPyCBInputStream_create(obj0
, False
);
6110 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6117 arg2
= wxString_in_helper(obj1
);
6118 if (arg2
== NULL
) SWIG_fail
;
6122 arg3
= wxString_in_helper(obj2
);
6123 if (arg3
== NULL
) SWIG_fail
;
6127 arg4
= wxString_in_helper(obj3
);
6128 if (arg4
== NULL
) SWIG_fail
;
6131 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6132 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6136 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6138 wxPyEndAllowThreads(__tstate
);
6139 if (PyErr_Occurred()) SWIG_fail
;
6142 resultobj
= wxPyMake_wxObject(result
);
6182 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6183 PyObject
*resultobj
;
6184 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6185 PyObject
* obj0
= 0 ;
6187 (char *) "self", NULL
6190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6197 wxPyEndAllowThreads(__tstate
);
6198 if (PyErr_Occurred()) SWIG_fail
;
6200 Py_INCREF(Py_None
); resultobj
= Py_None
;
6207 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6208 PyObject
*resultobj
;
6209 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6210 wxInputStream
*result
;
6211 PyObject
* obj0
= 0 ;
6213 (char *) "self", NULL
6216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6221 result
= (wxInputStream
*)(arg1
)->GetStream();
6223 wxPyEndAllowThreads(__tstate
);
6224 if (PyErr_Occurred()) SWIG_fail
;
6227 wxPyInputStream
* _ptr
= NULL
;
6230 _ptr
= new wxPyInputStream(result
);
6232 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
6240 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6241 PyObject
*resultobj
;
6242 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6244 PyObject
* obj0
= 0 ;
6246 (char *) "self", NULL
6249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6255 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6256 result
= (wxString
*) &_result_ref
;
6259 wxPyEndAllowThreads(__tstate
);
6260 if (PyErr_Occurred()) SWIG_fail
;
6264 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6266 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6275 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6276 PyObject
*resultobj
;
6277 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6279 PyObject
* obj0
= 0 ;
6281 (char *) "self", NULL
6284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6290 wxString
const &_result_ref
= (arg1
)->GetLocation();
6291 result
= (wxString
*) &_result_ref
;
6294 wxPyEndAllowThreads(__tstate
);
6295 if (PyErr_Occurred()) SWIG_fail
;
6299 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6301 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6310 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6311 PyObject
*resultobj
;
6312 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6314 PyObject
* obj0
= 0 ;
6316 (char *) "self", NULL
6319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6325 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6326 result
= (wxString
*) &_result_ref
;
6329 wxPyEndAllowThreads(__tstate
);
6330 if (PyErr_Occurred()) SWIG_fail
;
6334 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6336 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6345 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6346 PyObject
*resultobj
;
6347 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6349 PyObject
* obj0
= 0 ;
6351 (char *) "self", NULL
6354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6359 result
= (arg1
)->GetModificationTime();
6361 wxPyEndAllowThreads(__tstate
);
6362 if (PyErr_Occurred()) SWIG_fail
;
6365 wxDateTime
* resultptr
;
6366 resultptr
= new wxDateTime((wxDateTime
&) result
);
6367 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6375 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
6377 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6378 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6380 return Py_BuildValue((char *)"");
6382 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
6384 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6385 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6387 return Py_BuildValue((char *)"");
6389 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6390 PyObject
*resultobj
;
6391 wxPyFileSystemHandler
*result
;
6396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6399 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6401 wxPyEndAllowThreads(__tstate
);
6402 if (PyErr_Occurred()) SWIG_fail
;
6404 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6411 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6412 PyObject
*resultobj
;
6413 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6414 PyObject
*arg2
= (PyObject
*) 0 ;
6415 PyObject
*arg3
= (PyObject
*) 0 ;
6416 PyObject
* obj0
= 0 ;
6417 PyObject
* obj1
= 0 ;
6418 PyObject
* obj2
= 0 ;
6420 (char *) "self",(char *) "self",(char *) "_class", NULL
6423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6430 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6432 wxPyEndAllowThreads(__tstate
);
6433 if (PyErr_Occurred()) SWIG_fail
;
6435 Py_INCREF(Py_None
); resultobj
= Py_None
;
6442 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6443 PyObject
*resultobj
;
6444 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6445 wxString
*arg2
= 0 ;
6447 bool temp2
= False
;
6448 PyObject
* obj0
= 0 ;
6449 PyObject
* obj1
= 0 ;
6451 (char *) "self",(char *) "location", NULL
6454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6458 arg2
= wxString_in_helper(obj1
);
6459 if (arg2
== NULL
) SWIG_fail
;
6463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6464 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6466 wxPyEndAllowThreads(__tstate
);
6467 if (PyErr_Occurred()) SWIG_fail
;
6470 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6486 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6487 PyObject
*resultobj
;
6488 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6489 wxFileSystem
*arg2
= 0 ;
6490 wxString
*arg3
= 0 ;
6492 bool temp3
= False
;
6493 PyObject
* obj0
= 0 ;
6494 PyObject
* obj1
= 0 ;
6495 PyObject
* obj2
= 0 ;
6497 (char *) "self",(char *) "fs",(char *) "location", NULL
6500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6503 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
6504 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6507 PyErr_SetString(PyExc_TypeError
,"null reference");
6511 arg3
= wxString_in_helper(obj2
);
6512 if (arg3
== NULL
) SWIG_fail
;
6516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6517 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6519 wxPyEndAllowThreads(__tstate
);
6520 if (PyErr_Occurred()) SWIG_fail
;
6523 resultobj
= wxPyMake_wxObject(result
);
6539 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6540 PyObject
*resultobj
;
6541 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6542 wxString
*arg2
= 0 ;
6543 int arg3
= (int) 0 ;
6545 bool temp2
= False
;
6546 PyObject
* obj0
= 0 ;
6547 PyObject
* obj1
= 0 ;
6548 PyObject
* obj2
= 0 ;
6550 (char *) "self",(char *) "spec",(char *) "flags", NULL
6553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6557 arg2
= wxString_in_helper(obj1
);
6558 if (arg2
== NULL
) SWIG_fail
;
6562 arg3
= (int) SWIG_AsInt(obj2
);
6563 if (PyErr_Occurred()) SWIG_fail
;
6566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6567 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6569 wxPyEndAllowThreads(__tstate
);
6570 if (PyErr_Occurred()) SWIG_fail
;
6574 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6576 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6593 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6594 PyObject
*resultobj
;
6595 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6597 PyObject
* obj0
= 0 ;
6599 (char *) "self", NULL
6602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6607 result
= (arg1
)->FindNext();
6609 wxPyEndAllowThreads(__tstate
);
6610 if (PyErr_Occurred()) SWIG_fail
;
6614 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6616 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6625 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6626 PyObject
*resultobj
;
6627 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6628 wxString
*arg2
= 0 ;
6630 bool temp2
= False
;
6631 PyObject
* obj0
= 0 ;
6632 PyObject
* obj1
= 0 ;
6634 (char *) "self",(char *) "location", NULL
6637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
6638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6641 arg2
= wxString_in_helper(obj1
);
6642 if (arg2
== NULL
) SWIG_fail
;
6646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6647 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
6649 wxPyEndAllowThreads(__tstate
);
6650 if (PyErr_Occurred()) SWIG_fail
;
6654 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6656 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6673 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6674 PyObject
*resultobj
;
6675 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6676 wxString
*arg2
= 0 ;
6678 bool temp2
= False
;
6679 PyObject
* obj0
= 0 ;
6680 PyObject
* obj1
= 0 ;
6682 (char *) "self",(char *) "location", NULL
6685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6689 arg2
= wxString_in_helper(obj1
);
6690 if (arg2
== NULL
) SWIG_fail
;
6694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6695 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
6697 wxPyEndAllowThreads(__tstate
);
6698 if (PyErr_Occurred()) SWIG_fail
;
6702 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6704 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6721 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6722 PyObject
*resultobj
;
6723 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6724 wxString
*arg2
= 0 ;
6726 bool temp2
= False
;
6727 PyObject
* obj0
= 0 ;
6728 PyObject
* obj1
= 0 ;
6730 (char *) "self",(char *) "location", NULL
6733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
6734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6737 arg2
= wxString_in_helper(obj1
);
6738 if (arg2
== NULL
) SWIG_fail
;
6742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6743 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
6745 wxPyEndAllowThreads(__tstate
);
6746 if (PyErr_Occurred()) SWIG_fail
;
6750 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6752 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6769 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6770 PyObject
*resultobj
;
6771 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6772 wxString
*arg2
= 0 ;
6774 bool temp2
= False
;
6775 PyObject
* obj0
= 0 ;
6776 PyObject
* obj1
= 0 ;
6778 (char *) "self",(char *) "location", NULL
6781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6782 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6785 arg2
= wxString_in_helper(obj1
);
6786 if (arg2
== NULL
) SWIG_fail
;
6790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6791 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
6793 wxPyEndAllowThreads(__tstate
);
6794 if (PyErr_Occurred()) SWIG_fail
;
6798 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6800 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6817 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6818 PyObject
*resultobj
;
6819 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6820 wxString
*arg2
= 0 ;
6822 bool temp2
= False
;
6823 PyObject
* obj0
= 0 ;
6824 PyObject
* obj1
= 0 ;
6826 (char *) "self",(char *) "location", NULL
6829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
6830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6833 arg2
= wxString_in_helper(obj1
);
6834 if (arg2
== NULL
) SWIG_fail
;
6838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6839 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
6841 wxPyEndAllowThreads(__tstate
);
6842 if (PyErr_Occurred()) SWIG_fail
;
6846 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6848 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6865 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
6867 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6868 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
6870 return Py_BuildValue((char *)"");
6872 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6873 PyObject
*resultobj
;
6874 wxFileSystem
*result
;
6879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
6881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6882 result
= (wxFileSystem
*)new wxFileSystem();
6884 wxPyEndAllowThreads(__tstate
);
6885 if (PyErr_Occurred()) SWIG_fail
;
6888 resultobj
= wxPyMake_wxObject(result
);
6896 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6897 PyObject
*resultobj
;
6898 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6899 PyObject
* obj0
= 0 ;
6901 (char *) "self", NULL
6904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
6905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
6906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6911 wxPyEndAllowThreads(__tstate
);
6912 if (PyErr_Occurred()) SWIG_fail
;
6914 Py_INCREF(Py_None
); resultobj
= Py_None
;
6921 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6922 PyObject
*resultobj
;
6923 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6924 wxString
*arg2
= 0 ;
6925 bool arg3
= (bool) False
;
6926 bool temp2
= False
;
6927 PyObject
* obj0
= 0 ;
6928 PyObject
* obj1
= 0 ;
6929 PyObject
* obj2
= 0 ;
6931 (char *) "self",(char *) "location",(char *) "is_dir", NULL
6934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
6936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6938 arg2
= wxString_in_helper(obj1
);
6939 if (arg2
== NULL
) SWIG_fail
;
6943 arg3
= (bool) SWIG_AsBool(obj2
);
6944 if (PyErr_Occurred()) SWIG_fail
;
6947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6948 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
6950 wxPyEndAllowThreads(__tstate
);
6951 if (PyErr_Occurred()) SWIG_fail
;
6953 Py_INCREF(Py_None
); resultobj
= Py_None
;
6968 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6969 PyObject
*resultobj
;
6970 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6972 PyObject
* obj0
= 0 ;
6974 (char *) "self", NULL
6977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
6978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
6979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6982 result
= (arg1
)->GetPath();
6984 wxPyEndAllowThreads(__tstate
);
6985 if (PyErr_Occurred()) SWIG_fail
;
6989 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6991 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7000 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7001 PyObject
*resultobj
;
7002 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7003 wxString
*arg2
= 0 ;
7005 bool temp2
= False
;
7006 PyObject
* obj0
= 0 ;
7007 PyObject
* obj1
= 0 ;
7009 (char *) "self",(char *) "location", NULL
7012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7016 arg2
= wxString_in_helper(obj1
);
7017 if (arg2
== NULL
) SWIG_fail
;
7021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7022 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
7024 wxPyEndAllowThreads(__tstate
);
7025 if (PyErr_Occurred()) SWIG_fail
;
7028 resultobj
= wxPyMake_wxObject(result
);
7044 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7045 PyObject
*resultobj
;
7046 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7047 wxString
*arg2
= 0 ;
7048 int arg3
= (int) 0 ;
7050 bool temp2
= False
;
7051 PyObject
* obj0
= 0 ;
7052 PyObject
* obj1
= 0 ;
7053 PyObject
* obj2
= 0 ;
7055 (char *) "self",(char *) "spec",(char *) "flags", NULL
7058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7062 arg2
= wxString_in_helper(obj1
);
7063 if (arg2
== NULL
) SWIG_fail
;
7067 arg3
= (int) SWIG_AsInt(obj2
);
7068 if (PyErr_Occurred()) SWIG_fail
;
7071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7072 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7074 wxPyEndAllowThreads(__tstate
);
7075 if (PyErr_Occurred()) SWIG_fail
;
7079 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7081 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7098 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7099 PyObject
*resultobj
;
7100 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7102 PyObject
* obj0
= 0 ;
7104 (char *) "self", NULL
7107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7112 result
= (arg1
)->FindNext();
7114 wxPyEndAllowThreads(__tstate
);
7115 if (PyErr_Occurred()) SWIG_fail
;
7119 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7121 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7130 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7131 PyObject
*resultobj
;
7132 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7133 PyObject
* obj0
= 0 ;
7135 (char *) "handler", NULL
7138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7143 wxFileSystem::AddHandler(arg1
);
7145 wxPyEndAllowThreads(__tstate
);
7146 if (PyErr_Occurred()) SWIG_fail
;
7148 Py_INCREF(Py_None
); resultobj
= Py_None
;
7155 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7156 PyObject
*resultobj
;
7161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7164 wxFileSystem::CleanUpHandlers();
7166 wxPyEndAllowThreads(__tstate
);
7167 if (PyErr_Occurred()) SWIG_fail
;
7169 Py_INCREF(Py_None
); resultobj
= Py_None
;
7176 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7177 PyObject
*resultobj
;
7178 wxString
*arg1
= 0 ;
7180 bool temp1
= False
;
7181 PyObject
* obj0
= 0 ;
7183 (char *) "filename", NULL
7186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7188 arg1
= wxString_in_helper(obj0
);
7189 if (arg1
== NULL
) SWIG_fail
;
7193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7194 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7196 wxPyEndAllowThreads(__tstate
);
7197 if (PyErr_Occurred()) SWIG_fail
;
7201 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7203 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7220 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
7222 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7223 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7225 return Py_BuildValue((char *)"");
7227 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7228 PyObject
*resultobj
;
7229 wxString
*arg1
= 0 ;
7231 bool temp1
= False
;
7232 PyObject
* obj0
= 0 ;
7234 (char *) "url", NULL
7237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7239 arg1
= wxString_in_helper(obj0
);
7240 if (arg1
== NULL
) SWIG_fail
;
7244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7245 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
7247 wxPyEndAllowThreads(__tstate
);
7248 if (PyErr_Occurred()) SWIG_fail
;
7252 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7254 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7271 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7272 PyObject
*resultobj
;
7273 wxInternetFSHandler
*result
;
7278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7281 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7283 wxPyEndAllowThreads(__tstate
);
7284 if (PyErr_Occurred()) SWIG_fail
;
7286 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7293 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7294 PyObject
*resultobj
;
7295 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7296 wxString
*arg2
= 0 ;
7298 bool temp2
= False
;
7299 PyObject
* obj0
= 0 ;
7300 PyObject
* obj1
= 0 ;
7302 (char *) "self",(char *) "location", NULL
7305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7309 arg2
= wxString_in_helper(obj1
);
7310 if (arg2
== NULL
) SWIG_fail
;
7314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7315 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7317 wxPyEndAllowThreads(__tstate
);
7318 if (PyErr_Occurred()) SWIG_fail
;
7321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7337 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7338 PyObject
*resultobj
;
7339 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7340 wxFileSystem
*arg2
= 0 ;
7341 wxString
*arg3
= 0 ;
7343 bool temp3
= False
;
7344 PyObject
* obj0
= 0 ;
7345 PyObject
* obj1
= 0 ;
7346 PyObject
* obj2
= 0 ;
7348 (char *) "self",(char *) "fs",(char *) "location", NULL
7351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7354 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7355 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7358 PyErr_SetString(PyExc_TypeError
,"null reference");
7362 arg3
= wxString_in_helper(obj2
);
7363 if (arg3
== NULL
) SWIG_fail
;
7367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7368 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7370 wxPyEndAllowThreads(__tstate
);
7371 if (PyErr_Occurred()) SWIG_fail
;
7374 resultobj
= wxPyMake_wxObject(result
);
7390 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
7392 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7393 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7395 return Py_BuildValue((char *)"");
7397 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7398 PyObject
*resultobj
;
7399 wxZipFSHandler
*result
;
7404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7407 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7409 wxPyEndAllowThreads(__tstate
);
7410 if (PyErr_Occurred()) SWIG_fail
;
7412 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7419 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7420 PyObject
*resultobj
;
7421 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7422 wxString
*arg2
= 0 ;
7424 bool temp2
= False
;
7425 PyObject
* obj0
= 0 ;
7426 PyObject
* obj1
= 0 ;
7428 (char *) "self",(char *) "location", NULL
7431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7435 arg2
= wxString_in_helper(obj1
);
7436 if (arg2
== NULL
) SWIG_fail
;
7440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7441 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7443 wxPyEndAllowThreads(__tstate
);
7444 if (PyErr_Occurred()) SWIG_fail
;
7447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7463 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7464 PyObject
*resultobj
;
7465 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7466 wxFileSystem
*arg2
= 0 ;
7467 wxString
*arg3
= 0 ;
7469 bool temp3
= False
;
7470 PyObject
* obj0
= 0 ;
7471 PyObject
* obj1
= 0 ;
7472 PyObject
* obj2
= 0 ;
7474 (char *) "self",(char *) "fs",(char *) "location", NULL
7477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7480 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7481 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7484 PyErr_SetString(PyExc_TypeError
,"null reference");
7488 arg3
= wxString_in_helper(obj2
);
7489 if (arg3
== NULL
) SWIG_fail
;
7493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7494 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7496 wxPyEndAllowThreads(__tstate
);
7497 if (PyErr_Occurred()) SWIG_fail
;
7500 resultobj
= wxPyMake_wxObject(result
);
7516 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7517 PyObject
*resultobj
;
7518 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7519 wxString
*arg2
= 0 ;
7520 int arg3
= (int) 0 ;
7522 bool temp2
= False
;
7523 PyObject
* obj0
= 0 ;
7524 PyObject
* obj1
= 0 ;
7525 PyObject
* obj2
= 0 ;
7527 (char *) "self",(char *) "spec",(char *) "flags", NULL
7530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7534 arg2
= wxString_in_helper(obj1
);
7535 if (arg2
== NULL
) SWIG_fail
;
7539 arg3
= (int) SWIG_AsInt(obj2
);
7540 if (PyErr_Occurred()) SWIG_fail
;
7543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7544 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7546 wxPyEndAllowThreads(__tstate
);
7547 if (PyErr_Occurred()) SWIG_fail
;
7551 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7553 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7570 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7571 PyObject
*resultobj
;
7572 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7574 PyObject
* obj0
= 0 ;
7576 (char *) "self", NULL
7579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7584 result
= (arg1
)->FindNext();
7586 wxPyEndAllowThreads(__tstate
);
7587 if (PyErr_Occurred()) SWIG_fail
;
7591 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7593 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7602 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
7604 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7605 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
7607 return Py_BuildValue((char *)"");
7609 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7610 PyObject
*resultobj
;
7611 wxString
*arg1
= 0 ;
7614 bool temp1
= False
;
7615 PyObject
* obj0
= 0 ;
7616 PyObject
* obj1
= 0 ;
7617 PyObject
* obj2
= 0 ;
7619 (char *) "filename",(char *) "image",(char *) "type", NULL
7622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7624 arg1
= wxString_in_helper(obj0
);
7625 if (arg1
== NULL
) SWIG_fail
;
7628 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
7629 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7632 PyErr_SetString(PyExc_TypeError
,"null reference");
7635 arg3
= (long) SWIG_AsLong(obj2
);
7636 if (PyErr_Occurred()) SWIG_fail
;
7638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7639 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
7641 wxPyEndAllowThreads(__tstate
);
7642 if (PyErr_Occurred()) SWIG_fail
;
7644 Py_INCREF(Py_None
); resultobj
= Py_None
;
7659 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7660 PyObject
*resultobj
;
7661 wxString
*arg1
= 0 ;
7662 wxBitmap
*arg2
= 0 ;
7664 bool temp1
= False
;
7665 PyObject
* obj0
= 0 ;
7666 PyObject
* obj1
= 0 ;
7667 PyObject
* obj2
= 0 ;
7669 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7674 arg1
= wxString_in_helper(obj0
);
7675 if (arg1
== NULL
) SWIG_fail
;
7678 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
7679 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7682 PyErr_SetString(PyExc_TypeError
,"null reference");
7685 arg3
= (long) SWIG_AsLong(obj2
);
7686 if (PyErr_Occurred()) SWIG_fail
;
7688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7689 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
7691 wxPyEndAllowThreads(__tstate
);
7692 if (PyErr_Occurred()) SWIG_fail
;
7694 Py_INCREF(Py_None
); resultobj
= Py_None
;
7709 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7710 PyObject
*resultobj
;
7711 wxString
*arg1
= 0 ;
7712 PyObject
*arg2
= (PyObject
*) 0 ;
7713 bool temp1
= False
;
7714 PyObject
* obj0
= 0 ;
7715 PyObject
* obj1
= 0 ;
7717 (char *) "filename",(char *) "data", NULL
7720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
7722 arg1
= wxString_in_helper(obj0
);
7723 if (arg1
== NULL
) SWIG_fail
;
7728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7729 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
7731 wxPyEndAllowThreads(__tstate
);
7732 if (PyErr_Occurred()) SWIG_fail
;
7734 Py_INCREF(Py_None
); resultobj
= Py_None
;
7749 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7750 PyObject
*resultobj
;
7751 wxMemoryFSHandler
*result
;
7756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
7758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7759 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
7761 wxPyEndAllowThreads(__tstate
);
7762 if (PyErr_Occurred()) SWIG_fail
;
7764 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
7771 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7772 PyObject
*resultobj
;
7773 wxString
*arg1
= 0 ;
7774 bool temp1
= False
;
7775 PyObject
* obj0
= 0 ;
7777 (char *) "filename", NULL
7780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
7782 arg1
= wxString_in_helper(obj0
);
7783 if (arg1
== NULL
) SWIG_fail
;
7787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7788 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
7790 wxPyEndAllowThreads(__tstate
);
7791 if (PyErr_Occurred()) SWIG_fail
;
7793 Py_INCREF(Py_None
); resultobj
= Py_None
;
7808 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7809 PyObject
*resultobj
;
7810 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7811 wxString
*arg2
= 0 ;
7813 bool temp2
= False
;
7814 PyObject
* obj0
= 0 ;
7815 PyObject
* obj1
= 0 ;
7817 (char *) "self",(char *) "location", NULL
7820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7824 arg2
= wxString_in_helper(obj1
);
7825 if (arg2
== NULL
) SWIG_fail
;
7829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7830 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7832 wxPyEndAllowThreads(__tstate
);
7833 if (PyErr_Occurred()) SWIG_fail
;
7836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7852 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7853 PyObject
*resultobj
;
7854 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7855 wxFileSystem
*arg2
= 0 ;
7856 wxString
*arg3
= 0 ;
7858 bool temp3
= False
;
7859 PyObject
* obj0
= 0 ;
7860 PyObject
* obj1
= 0 ;
7861 PyObject
* obj2
= 0 ;
7863 (char *) "self",(char *) "fs",(char *) "location", NULL
7866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7869 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7870 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7873 PyErr_SetString(PyExc_TypeError
,"null reference");
7877 arg3
= wxString_in_helper(obj2
);
7878 if (arg3
== NULL
) SWIG_fail
;
7882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7883 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7885 wxPyEndAllowThreads(__tstate
);
7886 if (PyErr_Occurred()) SWIG_fail
;
7889 resultobj
= wxPyMake_wxObject(result
);
7905 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7906 PyObject
*resultobj
;
7907 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7908 wxString
*arg2
= 0 ;
7909 int arg3
= (int) 0 ;
7911 bool temp2
= False
;
7912 PyObject
* obj0
= 0 ;
7913 PyObject
* obj1
= 0 ;
7914 PyObject
* obj2
= 0 ;
7916 (char *) "self",(char *) "spec",(char *) "flags", NULL
7919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7923 arg2
= wxString_in_helper(obj1
);
7924 if (arg2
== NULL
) SWIG_fail
;
7928 arg3
= (int) SWIG_AsInt(obj2
);
7929 if (PyErr_Occurred()) SWIG_fail
;
7932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7933 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7935 wxPyEndAllowThreads(__tstate
);
7936 if (PyErr_Occurred()) SWIG_fail
;
7940 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7942 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7959 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7960 PyObject
*resultobj
;
7961 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7963 PyObject
* obj0
= 0 ;
7965 (char *) "self", NULL
7968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7973 result
= (arg1
)->FindNext();
7975 wxPyEndAllowThreads(__tstate
);
7976 if (PyErr_Occurred()) SWIG_fail
;
7980 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7982 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7991 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
7993 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7994 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
7996 return Py_BuildValue((char *)"");
7998 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7999 PyObject
*resultobj
;
8000 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8002 PyObject
* obj0
= 0 ;
8004 (char *) "self", NULL
8007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
8008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8012 result
= (arg1
)->GetName();
8014 wxPyEndAllowThreads(__tstate
);
8015 if (PyErr_Occurred()) SWIG_fail
;
8019 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8021 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8030 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8031 PyObject
*resultobj
;
8032 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8034 PyObject
* obj0
= 0 ;
8036 (char *) "self", NULL
8039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
8040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8044 result
= (arg1
)->GetExtension();
8046 wxPyEndAllowThreads(__tstate
);
8047 if (PyErr_Occurred()) SWIG_fail
;
8051 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8053 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8062 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8063 PyObject
*resultobj
;
8064 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8066 PyObject
* obj0
= 0 ;
8068 (char *) "self", NULL
8071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8076 result
= (long)(arg1
)->GetType();
8078 wxPyEndAllowThreads(__tstate
);
8079 if (PyErr_Occurred()) SWIG_fail
;
8081 resultobj
= SWIG_FromLong((long)result
);
8088 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8089 PyObject
*resultobj
;
8090 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8092 PyObject
* obj0
= 0 ;
8094 (char *) "self", NULL
8097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8102 result
= (arg1
)->GetMimeType();
8104 wxPyEndAllowThreads(__tstate
);
8105 if (PyErr_Occurred()) SWIG_fail
;
8109 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8111 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8120 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8121 PyObject
*resultobj
;
8122 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8123 wxString
*arg2
= 0 ;
8125 bool temp2
= False
;
8126 PyObject
* obj0
= 0 ;
8127 PyObject
* obj1
= 0 ;
8129 (char *) "self",(char *) "name", NULL
8132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8136 arg2
= wxString_in_helper(obj1
);
8137 if (arg2
== NULL
) SWIG_fail
;
8141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8142 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8144 wxPyEndAllowThreads(__tstate
);
8145 if (PyErr_Occurred()) SWIG_fail
;
8148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8164 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8165 PyObject
*resultobj
;
8166 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8167 wxString
*arg2
= 0 ;
8168 bool temp2
= False
;
8169 PyObject
* obj0
= 0 ;
8170 PyObject
* obj1
= 0 ;
8172 (char *) "self",(char *) "name", NULL
8175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8179 arg2
= wxString_in_helper(obj1
);
8180 if (arg2
== NULL
) SWIG_fail
;
8184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8185 (arg1
)->SetName((wxString
const &)*arg2
);
8187 wxPyEndAllowThreads(__tstate
);
8188 if (PyErr_Occurred()) SWIG_fail
;
8190 Py_INCREF(Py_None
); resultobj
= Py_None
;
8205 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8206 PyObject
*resultobj
;
8207 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8208 wxString
*arg2
= 0 ;
8209 bool temp2
= False
;
8210 PyObject
* obj0
= 0 ;
8211 PyObject
* obj1
= 0 ;
8213 (char *) "self",(char *) "extension", NULL
8216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8220 arg2
= wxString_in_helper(obj1
);
8221 if (arg2
== NULL
) SWIG_fail
;
8225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8226 (arg1
)->SetExtension((wxString
const &)*arg2
);
8228 wxPyEndAllowThreads(__tstate
);
8229 if (PyErr_Occurred()) SWIG_fail
;
8231 Py_INCREF(Py_None
); resultobj
= Py_None
;
8246 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8247 PyObject
*resultobj
;
8248 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8250 PyObject
* obj0
= 0 ;
8251 PyObject
* obj1
= 0 ;
8253 (char *) "self",(char *) "type", NULL
8256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8259 arg2
= (long) SWIG_AsLong(obj1
);
8260 if (PyErr_Occurred()) SWIG_fail
;
8262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8263 (arg1
)->SetType(arg2
);
8265 wxPyEndAllowThreads(__tstate
);
8266 if (PyErr_Occurred()) SWIG_fail
;
8268 Py_INCREF(Py_None
); resultobj
= Py_None
;
8275 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8276 PyObject
*resultobj
;
8277 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8278 wxString
*arg2
= 0 ;
8279 bool temp2
= False
;
8280 PyObject
* obj0
= 0 ;
8281 PyObject
* obj1
= 0 ;
8283 (char *) "self",(char *) "mimetype", NULL
8286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8290 arg2
= wxString_in_helper(obj1
);
8291 if (arg2
== NULL
) SWIG_fail
;
8295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8296 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8298 wxPyEndAllowThreads(__tstate
);
8299 if (PyErr_Occurred()) SWIG_fail
;
8301 Py_INCREF(Py_None
); resultobj
= Py_None
;
8316 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
8318 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8319 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8321 return Py_BuildValue((char *)"");
8323 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8324 PyObject
*resultobj
;
8325 wxImageHistogram
*result
;
8330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8333 result
= (wxImageHistogram
*)new wxImageHistogram();
8335 wxPyEndAllowThreads(__tstate
);
8336 if (PyErr_Occurred()) SWIG_fail
;
8338 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8345 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8346 PyObject
*resultobj
;
8347 unsigned char arg1
;
8348 unsigned char arg2
;
8349 unsigned char arg3
;
8350 unsigned long result
;
8351 PyObject
* obj0
= 0 ;
8352 PyObject
* obj1
= 0 ;
8353 PyObject
* obj2
= 0 ;
8355 (char *) "r",(char *) "g",(char *) "b", NULL
8358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8359 arg1
= (unsigned char) SWIG_AsUnsignedChar(obj0
);
8360 if (PyErr_Occurred()) SWIG_fail
;
8361 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8362 if (PyErr_Occurred()) SWIG_fail
;
8363 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8364 if (PyErr_Occurred()) SWIG_fail
;
8366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8367 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8369 wxPyEndAllowThreads(__tstate
);
8370 if (PyErr_Occurred()) SWIG_fail
;
8372 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8379 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8380 PyObject
*resultobj
;
8381 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8382 unsigned char *arg2
= (unsigned char *) 0 ;
8383 unsigned char *arg3
= (unsigned char *) 0 ;
8384 unsigned char *arg4
= (unsigned char *) 0 ;
8385 unsigned char arg5
= (unsigned char) 1 ;
8386 unsigned char arg6
= (unsigned char) 0 ;
8387 unsigned char arg7
= (unsigned char) 0 ;
8389 unsigned char temp2
;
8390 unsigned char temp3
;
8391 unsigned char temp4
;
8392 PyObject
* obj0
= 0 ;
8393 PyObject
* obj1
= 0 ;
8394 PyObject
* obj2
= 0 ;
8395 PyObject
* obj3
= 0 ;
8397 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8407 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8408 if (PyErr_Occurred()) SWIG_fail
;
8411 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8412 if (PyErr_Occurred()) SWIG_fail
;
8415 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
8416 if (PyErr_Occurred()) SWIG_fail
;
8419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8420 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8422 wxPyEndAllowThreads(__tstate
);
8423 if (PyErr_Occurred()) SWIG_fail
;
8426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8429 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8430 resultobj
= t_output_helper(resultobj
,o
);
8433 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8434 resultobj
= t_output_helper(resultobj
,o
);
8437 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8438 resultobj
= t_output_helper(resultobj
,o
);
8446 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
8448 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8449 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8451 return Py_BuildValue((char *)"");
8453 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8454 PyObject
*resultobj
;
8455 wxString
*arg1
= 0 ;
8456 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8457 int arg3
= (int) -1 ;
8459 bool temp1
= False
;
8460 PyObject
* obj0
= 0 ;
8461 PyObject
* obj1
= 0 ;
8462 PyObject
* obj2
= 0 ;
8464 (char *) "name",(char *) "type",(char *) "index", NULL
8467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8469 arg1
= wxString_in_helper(obj0
);
8470 if (arg1
== NULL
) SWIG_fail
;
8474 arg2
= (long) SWIG_AsLong(obj1
);
8475 if (PyErr_Occurred()) SWIG_fail
;
8478 arg3
= (int) SWIG_AsInt(obj2
);
8479 if (PyErr_Occurred()) SWIG_fail
;
8482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8483 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8485 wxPyEndAllowThreads(__tstate
);
8486 if (PyErr_Occurred()) SWIG_fail
;
8488 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8503 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8504 PyObject
*resultobj
;
8505 wxImage
*arg1
= (wxImage
*) 0 ;
8506 PyObject
* obj0
= 0 ;
8508 (char *) "self", NULL
8511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8518 wxPyEndAllowThreads(__tstate
);
8519 if (PyErr_Occurred()) SWIG_fail
;
8521 Py_INCREF(Py_None
); resultobj
= Py_None
;
8528 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8529 PyObject
*resultobj
;
8530 wxString
*arg1
= 0 ;
8531 wxString
*arg2
= 0 ;
8532 int arg3
= (int) -1 ;
8534 bool temp1
= False
;
8535 bool temp2
= False
;
8536 PyObject
* obj0
= 0 ;
8537 PyObject
* obj1
= 0 ;
8538 PyObject
* obj2
= 0 ;
8540 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8545 arg1
= wxString_in_helper(obj0
);
8546 if (arg1
== NULL
) SWIG_fail
;
8550 arg2
= wxString_in_helper(obj1
);
8551 if (arg2
== NULL
) SWIG_fail
;
8555 arg3
= (int) SWIG_AsInt(obj2
);
8556 if (PyErr_Occurred()) SWIG_fail
;
8559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8560 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8562 wxPyEndAllowThreads(__tstate
);
8563 if (PyErr_Occurred()) SWIG_fail
;
8565 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8588 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8589 PyObject
*resultobj
;
8590 wxInputStream
*arg1
= 0 ;
8591 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8592 int arg3
= (int) -1 ;
8594 wxPyInputStream
*temp1
;
8596 PyObject
* obj0
= 0 ;
8597 PyObject
* obj1
= 0 ;
8598 PyObject
* obj2
= 0 ;
8600 (char *) "stream",(char *) "type",(char *) "index", NULL
8603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8605 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8606 arg1
= temp1
->m_wxis
;
8609 PyErr_Clear(); // clear the failure of the wxPyConvert above
8610 arg1
= wxPyCBInputStream_create(obj0
, False
);
8612 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8619 arg2
= (long) SWIG_AsLong(obj1
);
8620 if (PyErr_Occurred()) SWIG_fail
;
8623 arg3
= (int) SWIG_AsInt(obj2
);
8624 if (PyErr_Occurred()) SWIG_fail
;
8627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8628 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
8630 wxPyEndAllowThreads(__tstate
);
8631 if (PyErr_Occurred()) SWIG_fail
;
8633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8648 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8649 PyObject
*resultobj
;
8650 wxInputStream
*arg1
= 0 ;
8651 wxString
*arg2
= 0 ;
8652 int arg3
= (int) -1 ;
8654 wxPyInputStream
*temp1
;
8656 bool temp2
= False
;
8657 PyObject
* obj0
= 0 ;
8658 PyObject
* obj1
= 0 ;
8659 PyObject
* obj2
= 0 ;
8661 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8666 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8667 arg1
= temp1
->m_wxis
;
8670 PyErr_Clear(); // clear the failure of the wxPyConvert above
8671 arg1
= wxPyCBInputStream_create(obj0
, False
);
8673 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8680 arg2
= wxString_in_helper(obj1
);
8681 if (arg2
== NULL
) SWIG_fail
;
8685 arg3
= (int) SWIG_AsInt(obj2
);
8686 if (PyErr_Occurred()) SWIG_fail
;
8689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8690 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
8692 wxPyEndAllowThreads(__tstate
);
8693 if (PyErr_Occurred()) SWIG_fail
;
8695 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8718 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8719 PyObject
*resultobj
;
8720 int arg1
= (int) 0 ;
8721 int arg2
= (int) 0 ;
8722 bool arg3
= (bool) True
;
8724 PyObject
* obj0
= 0 ;
8725 PyObject
* obj1
= 0 ;
8726 PyObject
* obj2
= 0 ;
8728 (char *) "width",(char *) "height",(char *) "clear", NULL
8731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8733 arg1
= (int) SWIG_AsInt(obj0
);
8734 if (PyErr_Occurred()) SWIG_fail
;
8737 arg2
= (int) SWIG_AsInt(obj1
);
8738 if (PyErr_Occurred()) SWIG_fail
;
8741 arg3
= (bool) SWIG_AsBool(obj2
);
8742 if (PyErr_Occurred()) SWIG_fail
;
8745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8746 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8748 wxPyEndAllowThreads(__tstate
);
8749 if (PyErr_Occurred()) SWIG_fail
;
8751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8758 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8759 PyObject
*resultobj
;
8760 wxBitmap
*arg1
= 0 ;
8762 PyObject
* obj0
= 0 ;
8764 (char *) "bitmap", NULL
8767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
8768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
8769 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8772 PyErr_SetString(PyExc_TypeError
,"null reference");
8776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8777 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
8779 wxPyEndAllowThreads(__tstate
);
8780 if (PyErr_Occurred()) SWIG_fail
;
8782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8789 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8790 PyObject
*resultobj
;
8793 unsigned char *arg3
= (unsigned char *) 0 ;
8795 PyObject
* obj0
= 0 ;
8796 PyObject
* obj1
= 0 ;
8797 PyObject
* obj2
= 0 ;
8799 (char *) "width",(char *) "height",(char *) "data", NULL
8802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8803 arg1
= (int) SWIG_AsInt(obj0
);
8804 if (PyErr_Occurred()) SWIG_fail
;
8805 arg2
= (int) SWIG_AsInt(obj1
);
8806 if (PyErr_Occurred()) SWIG_fail
;
8807 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
8808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8811 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8813 wxPyEndAllowThreads(__tstate
);
8814 if (PyErr_Occurred()) SWIG_fail
;
8816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8823 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8824 PyObject
*resultobj
;
8825 wxImage
*arg1
= (wxImage
*) 0 ;
8828 PyObject
* obj0
= 0 ;
8829 PyObject
* obj1
= 0 ;
8830 PyObject
* obj2
= 0 ;
8832 (char *) "self",(char *) "width",(char *) "height", NULL
8835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8838 arg2
= (int) SWIG_AsInt(obj1
);
8839 if (PyErr_Occurred()) SWIG_fail
;
8840 arg3
= (int) SWIG_AsInt(obj2
);
8841 if (PyErr_Occurred()) SWIG_fail
;
8843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8844 (arg1
)->Create(arg2
,arg3
);
8846 wxPyEndAllowThreads(__tstate
);
8847 if (PyErr_Occurred()) SWIG_fail
;
8849 Py_INCREF(Py_None
); resultobj
= Py_None
;
8856 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8857 PyObject
*resultobj
;
8858 wxImage
*arg1
= (wxImage
*) 0 ;
8859 PyObject
* obj0
= 0 ;
8861 (char *) "self", NULL
8864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
8865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8871 wxPyEndAllowThreads(__tstate
);
8872 if (PyErr_Occurred()) SWIG_fail
;
8874 Py_INCREF(Py_None
); resultobj
= Py_None
;
8881 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8882 PyObject
*resultobj
;
8883 wxImage
*arg1
= (wxImage
*) 0 ;
8886 SwigValueWrapper
< wxImage
> result
;
8887 PyObject
* obj0
= 0 ;
8888 PyObject
* obj1
= 0 ;
8889 PyObject
* obj2
= 0 ;
8891 (char *) "self",(char *) "width",(char *) "height", NULL
8894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8897 arg2
= (int) SWIG_AsInt(obj1
);
8898 if (PyErr_Occurred()) SWIG_fail
;
8899 arg3
= (int) SWIG_AsInt(obj2
);
8900 if (PyErr_Occurred()) SWIG_fail
;
8902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8903 result
= (arg1
)->Scale(arg2
,arg3
);
8905 wxPyEndAllowThreads(__tstate
);
8906 if (PyErr_Occurred()) SWIG_fail
;
8909 wxImage
* resultptr
;
8910 resultptr
= new wxImage((wxImage
&) result
);
8911 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
8919 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8920 PyObject
*resultobj
;
8921 wxImage
*arg1
= (wxImage
*) 0 ;
8924 SwigValueWrapper
< wxImage
> result
;
8925 PyObject
* obj0
= 0 ;
8926 PyObject
* obj1
= 0 ;
8927 PyObject
* obj2
= 0 ;
8929 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
8932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8935 arg2
= (int) SWIG_AsInt(obj1
);
8936 if (PyErr_Occurred()) SWIG_fail
;
8937 arg3
= (int) SWIG_AsInt(obj2
);
8938 if (PyErr_Occurred()) SWIG_fail
;
8940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8941 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
8943 wxPyEndAllowThreads(__tstate
);
8944 if (PyErr_Occurred()) SWIG_fail
;
8947 wxImage
* resultptr
;
8948 resultptr
= new wxImage((wxImage
&) result
);
8949 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
8957 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8958 PyObject
*resultobj
;
8959 wxImage
*arg1
= (wxImage
*) 0 ;
8963 PyObject
* obj0
= 0 ;
8964 PyObject
* obj1
= 0 ;
8965 PyObject
* obj2
= 0 ;
8967 (char *) "self",(char *) "width",(char *) "height", NULL
8970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8973 arg2
= (int) SWIG_AsInt(obj1
);
8974 if (PyErr_Occurred()) SWIG_fail
;
8975 arg3
= (int) SWIG_AsInt(obj2
);
8976 if (PyErr_Occurred()) SWIG_fail
;
8978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8980 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
8981 result
= (wxImage
*) &_result_ref
;
8984 wxPyEndAllowThreads(__tstate
);
8985 if (PyErr_Occurred()) SWIG_fail
;
8987 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
8994 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8995 PyObject
*resultobj
;
8996 wxImage
*arg1
= (wxImage
*) 0 ;
8999 unsigned char arg4
;
9000 unsigned char arg5
;
9001 unsigned char arg6
;
9002 PyObject
* obj0
= 0 ;
9003 PyObject
* obj1
= 0 ;
9004 PyObject
* obj2
= 0 ;
9005 PyObject
* obj3
= 0 ;
9006 PyObject
* obj4
= 0 ;
9007 PyObject
* obj5
= 0 ;
9009 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9015 arg2
= (int) SWIG_AsInt(obj1
);
9016 if (PyErr_Occurred()) SWIG_fail
;
9017 arg3
= (int) SWIG_AsInt(obj2
);
9018 if (PyErr_Occurred()) SWIG_fail
;
9019 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9020 if (PyErr_Occurred()) SWIG_fail
;
9021 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
9022 if (PyErr_Occurred()) SWIG_fail
;
9023 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
9024 if (PyErr_Occurred()) SWIG_fail
;
9026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9027 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
9029 wxPyEndAllowThreads(__tstate
);
9030 if (PyErr_Occurred()) SWIG_fail
;
9032 Py_INCREF(Py_None
); resultobj
= Py_None
;
9039 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9040 PyObject
*resultobj
;
9041 wxImage
*arg1
= (wxImage
*) 0 ;
9044 unsigned char result
;
9045 PyObject
* obj0
= 0 ;
9046 PyObject
* obj1
= 0 ;
9047 PyObject
* obj2
= 0 ;
9049 (char *) "self",(char *) "x",(char *) "y", NULL
9052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9055 arg2
= (int) SWIG_AsInt(obj1
);
9056 if (PyErr_Occurred()) SWIG_fail
;
9057 arg3
= (int) SWIG_AsInt(obj2
);
9058 if (PyErr_Occurred()) SWIG_fail
;
9060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9061 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9063 wxPyEndAllowThreads(__tstate
);
9064 if (PyErr_Occurred()) SWIG_fail
;
9066 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9073 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9074 PyObject
*resultobj
;
9075 wxImage
*arg1
= (wxImage
*) 0 ;
9078 unsigned char result
;
9079 PyObject
* obj0
= 0 ;
9080 PyObject
* obj1
= 0 ;
9081 PyObject
* obj2
= 0 ;
9083 (char *) "self",(char *) "x",(char *) "y", NULL
9086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9089 arg2
= (int) SWIG_AsInt(obj1
);
9090 if (PyErr_Occurred()) SWIG_fail
;
9091 arg3
= (int) SWIG_AsInt(obj2
);
9092 if (PyErr_Occurred()) SWIG_fail
;
9094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9095 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9097 wxPyEndAllowThreads(__tstate
);
9098 if (PyErr_Occurred()) SWIG_fail
;
9100 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9107 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9108 PyObject
*resultobj
;
9109 wxImage
*arg1
= (wxImage
*) 0 ;
9112 unsigned char result
;
9113 PyObject
* obj0
= 0 ;
9114 PyObject
* obj1
= 0 ;
9115 PyObject
* obj2
= 0 ;
9117 (char *) "self",(char *) "x",(char *) "y", NULL
9120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9123 arg2
= (int) SWIG_AsInt(obj1
);
9124 if (PyErr_Occurred()) SWIG_fail
;
9125 arg3
= (int) SWIG_AsInt(obj2
);
9126 if (PyErr_Occurred()) SWIG_fail
;
9128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9129 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9131 wxPyEndAllowThreads(__tstate
);
9132 if (PyErr_Occurred()) SWIG_fail
;
9134 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9141 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9142 PyObject
*resultobj
;
9143 wxImage
*arg1
= (wxImage
*) 0 ;
9146 unsigned char arg4
;
9147 PyObject
* obj0
= 0 ;
9148 PyObject
* obj1
= 0 ;
9149 PyObject
* obj2
= 0 ;
9150 PyObject
* obj3
= 0 ;
9152 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9158 arg2
= (int) SWIG_AsInt(obj1
);
9159 if (PyErr_Occurred()) SWIG_fail
;
9160 arg3
= (int) SWIG_AsInt(obj2
);
9161 if (PyErr_Occurred()) SWIG_fail
;
9162 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9163 if (PyErr_Occurred()) SWIG_fail
;
9165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9166 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9168 wxPyEndAllowThreads(__tstate
);
9169 if (PyErr_Occurred()) SWIG_fail
;
9171 Py_INCREF(Py_None
); resultobj
= Py_None
;
9178 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9179 PyObject
*resultobj
;
9180 wxImage
*arg1
= (wxImage
*) 0 ;
9183 unsigned char result
;
9184 PyObject
* obj0
= 0 ;
9185 PyObject
* obj1
= 0 ;
9186 PyObject
* obj2
= 0 ;
9188 (char *) "self",(char *) "x",(char *) "y", NULL
9191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9194 arg2
= (int) SWIG_AsInt(obj1
);
9195 if (PyErr_Occurred()) SWIG_fail
;
9196 arg3
= (int) SWIG_AsInt(obj2
);
9197 if (PyErr_Occurred()) SWIG_fail
;
9199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9200 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9202 wxPyEndAllowThreads(__tstate
);
9203 if (PyErr_Occurred()) SWIG_fail
;
9205 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9212 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9213 PyObject
*resultobj
;
9214 wxImage
*arg1
= (wxImage
*) 0 ;
9216 PyObject
* obj0
= 0 ;
9218 (char *) "self", NULL
9221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9226 result
= (bool)(arg1
)->HasAlpha();
9228 wxPyEndAllowThreads(__tstate
);
9229 if (PyErr_Occurred()) SWIG_fail
;
9232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9240 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9241 PyObject
*resultobj
;
9242 wxImage
*arg1
= (wxImage
*) 0 ;
9243 byte
*arg2
= (byte
*) 0 ;
9244 byte
*arg3
= (byte
*) 0 ;
9245 byte
*arg4
= (byte
*) 0 ;
9246 byte arg5
= (byte
) 0 ;
9247 byte arg6
= (byte
) 0 ;
9248 byte arg7
= (byte
) 0 ;
9253 PyObject
* obj0
= 0 ;
9254 PyObject
* obj1
= 0 ;
9255 PyObject
* obj2
= 0 ;
9256 PyObject
* obj3
= 0 ;
9258 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9268 arg5
= (byte
) SWIG_AsUnsignedChar(obj1
);
9269 if (PyErr_Occurred()) SWIG_fail
;
9272 arg6
= (byte
) SWIG_AsUnsignedChar(obj2
);
9273 if (PyErr_Occurred()) SWIG_fail
;
9276 arg7
= (byte
) SWIG_AsUnsignedChar(obj3
);
9277 if (PyErr_Occurred()) SWIG_fail
;
9280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9281 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9283 wxPyEndAllowThreads(__tstate
);
9284 if (PyErr_Occurred()) SWIG_fail
;
9287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9290 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
9291 resultobj
= t_output_helper(resultobj
,o
);
9294 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9295 resultobj
= t_output_helper(resultobj
,o
);
9298 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9299 resultobj
= t_output_helper(resultobj
,o
);
9307 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9308 PyObject
*resultobj
;
9309 wxImage
*arg1
= (wxImage
*) 0 ;
9315 PyObject
* obj0
= 0 ;
9316 PyObject
* obj1
= 0 ;
9317 PyObject
* obj2
= 0 ;
9318 PyObject
* obj3
= 0 ;
9319 PyObject
* obj4
= 0 ;
9321 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9327 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9328 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9331 PyErr_SetString(PyExc_TypeError
,"null reference");
9334 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
9335 if (PyErr_Occurred()) SWIG_fail
;
9336 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
9337 if (PyErr_Occurred()) SWIG_fail
;
9338 arg5
= (byte
) SWIG_AsUnsignedChar(obj4
);
9339 if (PyErr_Occurred()) SWIG_fail
;
9341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9342 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9344 wxPyEndAllowThreads(__tstate
);
9345 if (PyErr_Occurred()) SWIG_fail
;
9348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9356 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9357 PyObject
*resultobj
;
9358 wxString
*arg1
= 0 ;
9360 bool temp1
= False
;
9361 PyObject
* obj0
= 0 ;
9363 (char *) "name", NULL
9366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9368 arg1
= wxString_in_helper(obj0
);
9369 if (arg1
== NULL
) SWIG_fail
;
9373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9374 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9376 wxPyEndAllowThreads(__tstate
);
9377 if (PyErr_Occurred()) SWIG_fail
;
9380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9396 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9397 PyObject
*resultobj
;
9398 wxString
*arg1
= 0 ;
9399 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9401 bool temp1
= False
;
9402 PyObject
* obj0
= 0 ;
9403 PyObject
* obj1
= 0 ;
9405 (char *) "name",(char *) "type", NULL
9408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9410 arg1
= wxString_in_helper(obj0
);
9411 if (arg1
== NULL
) SWIG_fail
;
9415 arg2
= (long) SWIG_AsLong(obj1
);
9416 if (PyErr_Occurred()) SWIG_fail
;
9419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9420 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9422 wxPyEndAllowThreads(__tstate
);
9423 if (PyErr_Occurred()) SWIG_fail
;
9425 resultobj
= SWIG_FromInt((int)result
);
9440 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9441 PyObject
*resultobj
;
9442 wxImage
*arg1
= (wxImage
*) 0 ;
9443 wxString
*arg2
= 0 ;
9444 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9445 int arg4
= (int) -1 ;
9447 bool temp2
= False
;
9448 PyObject
* obj0
= 0 ;
9449 PyObject
* obj1
= 0 ;
9450 PyObject
* obj2
= 0 ;
9451 PyObject
* obj3
= 0 ;
9453 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9460 arg2
= wxString_in_helper(obj1
);
9461 if (arg2
== NULL
) SWIG_fail
;
9465 arg3
= (long) SWIG_AsLong(obj2
);
9466 if (PyErr_Occurred()) SWIG_fail
;
9469 arg4
= (int) SWIG_AsInt(obj3
);
9470 if (PyErr_Occurred()) SWIG_fail
;
9473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9474 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9476 wxPyEndAllowThreads(__tstate
);
9477 if (PyErr_Occurred()) SWIG_fail
;
9480 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9496 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9497 PyObject
*resultobj
;
9498 wxImage
*arg1
= (wxImage
*) 0 ;
9499 wxString
*arg2
= 0 ;
9500 wxString
*arg3
= 0 ;
9501 int arg4
= (int) -1 ;
9503 bool temp2
= False
;
9504 bool temp3
= False
;
9505 PyObject
* obj0
= 0 ;
9506 PyObject
* obj1
= 0 ;
9507 PyObject
* obj2
= 0 ;
9508 PyObject
* obj3
= 0 ;
9510 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9517 arg2
= wxString_in_helper(obj1
);
9518 if (arg2
== NULL
) SWIG_fail
;
9522 arg3
= wxString_in_helper(obj2
);
9523 if (arg3
== NULL
) SWIG_fail
;
9527 arg4
= (int) SWIG_AsInt(obj3
);
9528 if (PyErr_Occurred()) SWIG_fail
;
9531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9532 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9534 wxPyEndAllowThreads(__tstate
);
9535 if (PyErr_Occurred()) SWIG_fail
;
9538 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9562 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9563 PyObject
*resultobj
;
9564 wxImage
*arg1
= (wxImage
*) 0 ;
9565 wxString
*arg2
= 0 ;
9568 bool temp2
= False
;
9569 PyObject
* obj0
= 0 ;
9570 PyObject
* obj1
= 0 ;
9571 PyObject
* obj2
= 0 ;
9573 (char *) "self",(char *) "name",(char *) "type", NULL
9576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9580 arg2
= wxString_in_helper(obj1
);
9581 if (arg2
== NULL
) SWIG_fail
;
9584 arg3
= (int) SWIG_AsInt(obj2
);
9585 if (PyErr_Occurred()) SWIG_fail
;
9587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9588 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
9590 wxPyEndAllowThreads(__tstate
);
9591 if (PyErr_Occurred()) SWIG_fail
;
9594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9610 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9611 PyObject
*resultobj
;
9612 wxImage
*arg1
= (wxImage
*) 0 ;
9613 wxString
*arg2
= 0 ;
9614 wxString
*arg3
= 0 ;
9616 bool temp2
= False
;
9617 bool temp3
= False
;
9618 PyObject
* obj0
= 0 ;
9619 PyObject
* obj1
= 0 ;
9620 PyObject
* obj2
= 0 ;
9622 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9629 arg2
= wxString_in_helper(obj1
);
9630 if (arg2
== NULL
) SWIG_fail
;
9634 arg3
= wxString_in_helper(obj2
);
9635 if (arg3
== NULL
) SWIG_fail
;
9639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9640 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9642 wxPyEndAllowThreads(__tstate
);
9643 if (PyErr_Occurred()) SWIG_fail
;
9646 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9670 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9671 PyObject
*resultobj
;
9672 wxInputStream
*arg1
= 0 ;
9674 wxPyInputStream
*temp1
;
9676 PyObject
* obj0
= 0 ;
9678 (char *) "stream", NULL
9681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
9683 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9684 arg1
= temp1
->m_wxis
;
9687 PyErr_Clear(); // clear the failure of the wxPyConvert above
9688 arg1
= wxPyCBInputStream_create(obj0
, False
);
9690 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9698 result
= (bool)wxImage::CanRead(*arg1
);
9700 wxPyEndAllowThreads(__tstate
);
9701 if (PyErr_Occurred()) SWIG_fail
;
9704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9720 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9721 PyObject
*resultobj
;
9722 wxImage
*arg1
= (wxImage
*) 0 ;
9723 wxInputStream
*arg2
= 0 ;
9724 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9725 int arg4
= (int) -1 ;
9727 wxPyInputStream
*temp2
;
9729 PyObject
* obj0
= 0 ;
9730 PyObject
* obj1
= 0 ;
9731 PyObject
* obj2
= 0 ;
9732 PyObject
* obj3
= 0 ;
9734 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9741 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9742 arg2
= temp2
->m_wxis
;
9745 PyErr_Clear(); // clear the failure of the wxPyConvert above
9746 arg2
= wxPyCBInputStream_create(obj1
, False
);
9748 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9755 arg3
= (long) SWIG_AsLong(obj2
);
9756 if (PyErr_Occurred()) SWIG_fail
;
9759 arg4
= (int) SWIG_AsInt(obj3
);
9760 if (PyErr_Occurred()) SWIG_fail
;
9763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9764 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
9766 wxPyEndAllowThreads(__tstate
);
9767 if (PyErr_Occurred()) SWIG_fail
;
9770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9786 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9787 PyObject
*resultobj
;
9788 wxImage
*arg1
= (wxImage
*) 0 ;
9789 wxInputStream
*arg2
= 0 ;
9790 wxString
*arg3
= 0 ;
9791 int arg4
= (int) -1 ;
9793 wxPyInputStream
*temp2
;
9795 bool temp3
= False
;
9796 PyObject
* obj0
= 0 ;
9797 PyObject
* obj1
= 0 ;
9798 PyObject
* obj2
= 0 ;
9799 PyObject
* obj3
= 0 ;
9801 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9808 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9809 arg2
= temp2
->m_wxis
;
9812 PyErr_Clear(); // clear the failure of the wxPyConvert above
9813 arg2
= wxPyCBInputStream_create(obj1
, False
);
9815 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9822 arg3
= wxString_in_helper(obj2
);
9823 if (arg3
== NULL
) SWIG_fail
;
9827 arg4
= (int) SWIG_AsInt(obj3
);
9828 if (PyErr_Occurred()) SWIG_fail
;
9831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9832 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
9834 wxPyEndAllowThreads(__tstate
);
9835 if (PyErr_Occurred()) SWIG_fail
;
9838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9862 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9863 PyObject
*resultobj
;
9864 wxImage
*arg1
= (wxImage
*) 0 ;
9866 PyObject
* obj0
= 0 ;
9868 (char *) "self", NULL
9871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
9872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9876 result
= (bool)(arg1
)->Ok();
9878 wxPyEndAllowThreads(__tstate
);
9879 if (PyErr_Occurred()) SWIG_fail
;
9882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9890 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9891 PyObject
*resultobj
;
9892 wxImage
*arg1
= (wxImage
*) 0 ;
9894 PyObject
* obj0
= 0 ;
9896 (char *) "self", NULL
9899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
9900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9904 result
= (int)(arg1
)->GetWidth();
9906 wxPyEndAllowThreads(__tstate
);
9907 if (PyErr_Occurred()) SWIG_fail
;
9909 resultobj
= SWIG_FromInt((int)result
);
9916 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9917 PyObject
*resultobj
;
9918 wxImage
*arg1
= (wxImage
*) 0 ;
9920 PyObject
* obj0
= 0 ;
9922 (char *) "self", NULL
9925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
9926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9930 result
= (int)(arg1
)->GetHeight();
9932 wxPyEndAllowThreads(__tstate
);
9933 if (PyErr_Occurred()) SWIG_fail
;
9935 resultobj
= SWIG_FromInt((int)result
);
9942 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9943 PyObject
*resultobj
;
9944 wxImage
*arg1
= (wxImage
*) 0 ;
9946 SwigValueWrapper
< wxImage
> result
;
9948 PyObject
* obj0
= 0 ;
9949 PyObject
* obj1
= 0 ;
9951 (char *) "self",(char *) "rect", NULL
9954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
9955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9959 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9963 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
9965 wxPyEndAllowThreads(__tstate
);
9966 if (PyErr_Occurred()) SWIG_fail
;
9969 wxImage
* resultptr
;
9970 resultptr
= new wxImage((wxImage
&) result
);
9971 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9979 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9980 PyObject
*resultobj
;
9981 wxImage
*arg1
= (wxImage
*) 0 ;
9982 SwigValueWrapper
< wxImage
> result
;
9983 PyObject
* obj0
= 0 ;
9985 (char *) "self", NULL
9988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
9989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9993 result
= (arg1
)->Copy();
9995 wxPyEndAllowThreads(__tstate
);
9996 if (PyErr_Occurred()) SWIG_fail
;
9999 wxImage
* resultptr
;
10000 resultptr
= new wxImage((wxImage
&) result
);
10001 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10009 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10010 PyObject
*resultobj
;
10011 wxImage
*arg1
= (wxImage
*) 0 ;
10012 wxImage
*arg2
= 0 ;
10015 PyObject
* obj0
= 0 ;
10016 PyObject
* obj1
= 0 ;
10017 PyObject
* obj2
= 0 ;
10018 PyObject
* obj3
= 0 ;
10019 char *kwnames
[] = {
10020 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10026 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
10027 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10029 if (arg2
== NULL
) {
10030 PyErr_SetString(PyExc_TypeError
,"null reference");
10033 arg3
= (int) SWIG_AsInt(obj2
);
10034 if (PyErr_Occurred()) SWIG_fail
;
10035 arg4
= (int) SWIG_AsInt(obj3
);
10036 if (PyErr_Occurred()) SWIG_fail
;
10038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10039 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
10041 wxPyEndAllowThreads(__tstate
);
10042 if (PyErr_Occurred()) SWIG_fail
;
10044 Py_INCREF(Py_None
); resultobj
= Py_None
;
10051 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10052 PyObject
*resultobj
;
10053 wxImage
*arg1
= (wxImage
*) 0 ;
10055 PyObject
* obj0
= 0 ;
10056 char *kwnames
[] = {
10057 (char *) "self", NULL
10060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
10061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10065 result
= (PyObject
*)wxImage_GetData(arg1
);
10067 wxPyEndAllowThreads(__tstate
);
10068 if (PyErr_Occurred()) SWIG_fail
;
10070 resultobj
= result
;
10077 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10078 PyObject
*resultobj
;
10079 wxImage
*arg1
= (wxImage
*) 0 ;
10080 PyObject
*arg2
= (PyObject
*) 0 ;
10081 PyObject
* obj0
= 0 ;
10082 PyObject
* obj1
= 0 ;
10083 char *kwnames
[] = {
10084 (char *) "self",(char *) "data", NULL
10087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10093 wxImage_SetData(arg1
,arg2
);
10095 wxPyEndAllowThreads(__tstate
);
10096 if (PyErr_Occurred()) SWIG_fail
;
10098 Py_INCREF(Py_None
); resultobj
= Py_None
;
10105 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10106 PyObject
*resultobj
;
10107 wxImage
*arg1
= (wxImage
*) 0 ;
10109 PyObject
* obj0
= 0 ;
10110 char *kwnames
[] = {
10111 (char *) "self", NULL
10114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10119 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10121 wxPyEndAllowThreads(__tstate
);
10122 if (PyErr_Occurred()) SWIG_fail
;
10124 resultobj
= result
;
10131 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10132 PyObject
*resultobj
;
10133 wxImage
*arg1
= (wxImage
*) 0 ;
10134 PyObject
*arg2
= (PyObject
*) 0 ;
10135 PyObject
* obj0
= 0 ;
10136 PyObject
* obj1
= 0 ;
10137 char *kwnames
[] = {
10138 (char *) "self",(char *) "data", NULL
10141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10147 wxImage_SetDataBuffer(arg1
,arg2
);
10149 wxPyEndAllowThreads(__tstate
);
10150 if (PyErr_Occurred()) SWIG_fail
;
10152 Py_INCREF(Py_None
); resultobj
= Py_None
;
10159 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10160 PyObject
*resultobj
;
10161 wxImage
*arg1
= (wxImage
*) 0 ;
10163 PyObject
* obj0
= 0 ;
10164 char *kwnames
[] = {
10165 (char *) "self", NULL
10168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10173 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10175 wxPyEndAllowThreads(__tstate
);
10176 if (PyErr_Occurred()) SWIG_fail
;
10178 resultobj
= result
;
10185 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10186 PyObject
*resultobj
;
10187 wxImage
*arg1
= (wxImage
*) 0 ;
10188 PyObject
*arg2
= (PyObject
*) 0 ;
10189 PyObject
* obj0
= 0 ;
10190 PyObject
* obj1
= 0 ;
10191 char *kwnames
[] = {
10192 (char *) "self",(char *) "data", NULL
10195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10201 wxImage_SetAlphaData(arg1
,arg2
);
10203 wxPyEndAllowThreads(__tstate
);
10204 if (PyErr_Occurred()) SWIG_fail
;
10206 Py_INCREF(Py_None
); resultobj
= Py_None
;
10213 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10214 PyObject
*resultobj
;
10215 wxImage
*arg1
= (wxImage
*) 0 ;
10217 PyObject
* obj0
= 0 ;
10218 char *kwnames
[] = {
10219 (char *) "self", NULL
10222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10227 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10229 wxPyEndAllowThreads(__tstate
);
10230 if (PyErr_Occurred()) SWIG_fail
;
10232 resultobj
= result
;
10239 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10240 PyObject
*resultobj
;
10241 wxImage
*arg1
= (wxImage
*) 0 ;
10242 PyObject
*arg2
= (PyObject
*) 0 ;
10243 PyObject
* obj0
= 0 ;
10244 PyObject
* obj1
= 0 ;
10245 char *kwnames
[] = {
10246 (char *) "self",(char *) "data", NULL
10249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10255 wxImage_SetAlphaBuffer(arg1
,arg2
);
10257 wxPyEndAllowThreads(__tstate
);
10258 if (PyErr_Occurred()) SWIG_fail
;
10260 Py_INCREF(Py_None
); resultobj
= Py_None
;
10267 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10268 PyObject
*resultobj
;
10269 wxImage
*arg1
= (wxImage
*) 0 ;
10270 unsigned char arg2
;
10271 unsigned char arg3
;
10272 unsigned char arg4
;
10273 PyObject
* obj0
= 0 ;
10274 PyObject
* obj1
= 0 ;
10275 PyObject
* obj2
= 0 ;
10276 PyObject
* obj3
= 0 ;
10277 char *kwnames
[] = {
10278 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10284 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10285 if (PyErr_Occurred()) SWIG_fail
;
10286 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10287 if (PyErr_Occurred()) SWIG_fail
;
10288 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10289 if (PyErr_Occurred()) SWIG_fail
;
10291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10292 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10294 wxPyEndAllowThreads(__tstate
);
10295 if (PyErr_Occurred()) SWIG_fail
;
10297 Py_INCREF(Py_None
); resultobj
= Py_None
;
10304 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10305 PyObject
*resultobj
;
10306 wxImage
*arg1
= (wxImage
*) 0 ;
10307 unsigned char result
;
10308 PyObject
* obj0
= 0 ;
10309 char *kwnames
[] = {
10310 (char *) "self", NULL
10313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10318 result
= (unsigned char)(arg1
)->GetMaskRed();
10320 wxPyEndAllowThreads(__tstate
);
10321 if (PyErr_Occurred()) SWIG_fail
;
10323 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10330 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10331 PyObject
*resultobj
;
10332 wxImage
*arg1
= (wxImage
*) 0 ;
10333 unsigned char result
;
10334 PyObject
* obj0
= 0 ;
10335 char *kwnames
[] = {
10336 (char *) "self", NULL
10339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10344 result
= (unsigned char)(arg1
)->GetMaskGreen();
10346 wxPyEndAllowThreads(__tstate
);
10347 if (PyErr_Occurred()) SWIG_fail
;
10349 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10356 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10357 PyObject
*resultobj
;
10358 wxImage
*arg1
= (wxImage
*) 0 ;
10359 unsigned char result
;
10360 PyObject
* obj0
= 0 ;
10361 char *kwnames
[] = {
10362 (char *) "self", NULL
10365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10370 result
= (unsigned char)(arg1
)->GetMaskBlue();
10372 wxPyEndAllowThreads(__tstate
);
10373 if (PyErr_Occurred()) SWIG_fail
;
10375 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10382 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10383 PyObject
*resultobj
;
10384 wxImage
*arg1
= (wxImage
*) 0 ;
10385 bool arg2
= (bool) True
;
10386 PyObject
* obj0
= 0 ;
10387 PyObject
* obj1
= 0 ;
10388 char *kwnames
[] = {
10389 (char *) "self",(char *) "mask", NULL
10392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10396 arg2
= (bool) SWIG_AsBool(obj1
);
10397 if (PyErr_Occurred()) SWIG_fail
;
10400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10401 (arg1
)->SetMask(arg2
);
10403 wxPyEndAllowThreads(__tstate
);
10404 if (PyErr_Occurred()) SWIG_fail
;
10406 Py_INCREF(Py_None
); resultobj
= Py_None
;
10413 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10414 PyObject
*resultobj
;
10415 wxImage
*arg1
= (wxImage
*) 0 ;
10417 PyObject
* obj0
= 0 ;
10418 char *kwnames
[] = {
10419 (char *) "self", NULL
10422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10427 result
= (bool)(arg1
)->HasMask();
10429 wxPyEndAllowThreads(__tstate
);
10430 if (PyErr_Occurred()) SWIG_fail
;
10433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10441 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10442 PyObject
*resultobj
;
10443 wxImage
*arg1
= (wxImage
*) 0 ;
10445 wxPoint
*arg3
= 0 ;
10446 bool arg4
= (bool) True
;
10447 wxPoint
*arg5
= (wxPoint
*) NULL
;
10448 SwigValueWrapper
< wxImage
> result
;
10450 PyObject
* obj0
= 0 ;
10451 PyObject
* obj1
= 0 ;
10452 PyObject
* obj2
= 0 ;
10453 PyObject
* obj3
= 0 ;
10454 PyObject
* obj4
= 0 ;
10455 char *kwnames
[] = {
10456 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10462 arg2
= (double) SWIG_AsDouble(obj1
);
10463 if (PyErr_Occurred()) SWIG_fail
;
10466 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10469 arg4
= (bool) SWIG_AsBool(obj3
);
10470 if (PyErr_Occurred()) SWIG_fail
;
10473 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
10474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10478 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10480 wxPyEndAllowThreads(__tstate
);
10481 if (PyErr_Occurred()) SWIG_fail
;
10484 wxImage
* resultptr
;
10485 resultptr
= new wxImage((wxImage
&) result
);
10486 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10494 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10495 PyObject
*resultobj
;
10496 wxImage
*arg1
= (wxImage
*) 0 ;
10497 bool arg2
= (bool) True
;
10498 SwigValueWrapper
< wxImage
> result
;
10499 PyObject
* obj0
= 0 ;
10500 PyObject
* obj1
= 0 ;
10501 char *kwnames
[] = {
10502 (char *) "self",(char *) "clockwise", NULL
10505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10509 arg2
= (bool) SWIG_AsBool(obj1
);
10510 if (PyErr_Occurred()) SWIG_fail
;
10513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10514 result
= (arg1
)->Rotate90(arg2
);
10516 wxPyEndAllowThreads(__tstate
);
10517 if (PyErr_Occurred()) SWIG_fail
;
10520 wxImage
* resultptr
;
10521 resultptr
= new wxImage((wxImage
&) result
);
10522 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10530 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10531 PyObject
*resultobj
;
10532 wxImage
*arg1
= (wxImage
*) 0 ;
10533 bool arg2
= (bool) True
;
10534 SwigValueWrapper
< wxImage
> result
;
10535 PyObject
* obj0
= 0 ;
10536 PyObject
* obj1
= 0 ;
10537 char *kwnames
[] = {
10538 (char *) "self",(char *) "horizontally", NULL
10541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
10542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10545 arg2
= (bool) SWIG_AsBool(obj1
);
10546 if (PyErr_Occurred()) SWIG_fail
;
10549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10550 result
= (arg1
)->Mirror(arg2
);
10552 wxPyEndAllowThreads(__tstate
);
10553 if (PyErr_Occurred()) SWIG_fail
;
10556 wxImage
* resultptr
;
10557 resultptr
= new wxImage((wxImage
&) result
);
10558 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10566 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10567 PyObject
*resultobj
;
10568 wxImage
*arg1
= (wxImage
*) 0 ;
10569 unsigned char arg2
;
10570 unsigned char arg3
;
10571 unsigned char arg4
;
10572 unsigned char arg5
;
10573 unsigned char arg6
;
10574 unsigned char arg7
;
10575 PyObject
* obj0
= 0 ;
10576 PyObject
* obj1
= 0 ;
10577 PyObject
* obj2
= 0 ;
10578 PyObject
* obj3
= 0 ;
10579 PyObject
* obj4
= 0 ;
10580 PyObject
* obj5
= 0 ;
10581 PyObject
* obj6
= 0 ;
10582 char *kwnames
[] = {
10583 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10589 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10590 if (PyErr_Occurred()) SWIG_fail
;
10591 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10592 if (PyErr_Occurred()) SWIG_fail
;
10593 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10594 if (PyErr_Occurred()) SWIG_fail
;
10595 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
10596 if (PyErr_Occurred()) SWIG_fail
;
10597 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
10598 if (PyErr_Occurred()) SWIG_fail
;
10599 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj6
);
10600 if (PyErr_Occurred()) SWIG_fail
;
10602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10603 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10605 wxPyEndAllowThreads(__tstate
);
10606 if (PyErr_Occurred()) SWIG_fail
;
10608 Py_INCREF(Py_None
); resultobj
= Py_None
;
10615 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10616 PyObject
*resultobj
;
10617 wxImage
*arg1
= (wxImage
*) 0 ;
10618 unsigned char arg2
;
10619 unsigned char arg3
;
10620 unsigned char arg4
;
10621 SwigValueWrapper
< wxImage
> result
;
10622 PyObject
* obj0
= 0 ;
10623 PyObject
* obj1
= 0 ;
10624 PyObject
* obj2
= 0 ;
10625 PyObject
* obj3
= 0 ;
10626 char *kwnames
[] = {
10627 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10633 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10634 if (PyErr_Occurred()) SWIG_fail
;
10635 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10636 if (PyErr_Occurred()) SWIG_fail
;
10637 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10638 if (PyErr_Occurred()) SWIG_fail
;
10640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10641 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
10643 wxPyEndAllowThreads(__tstate
);
10644 if (PyErr_Occurred()) SWIG_fail
;
10647 wxImage
* resultptr
;
10648 resultptr
= new wxImage((wxImage
&) result
);
10649 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10657 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10658 PyObject
*resultobj
;
10659 wxImage
*arg1
= (wxImage
*) 0 ;
10660 wxString
*arg2
= 0 ;
10661 wxString
*arg3
= 0 ;
10662 bool temp2
= False
;
10663 bool temp3
= False
;
10664 PyObject
* obj0
= 0 ;
10665 PyObject
* obj1
= 0 ;
10666 PyObject
* obj2
= 0 ;
10667 char *kwnames
[] = {
10668 (char *) "self",(char *) "name",(char *) "value", NULL
10671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10675 arg2
= wxString_in_helper(obj1
);
10676 if (arg2
== NULL
) SWIG_fail
;
10680 arg3
= wxString_in_helper(obj2
);
10681 if (arg3
== NULL
) SWIG_fail
;
10685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10686 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10688 wxPyEndAllowThreads(__tstate
);
10689 if (PyErr_Occurred()) SWIG_fail
;
10691 Py_INCREF(Py_None
); resultobj
= Py_None
;
10714 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10715 PyObject
*resultobj
;
10716 wxImage
*arg1
= (wxImage
*) 0 ;
10717 wxString
*arg2
= 0 ;
10719 bool temp2
= False
;
10720 PyObject
* obj0
= 0 ;
10721 PyObject
* obj1
= 0 ;
10722 PyObject
* obj2
= 0 ;
10723 char *kwnames
[] = {
10724 (char *) "self",(char *) "name",(char *) "value", NULL
10727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10731 arg2
= wxString_in_helper(obj1
);
10732 if (arg2
== NULL
) SWIG_fail
;
10735 arg3
= (int) SWIG_AsInt(obj2
);
10736 if (PyErr_Occurred()) SWIG_fail
;
10738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10739 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
10741 wxPyEndAllowThreads(__tstate
);
10742 if (PyErr_Occurred()) SWIG_fail
;
10744 Py_INCREF(Py_None
); resultobj
= Py_None
;
10759 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10760 PyObject
*resultobj
;
10761 wxImage
*arg1
= (wxImage
*) 0 ;
10762 wxString
*arg2
= 0 ;
10764 bool temp2
= False
;
10765 PyObject
* obj0
= 0 ;
10766 PyObject
* obj1
= 0 ;
10767 char *kwnames
[] = {
10768 (char *) "self",(char *) "name", NULL
10771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10775 arg2
= wxString_in_helper(obj1
);
10776 if (arg2
== NULL
) SWIG_fail
;
10780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10781 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
10783 wxPyEndAllowThreads(__tstate
);
10784 if (PyErr_Occurred()) SWIG_fail
;
10788 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10790 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10807 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10808 PyObject
*resultobj
;
10809 wxImage
*arg1
= (wxImage
*) 0 ;
10810 wxString
*arg2
= 0 ;
10812 bool temp2
= False
;
10813 PyObject
* obj0
= 0 ;
10814 PyObject
* obj1
= 0 ;
10815 char *kwnames
[] = {
10816 (char *) "self",(char *) "name", NULL
10819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
10820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10823 arg2
= wxString_in_helper(obj1
);
10824 if (arg2
== NULL
) SWIG_fail
;
10828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10829 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
10831 wxPyEndAllowThreads(__tstate
);
10832 if (PyErr_Occurred()) SWIG_fail
;
10834 resultobj
= SWIG_FromInt((int)result
);
10849 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10850 PyObject
*resultobj
;
10851 wxImage
*arg1
= (wxImage
*) 0 ;
10852 wxString
*arg2
= 0 ;
10854 bool temp2
= False
;
10855 PyObject
* obj0
= 0 ;
10856 PyObject
* obj1
= 0 ;
10857 char *kwnames
[] = {
10858 (char *) "self",(char *) "name", NULL
10861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10865 arg2
= wxString_in_helper(obj1
);
10866 if (arg2
== NULL
) SWIG_fail
;
10870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10871 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
10873 wxPyEndAllowThreads(__tstate
);
10874 if (PyErr_Occurred()) SWIG_fail
;
10877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10893 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10894 PyObject
*resultobj
;
10895 wxImage
*arg1
= (wxImage
*) 0 ;
10896 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
10897 unsigned long result
;
10898 PyObject
* obj0
= 0 ;
10899 PyObject
* obj1
= 0 ;
10900 char *kwnames
[] = {
10901 (char *) "self",(char *) "stopafter", NULL
10904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
10905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10908 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
10909 if (PyErr_Occurred()) SWIG_fail
;
10912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10913 result
= (unsigned long)(arg1
)->CountColours(arg2
);
10915 wxPyEndAllowThreads(__tstate
);
10916 if (PyErr_Occurred()) SWIG_fail
;
10918 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
10925 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10926 PyObject
*resultobj
;
10927 wxImage
*arg1
= (wxImage
*) 0 ;
10928 wxImageHistogram
*arg2
= 0 ;
10929 unsigned long result
;
10930 PyObject
* obj0
= 0 ;
10931 PyObject
* obj1
= 0 ;
10932 char *kwnames
[] = {
10933 (char *) "self",(char *) "h", NULL
10936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
10937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10939 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
10940 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10942 if (arg2
== NULL
) {
10943 PyErr_SetString(PyExc_TypeError
,"null reference");
10947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10948 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
10950 wxPyEndAllowThreads(__tstate
);
10951 if (PyErr_Occurred()) SWIG_fail
;
10953 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
10960 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10961 PyObject
*resultobj
;
10962 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10963 PyObject
* obj0
= 0 ;
10964 char *kwnames
[] = {
10965 (char *) "handler", NULL
10968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
10969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
10970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10973 wxImage::AddHandler(arg1
);
10975 wxPyEndAllowThreads(__tstate
);
10976 if (PyErr_Occurred()) SWIG_fail
;
10978 Py_INCREF(Py_None
); resultobj
= Py_None
;
10985 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10986 PyObject
*resultobj
;
10987 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10988 PyObject
* obj0
= 0 ;
10989 char *kwnames
[] = {
10990 (char *) "handler", NULL
10993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
10994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
10995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10998 wxImage::InsertHandler(arg1
);
11000 wxPyEndAllowThreads(__tstate
);
11001 if (PyErr_Occurred()) SWIG_fail
;
11003 Py_INCREF(Py_None
); resultobj
= Py_None
;
11010 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11011 PyObject
*resultobj
;
11012 wxString
*arg1
= 0 ;
11014 bool temp1
= False
;
11015 PyObject
* obj0
= 0 ;
11016 char *kwnames
[] = {
11017 (char *) "name", NULL
11020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
11022 arg1
= wxString_in_helper(obj0
);
11023 if (arg1
== NULL
) SWIG_fail
;
11027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11028 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
11030 wxPyEndAllowThreads(__tstate
);
11031 if (PyErr_Occurred()) SWIG_fail
;
11034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11050 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11051 PyObject
*resultobj
;
11053 char *kwnames
[] = {
11057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
11059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11060 result
= wxImage::GetImageExtWildcard();
11062 wxPyEndAllowThreads(__tstate
);
11063 if (PyErr_Occurred()) SWIG_fail
;
11067 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11069 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11078 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11079 PyObject
*resultobj
;
11080 wxImage
*arg1
= (wxImage
*) 0 ;
11082 PyObject
* obj0
= 0 ;
11083 char *kwnames
[] = {
11084 (char *) "self", NULL
11087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
11088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11092 result
= wxImage_ConvertToBitmap(arg1
);
11094 wxPyEndAllowThreads(__tstate
);
11095 if (PyErr_Occurred()) SWIG_fail
;
11098 wxBitmap
* resultptr
;
11099 resultptr
= new wxBitmap((wxBitmap
&) result
);
11100 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11108 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11109 PyObject
*resultobj
;
11110 wxImage
*arg1
= (wxImage
*) 0 ;
11111 unsigned char arg2
;
11112 unsigned char arg3
;
11113 unsigned char arg4
;
11115 PyObject
* obj0
= 0 ;
11116 PyObject
* obj1
= 0 ;
11117 PyObject
* obj2
= 0 ;
11118 PyObject
* obj3
= 0 ;
11119 char *kwnames
[] = {
11120 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11126 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
11127 if (PyErr_Occurred()) SWIG_fail
;
11128 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
11129 if (PyErr_Occurred()) SWIG_fail
;
11130 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
11131 if (PyErr_Occurred()) SWIG_fail
;
11133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11134 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11136 wxPyEndAllowThreads(__tstate
);
11137 if (PyErr_Occurred()) SWIG_fail
;
11140 wxBitmap
* resultptr
;
11141 resultptr
= new wxBitmap((wxBitmap
&) result
);
11142 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11150 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
11152 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11153 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11155 return Py_BuildValue((char *)"");
11157 static PyObject
*_wrap_InitAllImageHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11158 PyObject
*resultobj
;
11159 char *kwnames
[] = {
11163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":InitAllImageHandlers",kwnames
)) goto fail
;
11165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11166 wxInitAllImageHandlers();
11168 wxPyEndAllowThreads(__tstate
);
11169 if (PyErr_Occurred()) SWIG_fail
;
11171 Py_INCREF(Py_None
); resultobj
= Py_None
;
11178 static int _wrap_NullImage_set(PyObject
*) {
11179 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11184 static PyObject
*_wrap_NullImage_get() {
11187 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11192 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
11193 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11198 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11203 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11205 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11212 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
11213 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11218 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11223 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11225 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11232 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
11233 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11238 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11243 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11245 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11252 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
11253 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11258 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11263 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11265 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11272 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
11273 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11278 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11283 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11285 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11292 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11293 PyObject
*resultobj
;
11294 wxBMPHandler
*result
;
11295 char *kwnames
[] = {
11299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11302 result
= (wxBMPHandler
*)new wxBMPHandler();
11304 wxPyEndAllowThreads(__tstate
);
11305 if (PyErr_Occurred()) SWIG_fail
;
11307 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11314 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
11316 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11317 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11319 return Py_BuildValue((char *)"");
11321 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11322 PyObject
*resultobj
;
11323 wxICOHandler
*result
;
11324 char *kwnames
[] = {
11328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11331 result
= (wxICOHandler
*)new wxICOHandler();
11333 wxPyEndAllowThreads(__tstate
);
11334 if (PyErr_Occurred()) SWIG_fail
;
11336 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11343 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
11345 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11346 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11348 return Py_BuildValue((char *)"");
11350 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11351 PyObject
*resultobj
;
11352 wxCURHandler
*result
;
11353 char *kwnames
[] = {
11357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11360 result
= (wxCURHandler
*)new wxCURHandler();
11362 wxPyEndAllowThreads(__tstate
);
11363 if (PyErr_Occurred()) SWIG_fail
;
11365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11372 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
11374 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11375 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11377 return Py_BuildValue((char *)"");
11379 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11380 PyObject
*resultobj
;
11381 wxANIHandler
*result
;
11382 char *kwnames
[] = {
11386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11389 result
= (wxANIHandler
*)new wxANIHandler();
11391 wxPyEndAllowThreads(__tstate
);
11392 if (PyErr_Occurred()) SWIG_fail
;
11394 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11401 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
11403 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11404 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11406 return Py_BuildValue((char *)"");
11408 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11409 PyObject
*resultobj
;
11410 wxPNGHandler
*result
;
11411 char *kwnames
[] = {
11415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11418 result
= (wxPNGHandler
*)new wxPNGHandler();
11420 wxPyEndAllowThreads(__tstate
);
11421 if (PyErr_Occurred()) SWIG_fail
;
11423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11430 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
11432 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11433 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11435 return Py_BuildValue((char *)"");
11437 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11438 PyObject
*resultobj
;
11439 wxGIFHandler
*result
;
11440 char *kwnames
[] = {
11444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11447 result
= (wxGIFHandler
*)new wxGIFHandler();
11449 wxPyEndAllowThreads(__tstate
);
11450 if (PyErr_Occurred()) SWIG_fail
;
11452 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
11459 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
11461 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11462 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11464 return Py_BuildValue((char *)"");
11466 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11467 PyObject
*resultobj
;
11468 wxPCXHandler
*result
;
11469 char *kwnames
[] = {
11473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11476 result
= (wxPCXHandler
*)new wxPCXHandler();
11478 wxPyEndAllowThreads(__tstate
);
11479 if (PyErr_Occurred()) SWIG_fail
;
11481 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
11488 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
11490 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11491 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11493 return Py_BuildValue((char *)"");
11495 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11496 PyObject
*resultobj
;
11497 wxJPEGHandler
*result
;
11498 char *kwnames
[] = {
11502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11505 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11507 wxPyEndAllowThreads(__tstate
);
11508 if (PyErr_Occurred()) SWIG_fail
;
11510 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
11517 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
11519 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11520 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11522 return Py_BuildValue((char *)"");
11524 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11525 PyObject
*resultobj
;
11526 wxPNMHandler
*result
;
11527 char *kwnames
[] = {
11531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11534 result
= (wxPNMHandler
*)new wxPNMHandler();
11536 wxPyEndAllowThreads(__tstate
);
11537 if (PyErr_Occurred()) SWIG_fail
;
11539 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
11546 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
11548 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11549 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11551 return Py_BuildValue((char *)"");
11553 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11554 PyObject
*resultobj
;
11555 wxXPMHandler
*result
;
11556 char *kwnames
[] = {
11560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11563 result
= (wxXPMHandler
*)new wxXPMHandler();
11565 wxPyEndAllowThreads(__tstate
);
11566 if (PyErr_Occurred()) SWIG_fail
;
11568 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
11575 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
11577 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11578 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
11580 return Py_BuildValue((char *)"");
11582 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11583 PyObject
*resultobj
;
11584 wxTIFFHandler
*result
;
11585 char *kwnames
[] = {
11589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
11591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11592 result
= (wxTIFFHandler
*)new wxTIFFHandler();
11594 wxPyEndAllowThreads(__tstate
);
11595 if (PyErr_Occurred()) SWIG_fail
;
11597 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
11604 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
11606 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11607 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
11609 return Py_BuildValue((char *)"");
11611 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11612 PyObject
*resultobj
;
11613 wxEvtHandler
*result
;
11614 char *kwnames
[] = {
11618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
11620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11621 result
= (wxEvtHandler
*)new wxEvtHandler();
11623 wxPyEndAllowThreads(__tstate
);
11624 if (PyErr_Occurred()) SWIG_fail
;
11627 resultobj
= wxPyMake_wxObject(result
);
11635 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11636 PyObject
*resultobj
;
11637 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11638 wxEvtHandler
*result
;
11639 PyObject
* obj0
= 0 ;
11640 char *kwnames
[] = {
11641 (char *) "self", NULL
11644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
11645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11649 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
11651 wxPyEndAllowThreads(__tstate
);
11652 if (PyErr_Occurred()) SWIG_fail
;
11655 resultobj
= wxPyMake_wxObject(result
);
11663 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11664 PyObject
*resultobj
;
11665 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11666 wxEvtHandler
*result
;
11667 PyObject
* obj0
= 0 ;
11668 char *kwnames
[] = {
11669 (char *) "self", NULL
11672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
11673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11677 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
11679 wxPyEndAllowThreads(__tstate
);
11680 if (PyErr_Occurred()) SWIG_fail
;
11683 resultobj
= wxPyMake_wxObject(result
);
11691 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11692 PyObject
*resultobj
;
11693 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11694 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11695 PyObject
* obj0
= 0 ;
11696 PyObject
* obj1
= 0 ;
11697 char *kwnames
[] = {
11698 (char *) "self",(char *) "handler", NULL
11701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11704 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11708 (arg1
)->SetNextHandler(arg2
);
11710 wxPyEndAllowThreads(__tstate
);
11711 if (PyErr_Occurred()) SWIG_fail
;
11713 Py_INCREF(Py_None
); resultobj
= Py_None
;
11720 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11721 PyObject
*resultobj
;
11722 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11723 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11724 PyObject
* obj0
= 0 ;
11725 PyObject
* obj1
= 0 ;
11726 char *kwnames
[] = {
11727 (char *) "self",(char *) "handler", NULL
11730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11733 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11737 (arg1
)->SetPreviousHandler(arg2
);
11739 wxPyEndAllowThreads(__tstate
);
11740 if (PyErr_Occurred()) SWIG_fail
;
11742 Py_INCREF(Py_None
); resultobj
= Py_None
;
11749 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11750 PyObject
*resultobj
;
11751 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11753 PyObject
* obj0
= 0 ;
11754 char *kwnames
[] = {
11755 (char *) "self", NULL
11758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
11759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11763 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
11765 wxPyEndAllowThreads(__tstate
);
11766 if (PyErr_Occurred()) SWIG_fail
;
11769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11777 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11778 PyObject
*resultobj
;
11779 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11781 PyObject
* obj0
= 0 ;
11782 PyObject
* obj1
= 0 ;
11783 char *kwnames
[] = {
11784 (char *) "self",(char *) "enabled", NULL
11787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
11788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11790 arg2
= (bool) SWIG_AsBool(obj1
);
11791 if (PyErr_Occurred()) SWIG_fail
;
11793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11794 (arg1
)->SetEvtHandlerEnabled(arg2
);
11796 wxPyEndAllowThreads(__tstate
);
11797 if (PyErr_Occurred()) SWIG_fail
;
11799 Py_INCREF(Py_None
); resultobj
= Py_None
;
11806 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11807 PyObject
*resultobj
;
11808 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11809 wxEvent
*arg2
= 0 ;
11811 PyObject
* obj0
= 0 ;
11812 PyObject
* obj1
= 0 ;
11813 char *kwnames
[] = {
11814 (char *) "self",(char *) "event", NULL
11817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11820 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
11821 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11823 if (arg2
== NULL
) {
11824 PyErr_SetString(PyExc_TypeError
,"null reference");
11828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11829 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
11831 wxPyEndAllowThreads(__tstate
);
11832 if (PyErr_Occurred()) SWIG_fail
;
11835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11843 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11844 PyObject
*resultobj
;
11845 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11846 wxEvent
*arg2
= 0 ;
11847 PyObject
* obj0
= 0 ;
11848 PyObject
* obj1
= 0 ;
11849 char *kwnames
[] = {
11850 (char *) "self",(char *) "event", NULL
11853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11856 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
11857 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11859 if (arg2
== NULL
) {
11860 PyErr_SetString(PyExc_TypeError
,"null reference");
11864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11865 (arg1
)->AddPendingEvent(*arg2
);
11867 wxPyEndAllowThreads(__tstate
);
11868 if (PyErr_Occurred()) SWIG_fail
;
11870 Py_INCREF(Py_None
); resultobj
= Py_None
;
11877 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11878 PyObject
*resultobj
;
11879 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11880 PyObject
* obj0
= 0 ;
11881 char *kwnames
[] = {
11882 (char *) "self", NULL
11885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
11886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11890 (arg1
)->ProcessPendingEvents();
11892 wxPyEndAllowThreads(__tstate
);
11893 if (PyErr_Occurred()) SWIG_fail
;
11895 Py_INCREF(Py_None
); resultobj
= Py_None
;
11902 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11903 PyObject
*resultobj
;
11904 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11908 PyObject
*arg5
= (PyObject
*) 0 ;
11909 PyObject
* obj0
= 0 ;
11910 PyObject
* obj1
= 0 ;
11911 PyObject
* obj2
= 0 ;
11912 PyObject
* obj3
= 0 ;
11913 PyObject
* obj4
= 0 ;
11914 char *kwnames
[] = {
11915 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
11918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11921 arg2
= (int) SWIG_AsInt(obj1
);
11922 if (PyErr_Occurred()) SWIG_fail
;
11923 arg3
= (int) SWIG_AsInt(obj2
);
11924 if (PyErr_Occurred()) SWIG_fail
;
11925 arg4
= (int) SWIG_AsInt(obj3
);
11926 if (PyErr_Occurred()) SWIG_fail
;
11929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11930 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
11932 wxPyEndAllowThreads(__tstate
);
11933 if (PyErr_Occurred()) SWIG_fail
;
11935 Py_INCREF(Py_None
); resultobj
= Py_None
;
11942 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11943 PyObject
*resultobj
;
11944 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11946 int arg3
= (int) -1 ;
11947 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
11949 PyObject
* obj0
= 0 ;
11950 PyObject
* obj1
= 0 ;
11951 PyObject
* obj2
= 0 ;
11952 PyObject
* obj3
= 0 ;
11953 char *kwnames
[] = {
11954 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
11957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11960 arg2
= (int) SWIG_AsInt(obj1
);
11961 if (PyErr_Occurred()) SWIG_fail
;
11963 arg3
= (int) SWIG_AsInt(obj2
);
11964 if (PyErr_Occurred()) SWIG_fail
;
11967 arg4
= (wxEventType
) SWIG_AsInt(obj3
);
11968 if (PyErr_Occurred()) SWIG_fail
;
11971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11972 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
11974 wxPyEndAllowThreads(__tstate
);
11975 if (PyErr_Occurred()) SWIG_fail
;
11978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11986 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11987 PyObject
*resultobj
;
11988 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11989 PyObject
*arg2
= (PyObject
*) 0 ;
11990 PyObject
* obj0
= 0 ;
11991 PyObject
* obj1
= 0 ;
11992 char *kwnames
[] = {
11993 (char *) "self",(char *) "_self", NULL
11996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
11997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12002 wxEvtHandler__setOORInfo(arg1
,arg2
);
12004 wxPyEndAllowThreads(__tstate
);
12005 if (PyErr_Occurred()) SWIG_fail
;
12007 Py_INCREF(Py_None
); resultobj
= Py_None
;
12014 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
12016 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12017 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12019 return Py_BuildValue((char *)"");
12021 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12022 PyObject
*resultobj
;
12023 wxEventType result
;
12024 char *kwnames
[] = {
12028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12031 result
= (wxEventType
)wxNewEventType();
12033 wxPyEndAllowThreads(__tstate
);
12034 if (PyErr_Occurred()) SWIG_fail
;
12036 resultobj
= SWIG_FromInt((int)result
);
12043 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12044 PyObject
*resultobj
;
12045 wxEvent
*arg1
= (wxEvent
*) 0 ;
12046 PyObject
* obj0
= 0 ;
12047 char *kwnames
[] = {
12048 (char *) "self", NULL
12051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12058 wxPyEndAllowThreads(__tstate
);
12059 if (PyErr_Occurred()) SWIG_fail
;
12061 Py_INCREF(Py_None
); resultobj
= Py_None
;
12068 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12069 PyObject
*resultobj
;
12070 wxEvent
*arg1
= (wxEvent
*) 0 ;
12072 PyObject
* obj0
= 0 ;
12073 PyObject
* obj1
= 0 ;
12074 char *kwnames
[] = {
12075 (char *) "self",(char *) "typ", NULL
12078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12081 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
12082 if (PyErr_Occurred()) SWIG_fail
;
12084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12085 (arg1
)->SetEventType(arg2
);
12087 wxPyEndAllowThreads(__tstate
);
12088 if (PyErr_Occurred()) SWIG_fail
;
12090 Py_INCREF(Py_None
); resultobj
= Py_None
;
12097 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12098 PyObject
*resultobj
;
12099 wxEvent
*arg1
= (wxEvent
*) 0 ;
12100 wxEventType result
;
12101 PyObject
* obj0
= 0 ;
12102 char *kwnames
[] = {
12103 (char *) "self", NULL
12106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12111 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12113 wxPyEndAllowThreads(__tstate
);
12114 if (PyErr_Occurred()) SWIG_fail
;
12116 resultobj
= SWIG_FromInt((int)result
);
12123 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12124 PyObject
*resultobj
;
12125 wxEvent
*arg1
= (wxEvent
*) 0 ;
12127 PyObject
* obj0
= 0 ;
12128 char *kwnames
[] = {
12129 (char *) "self", NULL
12132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12137 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12139 wxPyEndAllowThreads(__tstate
);
12140 if (PyErr_Occurred()) SWIG_fail
;
12143 resultobj
= wxPyMake_wxObject(result
);
12151 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12152 PyObject
*resultobj
;
12153 wxEvent
*arg1
= (wxEvent
*) 0 ;
12154 wxObject
*arg2
= (wxObject
*) 0 ;
12155 PyObject
* obj0
= 0 ;
12156 PyObject
* obj1
= 0 ;
12157 char *kwnames
[] = {
12158 (char *) "self",(char *) "obj", NULL
12161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12164 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12168 (arg1
)->SetEventObject(arg2
);
12170 wxPyEndAllowThreads(__tstate
);
12171 if (PyErr_Occurred()) SWIG_fail
;
12173 Py_INCREF(Py_None
); resultobj
= Py_None
;
12180 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12181 PyObject
*resultobj
;
12182 wxEvent
*arg1
= (wxEvent
*) 0 ;
12184 PyObject
* obj0
= 0 ;
12185 char *kwnames
[] = {
12186 (char *) "self", NULL
12189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12194 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12196 wxPyEndAllowThreads(__tstate
);
12197 if (PyErr_Occurred()) SWIG_fail
;
12199 resultobj
= SWIG_FromLong((long)result
);
12206 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12207 PyObject
*resultobj
;
12208 wxEvent
*arg1
= (wxEvent
*) 0 ;
12209 long arg2
= (long) 0 ;
12210 PyObject
* obj0
= 0 ;
12211 PyObject
* obj1
= 0 ;
12212 char *kwnames
[] = {
12213 (char *) "self",(char *) "ts", NULL
12216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12220 arg2
= (long) SWIG_AsLong(obj1
);
12221 if (PyErr_Occurred()) SWIG_fail
;
12224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12225 (arg1
)->SetTimestamp(arg2
);
12227 wxPyEndAllowThreads(__tstate
);
12228 if (PyErr_Occurred()) SWIG_fail
;
12230 Py_INCREF(Py_None
); resultobj
= Py_None
;
12237 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12238 PyObject
*resultobj
;
12239 wxEvent
*arg1
= (wxEvent
*) 0 ;
12241 PyObject
* obj0
= 0 ;
12242 char *kwnames
[] = {
12243 (char *) "self", NULL
12246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12251 result
= (int)((wxEvent
const *)arg1
)->GetId();
12253 wxPyEndAllowThreads(__tstate
);
12254 if (PyErr_Occurred()) SWIG_fail
;
12256 resultobj
= SWIG_FromInt((int)result
);
12263 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12264 PyObject
*resultobj
;
12265 wxEvent
*arg1
= (wxEvent
*) 0 ;
12267 PyObject
* obj0
= 0 ;
12268 PyObject
* obj1
= 0 ;
12269 char *kwnames
[] = {
12270 (char *) "self",(char *) "Id", NULL
12273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12276 arg2
= (int) SWIG_AsInt(obj1
);
12277 if (PyErr_Occurred()) SWIG_fail
;
12279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12280 (arg1
)->SetId(arg2
);
12282 wxPyEndAllowThreads(__tstate
);
12283 if (PyErr_Occurred()) SWIG_fail
;
12285 Py_INCREF(Py_None
); resultobj
= Py_None
;
12292 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12293 PyObject
*resultobj
;
12294 wxEvent
*arg1
= (wxEvent
*) 0 ;
12296 PyObject
* obj0
= 0 ;
12297 char *kwnames
[] = {
12298 (char *) "self", NULL
12301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12306 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12308 wxPyEndAllowThreads(__tstate
);
12309 if (PyErr_Occurred()) SWIG_fail
;
12312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12320 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12321 PyObject
*resultobj
;
12322 wxEvent
*arg1
= (wxEvent
*) 0 ;
12323 bool arg2
= (bool) True
;
12324 PyObject
* obj0
= 0 ;
12325 PyObject
* obj1
= 0 ;
12326 char *kwnames
[] = {
12327 (char *) "self",(char *) "skip", NULL
12330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12334 arg2
= (bool) SWIG_AsBool(obj1
);
12335 if (PyErr_Occurred()) SWIG_fail
;
12338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12339 (arg1
)->Skip(arg2
);
12341 wxPyEndAllowThreads(__tstate
);
12342 if (PyErr_Occurred()) SWIG_fail
;
12344 Py_INCREF(Py_None
); resultobj
= Py_None
;
12351 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12352 PyObject
*resultobj
;
12353 wxEvent
*arg1
= (wxEvent
*) 0 ;
12355 PyObject
* obj0
= 0 ;
12356 char *kwnames
[] = {
12357 (char *) "self", NULL
12360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12365 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12367 wxPyEndAllowThreads(__tstate
);
12368 if (PyErr_Occurred()) SWIG_fail
;
12371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12379 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12380 PyObject
*resultobj
;
12381 wxEvent
*arg1
= (wxEvent
*) 0 ;
12383 PyObject
* obj0
= 0 ;
12384 char *kwnames
[] = {
12385 (char *) "self", NULL
12388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12393 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12395 wxPyEndAllowThreads(__tstate
);
12396 if (PyErr_Occurred()) SWIG_fail
;
12399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12407 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12408 PyObject
*resultobj
;
12409 wxEvent
*arg1
= (wxEvent
*) 0 ;
12411 PyObject
* obj0
= 0 ;
12412 char *kwnames
[] = {
12413 (char *) "self", NULL
12416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12421 result
= (int)(arg1
)->StopPropagation();
12423 wxPyEndAllowThreads(__tstate
);
12424 if (PyErr_Occurred()) SWIG_fail
;
12426 resultobj
= SWIG_FromInt((int)result
);
12433 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12434 PyObject
*resultobj
;
12435 wxEvent
*arg1
= (wxEvent
*) 0 ;
12437 PyObject
* obj0
= 0 ;
12438 PyObject
* obj1
= 0 ;
12439 char *kwnames
[] = {
12440 (char *) "self",(char *) "propagationLevel", NULL
12443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12446 arg2
= (int) SWIG_AsInt(obj1
);
12447 if (PyErr_Occurred()) SWIG_fail
;
12449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12450 (arg1
)->ResumePropagation(arg2
);
12452 wxPyEndAllowThreads(__tstate
);
12453 if (PyErr_Occurred()) SWIG_fail
;
12455 Py_INCREF(Py_None
); resultobj
= Py_None
;
12462 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12463 PyObject
*resultobj
;
12464 wxEvent
*arg1
= (wxEvent
*) 0 ;
12466 PyObject
* obj0
= 0 ;
12467 char *kwnames
[] = {
12468 (char *) "self", NULL
12471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12476 result
= (wxEvent
*)(arg1
)->Clone();
12478 wxPyEndAllowThreads(__tstate
);
12479 if (PyErr_Occurred()) SWIG_fail
;
12481 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12488 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
12490 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12491 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12493 return Py_BuildValue((char *)"");
12495 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12496 PyObject
*resultobj
;
12497 wxEvent
*arg1
= 0 ;
12498 wxPropagationDisabler
*result
;
12499 PyObject
* obj0
= 0 ;
12500 char *kwnames
[] = {
12501 (char *) "event", NULL
12504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12506 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12508 if (arg1
== NULL
) {
12509 PyErr_SetString(PyExc_TypeError
,"null reference");
12513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12514 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
12516 wxPyEndAllowThreads(__tstate
);
12517 if (PyErr_Occurred()) SWIG_fail
;
12519 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
12526 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12527 PyObject
*resultobj
;
12528 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
12529 PyObject
* obj0
= 0 ;
12530 char *kwnames
[] = {
12531 (char *) "self", NULL
12534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
12536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12541 wxPyEndAllowThreads(__tstate
);
12542 if (PyErr_Occurred()) SWIG_fail
;
12544 Py_INCREF(Py_None
); resultobj
= Py_None
;
12551 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
12553 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12554 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
12556 return Py_BuildValue((char *)"");
12558 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12559 PyObject
*resultobj
;
12560 wxEvent
*arg1
= 0 ;
12561 wxPropagateOnce
*result
;
12562 PyObject
* obj0
= 0 ;
12563 char *kwnames
[] = {
12564 (char *) "event", NULL
12567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12569 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12571 if (arg1
== NULL
) {
12572 PyErr_SetString(PyExc_TypeError
,"null reference");
12576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12577 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
12579 wxPyEndAllowThreads(__tstate
);
12580 if (PyErr_Occurred()) SWIG_fail
;
12582 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
12589 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12590 PyObject
*resultobj
;
12591 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
12592 PyObject
* obj0
= 0 ;
12593 char *kwnames
[] = {
12594 (char *) "self", NULL
12597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
12599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12604 wxPyEndAllowThreads(__tstate
);
12605 if (PyErr_Occurred()) SWIG_fail
;
12607 Py_INCREF(Py_None
); resultobj
= Py_None
;
12614 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
12616 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12617 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
12619 return Py_BuildValue((char *)"");
12621 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12622 PyObject
*resultobj
;
12623 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12624 int arg2
= (int) 0 ;
12625 wxCommandEvent
*result
;
12626 PyObject
* obj0
= 0 ;
12627 PyObject
* obj1
= 0 ;
12628 char *kwnames
[] = {
12629 (char *) "commandType",(char *) "winid", NULL
12632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12634 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
12635 if (PyErr_Occurred()) SWIG_fail
;
12638 arg2
= (int) SWIG_AsInt(obj1
);
12639 if (PyErr_Occurred()) SWIG_fail
;
12642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12643 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
12645 wxPyEndAllowThreads(__tstate
);
12646 if (PyErr_Occurred()) SWIG_fail
;
12648 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
12655 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12656 PyObject
*resultobj
;
12657 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12659 PyObject
* obj0
= 0 ;
12660 char *kwnames
[] = {
12661 (char *) "self", NULL
12664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
12665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12669 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
12671 wxPyEndAllowThreads(__tstate
);
12672 if (PyErr_Occurred()) SWIG_fail
;
12674 resultobj
= SWIG_FromInt((int)result
);
12681 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12682 PyObject
*resultobj
;
12683 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12684 wxString
*arg2
= 0 ;
12685 bool temp2
= False
;
12686 PyObject
* obj0
= 0 ;
12687 PyObject
* obj1
= 0 ;
12688 char *kwnames
[] = {
12689 (char *) "self",(char *) "s", NULL
12692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12696 arg2
= wxString_in_helper(obj1
);
12697 if (arg2
== NULL
) SWIG_fail
;
12701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12702 (arg1
)->SetString((wxString
const &)*arg2
);
12704 wxPyEndAllowThreads(__tstate
);
12705 if (PyErr_Occurred()) SWIG_fail
;
12707 Py_INCREF(Py_None
); resultobj
= Py_None
;
12722 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12723 PyObject
*resultobj
;
12724 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12726 PyObject
* obj0
= 0 ;
12727 char *kwnames
[] = {
12728 (char *) "self", NULL
12731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
12732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12736 result
= ((wxCommandEvent
const *)arg1
)->GetString();
12738 wxPyEndAllowThreads(__tstate
);
12739 if (PyErr_Occurred()) SWIG_fail
;
12743 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12745 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12754 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12755 PyObject
*resultobj
;
12756 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12758 PyObject
* obj0
= 0 ;
12759 char *kwnames
[] = {
12760 (char *) "self", NULL
12763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
12764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12768 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
12770 wxPyEndAllowThreads(__tstate
);
12771 if (PyErr_Occurred()) SWIG_fail
;
12774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12782 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12783 PyObject
*resultobj
;
12784 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12786 PyObject
* obj0
= 0 ;
12787 char *kwnames
[] = {
12788 (char *) "self", NULL
12791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
12792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12796 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
12798 wxPyEndAllowThreads(__tstate
);
12799 if (PyErr_Occurred()) SWIG_fail
;
12802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12810 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12811 PyObject
*resultobj
;
12812 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12814 PyObject
* obj0
= 0 ;
12815 PyObject
* obj1
= 0 ;
12816 char *kwnames
[] = {
12817 (char *) "self",(char *) "extraLong", NULL
12820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
12821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12823 arg2
= (long) SWIG_AsLong(obj1
);
12824 if (PyErr_Occurred()) SWIG_fail
;
12826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12827 (arg1
)->SetExtraLong(arg2
);
12829 wxPyEndAllowThreads(__tstate
);
12830 if (PyErr_Occurred()) SWIG_fail
;
12832 Py_INCREF(Py_None
); resultobj
= Py_None
;
12839 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12840 PyObject
*resultobj
;
12841 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12843 PyObject
* obj0
= 0 ;
12844 char *kwnames
[] = {
12845 (char *) "self", NULL
12848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
12849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12853 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
12855 wxPyEndAllowThreads(__tstate
);
12856 if (PyErr_Occurred()) SWIG_fail
;
12858 resultobj
= SWIG_FromLong((long)result
);
12865 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12866 PyObject
*resultobj
;
12867 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12869 PyObject
* obj0
= 0 ;
12870 PyObject
* obj1
= 0 ;
12871 char *kwnames
[] = {
12872 (char *) "self",(char *) "i", NULL
12875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
12876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12878 arg2
= (int) SWIG_AsInt(obj1
);
12879 if (PyErr_Occurred()) SWIG_fail
;
12881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12882 (arg1
)->SetInt(arg2
);
12884 wxPyEndAllowThreads(__tstate
);
12885 if (PyErr_Occurred()) SWIG_fail
;
12887 Py_INCREF(Py_None
); resultobj
= Py_None
;
12894 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12895 PyObject
*resultobj
;
12896 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12898 PyObject
* obj0
= 0 ;
12899 char *kwnames
[] = {
12900 (char *) "self", NULL
12903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
12904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12908 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
12910 wxPyEndAllowThreads(__tstate
);
12911 if (PyErr_Occurred()) SWIG_fail
;
12913 resultobj
= SWIG_FromLong((long)result
);
12920 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12921 PyObject
*resultobj
;
12922 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12924 PyObject
* obj0
= 0 ;
12925 char *kwnames
[] = {
12926 (char *) "self", NULL
12929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
12930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12934 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
12936 wxPyEndAllowThreads(__tstate
);
12937 if (PyErr_Occurred()) SWIG_fail
;
12939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12946 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
12948 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12949 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
12951 return Py_BuildValue((char *)"");
12953 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12954 PyObject
*resultobj
;
12955 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12956 int arg2
= (int) 0 ;
12957 wxNotifyEvent
*result
;
12958 PyObject
* obj0
= 0 ;
12959 PyObject
* obj1
= 0 ;
12960 char *kwnames
[] = {
12961 (char *) "commandType",(char *) "winid", NULL
12964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12966 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
12967 if (PyErr_Occurred()) SWIG_fail
;
12970 arg2
= (int) SWIG_AsInt(obj1
);
12971 if (PyErr_Occurred()) SWIG_fail
;
12974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12975 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
12977 wxPyEndAllowThreads(__tstate
);
12978 if (PyErr_Occurred()) SWIG_fail
;
12980 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
12987 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12988 PyObject
*resultobj
;
12989 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
12990 PyObject
* obj0
= 0 ;
12991 char *kwnames
[] = {
12992 (char *) "self", NULL
12995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
12996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
12997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13002 wxPyEndAllowThreads(__tstate
);
13003 if (PyErr_Occurred()) SWIG_fail
;
13005 Py_INCREF(Py_None
); resultobj
= Py_None
;
13012 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13013 PyObject
*resultobj
;
13014 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13015 PyObject
* obj0
= 0 ;
13016 char *kwnames
[] = {
13017 (char *) "self", NULL
13020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13027 wxPyEndAllowThreads(__tstate
);
13028 if (PyErr_Occurred()) SWIG_fail
;
13030 Py_INCREF(Py_None
); resultobj
= Py_None
;
13037 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13038 PyObject
*resultobj
;
13039 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13041 PyObject
* obj0
= 0 ;
13042 char *kwnames
[] = {
13043 (char *) "self", NULL
13046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13051 result
= (bool)(arg1
)->IsAllowed();
13053 wxPyEndAllowThreads(__tstate
);
13054 if (PyErr_Occurred()) SWIG_fail
;
13057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13065 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
13067 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13068 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13070 return Py_BuildValue((char *)"");
13072 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13073 PyObject
*resultobj
;
13074 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13075 int arg2
= (int) 0 ;
13076 int arg3
= (int) 0 ;
13077 int arg4
= (int) 0 ;
13078 wxScrollEvent
*result
;
13079 PyObject
* obj0
= 0 ;
13080 PyObject
* obj1
= 0 ;
13081 PyObject
* obj2
= 0 ;
13082 PyObject
* obj3
= 0 ;
13083 char *kwnames
[] = {
13084 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13089 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13090 if (PyErr_Occurred()) SWIG_fail
;
13093 arg2
= (int) SWIG_AsInt(obj1
);
13094 if (PyErr_Occurred()) SWIG_fail
;
13097 arg3
= (int) SWIG_AsInt(obj2
);
13098 if (PyErr_Occurred()) SWIG_fail
;
13101 arg4
= (int) SWIG_AsInt(obj3
);
13102 if (PyErr_Occurred()) SWIG_fail
;
13105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13106 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13108 wxPyEndAllowThreads(__tstate
);
13109 if (PyErr_Occurred()) SWIG_fail
;
13111 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13118 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13119 PyObject
*resultobj
;
13120 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13122 PyObject
* obj0
= 0 ;
13123 char *kwnames
[] = {
13124 (char *) "self", NULL
13127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13132 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13134 wxPyEndAllowThreads(__tstate
);
13135 if (PyErr_Occurred()) SWIG_fail
;
13137 resultobj
= SWIG_FromInt((int)result
);
13144 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13145 PyObject
*resultobj
;
13146 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13148 PyObject
* obj0
= 0 ;
13149 char *kwnames
[] = {
13150 (char *) "self", NULL
13153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13158 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13160 wxPyEndAllowThreads(__tstate
);
13161 if (PyErr_Occurred()) SWIG_fail
;
13163 resultobj
= SWIG_FromInt((int)result
);
13170 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13171 PyObject
*resultobj
;
13172 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13174 PyObject
* obj0
= 0 ;
13175 PyObject
* obj1
= 0 ;
13176 char *kwnames
[] = {
13177 (char *) "self",(char *) "orient", NULL
13180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13183 arg2
= (int) SWIG_AsInt(obj1
);
13184 if (PyErr_Occurred()) SWIG_fail
;
13186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13187 (arg1
)->SetOrientation(arg2
);
13189 wxPyEndAllowThreads(__tstate
);
13190 if (PyErr_Occurred()) SWIG_fail
;
13192 Py_INCREF(Py_None
); resultobj
= Py_None
;
13199 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13200 PyObject
*resultobj
;
13201 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13203 PyObject
* obj0
= 0 ;
13204 PyObject
* obj1
= 0 ;
13205 char *kwnames
[] = {
13206 (char *) "self",(char *) "pos", NULL
13209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13212 arg2
= (int) SWIG_AsInt(obj1
);
13213 if (PyErr_Occurred()) SWIG_fail
;
13215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13216 (arg1
)->SetPosition(arg2
);
13218 wxPyEndAllowThreads(__tstate
);
13219 if (PyErr_Occurred()) SWIG_fail
;
13221 Py_INCREF(Py_None
); resultobj
= Py_None
;
13228 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
13230 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13231 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13233 return Py_BuildValue((char *)"");
13235 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13236 PyObject
*resultobj
;
13237 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13238 int arg2
= (int) 0 ;
13239 int arg3
= (int) 0 ;
13240 wxScrollWinEvent
*result
;
13241 PyObject
* obj0
= 0 ;
13242 PyObject
* obj1
= 0 ;
13243 PyObject
* obj2
= 0 ;
13244 char *kwnames
[] = {
13245 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13250 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13251 if (PyErr_Occurred()) SWIG_fail
;
13254 arg2
= (int) SWIG_AsInt(obj1
);
13255 if (PyErr_Occurred()) SWIG_fail
;
13258 arg3
= (int) SWIG_AsInt(obj2
);
13259 if (PyErr_Occurred()) SWIG_fail
;
13262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13263 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13265 wxPyEndAllowThreads(__tstate
);
13266 if (PyErr_Occurred()) SWIG_fail
;
13268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13275 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13276 PyObject
*resultobj
;
13277 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13279 PyObject
* obj0
= 0 ;
13280 char *kwnames
[] = {
13281 (char *) "self", NULL
13284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13289 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13291 wxPyEndAllowThreads(__tstate
);
13292 if (PyErr_Occurred()) SWIG_fail
;
13294 resultobj
= SWIG_FromInt((int)result
);
13301 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13302 PyObject
*resultobj
;
13303 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13305 PyObject
* obj0
= 0 ;
13306 char *kwnames
[] = {
13307 (char *) "self", NULL
13310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13315 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13317 wxPyEndAllowThreads(__tstate
);
13318 if (PyErr_Occurred()) SWIG_fail
;
13320 resultobj
= SWIG_FromInt((int)result
);
13327 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13328 PyObject
*resultobj
;
13329 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13331 PyObject
* obj0
= 0 ;
13332 PyObject
* obj1
= 0 ;
13333 char *kwnames
[] = {
13334 (char *) "self",(char *) "orient", NULL
13337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13340 arg2
= (int) SWIG_AsInt(obj1
);
13341 if (PyErr_Occurred()) SWIG_fail
;
13343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13344 (arg1
)->SetOrientation(arg2
);
13346 wxPyEndAllowThreads(__tstate
);
13347 if (PyErr_Occurred()) SWIG_fail
;
13349 Py_INCREF(Py_None
); resultobj
= Py_None
;
13356 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13357 PyObject
*resultobj
;
13358 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13360 PyObject
* obj0
= 0 ;
13361 PyObject
* obj1
= 0 ;
13362 char *kwnames
[] = {
13363 (char *) "self",(char *) "pos", NULL
13366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13369 arg2
= (int) SWIG_AsInt(obj1
);
13370 if (PyErr_Occurred()) SWIG_fail
;
13372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13373 (arg1
)->SetPosition(arg2
);
13375 wxPyEndAllowThreads(__tstate
);
13376 if (PyErr_Occurred()) SWIG_fail
;
13378 Py_INCREF(Py_None
); resultobj
= Py_None
;
13385 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
13387 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13388 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13390 return Py_BuildValue((char *)"");
13392 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13393 PyObject
*resultobj
;
13394 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13395 wxMouseEvent
*result
;
13396 PyObject
* obj0
= 0 ;
13397 char *kwnames
[] = {
13398 (char *) "mouseType", NULL
13401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13403 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13404 if (PyErr_Occurred()) SWIG_fail
;
13407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13408 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13410 wxPyEndAllowThreads(__tstate
);
13411 if (PyErr_Occurred()) SWIG_fail
;
13414 resultobj
= wxPyMake_wxObject(result
);
13422 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13423 PyObject
*resultobj
;
13424 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13426 PyObject
* obj0
= 0 ;
13427 char *kwnames
[] = {
13428 (char *) "self", NULL
13431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13436 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13438 wxPyEndAllowThreads(__tstate
);
13439 if (PyErr_Occurred()) SWIG_fail
;
13442 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13450 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13451 PyObject
*resultobj
;
13452 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13453 int arg2
= (int) wxMOUSE_BTN_ANY
;
13455 PyObject
* obj0
= 0 ;
13456 PyObject
* obj1
= 0 ;
13457 char *kwnames
[] = {
13458 (char *) "self",(char *) "but", NULL
13461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13465 arg2
= (int) SWIG_AsInt(obj1
);
13466 if (PyErr_Occurred()) SWIG_fail
;
13469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13470 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13472 wxPyEndAllowThreads(__tstate
);
13473 if (PyErr_Occurred()) SWIG_fail
;
13476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13484 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13485 PyObject
*resultobj
;
13486 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13487 int arg2
= (int) wxMOUSE_BTN_ANY
;
13489 PyObject
* obj0
= 0 ;
13490 PyObject
* obj1
= 0 ;
13491 char *kwnames
[] = {
13492 (char *) "self",(char *) "but", NULL
13495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13499 arg2
= (int) SWIG_AsInt(obj1
);
13500 if (PyErr_Occurred()) SWIG_fail
;
13503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13504 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13506 wxPyEndAllowThreads(__tstate
);
13507 if (PyErr_Occurred()) SWIG_fail
;
13510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13518 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13519 PyObject
*resultobj
;
13520 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13521 int arg2
= (int) wxMOUSE_BTN_ANY
;
13523 PyObject
* obj0
= 0 ;
13524 PyObject
* obj1
= 0 ;
13525 char *kwnames
[] = {
13526 (char *) "self",(char *) "but", NULL
13529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13533 arg2
= (int) SWIG_AsInt(obj1
);
13534 if (PyErr_Occurred()) SWIG_fail
;
13537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13538 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
13540 wxPyEndAllowThreads(__tstate
);
13541 if (PyErr_Occurred()) SWIG_fail
;
13544 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13552 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13553 PyObject
*resultobj
;
13554 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13557 PyObject
* obj0
= 0 ;
13558 PyObject
* obj1
= 0 ;
13559 char *kwnames
[] = {
13560 (char *) "self",(char *) "but", NULL
13563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
13564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13566 arg2
= (int) SWIG_AsInt(obj1
);
13567 if (PyErr_Occurred()) SWIG_fail
;
13569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13570 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
13572 wxPyEndAllowThreads(__tstate
);
13573 if (PyErr_Occurred()) SWIG_fail
;
13576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13584 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13585 PyObject
*resultobj
;
13586 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13589 PyObject
* obj0
= 0 ;
13590 PyObject
* obj1
= 0 ;
13591 char *kwnames
[] = {
13592 (char *) "self",(char *) "but", NULL
13595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13598 arg2
= (int) SWIG_AsInt(obj1
);
13599 if (PyErr_Occurred()) SWIG_fail
;
13601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13602 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
13604 wxPyEndAllowThreads(__tstate
);
13605 if (PyErr_Occurred()) SWIG_fail
;
13608 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13616 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13617 PyObject
*resultobj
;
13618 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13620 PyObject
* obj0
= 0 ;
13621 char *kwnames
[] = {
13622 (char *) "self", NULL
13625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
13626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13630 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
13632 wxPyEndAllowThreads(__tstate
);
13633 if (PyErr_Occurred()) SWIG_fail
;
13635 resultobj
= SWIG_FromInt((int)result
);
13642 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13643 PyObject
*resultobj
;
13644 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13646 PyObject
* obj0
= 0 ;
13647 char *kwnames
[] = {
13648 (char *) "self", NULL
13651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13656 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
13658 wxPyEndAllowThreads(__tstate
);
13659 if (PyErr_Occurred()) SWIG_fail
;
13662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13670 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13671 PyObject
*resultobj
;
13672 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13674 PyObject
* obj0
= 0 ;
13675 char *kwnames
[] = {
13676 (char *) "self", NULL
13679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13684 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
13686 wxPyEndAllowThreads(__tstate
);
13687 if (PyErr_Occurred()) SWIG_fail
;
13690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13698 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13699 PyObject
*resultobj
;
13700 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13702 PyObject
* obj0
= 0 ;
13703 char *kwnames
[] = {
13704 (char *) "self", NULL
13707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13712 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
13714 wxPyEndAllowThreads(__tstate
);
13715 if (PyErr_Occurred()) SWIG_fail
;
13718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13726 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13727 PyObject
*resultobj
;
13728 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13730 PyObject
* obj0
= 0 ;
13731 char *kwnames
[] = {
13732 (char *) "self", NULL
13735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13740 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
13742 wxPyEndAllowThreads(__tstate
);
13743 if (PyErr_Occurred()) SWIG_fail
;
13746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13754 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13755 PyObject
*resultobj
;
13756 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13758 PyObject
* obj0
= 0 ;
13759 char *kwnames
[] = {
13760 (char *) "self", NULL
13763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
13764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13768 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
13770 wxPyEndAllowThreads(__tstate
);
13771 if (PyErr_Occurred()) SWIG_fail
;
13774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13782 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13783 PyObject
*resultobj
;
13784 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13786 PyObject
* obj0
= 0 ;
13787 char *kwnames
[] = {
13788 (char *) "self", NULL
13791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
13792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13796 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
13798 wxPyEndAllowThreads(__tstate
);
13799 if (PyErr_Occurred()) SWIG_fail
;
13802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13810 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13811 PyObject
*resultobj
;
13812 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13814 PyObject
* obj0
= 0 ;
13815 char *kwnames
[] = {
13816 (char *) "self", NULL
13819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
13820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13824 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
13826 wxPyEndAllowThreads(__tstate
);
13827 if (PyErr_Occurred()) SWIG_fail
;
13830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13838 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13839 PyObject
*resultobj
;
13840 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13842 PyObject
* obj0
= 0 ;
13843 char *kwnames
[] = {
13844 (char *) "self", NULL
13847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
13848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13852 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
13854 wxPyEndAllowThreads(__tstate
);
13855 if (PyErr_Occurred()) SWIG_fail
;
13858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13866 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13867 PyObject
*resultobj
;
13868 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13870 PyObject
* obj0
= 0 ;
13871 char *kwnames
[] = {
13872 (char *) "self", NULL
13875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
13876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13880 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
13882 wxPyEndAllowThreads(__tstate
);
13883 if (PyErr_Occurred()) SWIG_fail
;
13886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13894 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13895 PyObject
*resultobj
;
13896 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13898 PyObject
* obj0
= 0 ;
13899 char *kwnames
[] = {
13900 (char *) "self", NULL
13903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
13904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13908 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
13910 wxPyEndAllowThreads(__tstate
);
13911 if (PyErr_Occurred()) SWIG_fail
;
13914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13922 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13923 PyObject
*resultobj
;
13924 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13926 PyObject
* obj0
= 0 ;
13927 char *kwnames
[] = {
13928 (char *) "self", NULL
13931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
13932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13936 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
13938 wxPyEndAllowThreads(__tstate
);
13939 if (PyErr_Occurred()) SWIG_fail
;
13942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13950 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13951 PyObject
*resultobj
;
13952 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13954 PyObject
* obj0
= 0 ;
13955 char *kwnames
[] = {
13956 (char *) "self", NULL
13959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
13960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13964 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
13966 wxPyEndAllowThreads(__tstate
);
13967 if (PyErr_Occurred()) SWIG_fail
;
13970 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13978 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13979 PyObject
*resultobj
;
13980 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13982 PyObject
* obj0
= 0 ;
13983 char *kwnames
[] = {
13984 (char *) "self", NULL
13987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
13988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13992 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
13994 wxPyEndAllowThreads(__tstate
);
13995 if (PyErr_Occurred()) SWIG_fail
;
13998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14006 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14007 PyObject
*resultobj
;
14008 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14010 PyObject
* obj0
= 0 ;
14011 char *kwnames
[] = {
14012 (char *) "self", NULL
14015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14020 result
= (bool)(arg1
)->LeftIsDown();
14022 wxPyEndAllowThreads(__tstate
);
14023 if (PyErr_Occurred()) SWIG_fail
;
14026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14034 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14035 PyObject
*resultobj
;
14036 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14038 PyObject
* obj0
= 0 ;
14039 char *kwnames
[] = {
14040 (char *) "self", NULL
14043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14048 result
= (bool)(arg1
)->MiddleIsDown();
14050 wxPyEndAllowThreads(__tstate
);
14051 if (PyErr_Occurred()) SWIG_fail
;
14054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14062 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14063 PyObject
*resultobj
;
14064 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14066 PyObject
* obj0
= 0 ;
14067 char *kwnames
[] = {
14068 (char *) "self", NULL
14071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14076 result
= (bool)(arg1
)->RightIsDown();
14078 wxPyEndAllowThreads(__tstate
);
14079 if (PyErr_Occurred()) SWIG_fail
;
14082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14090 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14091 PyObject
*resultobj
;
14092 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14094 PyObject
* obj0
= 0 ;
14095 char *kwnames
[] = {
14096 (char *) "self", NULL
14099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14104 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14106 wxPyEndAllowThreads(__tstate
);
14107 if (PyErr_Occurred()) SWIG_fail
;
14110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14118 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14119 PyObject
*resultobj
;
14120 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14122 PyObject
* obj0
= 0 ;
14123 char *kwnames
[] = {
14124 (char *) "self", NULL
14127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14132 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14134 wxPyEndAllowThreads(__tstate
);
14135 if (PyErr_Occurred()) SWIG_fail
;
14138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14146 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14147 PyObject
*resultobj
;
14148 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14150 PyObject
* obj0
= 0 ;
14151 char *kwnames
[] = {
14152 (char *) "self", NULL
14155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14160 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14162 wxPyEndAllowThreads(__tstate
);
14163 if (PyErr_Occurred()) SWIG_fail
;
14166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14174 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14175 PyObject
*resultobj
;
14176 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14178 PyObject
* obj0
= 0 ;
14179 char *kwnames
[] = {
14180 (char *) "self", NULL
14183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14188 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14190 wxPyEndAllowThreads(__tstate
);
14191 if (PyErr_Occurred()) SWIG_fail
;
14194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14202 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14203 PyObject
*resultobj
;
14204 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14206 PyObject
* obj0
= 0 ;
14207 char *kwnames
[] = {
14208 (char *) "self", NULL
14211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14216 result
= (arg1
)->GetPosition();
14218 wxPyEndAllowThreads(__tstate
);
14219 if (PyErr_Occurred()) SWIG_fail
;
14222 wxPoint
* resultptr
;
14223 resultptr
= new wxPoint((wxPoint
&) result
);
14224 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14232 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14233 PyObject
*resultobj
;
14234 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14235 long *arg2
= (long *) 0 ;
14236 long *arg3
= (long *) 0 ;
14239 PyObject
* obj0
= 0 ;
14240 char *kwnames
[] = {
14241 (char *) "self", NULL
14246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14251 (arg1
)->GetPosition(arg2
,arg3
);
14253 wxPyEndAllowThreads(__tstate
);
14254 if (PyErr_Occurred()) SWIG_fail
;
14256 Py_INCREF(Py_None
); resultobj
= Py_None
;
14258 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14259 resultobj
= t_output_helper(resultobj
,o
);
14262 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14263 resultobj
= t_output_helper(resultobj
,o
);
14271 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14272 PyObject
*resultobj
;
14273 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14276 PyObject
* obj0
= 0 ;
14277 PyObject
* obj1
= 0 ;
14278 char *kwnames
[] = {
14279 (char *) "self",(char *) "dc", NULL
14282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14285 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14286 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14288 if (arg2
== NULL
) {
14289 PyErr_SetString(PyExc_TypeError
,"null reference");
14293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14294 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14296 wxPyEndAllowThreads(__tstate
);
14297 if (PyErr_Occurred()) SWIG_fail
;
14300 wxPoint
* resultptr
;
14301 resultptr
= new wxPoint((wxPoint
&) result
);
14302 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14310 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14311 PyObject
*resultobj
;
14312 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14314 PyObject
* obj0
= 0 ;
14315 char *kwnames
[] = {
14316 (char *) "self", NULL
14319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
14320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14324 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14326 wxPyEndAllowThreads(__tstate
);
14327 if (PyErr_Occurred()) SWIG_fail
;
14329 resultobj
= SWIG_FromInt((int)result
);
14336 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14337 PyObject
*resultobj
;
14338 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14340 PyObject
* obj0
= 0 ;
14341 char *kwnames
[] = {
14342 (char *) "self", NULL
14345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14350 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14352 wxPyEndAllowThreads(__tstate
);
14353 if (PyErr_Occurred()) SWIG_fail
;
14355 resultobj
= SWIG_FromInt((int)result
);
14362 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14363 PyObject
*resultobj
;
14364 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14366 PyObject
* obj0
= 0 ;
14367 char *kwnames
[] = {
14368 (char *) "self", NULL
14371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
14372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14376 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
14378 wxPyEndAllowThreads(__tstate
);
14379 if (PyErr_Occurred()) SWIG_fail
;
14381 resultobj
= SWIG_FromInt((int)result
);
14388 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14389 PyObject
*resultobj
;
14390 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14392 PyObject
* obj0
= 0 ;
14393 char *kwnames
[] = {
14394 (char *) "self", NULL
14397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
14398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14402 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14404 wxPyEndAllowThreads(__tstate
);
14405 if (PyErr_Occurred()) SWIG_fail
;
14407 resultobj
= SWIG_FromInt((int)result
);
14414 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14415 PyObject
*resultobj
;
14416 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14418 PyObject
* obj0
= 0 ;
14419 char *kwnames
[] = {
14420 (char *) "self", NULL
14423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14428 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14430 wxPyEndAllowThreads(__tstate
);
14431 if (PyErr_Occurred()) SWIG_fail
;
14433 resultobj
= SWIG_FromInt((int)result
);
14440 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14441 PyObject
*resultobj
;
14442 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14444 PyObject
* obj0
= 0 ;
14445 char *kwnames
[] = {
14446 (char *) "self", NULL
14449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14454 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14456 wxPyEndAllowThreads(__tstate
);
14457 if (PyErr_Occurred()) SWIG_fail
;
14460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14468 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14469 PyObject
*resultobj
;
14470 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14472 PyObject
* obj0
= 0 ;
14473 PyObject
* obj1
= 0 ;
14474 char *kwnames
[] = {
14475 (char *) "self",(char *) "m_x", NULL
14478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14481 arg2
= (int) SWIG_AsInt(obj1
);
14482 if (PyErr_Occurred()) SWIG_fail
;
14483 if (arg1
) (arg1
)->m_x
= arg2
;
14485 Py_INCREF(Py_None
); resultobj
= Py_None
;
14492 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14493 PyObject
*resultobj
;
14494 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14496 PyObject
* obj0
= 0 ;
14497 char *kwnames
[] = {
14498 (char *) "self", NULL
14501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14504 result
= (int) ((arg1
)->m_x
);
14506 resultobj
= SWIG_FromInt((int)result
);
14513 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14514 PyObject
*resultobj
;
14515 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14517 PyObject
* obj0
= 0 ;
14518 PyObject
* obj1
= 0 ;
14519 char *kwnames
[] = {
14520 (char *) "self",(char *) "m_y", NULL
14523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14526 arg2
= (int) SWIG_AsInt(obj1
);
14527 if (PyErr_Occurred()) SWIG_fail
;
14528 if (arg1
) (arg1
)->m_y
= arg2
;
14530 Py_INCREF(Py_None
); resultobj
= Py_None
;
14537 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14538 PyObject
*resultobj
;
14539 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14541 PyObject
* obj0
= 0 ;
14542 char *kwnames
[] = {
14543 (char *) "self", NULL
14546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
14547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14549 result
= (int) ((arg1
)->m_y
);
14551 resultobj
= SWIG_FromInt((int)result
);
14558 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14559 PyObject
*resultobj
;
14560 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14562 PyObject
* obj0
= 0 ;
14563 PyObject
* obj1
= 0 ;
14564 char *kwnames
[] = {
14565 (char *) "self",(char *) "m_leftDown", NULL
14568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14571 arg2
= (bool) SWIG_AsBool(obj1
);
14572 if (PyErr_Occurred()) SWIG_fail
;
14573 if (arg1
) (arg1
)->m_leftDown
= arg2
;
14575 Py_INCREF(Py_None
); resultobj
= Py_None
;
14582 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14583 PyObject
*resultobj
;
14584 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14586 PyObject
* obj0
= 0 ;
14587 char *kwnames
[] = {
14588 (char *) "self", NULL
14591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
14592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14594 result
= (bool) ((arg1
)->m_leftDown
);
14597 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14605 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14606 PyObject
*resultobj
;
14607 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14609 PyObject
* obj0
= 0 ;
14610 PyObject
* obj1
= 0 ;
14611 char *kwnames
[] = {
14612 (char *) "self",(char *) "m_middleDown", NULL
14615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14618 arg2
= (bool) SWIG_AsBool(obj1
);
14619 if (PyErr_Occurred()) SWIG_fail
;
14620 if (arg1
) (arg1
)->m_middleDown
= arg2
;
14622 Py_INCREF(Py_None
); resultobj
= Py_None
;
14629 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14630 PyObject
*resultobj
;
14631 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14633 PyObject
* obj0
= 0 ;
14634 char *kwnames
[] = {
14635 (char *) "self", NULL
14638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
14639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14641 result
= (bool) ((arg1
)->m_middleDown
);
14644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14652 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14653 PyObject
*resultobj
;
14654 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14656 PyObject
* obj0
= 0 ;
14657 PyObject
* obj1
= 0 ;
14658 char *kwnames
[] = {
14659 (char *) "self",(char *) "m_rightDown", NULL
14662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14665 arg2
= (bool) SWIG_AsBool(obj1
);
14666 if (PyErr_Occurred()) SWIG_fail
;
14667 if (arg1
) (arg1
)->m_rightDown
= arg2
;
14669 Py_INCREF(Py_None
); resultobj
= Py_None
;
14676 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14677 PyObject
*resultobj
;
14678 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14680 PyObject
* obj0
= 0 ;
14681 char *kwnames
[] = {
14682 (char *) "self", NULL
14685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
14686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14688 result
= (bool) ((arg1
)->m_rightDown
);
14691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14699 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14700 PyObject
*resultobj
;
14701 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14703 PyObject
* obj0
= 0 ;
14704 PyObject
* obj1
= 0 ;
14705 char *kwnames
[] = {
14706 (char *) "self",(char *) "m_controlDown", NULL
14709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14712 arg2
= (bool) SWIG_AsBool(obj1
);
14713 if (PyErr_Occurred()) SWIG_fail
;
14714 if (arg1
) (arg1
)->m_controlDown
= arg2
;
14716 Py_INCREF(Py_None
); resultobj
= Py_None
;
14723 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14724 PyObject
*resultobj
;
14725 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14727 PyObject
* obj0
= 0 ;
14728 char *kwnames
[] = {
14729 (char *) "self", NULL
14732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
14733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14735 result
= (bool) ((arg1
)->m_controlDown
);
14738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14746 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14747 PyObject
*resultobj
;
14748 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14750 PyObject
* obj0
= 0 ;
14751 PyObject
* obj1
= 0 ;
14752 char *kwnames
[] = {
14753 (char *) "self",(char *) "m_shiftDown", NULL
14756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14759 arg2
= (bool) SWIG_AsBool(obj1
);
14760 if (PyErr_Occurred()) SWIG_fail
;
14761 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
14763 Py_INCREF(Py_None
); resultobj
= Py_None
;
14770 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14771 PyObject
*resultobj
;
14772 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14774 PyObject
* obj0
= 0 ;
14775 char *kwnames
[] = {
14776 (char *) "self", NULL
14779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
14780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14782 result
= (bool) ((arg1
)->m_shiftDown
);
14785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14793 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14794 PyObject
*resultobj
;
14795 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14797 PyObject
* obj0
= 0 ;
14798 PyObject
* obj1
= 0 ;
14799 char *kwnames
[] = {
14800 (char *) "self",(char *) "m_altDown", NULL
14803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14806 arg2
= (bool) SWIG_AsBool(obj1
);
14807 if (PyErr_Occurred()) SWIG_fail
;
14808 if (arg1
) (arg1
)->m_altDown
= arg2
;
14810 Py_INCREF(Py_None
); resultobj
= Py_None
;
14817 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14818 PyObject
*resultobj
;
14819 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14821 PyObject
* obj0
= 0 ;
14822 char *kwnames
[] = {
14823 (char *) "self", NULL
14826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
14827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14829 result
= (bool) ((arg1
)->m_altDown
);
14832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14840 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14841 PyObject
*resultobj
;
14842 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14844 PyObject
* obj0
= 0 ;
14845 PyObject
* obj1
= 0 ;
14846 char *kwnames
[] = {
14847 (char *) "self",(char *) "m_metaDown", NULL
14850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14853 arg2
= (bool) SWIG_AsBool(obj1
);
14854 if (PyErr_Occurred()) SWIG_fail
;
14855 if (arg1
) (arg1
)->m_metaDown
= arg2
;
14857 Py_INCREF(Py_None
); resultobj
= Py_None
;
14864 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14865 PyObject
*resultobj
;
14866 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14868 PyObject
* obj0
= 0 ;
14869 char *kwnames
[] = {
14870 (char *) "self", NULL
14873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
14874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14876 result
= (bool) ((arg1
)->m_metaDown
);
14879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14887 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14888 PyObject
*resultobj
;
14889 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14891 PyObject
* obj0
= 0 ;
14892 PyObject
* obj1
= 0 ;
14893 char *kwnames
[] = {
14894 (char *) "self",(char *) "m_wheelRotation", NULL
14897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14900 arg2
= (int) SWIG_AsInt(obj1
);
14901 if (PyErr_Occurred()) SWIG_fail
;
14902 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
14904 Py_INCREF(Py_None
); resultobj
= Py_None
;
14911 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14912 PyObject
*resultobj
;
14913 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14915 PyObject
* obj0
= 0 ;
14916 char *kwnames
[] = {
14917 (char *) "self", NULL
14920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
14921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14923 result
= (int) ((arg1
)->m_wheelRotation
);
14925 resultobj
= SWIG_FromInt((int)result
);
14932 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14933 PyObject
*resultobj
;
14934 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14936 PyObject
* obj0
= 0 ;
14937 PyObject
* obj1
= 0 ;
14938 char *kwnames
[] = {
14939 (char *) "self",(char *) "m_wheelDelta", NULL
14942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14945 arg2
= (int) SWIG_AsInt(obj1
);
14946 if (PyErr_Occurred()) SWIG_fail
;
14947 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
14949 Py_INCREF(Py_None
); resultobj
= Py_None
;
14956 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14957 PyObject
*resultobj
;
14958 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14960 PyObject
* obj0
= 0 ;
14961 char *kwnames
[] = {
14962 (char *) "self", NULL
14965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
14966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14968 result
= (int) ((arg1
)->m_wheelDelta
);
14970 resultobj
= SWIG_FromInt((int)result
);
14977 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14978 PyObject
*resultobj
;
14979 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14981 PyObject
* obj0
= 0 ;
14982 PyObject
* obj1
= 0 ;
14983 char *kwnames
[] = {
14984 (char *) "self",(char *) "m_linesPerAction", NULL
14987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14990 arg2
= (int) SWIG_AsInt(obj1
);
14991 if (PyErr_Occurred()) SWIG_fail
;
14992 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
14994 Py_INCREF(Py_None
); resultobj
= Py_None
;
15001 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15002 PyObject
*resultobj
;
15003 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15005 PyObject
* obj0
= 0 ;
15006 char *kwnames
[] = {
15007 (char *) "self", NULL
15010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15013 result
= (int) ((arg1
)->m_linesPerAction
);
15015 resultobj
= SWIG_FromInt((int)result
);
15022 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
15024 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15025 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15027 return Py_BuildValue((char *)"");
15029 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15030 PyObject
*resultobj
;
15031 int arg1
= (int) 0 ;
15032 int arg2
= (int) 0 ;
15033 wxSetCursorEvent
*result
;
15034 PyObject
* obj0
= 0 ;
15035 PyObject
* obj1
= 0 ;
15036 char *kwnames
[] = {
15037 (char *) "x",(char *) "y", NULL
15040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15042 arg1
= (int) SWIG_AsInt(obj0
);
15043 if (PyErr_Occurred()) SWIG_fail
;
15046 arg2
= (int) SWIG_AsInt(obj1
);
15047 if (PyErr_Occurred()) SWIG_fail
;
15050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15051 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15053 wxPyEndAllowThreads(__tstate
);
15054 if (PyErr_Occurred()) SWIG_fail
;
15056 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15063 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15064 PyObject
*resultobj
;
15065 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15067 PyObject
* obj0
= 0 ;
15068 char *kwnames
[] = {
15069 (char *) "self", NULL
15072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15077 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15079 wxPyEndAllowThreads(__tstate
);
15080 if (PyErr_Occurred()) SWIG_fail
;
15082 resultobj
= SWIG_FromInt((int)result
);
15089 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15090 PyObject
*resultobj
;
15091 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15093 PyObject
* obj0
= 0 ;
15094 char *kwnames
[] = {
15095 (char *) "self", NULL
15098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15103 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15105 wxPyEndAllowThreads(__tstate
);
15106 if (PyErr_Occurred()) SWIG_fail
;
15108 resultobj
= SWIG_FromInt((int)result
);
15115 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15116 PyObject
*resultobj
;
15117 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15118 wxCursor
*arg2
= 0 ;
15119 PyObject
* obj0
= 0 ;
15120 PyObject
* obj1
= 0 ;
15121 char *kwnames
[] = {
15122 (char *) "self",(char *) "cursor", NULL
15125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15128 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15129 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15131 if (arg2
== NULL
) {
15132 PyErr_SetString(PyExc_TypeError
,"null reference");
15136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15137 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15139 wxPyEndAllowThreads(__tstate
);
15140 if (PyErr_Occurred()) SWIG_fail
;
15142 Py_INCREF(Py_None
); resultobj
= Py_None
;
15149 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15150 PyObject
*resultobj
;
15151 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15153 PyObject
* obj0
= 0 ;
15154 char *kwnames
[] = {
15155 (char *) "self", NULL
15158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15164 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15165 result
= (wxCursor
*) &_result_ref
;
15168 wxPyEndAllowThreads(__tstate
);
15169 if (PyErr_Occurred()) SWIG_fail
;
15172 wxCursor
* resultptr
= new wxCursor(*result
);
15173 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15181 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15182 PyObject
*resultobj
;
15183 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15185 PyObject
* obj0
= 0 ;
15186 char *kwnames
[] = {
15187 (char *) "self", NULL
15190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15195 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15197 wxPyEndAllowThreads(__tstate
);
15198 if (PyErr_Occurred()) SWIG_fail
;
15201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15209 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
15211 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15212 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15214 return Py_BuildValue((char *)"");
15216 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15217 PyObject
*resultobj
;
15218 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15219 wxKeyEvent
*result
;
15220 PyObject
* obj0
= 0 ;
15221 char *kwnames
[] = {
15222 (char *) "keyType", NULL
15225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15227 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15228 if (PyErr_Occurred()) SWIG_fail
;
15231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15232 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15234 wxPyEndAllowThreads(__tstate
);
15235 if (PyErr_Occurred()) SWIG_fail
;
15237 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15244 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15245 PyObject
*resultobj
;
15246 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15248 PyObject
* obj0
= 0 ;
15249 char *kwnames
[] = {
15250 (char *) "self", NULL
15253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15258 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15260 wxPyEndAllowThreads(__tstate
);
15261 if (PyErr_Occurred()) SWIG_fail
;
15264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15272 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15273 PyObject
*resultobj
;
15274 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15276 PyObject
* obj0
= 0 ;
15277 char *kwnames
[] = {
15278 (char *) "self", NULL
15281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15286 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15288 wxPyEndAllowThreads(__tstate
);
15289 if (PyErr_Occurred()) SWIG_fail
;
15292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15300 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15301 PyObject
*resultobj
;
15302 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15304 PyObject
* obj0
= 0 ;
15305 char *kwnames
[] = {
15306 (char *) "self", NULL
15309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15314 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15316 wxPyEndAllowThreads(__tstate
);
15317 if (PyErr_Occurred()) SWIG_fail
;
15320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15328 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15329 PyObject
*resultobj
;
15330 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15332 PyObject
* obj0
= 0 ;
15333 char *kwnames
[] = {
15334 (char *) "self", NULL
15337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15342 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15344 wxPyEndAllowThreads(__tstate
);
15345 if (PyErr_Occurred()) SWIG_fail
;
15348 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15356 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15357 PyObject
*resultobj
;
15358 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15360 PyObject
* obj0
= 0 ;
15361 char *kwnames
[] = {
15362 (char *) "self", NULL
15365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
15366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15370 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
15372 wxPyEndAllowThreads(__tstate
);
15373 if (PyErr_Occurred()) SWIG_fail
;
15376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15384 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15385 PyObject
*resultobj
;
15386 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15388 PyObject
* obj0
= 0 ;
15389 char *kwnames
[] = {
15390 (char *) "self", NULL
15393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
15394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15398 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
15400 wxPyEndAllowThreads(__tstate
);
15401 if (PyErr_Occurred()) SWIG_fail
;
15403 resultobj
= SWIG_FromInt((int)result
);
15410 static PyObject
*_wrap_KeyEvent_GetUniChar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15411 PyObject
*resultobj
;
15412 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15414 PyObject
* obj0
= 0 ;
15415 char *kwnames
[] = {
15416 (char *) "self", NULL
15419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUniChar",kwnames
,&obj0
)) goto fail
;
15420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15424 result
= (int)wxKeyEvent_GetUniChar(arg1
);
15426 wxPyEndAllowThreads(__tstate
);
15427 if (PyErr_Occurred()) SWIG_fail
;
15429 resultobj
= SWIG_FromInt((int)result
);
15436 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15437 PyObject
*resultobj
;
15438 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15439 unsigned int result
;
15440 PyObject
* obj0
= 0 ;
15441 char *kwnames
[] = {
15442 (char *) "self", NULL
15445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
15446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15450 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15452 wxPyEndAllowThreads(__tstate
);
15453 if (PyErr_Occurred()) SWIG_fail
;
15455 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15462 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15463 PyObject
*resultobj
;
15464 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15465 unsigned int result
;
15466 PyObject
* obj0
= 0 ;
15467 char *kwnames
[] = {
15468 (char *) "self", NULL
15471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
15472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15476 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
15478 wxPyEndAllowThreads(__tstate
);
15479 if (PyErr_Occurred()) SWIG_fail
;
15481 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15488 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15489 PyObject
*resultobj
;
15490 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15492 PyObject
* obj0
= 0 ;
15493 char *kwnames
[] = {
15494 (char *) "self", NULL
15497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15502 result
= (arg1
)->GetPosition();
15504 wxPyEndAllowThreads(__tstate
);
15505 if (PyErr_Occurred()) SWIG_fail
;
15508 wxPoint
* resultptr
;
15509 resultptr
= new wxPoint((wxPoint
&) result
);
15510 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15518 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15519 PyObject
*resultobj
;
15520 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15521 long *arg2
= (long *) 0 ;
15522 long *arg3
= (long *) 0 ;
15525 PyObject
* obj0
= 0 ;
15526 char *kwnames
[] = {
15527 (char *) "self", NULL
15532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
15533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15537 (arg1
)->GetPosition(arg2
,arg3
);
15539 wxPyEndAllowThreads(__tstate
);
15540 if (PyErr_Occurred()) SWIG_fail
;
15542 Py_INCREF(Py_None
); resultobj
= Py_None
;
15544 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15545 resultobj
= t_output_helper(resultobj
,o
);
15548 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15549 resultobj
= t_output_helper(resultobj
,o
);
15557 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15558 PyObject
*resultobj
;
15559 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15561 PyObject
* obj0
= 0 ;
15562 char *kwnames
[] = {
15563 (char *) "self", NULL
15566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
15567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15571 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
15573 wxPyEndAllowThreads(__tstate
);
15574 if (PyErr_Occurred()) SWIG_fail
;
15576 resultobj
= SWIG_FromInt((int)result
);
15583 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15584 PyObject
*resultobj
;
15585 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15587 PyObject
* obj0
= 0 ;
15588 char *kwnames
[] = {
15589 (char *) "self", NULL
15592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
15593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15597 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
15599 wxPyEndAllowThreads(__tstate
);
15600 if (PyErr_Occurred()) SWIG_fail
;
15602 resultobj
= SWIG_FromInt((int)result
);
15609 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15610 PyObject
*resultobj
;
15611 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15613 PyObject
* obj0
= 0 ;
15614 PyObject
* obj1
= 0 ;
15615 char *kwnames
[] = {
15616 (char *) "self",(char *) "m_x", NULL
15619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15622 arg2
= (int) SWIG_AsInt(obj1
);
15623 if (PyErr_Occurred()) SWIG_fail
;
15624 if (arg1
) (arg1
)->m_x
= arg2
;
15626 Py_INCREF(Py_None
); resultobj
= Py_None
;
15633 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15634 PyObject
*resultobj
;
15635 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15637 PyObject
* obj0
= 0 ;
15638 char *kwnames
[] = {
15639 (char *) "self", NULL
15642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15645 result
= (int) ((arg1
)->m_x
);
15647 resultobj
= SWIG_FromInt((int)result
);
15654 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15655 PyObject
*resultobj
;
15656 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15658 PyObject
* obj0
= 0 ;
15659 PyObject
* obj1
= 0 ;
15660 char *kwnames
[] = {
15661 (char *) "self",(char *) "m_y", NULL
15664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15667 arg2
= (int) SWIG_AsInt(obj1
);
15668 if (PyErr_Occurred()) SWIG_fail
;
15669 if (arg1
) (arg1
)->m_y
= arg2
;
15671 Py_INCREF(Py_None
); resultobj
= Py_None
;
15678 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15679 PyObject
*resultobj
;
15680 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15682 PyObject
* obj0
= 0 ;
15683 char *kwnames
[] = {
15684 (char *) "self", NULL
15687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15690 result
= (int) ((arg1
)->m_y
);
15692 resultobj
= SWIG_FromInt((int)result
);
15699 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15700 PyObject
*resultobj
;
15701 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15703 PyObject
* obj0
= 0 ;
15704 PyObject
* obj1
= 0 ;
15705 char *kwnames
[] = {
15706 (char *) "self",(char *) "m_keyCode", NULL
15709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15712 arg2
= (long) SWIG_AsLong(obj1
);
15713 if (PyErr_Occurred()) SWIG_fail
;
15714 if (arg1
) (arg1
)->m_keyCode
= arg2
;
15716 Py_INCREF(Py_None
); resultobj
= Py_None
;
15723 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15724 PyObject
*resultobj
;
15725 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15727 PyObject
* obj0
= 0 ;
15728 char *kwnames
[] = {
15729 (char *) "self", NULL
15732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
15733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15735 result
= (long) ((arg1
)->m_keyCode
);
15737 resultobj
= SWIG_FromLong((long)result
);
15744 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15745 PyObject
*resultobj
;
15746 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15748 PyObject
* obj0
= 0 ;
15749 PyObject
* obj1
= 0 ;
15750 char *kwnames
[] = {
15751 (char *) "self",(char *) "m_controlDown", NULL
15754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15757 arg2
= (bool) SWIG_AsBool(obj1
);
15758 if (PyErr_Occurred()) SWIG_fail
;
15759 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15761 Py_INCREF(Py_None
); resultobj
= Py_None
;
15768 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15769 PyObject
*resultobj
;
15770 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15772 PyObject
* obj0
= 0 ;
15773 char *kwnames
[] = {
15774 (char *) "self", NULL
15777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15780 result
= (bool) ((arg1
)->m_controlDown
);
15783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15791 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15792 PyObject
*resultobj
;
15793 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15795 PyObject
* obj0
= 0 ;
15796 PyObject
* obj1
= 0 ;
15797 char *kwnames
[] = {
15798 (char *) "self",(char *) "m_shiftDown", NULL
15801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15804 arg2
= (bool) SWIG_AsBool(obj1
);
15805 if (PyErr_Occurred()) SWIG_fail
;
15806 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15808 Py_INCREF(Py_None
); resultobj
= Py_None
;
15815 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15816 PyObject
*resultobj
;
15817 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15819 PyObject
* obj0
= 0 ;
15820 char *kwnames
[] = {
15821 (char *) "self", NULL
15824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15827 result
= (bool) ((arg1
)->m_shiftDown
);
15830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15838 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15839 PyObject
*resultobj
;
15840 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15842 PyObject
* obj0
= 0 ;
15843 PyObject
* obj1
= 0 ;
15844 char *kwnames
[] = {
15845 (char *) "self",(char *) "m_altDown", NULL
15848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15851 arg2
= (bool) SWIG_AsBool(obj1
);
15852 if (PyErr_Occurred()) SWIG_fail
;
15853 if (arg1
) (arg1
)->m_altDown
= arg2
;
15855 Py_INCREF(Py_None
); resultobj
= Py_None
;
15862 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15863 PyObject
*resultobj
;
15864 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15866 PyObject
* obj0
= 0 ;
15867 char *kwnames
[] = {
15868 (char *) "self", NULL
15871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15874 result
= (bool) ((arg1
)->m_altDown
);
15877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15885 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15886 PyObject
*resultobj
;
15887 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15889 PyObject
* obj0
= 0 ;
15890 PyObject
* obj1
= 0 ;
15891 char *kwnames
[] = {
15892 (char *) "self",(char *) "m_metaDown", NULL
15895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15898 arg2
= (bool) SWIG_AsBool(obj1
);
15899 if (PyErr_Occurred()) SWIG_fail
;
15900 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15902 Py_INCREF(Py_None
); resultobj
= Py_None
;
15909 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15910 PyObject
*resultobj
;
15911 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15913 PyObject
* obj0
= 0 ;
15914 char *kwnames
[] = {
15915 (char *) "self", NULL
15918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15921 result
= (bool) ((arg1
)->m_metaDown
);
15924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15932 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15933 PyObject
*resultobj
;
15934 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15936 PyObject
* obj0
= 0 ;
15937 PyObject
* obj1
= 0 ;
15938 char *kwnames
[] = {
15939 (char *) "self",(char *) "m_scanCode", NULL
15942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15945 arg2
= (bool) SWIG_AsBool(obj1
);
15946 if (PyErr_Occurred()) SWIG_fail
;
15947 if (arg1
) (arg1
)->m_scanCode
= arg2
;
15949 Py_INCREF(Py_None
); resultobj
= Py_None
;
15956 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15957 PyObject
*resultobj
;
15958 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15960 PyObject
* obj0
= 0 ;
15961 char *kwnames
[] = {
15962 (char *) "self", NULL
15965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
15966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15968 result
= (bool) ((arg1
)->m_scanCode
);
15971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15979 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15980 PyObject
*resultobj
;
15981 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15982 unsigned int arg2
;
15983 PyObject
* obj0
= 0 ;
15984 PyObject
* obj1
= 0 ;
15985 char *kwnames
[] = {
15986 (char *) "self",(char *) "m_rawCode", NULL
15989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15992 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
15993 if (PyErr_Occurred()) SWIG_fail
;
15994 if (arg1
) (arg1
)->m_rawCode
= arg2
;
15996 Py_INCREF(Py_None
); resultobj
= Py_None
;
16003 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16004 PyObject
*resultobj
;
16005 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16006 unsigned int result
;
16007 PyObject
* obj0
= 0 ;
16008 char *kwnames
[] = {
16009 (char *) "self", NULL
16012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16015 result
= (unsigned int) ((arg1
)->m_rawCode
);
16017 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16024 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16025 PyObject
*resultobj
;
16026 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16027 unsigned int arg2
;
16028 PyObject
* obj0
= 0 ;
16029 PyObject
* obj1
= 0 ;
16030 char *kwnames
[] = {
16031 (char *) "self",(char *) "m_rawFlags", NULL
16034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16037 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16038 if (PyErr_Occurred()) SWIG_fail
;
16039 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16041 Py_INCREF(Py_None
); resultobj
= Py_None
;
16048 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16049 PyObject
*resultobj
;
16050 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16051 unsigned int result
;
16052 PyObject
* obj0
= 0 ;
16053 char *kwnames
[] = {
16054 (char *) "self", NULL
16057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16060 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16062 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16069 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
16071 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16072 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16074 return Py_BuildValue((char *)"");
16076 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16077 PyObject
*resultobj
;
16078 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16079 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16080 int arg2
= (int) 0 ;
16081 wxSizeEvent
*result
;
16083 PyObject
* obj0
= 0 ;
16084 PyObject
* obj1
= 0 ;
16085 char *kwnames
[] = {
16086 (char *) "sz",(char *) "winid", NULL
16089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16093 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16097 arg2
= (int) SWIG_AsInt(obj1
);
16098 if (PyErr_Occurred()) SWIG_fail
;
16101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16102 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16104 wxPyEndAllowThreads(__tstate
);
16105 if (PyErr_Occurred()) SWIG_fail
;
16107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16114 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16115 PyObject
*resultobj
;
16116 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16118 PyObject
* obj0
= 0 ;
16119 char *kwnames
[] = {
16120 (char *) "self", NULL
16123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16128 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16130 wxPyEndAllowThreads(__tstate
);
16131 if (PyErr_Occurred()) SWIG_fail
;
16134 wxSize
* resultptr
;
16135 resultptr
= new wxSize((wxSize
&) result
);
16136 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16144 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16145 PyObject
*resultobj
;
16146 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16148 PyObject
* obj0
= 0 ;
16149 char *kwnames
[] = {
16150 (char *) "self", NULL
16153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16158 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16160 wxPyEndAllowThreads(__tstate
);
16161 if (PyErr_Occurred()) SWIG_fail
;
16164 wxRect
* resultptr
;
16165 resultptr
= new wxRect((wxRect
&) result
);
16166 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16174 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16175 PyObject
*resultobj
;
16176 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16179 PyObject
* obj0
= 0 ;
16180 PyObject
* obj1
= 0 ;
16181 char *kwnames
[] = {
16182 (char *) "self",(char *) "rect", NULL
16185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16188 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16189 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16193 (arg1
)->SetRect(arg2
);
16195 wxPyEndAllowThreads(__tstate
);
16196 if (PyErr_Occurred()) SWIG_fail
;
16198 Py_INCREF(Py_None
); resultobj
= Py_None
;
16205 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16206 PyObject
*resultobj
;
16207 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16210 PyObject
* obj0
= 0 ;
16211 PyObject
* obj1
= 0 ;
16212 char *kwnames
[] = {
16213 (char *) "self",(char *) "size", NULL
16216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16219 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16220 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16224 wxSizeEvent_SetSize(arg1
,arg2
);
16226 wxPyEndAllowThreads(__tstate
);
16227 if (PyErr_Occurred()) SWIG_fail
;
16229 Py_INCREF(Py_None
); resultobj
= Py_None
;
16236 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16237 PyObject
*resultobj
;
16238 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16239 wxSize
*arg2
= (wxSize
*) 0 ;
16240 PyObject
* obj0
= 0 ;
16241 PyObject
* obj1
= 0 ;
16242 char *kwnames
[] = {
16243 (char *) "self",(char *) "m_size", NULL
16246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16249 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16251 if (arg1
) (arg1
)->m_size
= *arg2
;
16253 Py_INCREF(Py_None
); resultobj
= Py_None
;
16260 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16261 PyObject
*resultobj
;
16262 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16264 PyObject
* obj0
= 0 ;
16265 char *kwnames
[] = {
16266 (char *) "self", NULL
16269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16272 result
= (wxSize
*)& ((arg1
)->m_size
);
16274 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16281 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16282 PyObject
*resultobj
;
16283 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16284 wxRect
*arg2
= (wxRect
*) 0 ;
16285 PyObject
* obj0
= 0 ;
16286 PyObject
* obj1
= 0 ;
16287 char *kwnames
[] = {
16288 (char *) "self",(char *) "m_rect", NULL
16291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16294 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16296 if (arg1
) (arg1
)->m_rect
= *arg2
;
16298 Py_INCREF(Py_None
); resultobj
= Py_None
;
16305 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16306 PyObject
*resultobj
;
16307 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16309 PyObject
* obj0
= 0 ;
16310 char *kwnames
[] = {
16311 (char *) "self", NULL
16314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16317 result
= (wxRect
*)& ((arg1
)->m_rect
);
16319 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16326 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
16328 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16329 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16331 return Py_BuildValue((char *)"");
16333 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16334 PyObject
*resultobj
;
16335 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16336 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16337 int arg2
= (int) 0 ;
16338 wxMoveEvent
*result
;
16340 PyObject
* obj0
= 0 ;
16341 PyObject
* obj1
= 0 ;
16342 char *kwnames
[] = {
16343 (char *) "pos",(char *) "winid", NULL
16346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16350 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
16354 arg2
= (int) SWIG_AsInt(obj1
);
16355 if (PyErr_Occurred()) SWIG_fail
;
16358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16359 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
16361 wxPyEndAllowThreads(__tstate
);
16362 if (PyErr_Occurred()) SWIG_fail
;
16364 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
16371 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16372 PyObject
*resultobj
;
16373 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16375 PyObject
* obj0
= 0 ;
16376 char *kwnames
[] = {
16377 (char *) "self", NULL
16380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16385 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
16387 wxPyEndAllowThreads(__tstate
);
16388 if (PyErr_Occurred()) SWIG_fail
;
16391 wxPoint
* resultptr
;
16392 resultptr
= new wxPoint((wxPoint
&) result
);
16393 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16401 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16402 PyObject
*resultobj
;
16403 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16405 PyObject
* obj0
= 0 ;
16406 char *kwnames
[] = {
16407 (char *) "self", NULL
16410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16415 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
16417 wxPyEndAllowThreads(__tstate
);
16418 if (PyErr_Occurred()) SWIG_fail
;
16421 wxRect
* resultptr
;
16422 resultptr
= new wxRect((wxRect
&) result
);
16423 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16431 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16432 PyObject
*resultobj
;
16433 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16436 PyObject
* obj0
= 0 ;
16437 PyObject
* obj1
= 0 ;
16438 char *kwnames
[] = {
16439 (char *) "self",(char *) "rect", NULL
16442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16445 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16446 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16450 (arg1
)->SetRect(arg2
);
16452 wxPyEndAllowThreads(__tstate
);
16453 if (PyErr_Occurred()) SWIG_fail
;
16455 Py_INCREF(Py_None
); resultobj
= Py_None
;
16462 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16463 PyObject
*resultobj
;
16464 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16467 PyObject
* obj0
= 0 ;
16468 PyObject
* obj1
= 0 ;
16469 char *kwnames
[] = {
16470 (char *) "self",(char *) "pos", NULL
16473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16476 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
16477 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16481 wxMoveEvent_SetPosition(arg1
,arg2
);
16483 wxPyEndAllowThreads(__tstate
);
16484 if (PyErr_Occurred()) SWIG_fail
;
16486 Py_INCREF(Py_None
); resultobj
= Py_None
;
16493 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16494 PyObject
*resultobj
;
16495 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16496 wxPoint
*arg2
= (wxPoint
*) 0 ;
16497 PyObject
* obj0
= 0 ;
16498 PyObject
* obj1
= 0 ;
16499 char *kwnames
[] = {
16500 (char *) "self",(char *) "m_pos", NULL
16503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16506 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
16507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16508 if (arg1
) (arg1
)->m_pos
= *arg2
;
16510 Py_INCREF(Py_None
); resultobj
= Py_None
;
16517 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16518 PyObject
*resultobj
;
16519 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16521 PyObject
* obj0
= 0 ;
16522 char *kwnames
[] = {
16523 (char *) "self", NULL
16526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
16527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16529 result
= (wxPoint
*)& ((arg1
)->m_pos
);
16531 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
16538 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16539 PyObject
*resultobj
;
16540 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16541 wxRect
*arg2
= (wxRect
*) 0 ;
16542 PyObject
* obj0
= 0 ;
16543 PyObject
* obj1
= 0 ;
16544 char *kwnames
[] = {
16545 (char *) "self",(char *) "m_rect", NULL
16548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16551 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16553 if (arg1
) (arg1
)->m_rect
= *arg2
;
16555 Py_INCREF(Py_None
); resultobj
= Py_None
;
16562 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16563 PyObject
*resultobj
;
16564 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16566 PyObject
* obj0
= 0 ;
16567 char *kwnames
[] = {
16568 (char *) "self", NULL
16571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16574 result
= (wxRect
*)& ((arg1
)->m_rect
);
16576 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16583 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
16585 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16586 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
16588 return Py_BuildValue((char *)"");
16590 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16591 PyObject
*resultobj
;
16592 int arg1
= (int) 0 ;
16593 wxPaintEvent
*result
;
16594 PyObject
* obj0
= 0 ;
16595 char *kwnames
[] = {
16596 (char *) "Id", NULL
16599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
16601 arg1
= (int) SWIG_AsInt(obj0
);
16602 if (PyErr_Occurred()) SWIG_fail
;
16605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16606 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
16608 wxPyEndAllowThreads(__tstate
);
16609 if (PyErr_Occurred()) SWIG_fail
;
16611 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
16618 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
16620 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16621 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
16623 return Py_BuildValue((char *)"");
16625 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16626 PyObject
*resultobj
;
16627 int arg1
= (int) 0 ;
16628 wxNcPaintEvent
*result
;
16629 PyObject
* obj0
= 0 ;
16630 char *kwnames
[] = {
16631 (char *) "winid", NULL
16634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
16636 arg1
= (int) SWIG_AsInt(obj0
);
16637 if (PyErr_Occurred()) SWIG_fail
;
16640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16641 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
16643 wxPyEndAllowThreads(__tstate
);
16644 if (PyErr_Occurred()) SWIG_fail
;
16646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
16653 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
16655 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16656 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
16658 return Py_BuildValue((char *)"");
16660 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16661 PyObject
*resultobj
;
16662 int arg1
= (int) 0 ;
16663 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
16664 wxEraseEvent
*result
;
16665 PyObject
* obj0
= 0 ;
16666 PyObject
* obj1
= 0 ;
16667 char *kwnames
[] = {
16668 (char *) "Id",(char *) "dc", NULL
16671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16673 arg1
= (int) SWIG_AsInt(obj0
);
16674 if (PyErr_Occurred()) SWIG_fail
;
16677 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16682 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
16684 wxPyEndAllowThreads(__tstate
);
16685 if (PyErr_Occurred()) SWIG_fail
;
16687 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
16694 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16695 PyObject
*resultobj
;
16696 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
16698 PyObject
* obj0
= 0 ;
16699 char *kwnames
[] = {
16700 (char *) "self", NULL
16703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
16704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
16705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16708 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
16710 wxPyEndAllowThreads(__tstate
);
16711 if (PyErr_Occurred()) SWIG_fail
;
16714 resultobj
= wxPyMake_wxObject(result
);
16722 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
16724 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16725 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
16727 return Py_BuildValue((char *)"");
16729 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16730 PyObject
*resultobj
;
16731 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16732 int arg2
= (int) 0 ;
16733 wxFocusEvent
*result
;
16734 PyObject
* obj0
= 0 ;
16735 PyObject
* obj1
= 0 ;
16736 char *kwnames
[] = {
16737 (char *) "type",(char *) "winid", NULL
16740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16742 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16743 if (PyErr_Occurred()) SWIG_fail
;
16746 arg2
= (int) SWIG_AsInt(obj1
);
16747 if (PyErr_Occurred()) SWIG_fail
;
16750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16751 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
16753 wxPyEndAllowThreads(__tstate
);
16754 if (PyErr_Occurred()) SWIG_fail
;
16756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
16763 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16764 PyObject
*resultobj
;
16765 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16767 PyObject
* obj0
= 0 ;
16768 char *kwnames
[] = {
16769 (char *) "self", NULL
16772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16777 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
16779 wxPyEndAllowThreads(__tstate
);
16780 if (PyErr_Occurred()) SWIG_fail
;
16783 resultobj
= wxPyMake_wxObject(result
);
16791 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16792 PyObject
*resultobj
;
16793 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16794 wxWindow
*arg2
= (wxWindow
*) 0 ;
16795 PyObject
* obj0
= 0 ;
16796 PyObject
* obj1
= 0 ;
16797 char *kwnames
[] = {
16798 (char *) "self",(char *) "win", NULL
16801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
16802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16804 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16808 (arg1
)->SetWindow(arg2
);
16810 wxPyEndAllowThreads(__tstate
);
16811 if (PyErr_Occurred()) SWIG_fail
;
16813 Py_INCREF(Py_None
); resultobj
= Py_None
;
16820 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
16822 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16823 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
16825 return Py_BuildValue((char *)"");
16827 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16828 PyObject
*resultobj
;
16829 wxWindow
*arg1
= (wxWindow
*) NULL
;
16830 wxChildFocusEvent
*result
;
16831 PyObject
* obj0
= 0 ;
16832 char *kwnames
[] = {
16833 (char *) "win", NULL
16836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
16838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16843 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
16845 wxPyEndAllowThreads(__tstate
);
16846 if (PyErr_Occurred()) SWIG_fail
;
16848 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
16855 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16856 PyObject
*resultobj
;
16857 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
16859 PyObject
* obj0
= 0 ;
16860 char *kwnames
[] = {
16861 (char *) "self", NULL
16864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
16866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16869 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
16871 wxPyEndAllowThreads(__tstate
);
16872 if (PyErr_Occurred()) SWIG_fail
;
16875 resultobj
= wxPyMake_wxObject(result
);
16883 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
16885 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16886 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
16888 return Py_BuildValue((char *)"");
16890 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16891 PyObject
*resultobj
;
16892 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16893 bool arg2
= (bool) True
;
16894 int arg3
= (int) 0 ;
16895 wxActivateEvent
*result
;
16896 PyObject
* obj0
= 0 ;
16897 PyObject
* obj1
= 0 ;
16898 PyObject
* obj2
= 0 ;
16899 char *kwnames
[] = {
16900 (char *) "type",(char *) "active",(char *) "Id", NULL
16903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16905 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16906 if (PyErr_Occurred()) SWIG_fail
;
16909 arg2
= (bool) SWIG_AsBool(obj1
);
16910 if (PyErr_Occurred()) SWIG_fail
;
16913 arg3
= (int) SWIG_AsInt(obj2
);
16914 if (PyErr_Occurred()) SWIG_fail
;
16917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16918 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
16920 wxPyEndAllowThreads(__tstate
);
16921 if (PyErr_Occurred()) SWIG_fail
;
16923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
16930 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16931 PyObject
*resultobj
;
16932 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
16934 PyObject
* obj0
= 0 ;
16935 char *kwnames
[] = {
16936 (char *) "self", NULL
16939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
16940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
16941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16944 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
16946 wxPyEndAllowThreads(__tstate
);
16947 if (PyErr_Occurred()) SWIG_fail
;
16950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16958 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
16960 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16961 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
16963 return Py_BuildValue((char *)"");
16965 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16966 PyObject
*resultobj
;
16967 int arg1
= (int) 0 ;
16968 wxInitDialogEvent
*result
;
16969 PyObject
* obj0
= 0 ;
16970 char *kwnames
[] = {
16971 (char *) "Id", NULL
16974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
16976 arg1
= (int) SWIG_AsInt(obj0
);
16977 if (PyErr_Occurred()) SWIG_fail
;
16980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16981 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
16983 wxPyEndAllowThreads(__tstate
);
16984 if (PyErr_Occurred()) SWIG_fail
;
16986 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
16993 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
16995 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16996 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
16998 return Py_BuildValue((char *)"");
17000 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17001 PyObject
*resultobj
;
17002 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17003 int arg2
= (int) 0 ;
17004 wxMenu
*arg3
= (wxMenu
*) NULL
;
17005 wxMenuEvent
*result
;
17006 PyObject
* obj0
= 0 ;
17007 PyObject
* obj1
= 0 ;
17008 PyObject
* obj2
= 0 ;
17009 char *kwnames
[] = {
17010 (char *) "type",(char *) "winid",(char *) "menu", NULL
17013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17015 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17016 if (PyErr_Occurred()) SWIG_fail
;
17019 arg2
= (int) SWIG_AsInt(obj1
);
17020 if (PyErr_Occurred()) SWIG_fail
;
17023 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17028 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17030 wxPyEndAllowThreads(__tstate
);
17031 if (PyErr_Occurred()) SWIG_fail
;
17033 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17040 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17041 PyObject
*resultobj
;
17042 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17044 PyObject
* obj0
= 0 ;
17045 char *kwnames
[] = {
17046 (char *) "self", NULL
17049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17054 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17056 wxPyEndAllowThreads(__tstate
);
17057 if (PyErr_Occurred()) SWIG_fail
;
17059 resultobj
= SWIG_FromInt((int)result
);
17066 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17067 PyObject
*resultobj
;
17068 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17070 PyObject
* obj0
= 0 ;
17071 char *kwnames
[] = {
17072 (char *) "self", NULL
17075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17080 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17082 wxPyEndAllowThreads(__tstate
);
17083 if (PyErr_Occurred()) SWIG_fail
;
17086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17094 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17095 PyObject
*resultobj
;
17096 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17098 PyObject
* obj0
= 0 ;
17099 char *kwnames
[] = {
17100 (char *) "self", NULL
17103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17108 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17110 wxPyEndAllowThreads(__tstate
);
17111 if (PyErr_Occurred()) SWIG_fail
;
17114 resultobj
= wxPyMake_wxObject(result
);
17122 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
17124 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17125 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17127 return Py_BuildValue((char *)"");
17129 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17130 PyObject
*resultobj
;
17131 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17132 int arg2
= (int) 0 ;
17133 wxCloseEvent
*result
;
17134 PyObject
* obj0
= 0 ;
17135 PyObject
* obj1
= 0 ;
17136 char *kwnames
[] = {
17137 (char *) "type",(char *) "winid", NULL
17140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17142 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17143 if (PyErr_Occurred()) SWIG_fail
;
17146 arg2
= (int) SWIG_AsInt(obj1
);
17147 if (PyErr_Occurred()) SWIG_fail
;
17150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17151 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17153 wxPyEndAllowThreads(__tstate
);
17154 if (PyErr_Occurred()) SWIG_fail
;
17156 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17163 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17164 PyObject
*resultobj
;
17165 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17167 PyObject
* obj0
= 0 ;
17168 PyObject
* obj1
= 0 ;
17169 char *kwnames
[] = {
17170 (char *) "self",(char *) "logOff", NULL
17173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17176 arg2
= (bool) SWIG_AsBool(obj1
);
17177 if (PyErr_Occurred()) SWIG_fail
;
17179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17180 (arg1
)->SetLoggingOff(arg2
);
17182 wxPyEndAllowThreads(__tstate
);
17183 if (PyErr_Occurred()) SWIG_fail
;
17185 Py_INCREF(Py_None
); resultobj
= Py_None
;
17192 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17193 PyObject
*resultobj
;
17194 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17196 PyObject
* obj0
= 0 ;
17197 char *kwnames
[] = {
17198 (char *) "self", NULL
17201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17206 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17208 wxPyEndAllowThreads(__tstate
);
17209 if (PyErr_Occurred()) SWIG_fail
;
17212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17220 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17221 PyObject
*resultobj
;
17222 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17223 bool arg2
= (bool) True
;
17224 PyObject
* obj0
= 0 ;
17225 PyObject
* obj1
= 0 ;
17226 char *kwnames
[] = {
17227 (char *) "self",(char *) "veto", NULL
17230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17234 arg2
= (bool) SWIG_AsBool(obj1
);
17235 if (PyErr_Occurred()) SWIG_fail
;
17238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17239 (arg1
)->Veto(arg2
);
17241 wxPyEndAllowThreads(__tstate
);
17242 if (PyErr_Occurred()) SWIG_fail
;
17244 Py_INCREF(Py_None
); resultobj
= Py_None
;
17251 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17252 PyObject
*resultobj
;
17253 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17255 PyObject
* obj0
= 0 ;
17256 PyObject
* obj1
= 0 ;
17257 char *kwnames
[] = {
17258 (char *) "self",(char *) "canVeto", NULL
17261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17264 arg2
= (bool) SWIG_AsBool(obj1
);
17265 if (PyErr_Occurred()) SWIG_fail
;
17267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17268 (arg1
)->SetCanVeto(arg2
);
17270 wxPyEndAllowThreads(__tstate
);
17271 if (PyErr_Occurred()) SWIG_fail
;
17273 Py_INCREF(Py_None
); resultobj
= Py_None
;
17280 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17281 PyObject
*resultobj
;
17282 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17284 PyObject
* obj0
= 0 ;
17285 char *kwnames
[] = {
17286 (char *) "self", NULL
17289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
17290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17294 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
17296 wxPyEndAllowThreads(__tstate
);
17297 if (PyErr_Occurred()) SWIG_fail
;
17300 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17308 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17309 PyObject
*resultobj
;
17310 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17312 PyObject
* obj0
= 0 ;
17313 char *kwnames
[] = {
17314 (char *) "self", NULL
17317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17322 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17324 wxPyEndAllowThreads(__tstate
);
17325 if (PyErr_Occurred()) SWIG_fail
;
17328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17336 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
17338 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17339 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17341 return Py_BuildValue((char *)"");
17343 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17344 PyObject
*resultobj
;
17345 int arg1
= (int) 0 ;
17346 bool arg2
= (bool) False
;
17347 wxShowEvent
*result
;
17348 PyObject
* obj0
= 0 ;
17349 PyObject
* obj1
= 0 ;
17350 char *kwnames
[] = {
17351 (char *) "winid",(char *) "show", NULL
17354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17356 arg1
= (int) SWIG_AsInt(obj0
);
17357 if (PyErr_Occurred()) SWIG_fail
;
17360 arg2
= (bool) SWIG_AsBool(obj1
);
17361 if (PyErr_Occurred()) SWIG_fail
;
17364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17365 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
17367 wxPyEndAllowThreads(__tstate
);
17368 if (PyErr_Occurred()) SWIG_fail
;
17370 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
17377 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17378 PyObject
*resultobj
;
17379 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17381 PyObject
* obj0
= 0 ;
17382 PyObject
* obj1
= 0 ;
17383 char *kwnames
[] = {
17384 (char *) "self",(char *) "show", NULL
17387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
17388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17390 arg2
= (bool) SWIG_AsBool(obj1
);
17391 if (PyErr_Occurred()) SWIG_fail
;
17393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17394 (arg1
)->SetShow(arg2
);
17396 wxPyEndAllowThreads(__tstate
);
17397 if (PyErr_Occurred()) SWIG_fail
;
17399 Py_INCREF(Py_None
); resultobj
= Py_None
;
17406 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17407 PyObject
*resultobj
;
17408 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17410 PyObject
* obj0
= 0 ;
17411 char *kwnames
[] = {
17412 (char *) "self", NULL
17415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
17416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17420 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
17422 wxPyEndAllowThreads(__tstate
);
17423 if (PyErr_Occurred()) SWIG_fail
;
17426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17434 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
17436 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17437 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
17439 return Py_BuildValue((char *)"");
17441 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17442 PyObject
*resultobj
;
17443 int arg1
= (int) 0 ;
17444 bool arg2
= (bool) True
;
17445 wxIconizeEvent
*result
;
17446 PyObject
* obj0
= 0 ;
17447 PyObject
* obj1
= 0 ;
17448 char *kwnames
[] = {
17449 (char *) "id",(char *) "iconized", NULL
17452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17454 arg1
= (int) SWIG_AsInt(obj0
);
17455 if (PyErr_Occurred()) SWIG_fail
;
17458 arg2
= (bool) SWIG_AsBool(obj1
);
17459 if (PyErr_Occurred()) SWIG_fail
;
17462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17463 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
17465 wxPyEndAllowThreads(__tstate
);
17466 if (PyErr_Occurred()) SWIG_fail
;
17468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
17475 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17476 PyObject
*resultobj
;
17477 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
17479 PyObject
* obj0
= 0 ;
17480 char *kwnames
[] = {
17481 (char *) "self", NULL
17484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
17485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
17486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17489 result
= (bool)(arg1
)->Iconized();
17491 wxPyEndAllowThreads(__tstate
);
17492 if (PyErr_Occurred()) SWIG_fail
;
17495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17503 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
17505 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17506 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
17508 return Py_BuildValue((char *)"");
17510 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17511 PyObject
*resultobj
;
17512 int arg1
= (int) 0 ;
17513 wxMaximizeEvent
*result
;
17514 PyObject
* obj0
= 0 ;
17515 char *kwnames
[] = {
17516 (char *) "id", NULL
17519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
17521 arg1
= (int) SWIG_AsInt(obj0
);
17522 if (PyErr_Occurred()) SWIG_fail
;
17525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17526 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
17528 wxPyEndAllowThreads(__tstate
);
17529 if (PyErr_Occurred()) SWIG_fail
;
17531 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
17538 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
17540 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17541 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
17543 return Py_BuildValue((char *)"");
17545 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17546 PyObject
*resultobj
;
17547 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17549 PyObject
* obj0
= 0 ;
17550 char *kwnames
[] = {
17551 (char *) "self", NULL
17554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17559 result
= (arg1
)->GetPosition();
17561 wxPyEndAllowThreads(__tstate
);
17562 if (PyErr_Occurred()) SWIG_fail
;
17565 wxPoint
* resultptr
;
17566 resultptr
= new wxPoint((wxPoint
&) result
);
17567 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17575 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17576 PyObject
*resultobj
;
17577 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17579 PyObject
* obj0
= 0 ;
17580 char *kwnames
[] = {
17581 (char *) "self", NULL
17584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
17585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17589 result
= (int)(arg1
)->GetNumberOfFiles();
17591 wxPyEndAllowThreads(__tstate
);
17592 if (PyErr_Occurred()) SWIG_fail
;
17594 resultobj
= SWIG_FromInt((int)result
);
17601 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17602 PyObject
*resultobj
;
17603 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17605 PyObject
* obj0
= 0 ;
17606 char *kwnames
[] = {
17607 (char *) "self", NULL
17610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
17611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17615 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
17617 wxPyEndAllowThreads(__tstate
);
17618 if (PyErr_Occurred()) SWIG_fail
;
17620 resultobj
= result
;
17627 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
17629 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17630 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
17632 return Py_BuildValue((char *)"");
17634 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17635 PyObject
*resultobj
;
17636 int arg1
= (int) 0 ;
17637 wxUpdateUIEvent
*result
;
17638 PyObject
* obj0
= 0 ;
17639 char *kwnames
[] = {
17640 (char *) "commandId", NULL
17643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
17645 arg1
= (int) SWIG_AsInt(obj0
);
17646 if (PyErr_Occurred()) SWIG_fail
;
17649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17650 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
17652 wxPyEndAllowThreads(__tstate
);
17653 if (PyErr_Occurred()) SWIG_fail
;
17655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
17662 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17663 PyObject
*resultobj
;
17664 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17666 PyObject
* obj0
= 0 ;
17667 char *kwnames
[] = {
17668 (char *) "self", NULL
17671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
17672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17676 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
17678 wxPyEndAllowThreads(__tstate
);
17679 if (PyErr_Occurred()) SWIG_fail
;
17682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17690 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17691 PyObject
*resultobj
;
17692 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17694 PyObject
* obj0
= 0 ;
17695 char *kwnames
[] = {
17696 (char *) "self", NULL
17699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
17700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17704 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
17706 wxPyEndAllowThreads(__tstate
);
17707 if (PyErr_Occurred()) SWIG_fail
;
17710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17718 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17719 PyObject
*resultobj
;
17720 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17722 PyObject
* obj0
= 0 ;
17723 char *kwnames
[] = {
17724 (char *) "self", NULL
17727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
17728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17732 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
17734 wxPyEndAllowThreads(__tstate
);
17735 if (PyErr_Occurred()) SWIG_fail
;
17739 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17741 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17750 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17751 PyObject
*resultobj
;
17752 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17754 PyObject
* obj0
= 0 ;
17755 char *kwnames
[] = {
17756 (char *) "self", NULL
17759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
17760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17764 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
17766 wxPyEndAllowThreads(__tstate
);
17767 if (PyErr_Occurred()) SWIG_fail
;
17770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17778 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17779 PyObject
*resultobj
;
17780 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17782 PyObject
* obj0
= 0 ;
17783 char *kwnames
[] = {
17784 (char *) "self", NULL
17787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
17788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17792 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
17794 wxPyEndAllowThreads(__tstate
);
17795 if (PyErr_Occurred()) SWIG_fail
;
17798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17806 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17807 PyObject
*resultobj
;
17808 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17810 PyObject
* obj0
= 0 ;
17811 char *kwnames
[] = {
17812 (char *) "self", NULL
17815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
17816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17820 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
17822 wxPyEndAllowThreads(__tstate
);
17823 if (PyErr_Occurred()) SWIG_fail
;
17826 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17834 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17835 PyObject
*resultobj
;
17836 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17838 PyObject
* obj0
= 0 ;
17839 PyObject
* obj1
= 0 ;
17840 char *kwnames
[] = {
17841 (char *) "self",(char *) "check", NULL
17844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
17845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17847 arg2
= (bool) SWIG_AsBool(obj1
);
17848 if (PyErr_Occurred()) SWIG_fail
;
17850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17851 (arg1
)->Check(arg2
);
17853 wxPyEndAllowThreads(__tstate
);
17854 if (PyErr_Occurred()) SWIG_fail
;
17856 Py_INCREF(Py_None
); resultobj
= Py_None
;
17863 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17864 PyObject
*resultobj
;
17865 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17867 PyObject
* obj0
= 0 ;
17868 PyObject
* obj1
= 0 ;
17869 char *kwnames
[] = {
17870 (char *) "self",(char *) "enable", NULL
17873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
17874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17876 arg2
= (bool) SWIG_AsBool(obj1
);
17877 if (PyErr_Occurred()) SWIG_fail
;
17879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17880 (arg1
)->Enable(arg2
);
17882 wxPyEndAllowThreads(__tstate
);
17883 if (PyErr_Occurred()) SWIG_fail
;
17885 Py_INCREF(Py_None
); resultobj
= Py_None
;
17892 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17893 PyObject
*resultobj
;
17894 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17895 wxString
*arg2
= 0 ;
17896 bool temp2
= False
;
17897 PyObject
* obj0
= 0 ;
17898 PyObject
* obj1
= 0 ;
17899 char *kwnames
[] = {
17900 (char *) "self",(char *) "text", NULL
17903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
17904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17907 arg2
= wxString_in_helper(obj1
);
17908 if (arg2
== NULL
) SWIG_fail
;
17912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17913 (arg1
)->SetText((wxString
const &)*arg2
);
17915 wxPyEndAllowThreads(__tstate
);
17916 if (PyErr_Occurred()) SWIG_fail
;
17918 Py_INCREF(Py_None
); resultobj
= Py_None
;
17933 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17934 PyObject
*resultobj
;
17936 PyObject
* obj0
= 0 ;
17937 char *kwnames
[] = {
17938 (char *) "updateInterval", NULL
17941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
17942 arg1
= (long) SWIG_AsLong(obj0
);
17943 if (PyErr_Occurred()) SWIG_fail
;
17945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17946 wxUpdateUIEvent::SetUpdateInterval(arg1
);
17948 wxPyEndAllowThreads(__tstate
);
17949 if (PyErr_Occurred()) SWIG_fail
;
17951 Py_INCREF(Py_None
); resultobj
= Py_None
;
17958 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17959 PyObject
*resultobj
;
17961 char *kwnames
[] = {
17965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
17967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17968 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
17970 wxPyEndAllowThreads(__tstate
);
17971 if (PyErr_Occurred()) SWIG_fail
;
17973 resultobj
= SWIG_FromLong((long)result
);
17980 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17981 PyObject
*resultobj
;
17982 wxWindow
*arg1
= (wxWindow
*) 0 ;
17984 PyObject
* obj0
= 0 ;
17985 char *kwnames
[] = {
17986 (char *) "win", NULL
17989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
17990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17994 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
17996 wxPyEndAllowThreads(__tstate
);
17997 if (PyErr_Occurred()) SWIG_fail
;
18000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18008 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18009 PyObject
*resultobj
;
18010 char *kwnames
[] = {
18014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18017 wxUpdateUIEvent::ResetUpdateTime();
18019 wxPyEndAllowThreads(__tstate
);
18020 if (PyErr_Occurred()) SWIG_fail
;
18022 Py_INCREF(Py_None
); resultobj
= Py_None
;
18029 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18030 PyObject
*resultobj
;
18032 PyObject
* obj0
= 0 ;
18033 char *kwnames
[] = {
18034 (char *) "mode", NULL
18037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18038 arg1
= (wxUpdateUIMode
) SWIG_AsInt(obj0
);
18039 if (PyErr_Occurred()) SWIG_fail
;
18041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18042 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18044 wxPyEndAllowThreads(__tstate
);
18045 if (PyErr_Occurred()) SWIG_fail
;
18047 Py_INCREF(Py_None
); resultobj
= Py_None
;
18054 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18055 PyObject
*resultobj
;
18057 char *kwnames
[] = {
18061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18064 result
= (int)wxUpdateUIEvent::GetMode();
18066 wxPyEndAllowThreads(__tstate
);
18067 if (PyErr_Occurred()) SWIG_fail
;
18069 resultobj
= SWIG_FromInt((int)result
);
18076 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
18078 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18079 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18081 return Py_BuildValue((char *)"");
18083 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18084 PyObject
*resultobj
;
18085 wxSysColourChangedEvent
*result
;
18086 char *kwnames
[] = {
18090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18093 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18095 wxPyEndAllowThreads(__tstate
);
18096 if (PyErr_Occurred()) SWIG_fail
;
18098 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18105 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18107 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18108 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18110 return Py_BuildValue((char *)"");
18112 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18113 PyObject
*resultobj
;
18114 int arg1
= (int) 0 ;
18115 wxWindow
*arg2
= (wxWindow
*) NULL
;
18116 wxMouseCaptureChangedEvent
*result
;
18117 PyObject
* obj0
= 0 ;
18118 PyObject
* obj1
= 0 ;
18119 char *kwnames
[] = {
18120 (char *) "winid",(char *) "gainedCapture", NULL
18123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18125 arg1
= (int) SWIG_AsInt(obj0
);
18126 if (PyErr_Occurred()) SWIG_fail
;
18129 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18134 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18136 wxPyEndAllowThreads(__tstate
);
18137 if (PyErr_Occurred()) SWIG_fail
;
18139 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18146 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18147 PyObject
*resultobj
;
18148 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18150 PyObject
* obj0
= 0 ;
18151 char *kwnames
[] = {
18152 (char *) "self", NULL
18155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18160 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18162 wxPyEndAllowThreads(__tstate
);
18163 if (PyErr_Occurred()) SWIG_fail
;
18166 resultobj
= wxPyMake_wxObject(result
);
18174 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18176 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18177 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18179 return Py_BuildValue((char *)"");
18181 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18182 PyObject
*resultobj
;
18183 wxDisplayChangedEvent
*result
;
18184 char *kwnames
[] = {
18188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18191 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18193 wxPyEndAllowThreads(__tstate
);
18194 if (PyErr_Occurred()) SWIG_fail
;
18196 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18203 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18205 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18206 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18208 return Py_BuildValue((char *)"");
18210 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18211 PyObject
*resultobj
;
18212 int arg1
= (int) 0 ;
18213 wxPaletteChangedEvent
*result
;
18214 PyObject
* obj0
= 0 ;
18215 char *kwnames
[] = {
18216 (char *) "id", NULL
18219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18221 arg1
= (int) SWIG_AsInt(obj0
);
18222 if (PyErr_Occurred()) SWIG_fail
;
18225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18226 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18228 wxPyEndAllowThreads(__tstate
);
18229 if (PyErr_Occurred()) SWIG_fail
;
18231 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18238 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18239 PyObject
*resultobj
;
18240 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18241 wxWindow
*arg2
= (wxWindow
*) 0 ;
18242 PyObject
* obj0
= 0 ;
18243 PyObject
* obj1
= 0 ;
18244 char *kwnames
[] = {
18245 (char *) "self",(char *) "win", NULL
18248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18251 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18255 (arg1
)->SetChangedWindow(arg2
);
18257 wxPyEndAllowThreads(__tstate
);
18258 if (PyErr_Occurred()) SWIG_fail
;
18260 Py_INCREF(Py_None
); resultobj
= Py_None
;
18267 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18268 PyObject
*resultobj
;
18269 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18271 PyObject
* obj0
= 0 ;
18272 char *kwnames
[] = {
18273 (char *) "self", NULL
18276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18281 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18283 wxPyEndAllowThreads(__tstate
);
18284 if (PyErr_Occurred()) SWIG_fail
;
18287 resultobj
= wxPyMake_wxObject(result
);
18295 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18297 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18298 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18300 return Py_BuildValue((char *)"");
18302 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18303 PyObject
*resultobj
;
18304 int arg1
= (int) 0 ;
18305 wxQueryNewPaletteEvent
*result
;
18306 PyObject
* obj0
= 0 ;
18307 char *kwnames
[] = {
18308 (char *) "winid", NULL
18311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18313 arg1
= (int) SWIG_AsInt(obj0
);
18314 if (PyErr_Occurred()) SWIG_fail
;
18317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18318 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18320 wxPyEndAllowThreads(__tstate
);
18321 if (PyErr_Occurred()) SWIG_fail
;
18323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18330 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18331 PyObject
*resultobj
;
18332 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18334 PyObject
* obj0
= 0 ;
18335 PyObject
* obj1
= 0 ;
18336 char *kwnames
[] = {
18337 (char *) "self",(char *) "realized", NULL
18340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18343 arg2
= (bool) SWIG_AsBool(obj1
);
18344 if (PyErr_Occurred()) SWIG_fail
;
18346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18347 (arg1
)->SetPaletteRealized(arg2
);
18349 wxPyEndAllowThreads(__tstate
);
18350 if (PyErr_Occurred()) SWIG_fail
;
18352 Py_INCREF(Py_None
); resultobj
= Py_None
;
18359 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18360 PyObject
*resultobj
;
18361 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18363 PyObject
* obj0
= 0 ;
18364 char *kwnames
[] = {
18365 (char *) "self", NULL
18368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
18369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18373 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
18375 wxPyEndAllowThreads(__tstate
);
18376 if (PyErr_Occurred()) SWIG_fail
;
18379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18387 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
18389 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18390 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
18392 return Py_BuildValue((char *)"");
18394 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18395 PyObject
*resultobj
;
18396 wxNavigationKeyEvent
*result
;
18397 char *kwnames
[] = {
18401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
18403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18404 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
18406 wxPyEndAllowThreads(__tstate
);
18407 if (PyErr_Occurred()) SWIG_fail
;
18409 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
18416 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18417 PyObject
*resultobj
;
18418 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18420 PyObject
* obj0
= 0 ;
18421 char *kwnames
[] = {
18422 (char *) "self", NULL
18425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
18426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18430 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
18432 wxPyEndAllowThreads(__tstate
);
18433 if (PyErr_Occurred()) SWIG_fail
;
18436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18444 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18445 PyObject
*resultobj
;
18446 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18448 PyObject
* obj0
= 0 ;
18449 PyObject
* obj1
= 0 ;
18450 char *kwnames
[] = {
18451 (char *) "self",(char *) "bForward", NULL
18454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
18455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18457 arg2
= (bool) SWIG_AsBool(obj1
);
18458 if (PyErr_Occurred()) SWIG_fail
;
18460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18461 (arg1
)->SetDirection(arg2
);
18463 wxPyEndAllowThreads(__tstate
);
18464 if (PyErr_Occurred()) SWIG_fail
;
18466 Py_INCREF(Py_None
); resultobj
= Py_None
;
18473 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18474 PyObject
*resultobj
;
18475 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18477 PyObject
* obj0
= 0 ;
18478 char *kwnames
[] = {
18479 (char *) "self", NULL
18482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
18483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18487 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
18489 wxPyEndAllowThreads(__tstate
);
18490 if (PyErr_Occurred()) SWIG_fail
;
18493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18501 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18502 PyObject
*resultobj
;
18503 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18505 PyObject
* obj0
= 0 ;
18506 PyObject
* obj1
= 0 ;
18507 char *kwnames
[] = {
18508 (char *) "self",(char *) "bIs", NULL
18511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
18512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18514 arg2
= (bool) SWIG_AsBool(obj1
);
18515 if (PyErr_Occurred()) SWIG_fail
;
18517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18518 (arg1
)->SetWindowChange(arg2
);
18520 wxPyEndAllowThreads(__tstate
);
18521 if (PyErr_Occurred()) SWIG_fail
;
18523 Py_INCREF(Py_None
); resultobj
= Py_None
;
18530 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18531 PyObject
*resultobj
;
18532 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18534 PyObject
* obj0
= 0 ;
18535 char *kwnames
[] = {
18536 (char *) "self", NULL
18539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
18540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18544 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
18546 wxPyEndAllowThreads(__tstate
);
18547 if (PyErr_Occurred()) SWIG_fail
;
18550 resultobj
= wxPyMake_wxObject(result
);
18558 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18559 PyObject
*resultobj
;
18560 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18561 wxWindow
*arg2
= (wxWindow
*) 0 ;
18562 PyObject
* obj0
= 0 ;
18563 PyObject
* obj1
= 0 ;
18564 char *kwnames
[] = {
18565 (char *) "self",(char *) "win", NULL
18568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
18569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18571 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18575 (arg1
)->SetCurrentFocus(arg2
);
18577 wxPyEndAllowThreads(__tstate
);
18578 if (PyErr_Occurred()) SWIG_fail
;
18580 Py_INCREF(Py_None
); resultobj
= Py_None
;
18587 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
18589 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18590 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
18592 return Py_BuildValue((char *)"");
18594 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18595 PyObject
*resultobj
;
18596 wxWindow
*arg1
= (wxWindow
*) NULL
;
18597 wxWindowCreateEvent
*result
;
18598 PyObject
* obj0
= 0 ;
18599 char *kwnames
[] = {
18600 (char *) "win", NULL
18603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
18605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18610 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
18612 wxPyEndAllowThreads(__tstate
);
18613 if (PyErr_Occurred()) SWIG_fail
;
18615 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
18622 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18623 PyObject
*resultobj
;
18624 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
18626 PyObject
* obj0
= 0 ;
18627 char *kwnames
[] = {
18628 (char *) "self", NULL
18631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
18633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18636 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
18638 wxPyEndAllowThreads(__tstate
);
18639 if (PyErr_Occurred()) SWIG_fail
;
18642 resultobj
= wxPyMake_wxObject(result
);
18650 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
18652 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18653 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
18655 return Py_BuildValue((char *)"");
18657 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18658 PyObject
*resultobj
;
18659 wxWindow
*arg1
= (wxWindow
*) NULL
;
18660 wxWindowDestroyEvent
*result
;
18661 PyObject
* obj0
= 0 ;
18662 char *kwnames
[] = {
18663 (char *) "win", NULL
18666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
18668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18673 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
18675 wxPyEndAllowThreads(__tstate
);
18676 if (PyErr_Occurred()) SWIG_fail
;
18678 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
18685 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18686 PyObject
*resultobj
;
18687 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
18689 PyObject
* obj0
= 0 ;
18690 char *kwnames
[] = {
18691 (char *) "self", NULL
18694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
18696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18699 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
18701 wxPyEndAllowThreads(__tstate
);
18702 if (PyErr_Occurred()) SWIG_fail
;
18705 resultobj
= wxPyMake_wxObject(result
);
18713 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
18715 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18716 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
18718 return Py_BuildValue((char *)"");
18720 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18721 PyObject
*resultobj
;
18722 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18723 int arg2
= (int) 0 ;
18724 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18725 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18726 wxContextMenuEvent
*result
;
18728 PyObject
* obj0
= 0 ;
18729 PyObject
* obj1
= 0 ;
18730 PyObject
* obj2
= 0 ;
18731 char *kwnames
[] = {
18732 (char *) "type",(char *) "winid",(char *) "pt", NULL
18735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18737 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
18738 if (PyErr_Occurred()) SWIG_fail
;
18741 arg2
= (int) SWIG_AsInt(obj1
);
18742 if (PyErr_Occurred()) SWIG_fail
;
18747 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18752 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
18754 wxPyEndAllowThreads(__tstate
);
18755 if (PyErr_Occurred()) SWIG_fail
;
18757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
18764 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18765 PyObject
*resultobj
;
18766 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18768 PyObject
* obj0
= 0 ;
18769 char *kwnames
[] = {
18770 (char *) "self", NULL
18773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18779 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
18780 result
= (wxPoint
*) &_result_ref
;
18783 wxPyEndAllowThreads(__tstate
);
18784 if (PyErr_Occurred()) SWIG_fail
;
18786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
18793 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18794 PyObject
*resultobj
;
18795 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18796 wxPoint
*arg2
= 0 ;
18798 PyObject
* obj0
= 0 ;
18799 PyObject
* obj1
= 0 ;
18800 char *kwnames
[] = {
18801 (char *) "self",(char *) "pos", NULL
18804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
18805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18809 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18813 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
18815 wxPyEndAllowThreads(__tstate
);
18816 if (PyErr_Occurred()) SWIG_fail
;
18818 Py_INCREF(Py_None
); resultobj
= Py_None
;
18825 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
18827 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18828 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
18830 return Py_BuildValue((char *)"");
18832 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18833 PyObject
*resultobj
;
18834 wxIdleEvent
*result
;
18835 char *kwnames
[] = {
18839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
18841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18842 result
= (wxIdleEvent
*)new wxIdleEvent();
18844 wxPyEndAllowThreads(__tstate
);
18845 if (PyErr_Occurred()) SWIG_fail
;
18847 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
18854 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18855 PyObject
*resultobj
;
18856 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18857 bool arg2
= (bool) True
;
18858 PyObject
* obj0
= 0 ;
18859 PyObject
* obj1
= 0 ;
18860 char *kwnames
[] = {
18861 (char *) "self",(char *) "needMore", NULL
18864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
18865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
18866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18868 arg2
= (bool) SWIG_AsBool(obj1
);
18869 if (PyErr_Occurred()) SWIG_fail
;
18872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18873 (arg1
)->RequestMore(arg2
);
18875 wxPyEndAllowThreads(__tstate
);
18876 if (PyErr_Occurred()) SWIG_fail
;
18878 Py_INCREF(Py_None
); resultobj
= Py_None
;
18885 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18886 PyObject
*resultobj
;
18887 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18889 PyObject
* obj0
= 0 ;
18890 char *kwnames
[] = {
18891 (char *) "self", NULL
18894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
18895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
18896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18899 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
18901 wxPyEndAllowThreads(__tstate
);
18902 if (PyErr_Occurred()) SWIG_fail
;
18905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18913 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18914 PyObject
*resultobj
;
18916 PyObject
* obj0
= 0 ;
18917 char *kwnames
[] = {
18918 (char *) "mode", NULL
18921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18922 arg1
= (wxIdleMode
) SWIG_AsInt(obj0
);
18923 if (PyErr_Occurred()) SWIG_fail
;
18925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18926 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
18928 wxPyEndAllowThreads(__tstate
);
18929 if (PyErr_Occurred()) SWIG_fail
;
18931 Py_INCREF(Py_None
); resultobj
= Py_None
;
18938 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18939 PyObject
*resultobj
;
18941 char *kwnames
[] = {
18945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
18947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18948 result
= (int)wxIdleEvent::GetMode();
18950 wxPyEndAllowThreads(__tstate
);
18951 if (PyErr_Occurred()) SWIG_fail
;
18953 resultobj
= SWIG_FromInt((int)result
);
18960 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18961 PyObject
*resultobj
;
18962 wxWindow
*arg1
= (wxWindow
*) 0 ;
18964 PyObject
* obj0
= 0 ;
18965 char *kwnames
[] = {
18966 (char *) "win", NULL
18969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
18970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18974 result
= (bool)wxIdleEvent::CanSend(arg1
);
18976 wxPyEndAllowThreads(__tstate
);
18977 if (PyErr_Occurred()) SWIG_fail
;
18980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18988 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
18990 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18991 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
18993 return Py_BuildValue((char *)"");
18995 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18996 PyObject
*resultobj
;
18997 int arg1
= (int) 0 ;
18998 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19000 PyObject
* obj0
= 0 ;
19001 PyObject
* obj1
= 0 ;
19002 char *kwnames
[] = {
19003 (char *) "winid",(char *) "commandType", NULL
19006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19008 arg1
= (int) SWIG_AsInt(obj0
);
19009 if (PyErr_Occurred()) SWIG_fail
;
19012 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
19013 if (PyErr_Occurred()) SWIG_fail
;
19016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19017 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19019 wxPyEndAllowThreads(__tstate
);
19020 if (PyErr_Occurred()) SWIG_fail
;
19022 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19029 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19030 PyObject
*resultobj
;
19031 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19032 PyObject
* obj0
= 0 ;
19033 char *kwnames
[] = {
19034 (char *) "self", NULL
19037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19044 wxPyEndAllowThreads(__tstate
);
19045 if (PyErr_Occurred()) SWIG_fail
;
19047 Py_INCREF(Py_None
); resultobj
= Py_None
;
19054 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19055 PyObject
*resultobj
;
19056 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19057 PyObject
*arg2
= (PyObject
*) 0 ;
19058 PyObject
* obj0
= 0 ;
19059 PyObject
* obj1
= 0 ;
19060 char *kwnames
[] = {
19061 (char *) "self",(char *) "self", NULL
19064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19070 (arg1
)->SetSelf(arg2
);
19072 wxPyEndAllowThreads(__tstate
);
19073 if (PyErr_Occurred()) SWIG_fail
;
19075 Py_INCREF(Py_None
); resultobj
= Py_None
;
19082 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19083 PyObject
*resultobj
;
19084 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19086 PyObject
* obj0
= 0 ;
19087 char *kwnames
[] = {
19088 (char *) "self", NULL
19091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19096 result
= (PyObject
*)(arg1
)->GetSelf();
19098 wxPyEndAllowThreads(__tstate
);
19099 if (PyErr_Occurred()) SWIG_fail
;
19101 resultobj
= result
;
19108 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
19110 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19111 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19113 return Py_BuildValue((char *)"");
19115 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19116 PyObject
*resultobj
;
19117 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19118 int arg2
= (int) 0 ;
19119 wxPyCommandEvent
*result
;
19120 PyObject
* obj0
= 0 ;
19121 PyObject
* obj1
= 0 ;
19122 char *kwnames
[] = {
19123 (char *) "commandType",(char *) "id", NULL
19126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19128 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19129 if (PyErr_Occurred()) SWIG_fail
;
19132 arg2
= (int) SWIG_AsInt(obj1
);
19133 if (PyErr_Occurred()) SWIG_fail
;
19136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19137 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19139 wxPyEndAllowThreads(__tstate
);
19140 if (PyErr_Occurred()) SWIG_fail
;
19142 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19149 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19150 PyObject
*resultobj
;
19151 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19152 PyObject
* obj0
= 0 ;
19153 char *kwnames
[] = {
19154 (char *) "self", NULL
19157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19164 wxPyEndAllowThreads(__tstate
);
19165 if (PyErr_Occurred()) SWIG_fail
;
19167 Py_INCREF(Py_None
); resultobj
= Py_None
;
19174 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19175 PyObject
*resultobj
;
19176 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19177 PyObject
*arg2
= (PyObject
*) 0 ;
19178 PyObject
* obj0
= 0 ;
19179 PyObject
* obj1
= 0 ;
19180 char *kwnames
[] = {
19181 (char *) "self",(char *) "self", NULL
19184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19190 (arg1
)->SetSelf(arg2
);
19192 wxPyEndAllowThreads(__tstate
);
19193 if (PyErr_Occurred()) SWIG_fail
;
19195 Py_INCREF(Py_None
); resultobj
= Py_None
;
19202 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19203 PyObject
*resultobj
;
19204 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19206 PyObject
* obj0
= 0 ;
19207 char *kwnames
[] = {
19208 (char *) "self", NULL
19211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19216 result
= (PyObject
*)(arg1
)->GetSelf();
19218 wxPyEndAllowThreads(__tstate
);
19219 if (PyErr_Occurred()) SWIG_fail
;
19221 resultobj
= result
;
19228 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
19230 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19231 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19233 return Py_BuildValue((char *)"");
19235 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19236 PyObject
*resultobj
;
19238 char *kwnames
[] = {
19242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19245 result
= (wxPyApp
*)new_wxPyApp();
19247 wxPyEndAllowThreads(__tstate
);
19248 if (PyErr_Occurred()) SWIG_fail
;
19251 resultobj
= wxPyMake_wxObject(result
);
19259 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19260 PyObject
*resultobj
;
19261 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19262 PyObject
* obj0
= 0 ;
19263 char *kwnames
[] = {
19264 (char *) "self", NULL
19267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19274 wxPyEndAllowThreads(__tstate
);
19275 if (PyErr_Occurred()) SWIG_fail
;
19277 Py_INCREF(Py_None
); resultobj
= Py_None
;
19284 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19285 PyObject
*resultobj
;
19286 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19287 PyObject
*arg2
= (PyObject
*) 0 ;
19288 PyObject
*arg3
= (PyObject
*) 0 ;
19289 PyObject
* obj0
= 0 ;
19290 PyObject
* obj1
= 0 ;
19291 PyObject
* obj2
= 0 ;
19292 char *kwnames
[] = {
19293 (char *) "self",(char *) "self",(char *) "_class", NULL
19296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19303 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19305 wxPyEndAllowThreads(__tstate
);
19306 if (PyErr_Occurred()) SWIG_fail
;
19308 Py_INCREF(Py_None
); resultobj
= Py_None
;
19315 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19316 PyObject
*resultobj
;
19317 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19319 PyObject
* obj0
= 0 ;
19320 char *kwnames
[] = {
19321 (char *) "self", NULL
19324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
19325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19329 result
= ((wxPyApp
const *)arg1
)->GetAppName();
19331 wxPyEndAllowThreads(__tstate
);
19332 if (PyErr_Occurred()) SWIG_fail
;
19336 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19338 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19347 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19348 PyObject
*resultobj
;
19349 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19350 wxString
*arg2
= 0 ;
19351 bool temp2
= False
;
19352 PyObject
* obj0
= 0 ;
19353 PyObject
* obj1
= 0 ;
19354 char *kwnames
[] = {
19355 (char *) "self",(char *) "name", NULL
19358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19362 arg2
= wxString_in_helper(obj1
);
19363 if (arg2
== NULL
) SWIG_fail
;
19367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19368 (arg1
)->SetAppName((wxString
const &)*arg2
);
19370 wxPyEndAllowThreads(__tstate
);
19371 if (PyErr_Occurred()) SWIG_fail
;
19373 Py_INCREF(Py_None
); resultobj
= Py_None
;
19388 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19389 PyObject
*resultobj
;
19390 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19392 PyObject
* obj0
= 0 ;
19393 char *kwnames
[] = {
19394 (char *) "self", NULL
19397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
19398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19402 result
= ((wxPyApp
const *)arg1
)->GetClassName();
19404 wxPyEndAllowThreads(__tstate
);
19405 if (PyErr_Occurred()) SWIG_fail
;
19409 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19411 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19420 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19421 PyObject
*resultobj
;
19422 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19423 wxString
*arg2
= 0 ;
19424 bool temp2
= False
;
19425 PyObject
* obj0
= 0 ;
19426 PyObject
* obj1
= 0 ;
19427 char *kwnames
[] = {
19428 (char *) "self",(char *) "name", NULL
19431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
19432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19435 arg2
= wxString_in_helper(obj1
);
19436 if (arg2
== NULL
) SWIG_fail
;
19440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19441 (arg1
)->SetClassName((wxString
const &)*arg2
);
19443 wxPyEndAllowThreads(__tstate
);
19444 if (PyErr_Occurred()) SWIG_fail
;
19446 Py_INCREF(Py_None
); resultobj
= Py_None
;
19461 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19462 PyObject
*resultobj
;
19463 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19465 PyObject
* obj0
= 0 ;
19466 char *kwnames
[] = {
19467 (char *) "self", NULL
19470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
19471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19476 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
19477 result
= (wxString
*) &_result_ref
;
19480 wxPyEndAllowThreads(__tstate
);
19481 if (PyErr_Occurred()) SWIG_fail
;
19485 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19487 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19496 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19497 PyObject
*resultobj
;
19498 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19499 wxString
*arg2
= 0 ;
19500 bool temp2
= False
;
19501 PyObject
* obj0
= 0 ;
19502 PyObject
* obj1
= 0 ;
19503 char *kwnames
[] = {
19504 (char *) "self",(char *) "name", NULL
19507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
19508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19511 arg2
= wxString_in_helper(obj1
);
19512 if (arg2
== NULL
) SWIG_fail
;
19516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19517 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19519 wxPyEndAllowThreads(__tstate
);
19520 if (PyErr_Occurred()) SWIG_fail
;
19522 Py_INCREF(Py_None
); resultobj
= Py_None
;
19537 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19538 PyObject
*resultobj
;
19539 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19540 wxAppTraits
*result
;
19541 PyObject
* obj0
= 0 ;
19542 char *kwnames
[] = {
19543 (char *) "self", NULL
19546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
19547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19551 result
= (wxAppTraits
*)(arg1
)->GetTraits();
19553 wxPyEndAllowThreads(__tstate
);
19554 if (PyErr_Occurred()) SWIG_fail
;
19556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
19563 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19564 PyObject
*resultobj
;
19565 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19566 PyObject
* obj0
= 0 ;
19567 char *kwnames
[] = {
19568 (char *) "self", NULL
19571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
19572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19576 (arg1
)->ProcessPendingEvents();
19578 wxPyEndAllowThreads(__tstate
);
19579 if (PyErr_Occurred()) SWIG_fail
;
19581 Py_INCREF(Py_None
); resultobj
= Py_None
;
19588 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19589 PyObject
*resultobj
;
19590 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19591 bool arg2
= (bool) False
;
19593 PyObject
* obj0
= 0 ;
19594 PyObject
* obj1
= 0 ;
19595 char *kwnames
[] = {
19596 (char *) "self",(char *) "onlyIfNeeded", NULL
19599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
19600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19603 arg2
= (bool) SWIG_AsBool(obj1
);
19604 if (PyErr_Occurred()) SWIG_fail
;
19607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19608 result
= (bool)(arg1
)->Yield(arg2
);
19610 wxPyEndAllowThreads(__tstate
);
19611 if (PyErr_Occurred()) SWIG_fail
;
19614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19622 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19623 PyObject
*resultobj
;
19624 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19625 PyObject
* obj0
= 0 ;
19626 char *kwnames
[] = {
19627 (char *) "self", NULL
19630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
19631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19635 (arg1
)->WakeUpIdle();
19637 wxPyEndAllowThreads(__tstate
);
19638 if (PyErr_Occurred()) SWIG_fail
;
19640 Py_INCREF(Py_None
); resultobj
= Py_None
;
19647 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19648 PyObject
*resultobj
;
19649 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19651 PyObject
* obj0
= 0 ;
19652 char *kwnames
[] = {
19653 (char *) "self", NULL
19656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
19657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19661 result
= (int)(arg1
)->MainLoop();
19663 wxPyEndAllowThreads(__tstate
);
19664 if (PyErr_Occurred()) SWIG_fail
;
19666 resultobj
= SWIG_FromInt((int)result
);
19673 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19674 PyObject
*resultobj
;
19675 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19676 PyObject
* obj0
= 0 ;
19677 char *kwnames
[] = {
19678 (char *) "self", NULL
19681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
19682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19688 wxPyEndAllowThreads(__tstate
);
19689 if (PyErr_Occurred()) SWIG_fail
;
19691 Py_INCREF(Py_None
); resultobj
= Py_None
;
19698 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19699 PyObject
*resultobj
;
19700 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19701 PyObject
* obj0
= 0 ;
19702 char *kwnames
[] = {
19703 (char *) "self", NULL
19706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
19707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19711 (arg1
)->ExitMainLoop();
19713 wxPyEndAllowThreads(__tstate
);
19714 if (PyErr_Occurred()) SWIG_fail
;
19716 Py_INCREF(Py_None
); resultobj
= Py_None
;
19723 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19724 PyObject
*resultobj
;
19725 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19727 PyObject
* obj0
= 0 ;
19728 char *kwnames
[] = {
19729 (char *) "self", NULL
19732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
19733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19737 result
= (bool)(arg1
)->Pending();
19739 wxPyEndAllowThreads(__tstate
);
19740 if (PyErr_Occurred()) SWIG_fail
;
19743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19751 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19752 PyObject
*resultobj
;
19753 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19755 PyObject
* obj0
= 0 ;
19756 char *kwnames
[] = {
19757 (char *) "self", NULL
19760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
19761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19765 result
= (bool)(arg1
)->Dispatch();
19767 wxPyEndAllowThreads(__tstate
);
19768 if (PyErr_Occurred()) SWIG_fail
;
19771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19779 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19780 PyObject
*resultobj
;
19781 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19783 PyObject
* obj0
= 0 ;
19784 char *kwnames
[] = {
19785 (char *) "self", NULL
19788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
19789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19793 result
= (bool)(arg1
)->ProcessIdle();
19795 wxPyEndAllowThreads(__tstate
);
19796 if (PyErr_Occurred()) SWIG_fail
;
19799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19807 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19808 PyObject
*resultobj
;
19809 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19810 wxWindow
*arg2
= (wxWindow
*) 0 ;
19811 wxIdleEvent
*arg3
= 0 ;
19813 PyObject
* obj0
= 0 ;
19814 PyObject
* obj1
= 0 ;
19815 PyObject
* obj2
= 0 ;
19816 char *kwnames
[] = {
19817 (char *) "self",(char *) "win",(char *) "event", NULL
19820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19823 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19825 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
19826 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19828 if (arg3
== NULL
) {
19829 PyErr_SetString(PyExc_TypeError
,"null reference");
19833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19834 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
19836 wxPyEndAllowThreads(__tstate
);
19837 if (PyErr_Occurred()) SWIG_fail
;
19840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19848 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19849 PyObject
*resultobj
;
19850 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19852 PyObject
* obj0
= 0 ;
19853 char *kwnames
[] = {
19854 (char *) "self", NULL
19857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
19858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19862 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
19864 wxPyEndAllowThreads(__tstate
);
19865 if (PyErr_Occurred()) SWIG_fail
;
19868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19876 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19877 PyObject
*resultobj
;
19878 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19879 wxWindow
*arg2
= (wxWindow
*) 0 ;
19880 PyObject
* obj0
= 0 ;
19881 PyObject
* obj1
= 0 ;
19882 char *kwnames
[] = {
19883 (char *) "self",(char *) "win", NULL
19886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19889 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19893 (arg1
)->SetTopWindow(arg2
);
19895 wxPyEndAllowThreads(__tstate
);
19896 if (PyErr_Occurred()) SWIG_fail
;
19898 Py_INCREF(Py_None
); resultobj
= Py_None
;
19905 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19906 PyObject
*resultobj
;
19907 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19909 PyObject
* obj0
= 0 ;
19910 char *kwnames
[] = {
19911 (char *) "self", NULL
19914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
19915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19919 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
19921 wxPyEndAllowThreads(__tstate
);
19922 if (PyErr_Occurred()) SWIG_fail
;
19925 resultobj
= wxPyMake_wxObject(result
);
19933 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19934 PyObject
*resultobj
;
19935 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19937 PyObject
* obj0
= 0 ;
19938 PyObject
* obj1
= 0 ;
19939 char *kwnames
[] = {
19940 (char *) "self",(char *) "flag", NULL
19943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
19944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19946 arg2
= (bool) SWIG_AsBool(obj1
);
19947 if (PyErr_Occurred()) SWIG_fail
;
19949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19950 (arg1
)->SetExitOnFrameDelete(arg2
);
19952 wxPyEndAllowThreads(__tstate
);
19953 if (PyErr_Occurred()) SWIG_fail
;
19955 Py_INCREF(Py_None
); resultobj
= Py_None
;
19962 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19963 PyObject
*resultobj
;
19964 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19966 PyObject
* obj0
= 0 ;
19967 char *kwnames
[] = {
19968 (char *) "self", NULL
19971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
19972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19976 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
19978 wxPyEndAllowThreads(__tstate
);
19979 if (PyErr_Occurred()) SWIG_fail
;
19982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19990 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19991 PyObject
*resultobj
;
19992 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19994 PyObject
* obj0
= 0 ;
19995 PyObject
* obj1
= 0 ;
19996 char *kwnames
[] = {
19997 (char *) "self",(char *) "flag", NULL
20000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20003 arg2
= (bool) SWIG_AsBool(obj1
);
20004 if (PyErr_Occurred()) SWIG_fail
;
20006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20007 (arg1
)->SetUseBestVisual(arg2
);
20009 wxPyEndAllowThreads(__tstate
);
20010 if (PyErr_Occurred()) SWIG_fail
;
20012 Py_INCREF(Py_None
); resultobj
= Py_None
;
20019 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20020 PyObject
*resultobj
;
20021 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20023 PyObject
* obj0
= 0 ;
20024 char *kwnames
[] = {
20025 (char *) "self", NULL
20028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20033 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20035 wxPyEndAllowThreads(__tstate
);
20036 if (PyErr_Occurred()) SWIG_fail
;
20039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20047 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20048 PyObject
*resultobj
;
20049 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20051 PyObject
* obj0
= 0 ;
20052 PyObject
* obj1
= 0 ;
20053 char *kwnames
[] = {
20054 (char *) "self",(char *) "mode", NULL
20057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20060 arg2
= (int) SWIG_AsInt(obj1
);
20061 if (PyErr_Occurred()) SWIG_fail
;
20063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20064 (arg1
)->SetPrintMode(arg2
);
20066 wxPyEndAllowThreads(__tstate
);
20067 if (PyErr_Occurred()) SWIG_fail
;
20069 Py_INCREF(Py_None
); resultobj
= Py_None
;
20076 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20077 PyObject
*resultobj
;
20078 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20080 PyObject
* obj0
= 0 ;
20081 char *kwnames
[] = {
20082 (char *) "self", NULL
20085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20090 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20092 wxPyEndAllowThreads(__tstate
);
20093 if (PyErr_Occurred()) SWIG_fail
;
20095 resultobj
= SWIG_FromInt((int)result
);
20102 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20103 PyObject
*resultobj
;
20104 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20106 PyObject
* obj0
= 0 ;
20107 PyObject
* obj1
= 0 ;
20108 char *kwnames
[] = {
20109 (char *) "self",(char *) "mode", NULL
20112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20115 arg2
= (int) SWIG_AsInt(obj1
);
20116 if (PyErr_Occurred()) SWIG_fail
;
20118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20119 (arg1
)->SetAssertMode(arg2
);
20121 wxPyEndAllowThreads(__tstate
);
20122 if (PyErr_Occurred()) SWIG_fail
;
20124 Py_INCREF(Py_None
); resultobj
= Py_None
;
20131 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20132 PyObject
*resultobj
;
20133 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20135 PyObject
* obj0
= 0 ;
20136 char *kwnames
[] = {
20137 (char *) "self", NULL
20140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20145 result
= (int)(arg1
)->GetAssertMode();
20147 wxPyEndAllowThreads(__tstate
);
20148 if (PyErr_Occurred()) SWIG_fail
;
20150 resultobj
= SWIG_FromInt((int)result
);
20157 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20158 PyObject
*resultobj
;
20160 char *kwnames
[] = {
20164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
20166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20167 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20169 wxPyEndAllowThreads(__tstate
);
20170 if (PyErr_Occurred()) SWIG_fail
;
20173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20181 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20182 PyObject
*resultobj
;
20184 char *kwnames
[] = {
20188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
20190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20191 result
= (long)wxPyApp::GetMacAboutMenuItemId();
20193 wxPyEndAllowThreads(__tstate
);
20194 if (PyErr_Occurred()) SWIG_fail
;
20196 resultobj
= SWIG_FromLong((long)result
);
20203 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20204 PyObject
*resultobj
;
20206 char *kwnames
[] = {
20210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
20212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20213 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
20215 wxPyEndAllowThreads(__tstate
);
20216 if (PyErr_Occurred()) SWIG_fail
;
20218 resultobj
= SWIG_FromLong((long)result
);
20225 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20226 PyObject
*resultobj
;
20228 char *kwnames
[] = {
20232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
20234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20235 result
= (long)wxPyApp::GetMacExitMenuItemId();
20237 wxPyEndAllowThreads(__tstate
);
20238 if (PyErr_Occurred()) SWIG_fail
;
20240 resultobj
= SWIG_FromLong((long)result
);
20247 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20248 PyObject
*resultobj
;
20250 char *kwnames
[] = {
20254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
20256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20257 result
= wxPyApp::GetMacHelpMenuTitleName();
20259 wxPyEndAllowThreads(__tstate
);
20260 if (PyErr_Occurred()) SWIG_fail
;
20264 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20266 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20275 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20276 PyObject
*resultobj
;
20278 PyObject
* obj0
= 0 ;
20279 char *kwnames
[] = {
20280 (char *) "val", NULL
20283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20284 arg1
= (bool) SWIG_AsBool(obj0
);
20285 if (PyErr_Occurred()) SWIG_fail
;
20287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20288 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20290 wxPyEndAllowThreads(__tstate
);
20291 if (PyErr_Occurred()) SWIG_fail
;
20293 Py_INCREF(Py_None
); resultobj
= Py_None
;
20300 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20301 PyObject
*resultobj
;
20303 PyObject
* obj0
= 0 ;
20304 char *kwnames
[] = {
20305 (char *) "val", NULL
20308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
20309 arg1
= (long) SWIG_AsLong(obj0
);
20310 if (PyErr_Occurred()) SWIG_fail
;
20312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20313 wxPyApp::SetMacAboutMenuItemId(arg1
);
20315 wxPyEndAllowThreads(__tstate
);
20316 if (PyErr_Occurred()) SWIG_fail
;
20318 Py_INCREF(Py_None
); resultobj
= Py_None
;
20325 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20326 PyObject
*resultobj
;
20328 PyObject
* obj0
= 0 ;
20329 char *kwnames
[] = {
20330 (char *) "val", NULL
20333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
20334 arg1
= (long) SWIG_AsLong(obj0
);
20335 if (PyErr_Occurred()) SWIG_fail
;
20337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20338 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
20340 wxPyEndAllowThreads(__tstate
);
20341 if (PyErr_Occurred()) SWIG_fail
;
20343 Py_INCREF(Py_None
); resultobj
= Py_None
;
20350 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20351 PyObject
*resultobj
;
20353 PyObject
* obj0
= 0 ;
20354 char *kwnames
[] = {
20355 (char *) "val", NULL
20358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
20359 arg1
= (long) SWIG_AsLong(obj0
);
20360 if (PyErr_Occurred()) SWIG_fail
;
20362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20363 wxPyApp::SetMacExitMenuItemId(arg1
);
20365 wxPyEndAllowThreads(__tstate
);
20366 if (PyErr_Occurred()) SWIG_fail
;
20368 Py_INCREF(Py_None
); resultobj
= Py_None
;
20375 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20376 PyObject
*resultobj
;
20377 wxString
*arg1
= 0 ;
20378 bool temp1
= False
;
20379 PyObject
* obj0
= 0 ;
20380 char *kwnames
[] = {
20381 (char *) "val", NULL
20384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
20386 arg1
= wxString_in_helper(obj0
);
20387 if (arg1
== NULL
) SWIG_fail
;
20391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20392 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
20394 wxPyEndAllowThreads(__tstate
);
20395 if (PyErr_Occurred()) SWIG_fail
;
20397 Py_INCREF(Py_None
); resultobj
= Py_None
;
20412 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20413 PyObject
*resultobj
;
20414 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20415 PyObject
* obj0
= 0 ;
20416 char *kwnames
[] = {
20417 (char *) "self", NULL
20420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
20421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20425 (arg1
)->_BootstrapApp();
20427 wxPyEndAllowThreads(__tstate
);
20428 if (PyErr_Occurred()) SWIG_fail
;
20430 Py_INCREF(Py_None
); resultobj
= Py_None
;
20437 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20438 PyObject
*resultobj
;
20440 char *kwnames
[] = {
20444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
20446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20447 result
= (int)PyApp_GetComCtl32Version();
20449 wxPyEndAllowThreads(__tstate
);
20450 if (PyErr_Occurred()) SWIG_fail
;
20452 resultobj
= SWIG_FromInt((int)result
);
20459 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
20461 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20462 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
20464 return Py_BuildValue((char *)"");
20466 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20467 PyObject
*resultobj
;
20468 char *kwnames
[] = {
20472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
20474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20477 wxPyEndAllowThreads(__tstate
);
20478 if (PyErr_Occurred()) SWIG_fail
;
20480 Py_INCREF(Py_None
); resultobj
= Py_None
;
20487 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20488 PyObject
*resultobj
;
20490 char *kwnames
[] = {
20494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
20496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20497 result
= (bool)wxYield();
20499 wxPyEndAllowThreads(__tstate
);
20500 if (PyErr_Occurred()) SWIG_fail
;
20503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20511 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20512 PyObject
*resultobj
;
20514 char *kwnames
[] = {
20518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
20520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20521 result
= (bool)wxYieldIfNeeded();
20523 wxPyEndAllowThreads(__tstate
);
20524 if (PyErr_Occurred()) SWIG_fail
;
20527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20535 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20536 PyObject
*resultobj
;
20537 wxWindow
*arg1
= (wxWindow
*) NULL
;
20538 bool arg2
= (bool) False
;
20540 PyObject
* obj0
= 0 ;
20541 PyObject
* obj1
= 0 ;
20542 char *kwnames
[] = {
20543 (char *) "win",(char *) "onlyIfNeeded", NULL
20546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
20548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20552 arg2
= (bool) SWIG_AsBool(obj1
);
20553 if (PyErr_Occurred()) SWIG_fail
;
20556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20557 result
= (bool)wxSafeYield(arg1
,arg2
);
20559 wxPyEndAllowThreads(__tstate
);
20560 if (PyErr_Occurred()) SWIG_fail
;
20563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20571 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20572 PyObject
*resultobj
;
20573 char *kwnames
[] = {
20577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
20579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20582 wxPyEndAllowThreads(__tstate
);
20583 if (PyErr_Occurred()) SWIG_fail
;
20585 Py_INCREF(Py_None
); resultobj
= Py_None
;
20592 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20593 PyObject
*resultobj
;
20594 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20595 wxEvent
*arg2
= 0 ;
20596 PyObject
* obj0
= 0 ;
20597 PyObject
* obj1
= 0 ;
20598 char *kwnames
[] = {
20599 (char *) "dest",(char *) "event", NULL
20602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
20604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20605 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
20606 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20608 if (arg2
== NULL
) {
20609 PyErr_SetString(PyExc_TypeError
,"null reference");
20613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20614 wxPostEvent(arg1
,*arg2
);
20616 wxPyEndAllowThreads(__tstate
);
20617 if (PyErr_Occurred()) SWIG_fail
;
20619 Py_INCREF(Py_None
); resultobj
= Py_None
;
20626 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20627 PyObject
*resultobj
;
20628 char *kwnames
[] = {
20632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
20634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20637 wxPyEndAllowThreads(__tstate
);
20638 if (PyErr_Occurred()) SWIG_fail
;
20640 Py_INCREF(Py_None
); resultobj
= Py_None
;
20647 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20648 PyObject
*resultobj
;
20650 char *kwnames
[] = {
20654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
20656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20657 result
= (wxPyApp
*)wxGetApp();
20659 wxPyEndAllowThreads(__tstate
);
20660 if (PyErr_Occurred()) SWIG_fail
;
20663 resultobj
= wxPyMake_wxObject(result
);
20671 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20672 PyObject
*resultobj
;
20673 int arg1
= (int) 0 ;
20674 int arg2
= (int) 0 ;
20675 int arg3
= (int) 0 ;
20676 wxMenuItem
*arg4
= (wxMenuItem
*) NULL
;
20677 wxAcceleratorEntry
*result
;
20678 PyObject
* obj0
= 0 ;
20679 PyObject
* obj1
= 0 ;
20680 PyObject
* obj2
= 0 ;
20681 PyObject
* obj3
= 0 ;
20682 char *kwnames
[] = {
20683 (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20688 arg1
= (int) SWIG_AsInt(obj0
);
20689 if (PyErr_Occurred()) SWIG_fail
;
20692 arg2
= (int) SWIG_AsInt(obj1
);
20693 if (PyErr_Occurred()) SWIG_fail
;
20696 arg3
= (int) SWIG_AsInt(obj2
);
20697 if (PyErr_Occurred()) SWIG_fail
;
20700 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenuItem
,
20701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20705 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
,arg4
);
20707 wxPyEndAllowThreads(__tstate
);
20708 if (PyErr_Occurred()) SWIG_fail
;
20710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
20717 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20718 PyObject
*resultobj
;
20719 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20720 PyObject
* obj0
= 0 ;
20721 char *kwnames
[] = {
20722 (char *) "self", NULL
20725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
20726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20732 wxPyEndAllowThreads(__tstate
);
20733 if (PyErr_Occurred()) SWIG_fail
;
20735 Py_INCREF(Py_None
); resultobj
= Py_None
;
20742 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20743 PyObject
*resultobj
;
20744 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20748 wxMenuItem
*arg5
= (wxMenuItem
*) NULL
;
20749 PyObject
* obj0
= 0 ;
20750 PyObject
* obj1
= 0 ;
20751 PyObject
* obj2
= 0 ;
20752 PyObject
* obj3
= 0 ;
20753 PyObject
* obj4
= 0 ;
20754 char *kwnames
[] = {
20755 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20761 arg2
= (int) SWIG_AsInt(obj1
);
20762 if (PyErr_Occurred()) SWIG_fail
;
20763 arg3
= (int) SWIG_AsInt(obj2
);
20764 if (PyErr_Occurred()) SWIG_fail
;
20765 arg4
= (int) SWIG_AsInt(obj3
);
20766 if (PyErr_Occurred()) SWIG_fail
;
20768 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenuItem
,
20769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20773 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
20775 wxPyEndAllowThreads(__tstate
);
20776 if (PyErr_Occurred()) SWIG_fail
;
20778 Py_INCREF(Py_None
); resultobj
= Py_None
;
20785 static PyObject
*_wrap_AcceleratorEntry_SetMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20786 PyObject
*resultobj
;
20787 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20788 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
20789 PyObject
* obj0
= 0 ;
20790 PyObject
* obj1
= 0 ;
20791 char *kwnames
[] = {
20792 (char *) "self",(char *) "item", NULL
20795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20798 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
20799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20802 (arg1
)->SetMenuItem(arg2
);
20804 wxPyEndAllowThreads(__tstate
);
20805 if (PyErr_Occurred()) SWIG_fail
;
20807 Py_INCREF(Py_None
); resultobj
= Py_None
;
20814 static PyObject
*_wrap_AcceleratorEntry_GetMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20815 PyObject
*resultobj
;
20816 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20817 wxMenuItem
*result
;
20818 PyObject
* obj0
= 0 ;
20819 char *kwnames
[] = {
20820 (char *) "self", NULL
20823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames
,&obj0
)) goto fail
;
20824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20828 result
= (wxMenuItem
*)((wxAcceleratorEntry
const *)arg1
)->GetMenuItem();
20830 wxPyEndAllowThreads(__tstate
);
20831 if (PyErr_Occurred()) SWIG_fail
;
20834 resultobj
= wxPyMake_wxObject(result
);
20842 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20843 PyObject
*resultobj
;
20844 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20846 PyObject
* obj0
= 0 ;
20847 char *kwnames
[] = {
20848 (char *) "self", NULL
20851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
20852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20856 result
= (int)(arg1
)->GetFlags();
20858 wxPyEndAllowThreads(__tstate
);
20859 if (PyErr_Occurred()) SWIG_fail
;
20861 resultobj
= SWIG_FromInt((int)result
);
20868 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20869 PyObject
*resultobj
;
20870 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20872 PyObject
* obj0
= 0 ;
20873 char *kwnames
[] = {
20874 (char *) "self", NULL
20877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20882 result
= (int)(arg1
)->GetKeyCode();
20884 wxPyEndAllowThreads(__tstate
);
20885 if (PyErr_Occurred()) SWIG_fail
;
20887 resultobj
= SWIG_FromInt((int)result
);
20894 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20895 PyObject
*resultobj
;
20896 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20898 PyObject
* obj0
= 0 ;
20899 char *kwnames
[] = {
20900 (char *) "self", NULL
20903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
20904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20908 result
= (int)(arg1
)->GetCommand();
20910 wxPyEndAllowThreads(__tstate
);
20911 if (PyErr_Occurred()) SWIG_fail
;
20913 resultobj
= SWIG_FromInt((int)result
);
20920 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
20922 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20923 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
20925 return Py_BuildValue((char *)"");
20927 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20928 PyObject
*resultobj
;
20930 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
20931 wxAcceleratorTable
*result
;
20932 PyObject
* obj0
= 0 ;
20933 char *kwnames
[] = {
20937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
20939 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
20940 if (arg2
) arg1
= PyList_Size(obj0
);
20944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20945 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
20947 wxPyEndAllowThreads(__tstate
);
20948 if (PyErr_Occurred()) SWIG_fail
;
20950 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
20963 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20964 PyObject
*resultobj
;
20965 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
20966 PyObject
* obj0
= 0 ;
20967 char *kwnames
[] = {
20968 (char *) "self", NULL
20971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
20972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
20973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20978 wxPyEndAllowThreads(__tstate
);
20979 if (PyErr_Occurred()) SWIG_fail
;
20981 Py_INCREF(Py_None
); resultobj
= Py_None
;
20988 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20989 PyObject
*resultobj
;
20990 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
20992 PyObject
* obj0
= 0 ;
20993 char *kwnames
[] = {
20994 (char *) "self", NULL
20997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
20998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
20999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21002 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
21004 wxPyEndAllowThreads(__tstate
);
21005 if (PyErr_Occurred()) SWIG_fail
;
21008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21016 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
21018 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21019 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
21021 return Py_BuildValue((char *)"");
21023 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
21024 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
21029 static PyObject
*_wrap_NullAcceleratorTable_get() {
21032 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
21037 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21038 PyObject
*resultobj
;
21039 wxString
*arg1
= 0 ;
21040 wxAcceleratorEntry
*result
;
21041 bool temp1
= False
;
21042 PyObject
* obj0
= 0 ;
21043 char *kwnames
[] = {
21044 (char *) "label", NULL
21047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
21049 arg1
= wxString_in_helper(obj0
);
21050 if (arg1
== NULL
) SWIG_fail
;
21054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21055 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
21057 wxPyEndAllowThreads(__tstate
);
21058 if (PyErr_Occurred()) SWIG_fail
;
21060 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
21075 static int _wrap_PanelNameStr_set(PyObject
*) {
21076 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
21081 static PyObject
*_wrap_PanelNameStr_get() {
21086 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21088 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21095 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21096 PyObject
*resultobj
;
21097 wxWindow
*arg1
= (wxWindow
*) 0 ;
21099 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21100 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21101 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21102 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21103 long arg5
= (long) 0 ;
21104 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21105 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21109 bool temp6
= False
;
21110 PyObject
* obj0
= 0 ;
21111 PyObject
* obj1
= 0 ;
21112 PyObject
* obj2
= 0 ;
21113 PyObject
* obj3
= 0 ;
21114 PyObject
* obj4
= 0 ;
21115 PyObject
* obj5
= 0 ;
21116 char *kwnames
[] = {
21117 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21123 arg2
= (int const) SWIG_AsInt(obj1
);
21124 if (PyErr_Occurred()) SWIG_fail
;
21128 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21134 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21138 arg5
= (long) SWIG_AsLong(obj4
);
21139 if (PyErr_Occurred()) SWIG_fail
;
21143 arg6
= wxString_in_helper(obj5
);
21144 if (arg6
== NULL
) SWIG_fail
;
21149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21150 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21152 wxPyEndAllowThreads(__tstate
);
21153 if (PyErr_Occurred()) SWIG_fail
;
21156 resultobj
= wxPyMake_wxObject(result
);
21172 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21173 PyObject
*resultobj
;
21175 char *kwnames
[] = {
21179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
21181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21182 result
= (wxWindow
*)new wxWindow();
21184 wxPyEndAllowThreads(__tstate
);
21185 if (PyErr_Occurred()) SWIG_fail
;
21188 resultobj
= wxPyMake_wxObject(result
);
21196 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21197 PyObject
*resultobj
;
21198 wxWindow
*arg1
= (wxWindow
*) 0 ;
21199 wxWindow
*arg2
= (wxWindow
*) 0 ;
21201 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21202 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21203 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21204 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21205 long arg6
= (long) 0 ;
21206 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
21207 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21211 bool temp7
= False
;
21212 PyObject
* obj0
= 0 ;
21213 PyObject
* obj1
= 0 ;
21214 PyObject
* obj2
= 0 ;
21215 PyObject
* obj3
= 0 ;
21216 PyObject
* obj4
= 0 ;
21217 PyObject
* obj5
= 0 ;
21218 PyObject
* obj6
= 0 ;
21219 char *kwnames
[] = {
21220 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21226 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21228 arg3
= (int const) SWIG_AsInt(obj2
);
21229 if (PyErr_Occurred()) SWIG_fail
;
21233 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21239 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21243 arg6
= (long) SWIG_AsLong(obj5
);
21244 if (PyErr_Occurred()) SWIG_fail
;
21248 arg7
= wxString_in_helper(obj6
);
21249 if (arg7
== NULL
) SWIG_fail
;
21254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21255 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21257 wxPyEndAllowThreads(__tstate
);
21258 if (PyErr_Occurred()) SWIG_fail
;
21261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21277 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21278 PyObject
*resultobj
;
21279 wxWindow
*arg1
= (wxWindow
*) 0 ;
21280 bool arg2
= (bool) False
;
21282 PyObject
* obj0
= 0 ;
21283 PyObject
* obj1
= 0 ;
21284 char *kwnames
[] = {
21285 (char *) "self",(char *) "force", NULL
21288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
21289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21292 arg2
= (bool) SWIG_AsBool(obj1
);
21293 if (PyErr_Occurred()) SWIG_fail
;
21296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21297 result
= (bool)(arg1
)->Close(arg2
);
21299 wxPyEndAllowThreads(__tstate
);
21300 if (PyErr_Occurred()) SWIG_fail
;
21303 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21311 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21312 PyObject
*resultobj
;
21313 wxWindow
*arg1
= (wxWindow
*) 0 ;
21315 PyObject
* obj0
= 0 ;
21316 char *kwnames
[] = {
21317 (char *) "self", NULL
21320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
21321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21325 result
= (bool)(arg1
)->Destroy();
21327 wxPyEndAllowThreads(__tstate
);
21328 if (PyErr_Occurred()) SWIG_fail
;
21331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21339 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21340 PyObject
*resultobj
;
21341 wxWindow
*arg1
= (wxWindow
*) 0 ;
21343 PyObject
* obj0
= 0 ;
21344 char *kwnames
[] = {
21345 (char *) "self", NULL
21348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
21349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21353 result
= (bool)(arg1
)->DestroyChildren();
21355 wxPyEndAllowThreads(__tstate
);
21356 if (PyErr_Occurred()) SWIG_fail
;
21359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21367 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21368 PyObject
*resultobj
;
21369 wxWindow
*arg1
= (wxWindow
*) 0 ;
21371 PyObject
* obj0
= 0 ;
21372 char *kwnames
[] = {
21373 (char *) "self", NULL
21376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
21377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21381 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
21383 wxPyEndAllowThreads(__tstate
);
21384 if (PyErr_Occurred()) SWIG_fail
;
21387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21395 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21396 PyObject
*resultobj
;
21397 wxWindow
*arg1
= (wxWindow
*) 0 ;
21398 wxString
*arg2
= 0 ;
21399 bool temp2
= False
;
21400 PyObject
* obj0
= 0 ;
21401 PyObject
* obj1
= 0 ;
21402 char *kwnames
[] = {
21403 (char *) "self",(char *) "title", NULL
21406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
21407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21410 arg2
= wxString_in_helper(obj1
);
21411 if (arg2
== NULL
) SWIG_fail
;
21415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21416 (arg1
)->SetTitle((wxString
const &)*arg2
);
21418 wxPyEndAllowThreads(__tstate
);
21419 if (PyErr_Occurred()) SWIG_fail
;
21421 Py_INCREF(Py_None
); resultobj
= Py_None
;
21436 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21437 PyObject
*resultobj
;
21438 wxWindow
*arg1
= (wxWindow
*) 0 ;
21440 PyObject
* obj0
= 0 ;
21441 char *kwnames
[] = {
21442 (char *) "self", NULL
21445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
21446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21450 result
= ((wxWindow
const *)arg1
)->GetTitle();
21452 wxPyEndAllowThreads(__tstate
);
21453 if (PyErr_Occurred()) SWIG_fail
;
21457 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21459 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21468 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21469 PyObject
*resultobj
;
21470 wxWindow
*arg1
= (wxWindow
*) 0 ;
21471 wxString
*arg2
= 0 ;
21472 bool temp2
= False
;
21473 PyObject
* obj0
= 0 ;
21474 PyObject
* obj1
= 0 ;
21475 char *kwnames
[] = {
21476 (char *) "self",(char *) "label", NULL
21479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21483 arg2
= wxString_in_helper(obj1
);
21484 if (arg2
== NULL
) SWIG_fail
;
21488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21489 (arg1
)->SetLabel((wxString
const &)*arg2
);
21491 wxPyEndAllowThreads(__tstate
);
21492 if (PyErr_Occurred()) SWIG_fail
;
21494 Py_INCREF(Py_None
); resultobj
= Py_None
;
21509 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21510 PyObject
*resultobj
;
21511 wxWindow
*arg1
= (wxWindow
*) 0 ;
21513 PyObject
* obj0
= 0 ;
21514 char *kwnames
[] = {
21515 (char *) "self", NULL
21518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
21519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21523 result
= ((wxWindow
const *)arg1
)->GetLabel();
21525 wxPyEndAllowThreads(__tstate
);
21526 if (PyErr_Occurred()) SWIG_fail
;
21530 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21532 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21541 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21542 PyObject
*resultobj
;
21543 wxWindow
*arg1
= (wxWindow
*) 0 ;
21544 wxString
*arg2
= 0 ;
21545 bool temp2
= False
;
21546 PyObject
* obj0
= 0 ;
21547 PyObject
* obj1
= 0 ;
21548 char *kwnames
[] = {
21549 (char *) "self",(char *) "name", NULL
21552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
21553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21556 arg2
= wxString_in_helper(obj1
);
21557 if (arg2
== NULL
) SWIG_fail
;
21561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21562 (arg1
)->SetName((wxString
const &)*arg2
);
21564 wxPyEndAllowThreads(__tstate
);
21565 if (PyErr_Occurred()) SWIG_fail
;
21567 Py_INCREF(Py_None
); resultobj
= Py_None
;
21582 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21583 PyObject
*resultobj
;
21584 wxWindow
*arg1
= (wxWindow
*) 0 ;
21586 PyObject
* obj0
= 0 ;
21587 char *kwnames
[] = {
21588 (char *) "self", NULL
21591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
21592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21596 result
= ((wxWindow
const *)arg1
)->GetName();
21598 wxPyEndAllowThreads(__tstate
);
21599 if (PyErr_Occurred()) SWIG_fail
;
21603 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21605 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21614 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21615 PyObject
*resultobj
;
21616 wxWindow
*arg1
= (wxWindow
*) 0 ;
21618 PyObject
* obj0
= 0 ;
21619 PyObject
* obj1
= 0 ;
21620 char *kwnames
[] = {
21621 (char *) "self",(char *) "variant", NULL
21624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
21625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21627 arg2
= (wxWindowVariant
) SWIG_AsInt(obj1
);
21628 if (PyErr_Occurred()) SWIG_fail
;
21630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21631 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
21633 wxPyEndAllowThreads(__tstate
);
21634 if (PyErr_Occurred()) SWIG_fail
;
21636 Py_INCREF(Py_None
); resultobj
= Py_None
;
21643 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21644 PyObject
*resultobj
;
21645 wxWindow
*arg1
= (wxWindow
*) 0 ;
21647 PyObject
* obj0
= 0 ;
21648 char *kwnames
[] = {
21649 (char *) "self", NULL
21652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
21653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21657 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
21659 wxPyEndAllowThreads(__tstate
);
21660 if (PyErr_Occurred()) SWIG_fail
;
21662 resultobj
= SWIG_FromInt((int)result
);
21669 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21670 PyObject
*resultobj
;
21671 wxWindow
*arg1
= (wxWindow
*) 0 ;
21673 PyObject
* obj0
= 0 ;
21674 PyObject
* obj1
= 0 ;
21675 char *kwnames
[] = {
21676 (char *) "self",(char *) "winid", NULL
21679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21682 arg2
= (int) SWIG_AsInt(obj1
);
21683 if (PyErr_Occurred()) SWIG_fail
;
21685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21686 (arg1
)->SetId(arg2
);
21688 wxPyEndAllowThreads(__tstate
);
21689 if (PyErr_Occurred()) SWIG_fail
;
21691 Py_INCREF(Py_None
); resultobj
= Py_None
;
21698 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21699 PyObject
*resultobj
;
21700 wxWindow
*arg1
= (wxWindow
*) 0 ;
21702 PyObject
* obj0
= 0 ;
21703 char *kwnames
[] = {
21704 (char *) "self", NULL
21707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
21708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21712 result
= (int)((wxWindow
const *)arg1
)->GetId();
21714 wxPyEndAllowThreads(__tstate
);
21715 if (PyErr_Occurred()) SWIG_fail
;
21717 resultobj
= SWIG_FromInt((int)result
);
21724 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21725 PyObject
*resultobj
;
21727 char *kwnames
[] = {
21731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
21733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21734 result
= (int)wxWindow::NewControlId();
21736 wxPyEndAllowThreads(__tstate
);
21737 if (PyErr_Occurred()) SWIG_fail
;
21739 resultobj
= SWIG_FromInt((int)result
);
21746 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21747 PyObject
*resultobj
;
21750 PyObject
* obj0
= 0 ;
21751 char *kwnames
[] = {
21752 (char *) "winid", NULL
21755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
21756 arg1
= (int) SWIG_AsInt(obj0
);
21757 if (PyErr_Occurred()) SWIG_fail
;
21759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21760 result
= (int)wxWindow::NextControlId(arg1
);
21762 wxPyEndAllowThreads(__tstate
);
21763 if (PyErr_Occurred()) SWIG_fail
;
21765 resultobj
= SWIG_FromInt((int)result
);
21772 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21773 PyObject
*resultobj
;
21776 PyObject
* obj0
= 0 ;
21777 char *kwnames
[] = {
21778 (char *) "winid", NULL
21781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
21782 arg1
= (int) SWIG_AsInt(obj0
);
21783 if (PyErr_Occurred()) SWIG_fail
;
21785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21786 result
= (int)wxWindow::PrevControlId(arg1
);
21788 wxPyEndAllowThreads(__tstate
);
21789 if (PyErr_Occurred()) SWIG_fail
;
21791 resultobj
= SWIG_FromInt((int)result
);
21798 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21799 PyObject
*resultobj
;
21800 wxWindow
*arg1
= (wxWindow
*) 0 ;
21803 PyObject
* obj0
= 0 ;
21804 PyObject
* obj1
= 0 ;
21805 char *kwnames
[] = {
21806 (char *) "self",(char *) "size", NULL
21809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
21810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21814 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21818 (arg1
)->SetSize((wxSize
const &)*arg2
);
21820 wxPyEndAllowThreads(__tstate
);
21821 if (PyErr_Occurred()) SWIG_fail
;
21823 Py_INCREF(Py_None
); resultobj
= Py_None
;
21830 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21831 PyObject
*resultobj
;
21832 wxWindow
*arg1
= (wxWindow
*) 0 ;
21837 int arg6
= (int) wxSIZE_AUTO
;
21838 PyObject
* obj0
= 0 ;
21839 PyObject
* obj1
= 0 ;
21840 PyObject
* obj2
= 0 ;
21841 PyObject
* obj3
= 0 ;
21842 PyObject
* obj4
= 0 ;
21843 PyObject
* obj5
= 0 ;
21844 char *kwnames
[] = {
21845 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21851 arg2
= (int) SWIG_AsInt(obj1
);
21852 if (PyErr_Occurred()) SWIG_fail
;
21853 arg3
= (int) SWIG_AsInt(obj2
);
21854 if (PyErr_Occurred()) SWIG_fail
;
21855 arg4
= (int) SWIG_AsInt(obj3
);
21856 if (PyErr_Occurred()) SWIG_fail
;
21857 arg5
= (int) SWIG_AsInt(obj4
);
21858 if (PyErr_Occurred()) SWIG_fail
;
21860 arg6
= (int) SWIG_AsInt(obj5
);
21861 if (PyErr_Occurred()) SWIG_fail
;
21864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21865 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21867 wxPyEndAllowThreads(__tstate
);
21868 if (PyErr_Occurred()) SWIG_fail
;
21870 Py_INCREF(Py_None
); resultobj
= Py_None
;
21877 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21878 PyObject
*resultobj
;
21879 wxWindow
*arg1
= (wxWindow
*) 0 ;
21881 int arg3
= (int) wxSIZE_AUTO
;
21883 PyObject
* obj0
= 0 ;
21884 PyObject
* obj1
= 0 ;
21885 PyObject
* obj2
= 0 ;
21886 char *kwnames
[] = {
21887 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
21890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21895 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
21898 arg3
= (int) SWIG_AsInt(obj2
);
21899 if (PyErr_Occurred()) SWIG_fail
;
21902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21903 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
21905 wxPyEndAllowThreads(__tstate
);
21906 if (PyErr_Occurred()) SWIG_fail
;
21908 Py_INCREF(Py_None
); resultobj
= Py_None
;
21915 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21916 PyObject
*resultobj
;
21917 wxWindow
*arg1
= (wxWindow
*) 0 ;
21920 PyObject
* obj0
= 0 ;
21921 PyObject
* obj1
= 0 ;
21922 PyObject
* obj2
= 0 ;
21923 char *kwnames
[] = {
21924 (char *) "self",(char *) "width",(char *) "height", NULL
21927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21930 arg2
= (int) SWIG_AsInt(obj1
);
21931 if (PyErr_Occurred()) SWIG_fail
;
21932 arg3
= (int) SWIG_AsInt(obj2
);
21933 if (PyErr_Occurred()) SWIG_fail
;
21935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21936 (arg1
)->SetSize(arg2
,arg3
);
21938 wxPyEndAllowThreads(__tstate
);
21939 if (PyErr_Occurred()) SWIG_fail
;
21941 Py_INCREF(Py_None
); resultobj
= Py_None
;
21948 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21949 PyObject
*resultobj
;
21950 wxWindow
*arg1
= (wxWindow
*) 0 ;
21951 wxPoint
*arg2
= 0 ;
21952 int arg3
= (int) wxSIZE_USE_EXISTING
;
21954 PyObject
* obj0
= 0 ;
21955 PyObject
* obj1
= 0 ;
21956 PyObject
* obj2
= 0 ;
21957 char *kwnames
[] = {
21958 (char *) "self",(char *) "pt",(char *) "flags", NULL
21961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21966 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21969 arg3
= (int) SWIG_AsInt(obj2
);
21970 if (PyErr_Occurred()) SWIG_fail
;
21973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21974 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
21976 wxPyEndAllowThreads(__tstate
);
21977 if (PyErr_Occurred()) SWIG_fail
;
21979 Py_INCREF(Py_None
); resultobj
= Py_None
;
21986 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21987 PyObject
*resultobj
;
21988 wxWindow
*arg1
= (wxWindow
*) 0 ;
21991 int arg4
= (int) wxSIZE_USE_EXISTING
;
21992 PyObject
* obj0
= 0 ;
21993 PyObject
* obj1
= 0 ;
21994 PyObject
* obj2
= 0 ;
21995 PyObject
* obj3
= 0 ;
21996 char *kwnames
[] = {
21997 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22003 arg2
= (int) SWIG_AsInt(obj1
);
22004 if (PyErr_Occurred()) SWIG_fail
;
22005 arg3
= (int) SWIG_AsInt(obj2
);
22006 if (PyErr_Occurred()) SWIG_fail
;
22008 arg4
= (int) SWIG_AsInt(obj3
);
22009 if (PyErr_Occurred()) SWIG_fail
;
22012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22013 (arg1
)->Move(arg2
,arg3
,arg4
);
22015 wxPyEndAllowThreads(__tstate
);
22016 if (PyErr_Occurred()) SWIG_fail
;
22018 Py_INCREF(Py_None
); resultobj
= Py_None
;
22025 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22026 PyObject
*resultobj
;
22027 wxWindow
*arg1
= (wxWindow
*) 0 ;
22028 PyObject
* obj0
= 0 ;
22029 char *kwnames
[] = {
22030 (char *) "self", NULL
22033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
22034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22040 wxPyEndAllowThreads(__tstate
);
22041 if (PyErr_Occurred()) SWIG_fail
;
22043 Py_INCREF(Py_None
); resultobj
= Py_None
;
22050 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22051 PyObject
*resultobj
;
22052 wxWindow
*arg1
= (wxWindow
*) 0 ;
22053 PyObject
* obj0
= 0 ;
22054 char *kwnames
[] = {
22055 (char *) "self", NULL
22058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
22059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22065 wxPyEndAllowThreads(__tstate
);
22066 if (PyErr_Occurred()) SWIG_fail
;
22068 Py_INCREF(Py_None
); resultobj
= Py_None
;
22075 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22076 PyObject
*resultobj
;
22077 wxWindow
*arg1
= (wxWindow
*) 0 ;
22080 PyObject
* obj0
= 0 ;
22081 PyObject
* obj1
= 0 ;
22082 char *kwnames
[] = {
22083 (char *) "self",(char *) "size", NULL
22086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22091 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22095 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
22097 wxPyEndAllowThreads(__tstate
);
22098 if (PyErr_Occurred()) SWIG_fail
;
22100 Py_INCREF(Py_None
); resultobj
= Py_None
;
22107 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22108 PyObject
*resultobj
;
22109 wxWindow
*arg1
= (wxWindow
*) 0 ;
22112 PyObject
* obj0
= 0 ;
22113 PyObject
* obj1
= 0 ;
22114 PyObject
* obj2
= 0 ;
22115 char *kwnames
[] = {
22116 (char *) "self",(char *) "width",(char *) "height", NULL
22119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22122 arg2
= (int) SWIG_AsInt(obj1
);
22123 if (PyErr_Occurred()) SWIG_fail
;
22124 arg3
= (int) SWIG_AsInt(obj2
);
22125 if (PyErr_Occurred()) SWIG_fail
;
22127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22128 (arg1
)->SetClientSize(arg2
,arg3
);
22130 wxPyEndAllowThreads(__tstate
);
22131 if (PyErr_Occurred()) SWIG_fail
;
22133 Py_INCREF(Py_None
); resultobj
= Py_None
;
22140 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22141 PyObject
*resultobj
;
22142 wxWindow
*arg1
= (wxWindow
*) 0 ;
22145 PyObject
* obj0
= 0 ;
22146 PyObject
* obj1
= 0 ;
22147 char *kwnames
[] = {
22148 (char *) "self",(char *) "rect", NULL
22151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22156 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22160 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
22162 wxPyEndAllowThreads(__tstate
);
22163 if (PyErr_Occurred()) SWIG_fail
;
22165 Py_INCREF(Py_None
); resultobj
= Py_None
;
22172 static PyObject
*_wrap_Window_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22173 PyObject
*resultobj
;
22174 wxWindow
*arg1
= (wxWindow
*) 0 ;
22176 PyObject
* obj0
= 0 ;
22177 char *kwnames
[] = {
22178 (char *) "self", NULL
22181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
22182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22186 result
= (arg1
)->GetPosition();
22188 wxPyEndAllowThreads(__tstate
);
22189 if (PyErr_Occurred()) SWIG_fail
;
22192 wxPoint
* resultptr
;
22193 resultptr
= new wxPoint((wxPoint
&) result
);
22194 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22202 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22203 PyObject
*resultobj
;
22204 wxWindow
*arg1
= (wxWindow
*) 0 ;
22205 int *arg2
= (int *) 0 ;
22206 int *arg3
= (int *) 0 ;
22209 PyObject
* obj0
= 0 ;
22210 char *kwnames
[] = {
22211 (char *) "self", NULL
22216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
22217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22221 (arg1
)->GetPosition(arg2
,arg3
);
22223 wxPyEndAllowThreads(__tstate
);
22224 if (PyErr_Occurred()) SWIG_fail
;
22226 Py_INCREF(Py_None
); resultobj
= Py_None
;
22228 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22229 resultobj
= t_output_helper(resultobj
,o
);
22232 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22233 resultobj
= t_output_helper(resultobj
,o
);
22241 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22242 PyObject
*resultobj
;
22243 wxWindow
*arg1
= (wxWindow
*) 0 ;
22245 PyObject
* obj0
= 0 ;
22246 char *kwnames
[] = {
22247 (char *) "self", NULL
22250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
22251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22255 result
= ((wxWindow
const *)arg1
)->GetSize();
22257 wxPyEndAllowThreads(__tstate
);
22258 if (PyErr_Occurred()) SWIG_fail
;
22261 wxSize
* resultptr
;
22262 resultptr
= new wxSize((wxSize
&) result
);
22263 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22271 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22272 PyObject
*resultobj
;
22273 wxWindow
*arg1
= (wxWindow
*) 0 ;
22274 int *arg2
= (int *) 0 ;
22275 int *arg3
= (int *) 0 ;
22278 PyObject
* obj0
= 0 ;
22279 char *kwnames
[] = {
22280 (char *) "self", NULL
22285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
22286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22290 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
22292 wxPyEndAllowThreads(__tstate
);
22293 if (PyErr_Occurred()) SWIG_fail
;
22295 Py_INCREF(Py_None
); resultobj
= Py_None
;
22297 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22298 resultobj
= t_output_helper(resultobj
,o
);
22301 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22302 resultobj
= t_output_helper(resultobj
,o
);
22310 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22311 PyObject
*resultobj
;
22312 wxWindow
*arg1
= (wxWindow
*) 0 ;
22314 PyObject
* obj0
= 0 ;
22315 char *kwnames
[] = {
22316 (char *) "self", NULL
22319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
22320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22324 result
= ((wxWindow
const *)arg1
)->GetRect();
22326 wxPyEndAllowThreads(__tstate
);
22327 if (PyErr_Occurred()) SWIG_fail
;
22330 wxRect
* resultptr
;
22331 resultptr
= new wxRect((wxRect
&) result
);
22332 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22340 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22341 PyObject
*resultobj
;
22342 wxWindow
*arg1
= (wxWindow
*) 0 ;
22344 PyObject
* obj0
= 0 ;
22345 char *kwnames
[] = {
22346 (char *) "self", NULL
22349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
22350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22354 result
= ((wxWindow
const *)arg1
)->GetClientSize();
22356 wxPyEndAllowThreads(__tstate
);
22357 if (PyErr_Occurred()) SWIG_fail
;
22360 wxSize
* resultptr
;
22361 resultptr
= new wxSize((wxSize
&) result
);
22362 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22370 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22371 PyObject
*resultobj
;
22372 wxWindow
*arg1
= (wxWindow
*) 0 ;
22373 int *arg2
= (int *) 0 ;
22374 int *arg3
= (int *) 0 ;
22377 PyObject
* obj0
= 0 ;
22378 char *kwnames
[] = {
22379 (char *) "self", NULL
22384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
22385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22389 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
22391 wxPyEndAllowThreads(__tstate
);
22392 if (PyErr_Occurred()) SWIG_fail
;
22394 Py_INCREF(Py_None
); resultobj
= Py_None
;
22396 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22397 resultobj
= t_output_helper(resultobj
,o
);
22400 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22401 resultobj
= t_output_helper(resultobj
,o
);
22409 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22410 PyObject
*resultobj
;
22411 wxWindow
*arg1
= (wxWindow
*) 0 ;
22413 PyObject
* obj0
= 0 ;
22414 char *kwnames
[] = {
22415 (char *) "self", NULL
22418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
22419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22423 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
22425 wxPyEndAllowThreads(__tstate
);
22426 if (PyErr_Occurred()) SWIG_fail
;
22429 wxPoint
* resultptr
;
22430 resultptr
= new wxPoint((wxPoint
&) result
);
22431 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22439 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22440 PyObject
*resultobj
;
22441 wxWindow
*arg1
= (wxWindow
*) 0 ;
22443 PyObject
* obj0
= 0 ;
22444 char *kwnames
[] = {
22445 (char *) "self", NULL
22448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
22449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22453 result
= ((wxWindow
const *)arg1
)->GetClientRect();
22455 wxPyEndAllowThreads(__tstate
);
22456 if (PyErr_Occurred()) SWIG_fail
;
22459 wxRect
* resultptr
;
22460 resultptr
= new wxRect((wxRect
&) result
);
22461 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22469 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22470 PyObject
*resultobj
;
22471 wxWindow
*arg1
= (wxWindow
*) 0 ;
22473 PyObject
* obj0
= 0 ;
22474 char *kwnames
[] = {
22475 (char *) "self", NULL
22478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
22479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22483 result
= ((wxWindow
const *)arg1
)->GetBestSize();
22485 wxPyEndAllowThreads(__tstate
);
22486 if (PyErr_Occurred()) SWIG_fail
;
22489 wxSize
* resultptr
;
22490 resultptr
= new wxSize((wxSize
&) result
);
22491 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22499 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22500 PyObject
*resultobj
;
22501 wxWindow
*arg1
= (wxWindow
*) 0 ;
22502 int *arg2
= (int *) 0 ;
22503 int *arg3
= (int *) 0 ;
22506 PyObject
* obj0
= 0 ;
22507 char *kwnames
[] = {
22508 (char *) "self", NULL
22513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
22514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22518 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
22520 wxPyEndAllowThreads(__tstate
);
22521 if (PyErr_Occurred()) SWIG_fail
;
22523 Py_INCREF(Py_None
); resultobj
= Py_None
;
22525 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22526 resultobj
= t_output_helper(resultobj
,o
);
22529 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22530 resultobj
= t_output_helper(resultobj
,o
);
22538 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22539 PyObject
*resultobj
;
22540 wxWindow
*arg1
= (wxWindow
*) 0 ;
22542 PyObject
* obj0
= 0 ;
22543 char *kwnames
[] = {
22544 (char *) "self", NULL
22547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
22548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22552 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
22554 wxPyEndAllowThreads(__tstate
);
22555 if (PyErr_Occurred()) SWIG_fail
;
22558 wxSize
* resultptr
;
22559 resultptr
= new wxSize((wxSize
&) result
);
22560 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22568 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22569 PyObject
*resultobj
;
22570 wxWindow
*arg1
= (wxWindow
*) 0 ;
22571 int arg2
= (int) wxBOTH
;
22572 PyObject
* obj0
= 0 ;
22573 PyObject
* obj1
= 0 ;
22574 char *kwnames
[] = {
22575 (char *) "self",(char *) "direction", NULL
22578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
22579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22582 arg2
= (int) SWIG_AsInt(obj1
);
22583 if (PyErr_Occurred()) SWIG_fail
;
22586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22587 (arg1
)->Center(arg2
);
22589 wxPyEndAllowThreads(__tstate
);
22590 if (PyErr_Occurred()) SWIG_fail
;
22592 Py_INCREF(Py_None
); resultobj
= Py_None
;
22599 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22600 PyObject
*resultobj
;
22601 wxWindow
*arg1
= (wxWindow
*) 0 ;
22602 int arg2
= (int) wxBOTH
;
22603 PyObject
* obj0
= 0 ;
22604 PyObject
* obj1
= 0 ;
22605 char *kwnames
[] = {
22606 (char *) "self",(char *) "dir", NULL
22609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
22610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22613 arg2
= (int) SWIG_AsInt(obj1
);
22614 if (PyErr_Occurred()) SWIG_fail
;
22617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22618 (arg1
)->CenterOnScreen(arg2
);
22620 wxPyEndAllowThreads(__tstate
);
22621 if (PyErr_Occurred()) SWIG_fail
;
22623 Py_INCREF(Py_None
); resultobj
= Py_None
;
22630 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22631 PyObject
*resultobj
;
22632 wxWindow
*arg1
= (wxWindow
*) 0 ;
22633 int arg2
= (int) wxBOTH
;
22634 PyObject
* obj0
= 0 ;
22635 PyObject
* obj1
= 0 ;
22636 char *kwnames
[] = {
22637 (char *) "self",(char *) "dir", NULL
22640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
22641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22644 arg2
= (int) SWIG_AsInt(obj1
);
22645 if (PyErr_Occurred()) SWIG_fail
;
22648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22649 (arg1
)->CenterOnParent(arg2
);
22651 wxPyEndAllowThreads(__tstate
);
22652 if (PyErr_Occurred()) SWIG_fail
;
22654 Py_INCREF(Py_None
); resultobj
= Py_None
;
22661 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22662 PyObject
*resultobj
;
22663 wxWindow
*arg1
= (wxWindow
*) 0 ;
22664 PyObject
* obj0
= 0 ;
22665 char *kwnames
[] = {
22666 (char *) "self", NULL
22669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
22670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22676 wxPyEndAllowThreads(__tstate
);
22677 if (PyErr_Occurred()) SWIG_fail
;
22679 Py_INCREF(Py_None
); resultobj
= Py_None
;
22686 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22687 PyObject
*resultobj
;
22688 wxWindow
*arg1
= (wxWindow
*) 0 ;
22689 PyObject
* obj0
= 0 ;
22690 char *kwnames
[] = {
22691 (char *) "self", NULL
22694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
22695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22699 (arg1
)->FitInside();
22701 wxPyEndAllowThreads(__tstate
);
22702 if (PyErr_Occurred()) SWIG_fail
;
22704 Py_INCREF(Py_None
); resultobj
= Py_None
;
22711 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22712 PyObject
*resultobj
;
22713 wxWindow
*arg1
= (wxWindow
*) 0 ;
22716 int arg4
= (int) -1 ;
22717 int arg5
= (int) -1 ;
22718 int arg6
= (int) -1 ;
22719 int arg7
= (int) -1 ;
22720 PyObject
* obj0
= 0 ;
22721 PyObject
* obj1
= 0 ;
22722 PyObject
* obj2
= 0 ;
22723 PyObject
* obj3
= 0 ;
22724 PyObject
* obj4
= 0 ;
22725 PyObject
* obj5
= 0 ;
22726 PyObject
* obj6
= 0 ;
22727 char *kwnames
[] = {
22728 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
22731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22734 arg2
= (int) SWIG_AsInt(obj1
);
22735 if (PyErr_Occurred()) SWIG_fail
;
22736 arg3
= (int) SWIG_AsInt(obj2
);
22737 if (PyErr_Occurred()) SWIG_fail
;
22739 arg4
= (int) SWIG_AsInt(obj3
);
22740 if (PyErr_Occurred()) SWIG_fail
;
22743 arg5
= (int) SWIG_AsInt(obj4
);
22744 if (PyErr_Occurred()) SWIG_fail
;
22747 arg6
= (int) SWIG_AsInt(obj5
);
22748 if (PyErr_Occurred()) SWIG_fail
;
22751 arg7
= (int) SWIG_AsInt(obj6
);
22752 if (PyErr_Occurred()) SWIG_fail
;
22755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22756 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22758 wxPyEndAllowThreads(__tstate
);
22759 if (PyErr_Occurred()) SWIG_fail
;
22761 Py_INCREF(Py_None
); resultobj
= Py_None
;
22768 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22769 PyObject
*resultobj
;
22770 wxWindow
*arg1
= (wxWindow
*) 0 ;
22773 int arg4
= (int) -1 ;
22774 int arg5
= (int) -1 ;
22775 PyObject
* obj0
= 0 ;
22776 PyObject
* obj1
= 0 ;
22777 PyObject
* obj2
= 0 ;
22778 PyObject
* obj3
= 0 ;
22779 PyObject
* obj4
= 0 ;
22780 char *kwnames
[] = {
22781 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
22784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22787 arg2
= (int) SWIG_AsInt(obj1
);
22788 if (PyErr_Occurred()) SWIG_fail
;
22789 arg3
= (int) SWIG_AsInt(obj2
);
22790 if (PyErr_Occurred()) SWIG_fail
;
22792 arg4
= (int) SWIG_AsInt(obj3
);
22793 if (PyErr_Occurred()) SWIG_fail
;
22796 arg5
= (int) SWIG_AsInt(obj4
);
22797 if (PyErr_Occurred()) SWIG_fail
;
22800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22801 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
22803 wxPyEndAllowThreads(__tstate
);
22804 if (PyErr_Occurred()) SWIG_fail
;
22806 Py_INCREF(Py_None
); resultobj
= Py_None
;
22813 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22814 PyObject
*resultobj
;
22815 wxWindow
*arg1
= (wxWindow
*) 0 ;
22817 PyObject
* obj0
= 0 ;
22818 char *kwnames
[] = {
22819 (char *) "self", NULL
22822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
22823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22827 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
22829 wxPyEndAllowThreads(__tstate
);
22830 if (PyErr_Occurred()) SWIG_fail
;
22832 resultobj
= SWIG_FromInt((int)result
);
22839 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22840 PyObject
*resultobj
;
22841 wxWindow
*arg1
= (wxWindow
*) 0 ;
22843 PyObject
* obj0
= 0 ;
22844 char *kwnames
[] = {
22845 (char *) "self", NULL
22848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
22849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22853 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
22855 wxPyEndAllowThreads(__tstate
);
22856 if (PyErr_Occurred()) SWIG_fail
;
22858 resultobj
= SWIG_FromInt((int)result
);
22865 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22866 PyObject
*resultobj
;
22867 wxWindow
*arg1
= (wxWindow
*) 0 ;
22869 PyObject
* obj0
= 0 ;
22870 char *kwnames
[] = {
22871 (char *) "self", NULL
22874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
22875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22879 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
22881 wxPyEndAllowThreads(__tstate
);
22882 if (PyErr_Occurred()) SWIG_fail
;
22884 resultobj
= SWIG_FromInt((int)result
);
22891 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22892 PyObject
*resultobj
;
22893 wxWindow
*arg1
= (wxWindow
*) 0 ;
22895 PyObject
* obj0
= 0 ;
22896 char *kwnames
[] = {
22897 (char *) "self", NULL
22900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
22901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22905 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
22907 wxPyEndAllowThreads(__tstate
);
22908 if (PyErr_Occurred()) SWIG_fail
;
22910 resultobj
= SWIG_FromInt((int)result
);
22917 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22918 PyObject
*resultobj
;
22919 wxWindow
*arg1
= (wxWindow
*) 0 ;
22921 PyObject
* obj0
= 0 ;
22922 char *kwnames
[] = {
22923 (char *) "self", NULL
22926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
22927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22931 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
22933 wxPyEndAllowThreads(__tstate
);
22934 if (PyErr_Occurred()) SWIG_fail
;
22937 wxSize
* resultptr
;
22938 resultptr
= new wxSize((wxSize
&) result
);
22939 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22947 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22948 PyObject
*resultobj
;
22949 wxWindow
*arg1
= (wxWindow
*) 0 ;
22952 PyObject
* obj0
= 0 ;
22953 PyObject
* obj1
= 0 ;
22954 char *kwnames
[] = {
22955 (char *) "self",(char *) "size", NULL
22958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22963 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22967 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
22969 wxPyEndAllowThreads(__tstate
);
22970 if (PyErr_Occurred()) SWIG_fail
;
22972 Py_INCREF(Py_None
); resultobj
= Py_None
;
22979 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22980 PyObject
*resultobj
;
22981 wxWindow
*arg1
= (wxWindow
*) 0 ;
22984 PyObject
* obj0
= 0 ;
22985 PyObject
* obj1
= 0 ;
22986 PyObject
* obj2
= 0 ;
22987 char *kwnames
[] = {
22988 (char *) "self",(char *) "w",(char *) "h", NULL
22991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22994 arg2
= (int) SWIG_AsInt(obj1
);
22995 if (PyErr_Occurred()) SWIG_fail
;
22996 arg3
= (int) SWIG_AsInt(obj2
);
22997 if (PyErr_Occurred()) SWIG_fail
;
22999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23000 (arg1
)->SetVirtualSize(arg2
,arg3
);
23002 wxPyEndAllowThreads(__tstate
);
23003 if (PyErr_Occurred()) SWIG_fail
;
23005 Py_INCREF(Py_None
); resultobj
= Py_None
;
23012 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23013 PyObject
*resultobj
;
23014 wxWindow
*arg1
= (wxWindow
*) 0 ;
23016 PyObject
* obj0
= 0 ;
23017 char *kwnames
[] = {
23018 (char *) "self", NULL
23021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
23022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23026 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
23028 wxPyEndAllowThreads(__tstate
);
23029 if (PyErr_Occurred()) SWIG_fail
;
23032 wxSize
* resultptr
;
23033 resultptr
= new wxSize((wxSize
&) result
);
23034 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23042 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23043 PyObject
*resultobj
;
23044 wxWindow
*arg1
= (wxWindow
*) 0 ;
23045 int *arg2
= (int *) 0 ;
23046 int *arg3
= (int *) 0 ;
23049 PyObject
* obj0
= 0 ;
23050 char *kwnames
[] = {
23051 (char *) "self", NULL
23056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
23057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23061 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
23063 wxPyEndAllowThreads(__tstate
);
23064 if (PyErr_Occurred()) SWIG_fail
;
23066 Py_INCREF(Py_None
); resultobj
= Py_None
;
23068 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
23069 resultobj
= t_output_helper(resultobj
,o
);
23072 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23073 resultobj
= t_output_helper(resultobj
,o
);
23081 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23082 PyObject
*resultobj
;
23083 wxWindow
*arg1
= (wxWindow
*) 0 ;
23085 PyObject
* obj0
= 0 ;
23086 char *kwnames
[] = {
23087 (char *) "self", NULL
23090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
23091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23095 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
23097 wxPyEndAllowThreads(__tstate
);
23098 if (PyErr_Occurred()) SWIG_fail
;
23101 wxSize
* resultptr
;
23102 resultptr
= new wxSize((wxSize
&) result
);
23103 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23111 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23112 PyObject
*resultobj
;
23113 wxWindow
*arg1
= (wxWindow
*) 0 ;
23114 bool arg2
= (bool) True
;
23116 PyObject
* obj0
= 0 ;
23117 PyObject
* obj1
= 0 ;
23118 char *kwnames
[] = {
23119 (char *) "self",(char *) "show", NULL
23122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
23123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23126 arg2
= (bool) SWIG_AsBool(obj1
);
23127 if (PyErr_Occurred()) SWIG_fail
;
23130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23131 result
= (bool)(arg1
)->Show(arg2
);
23133 wxPyEndAllowThreads(__tstate
);
23134 if (PyErr_Occurred()) SWIG_fail
;
23137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23145 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23146 PyObject
*resultobj
;
23147 wxWindow
*arg1
= (wxWindow
*) 0 ;
23149 PyObject
* obj0
= 0 ;
23150 char *kwnames
[] = {
23151 (char *) "self", NULL
23154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
23155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23159 result
= (bool)(arg1
)->Hide();
23161 wxPyEndAllowThreads(__tstate
);
23162 if (PyErr_Occurred()) SWIG_fail
;
23165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23173 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23174 PyObject
*resultobj
;
23175 wxWindow
*arg1
= (wxWindow
*) 0 ;
23176 bool arg2
= (bool) True
;
23178 PyObject
* obj0
= 0 ;
23179 PyObject
* obj1
= 0 ;
23180 char *kwnames
[] = {
23181 (char *) "self",(char *) "enable", NULL
23184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
23185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23188 arg2
= (bool) SWIG_AsBool(obj1
);
23189 if (PyErr_Occurred()) SWIG_fail
;
23192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23193 result
= (bool)(arg1
)->Enable(arg2
);
23195 wxPyEndAllowThreads(__tstate
);
23196 if (PyErr_Occurred()) SWIG_fail
;
23199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23207 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23208 PyObject
*resultobj
;
23209 wxWindow
*arg1
= (wxWindow
*) 0 ;
23211 PyObject
* obj0
= 0 ;
23212 char *kwnames
[] = {
23213 (char *) "self", NULL
23216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
23217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23221 result
= (bool)(arg1
)->Disable();
23223 wxPyEndAllowThreads(__tstate
);
23224 if (PyErr_Occurred()) SWIG_fail
;
23227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23235 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23236 PyObject
*resultobj
;
23237 wxWindow
*arg1
= (wxWindow
*) 0 ;
23239 PyObject
* obj0
= 0 ;
23240 char *kwnames
[] = {
23241 (char *) "self", NULL
23244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
23245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23249 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
23251 wxPyEndAllowThreads(__tstate
);
23252 if (PyErr_Occurred()) SWIG_fail
;
23255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23263 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23264 PyObject
*resultobj
;
23265 wxWindow
*arg1
= (wxWindow
*) 0 ;
23267 PyObject
* obj0
= 0 ;
23268 char *kwnames
[] = {
23269 (char *) "self", NULL
23272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
23273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23277 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
23279 wxPyEndAllowThreads(__tstate
);
23280 if (PyErr_Occurred()) SWIG_fail
;
23283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23291 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23292 PyObject
*resultobj
;
23293 wxWindow
*arg1
= (wxWindow
*) 0 ;
23295 PyObject
* obj0
= 0 ;
23296 PyObject
* obj1
= 0 ;
23297 char *kwnames
[] = {
23298 (char *) "self",(char *) "style", NULL
23301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23304 arg2
= (long) SWIG_AsLong(obj1
);
23305 if (PyErr_Occurred()) SWIG_fail
;
23307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23308 (arg1
)->SetWindowStyleFlag(arg2
);
23310 wxPyEndAllowThreads(__tstate
);
23311 if (PyErr_Occurred()) SWIG_fail
;
23313 Py_INCREF(Py_None
); resultobj
= Py_None
;
23320 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23321 PyObject
*resultobj
;
23322 wxWindow
*arg1
= (wxWindow
*) 0 ;
23324 PyObject
* obj0
= 0 ;
23325 char *kwnames
[] = {
23326 (char *) "self", NULL
23329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
23330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23334 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
23336 wxPyEndAllowThreads(__tstate
);
23337 if (PyErr_Occurred()) SWIG_fail
;
23339 resultobj
= SWIG_FromLong((long)result
);
23346 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23347 PyObject
*resultobj
;
23348 wxWindow
*arg1
= (wxWindow
*) 0 ;
23351 PyObject
* obj0
= 0 ;
23352 PyObject
* obj1
= 0 ;
23353 char *kwnames
[] = {
23354 (char *) "self",(char *) "flag", NULL
23357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23360 arg2
= (int) SWIG_AsInt(obj1
);
23361 if (PyErr_Occurred()) SWIG_fail
;
23363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23364 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
23366 wxPyEndAllowThreads(__tstate
);
23367 if (PyErr_Occurred()) SWIG_fail
;
23370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23378 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23379 PyObject
*resultobj
;
23380 wxWindow
*arg1
= (wxWindow
*) 0 ;
23382 PyObject
* obj0
= 0 ;
23383 char *kwnames
[] = {
23384 (char *) "self", NULL
23387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
23388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23392 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
23394 wxPyEndAllowThreads(__tstate
);
23395 if (PyErr_Occurred()) SWIG_fail
;
23398 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23406 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23407 PyObject
*resultobj
;
23408 wxWindow
*arg1
= (wxWindow
*) 0 ;
23410 PyObject
* obj0
= 0 ;
23411 PyObject
* obj1
= 0 ;
23412 char *kwnames
[] = {
23413 (char *) "self",(char *) "exStyle", NULL
23416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
23417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23419 arg2
= (long) SWIG_AsLong(obj1
);
23420 if (PyErr_Occurred()) SWIG_fail
;
23422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23423 (arg1
)->SetExtraStyle(arg2
);
23425 wxPyEndAllowThreads(__tstate
);
23426 if (PyErr_Occurred()) SWIG_fail
;
23428 Py_INCREF(Py_None
); resultobj
= Py_None
;
23435 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23436 PyObject
*resultobj
;
23437 wxWindow
*arg1
= (wxWindow
*) 0 ;
23439 PyObject
* obj0
= 0 ;
23440 char *kwnames
[] = {
23441 (char *) "self", NULL
23444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
23445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23449 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
23451 wxPyEndAllowThreads(__tstate
);
23452 if (PyErr_Occurred()) SWIG_fail
;
23454 resultobj
= SWIG_FromLong((long)result
);
23461 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23462 PyObject
*resultobj
;
23463 wxWindow
*arg1
= (wxWindow
*) 0 ;
23464 bool arg2
= (bool) True
;
23465 PyObject
* obj0
= 0 ;
23466 PyObject
* obj1
= 0 ;
23467 char *kwnames
[] = {
23468 (char *) "self",(char *) "modal", NULL
23471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
23472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23475 arg2
= (bool) SWIG_AsBool(obj1
);
23476 if (PyErr_Occurred()) SWIG_fail
;
23479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23480 (arg1
)->MakeModal(arg2
);
23482 wxPyEndAllowThreads(__tstate
);
23483 if (PyErr_Occurred()) SWIG_fail
;
23485 Py_INCREF(Py_None
); resultobj
= Py_None
;
23492 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23493 PyObject
*resultobj
;
23494 wxWindow
*arg1
= (wxWindow
*) 0 ;
23496 PyObject
* obj0
= 0 ;
23497 PyObject
* obj1
= 0 ;
23498 char *kwnames
[] = {
23499 (char *) "self",(char *) "enableTheme", NULL
23502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
23503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23505 arg2
= (bool) SWIG_AsBool(obj1
);
23506 if (PyErr_Occurred()) SWIG_fail
;
23508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23509 (arg1
)->SetThemeEnabled(arg2
);
23511 wxPyEndAllowThreads(__tstate
);
23512 if (PyErr_Occurred()) SWIG_fail
;
23514 Py_INCREF(Py_None
); resultobj
= Py_None
;
23521 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23522 PyObject
*resultobj
;
23523 wxWindow
*arg1
= (wxWindow
*) 0 ;
23525 PyObject
* obj0
= 0 ;
23526 char *kwnames
[] = {
23527 (char *) "self", NULL
23530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
23531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23535 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
23537 wxPyEndAllowThreads(__tstate
);
23538 if (PyErr_Occurred()) SWIG_fail
;
23541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23549 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23550 PyObject
*resultobj
;
23551 wxWindow
*arg1
= (wxWindow
*) 0 ;
23552 PyObject
* obj0
= 0 ;
23553 char *kwnames
[] = {
23554 (char *) "self", NULL
23557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
23558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23562 (arg1
)->SetFocus();
23564 wxPyEndAllowThreads(__tstate
);
23565 if (PyErr_Occurred()) SWIG_fail
;
23567 Py_INCREF(Py_None
); resultobj
= Py_None
;
23574 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23575 PyObject
*resultobj
;
23576 wxWindow
*arg1
= (wxWindow
*) 0 ;
23577 PyObject
* obj0
= 0 ;
23578 char *kwnames
[] = {
23579 (char *) "self", NULL
23582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
23583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23587 (arg1
)->SetFocusFromKbd();
23589 wxPyEndAllowThreads(__tstate
);
23590 if (PyErr_Occurred()) SWIG_fail
;
23592 Py_INCREF(Py_None
); resultobj
= Py_None
;
23599 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23600 PyObject
*resultobj
;
23602 char *kwnames
[] = {
23606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
23608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23609 result
= (wxWindow
*)wxWindow::FindFocus();
23611 wxPyEndAllowThreads(__tstate
);
23612 if (PyErr_Occurred()) SWIG_fail
;
23615 resultobj
= wxPyMake_wxObject(result
);
23623 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23624 PyObject
*resultobj
;
23625 wxWindow
*arg1
= (wxWindow
*) 0 ;
23627 PyObject
* obj0
= 0 ;
23628 char *kwnames
[] = {
23629 (char *) "self", NULL
23632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
23633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23637 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
23639 wxPyEndAllowThreads(__tstate
);
23640 if (PyErr_Occurred()) SWIG_fail
;
23643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23651 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23652 PyObject
*resultobj
;
23653 wxWindow
*arg1
= (wxWindow
*) 0 ;
23655 PyObject
* obj0
= 0 ;
23656 char *kwnames
[] = {
23657 (char *) "self", NULL
23660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
23661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23665 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
23667 wxPyEndAllowThreads(__tstate
);
23668 if (PyErr_Occurred()) SWIG_fail
;
23671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23679 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23680 PyObject
*resultobj
;
23681 wxWindow
*arg1
= (wxWindow
*) 0 ;
23683 PyObject
* obj0
= 0 ;
23684 char *kwnames
[] = {
23685 (char *) "self", NULL
23688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
23689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23693 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
23695 wxPyEndAllowThreads(__tstate
);
23696 if (PyErr_Occurred()) SWIG_fail
;
23699 resultobj
= wxPyMake_wxObject(result
);
23707 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23708 PyObject
*resultobj
;
23709 wxWindow
*arg1
= (wxWindow
*) 0 ;
23710 wxWindow
*arg2
= (wxWindow
*) 0 ;
23712 PyObject
* obj0
= 0 ;
23713 PyObject
* obj1
= 0 ;
23714 char *kwnames
[] = {
23715 (char *) "self",(char *) "child", NULL
23718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23721 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23725 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
23727 wxPyEndAllowThreads(__tstate
);
23728 if (PyErr_Occurred()) SWIG_fail
;
23731 resultobj
= wxPyMake_wxObject(result
);
23739 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23740 PyObject
*resultobj
;
23741 wxWindow
*arg1
= (wxWindow
*) 0 ;
23742 wxWindow
*arg2
= (wxWindow
*) 0 ;
23743 PyObject
* obj0
= 0 ;
23744 PyObject
* obj1
= 0 ;
23745 char *kwnames
[] = {
23746 (char *) "self",(char *) "win", NULL
23749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23752 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23756 (arg1
)->SetTmpDefaultItem(arg2
);
23758 wxPyEndAllowThreads(__tstate
);
23759 if (PyErr_Occurred()) SWIG_fail
;
23761 Py_INCREF(Py_None
); resultobj
= Py_None
;
23768 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23769 PyObject
*resultobj
;
23770 wxWindow
*arg1
= (wxWindow
*) 0 ;
23772 PyObject
* obj0
= 0 ;
23773 char *kwnames
[] = {
23774 (char *) "self", NULL
23777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
23778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23782 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
23784 wxPyEndAllowThreads(__tstate
);
23785 if (PyErr_Occurred()) SWIG_fail
;
23787 resultobj
= result
;
23794 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23795 PyObject
*resultobj
;
23796 wxWindow
*arg1
= (wxWindow
*) 0 ;
23798 PyObject
* obj0
= 0 ;
23799 char *kwnames
[] = {
23800 (char *) "self", NULL
23803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
23804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23808 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
23810 wxPyEndAllowThreads(__tstate
);
23811 if (PyErr_Occurred()) SWIG_fail
;
23814 resultobj
= wxPyMake_wxObject(result
);
23822 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23823 PyObject
*resultobj
;
23824 wxWindow
*arg1
= (wxWindow
*) 0 ;
23826 PyObject
* obj0
= 0 ;
23827 char *kwnames
[] = {
23828 (char *) "self", NULL
23831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
23832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23836 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
23838 wxPyEndAllowThreads(__tstate
);
23839 if (PyErr_Occurred()) SWIG_fail
;
23842 resultobj
= wxPyMake_wxObject(result
);
23850 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23851 PyObject
*resultobj
;
23852 wxWindow
*arg1
= (wxWindow
*) 0 ;
23854 PyObject
* obj0
= 0 ;
23855 char *kwnames
[] = {
23856 (char *) "self", NULL
23859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
23860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23864 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
23866 wxPyEndAllowThreads(__tstate
);
23867 if (PyErr_Occurred()) SWIG_fail
;
23870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23878 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23879 PyObject
*resultobj
;
23880 wxWindow
*arg1
= (wxWindow
*) 0 ;
23881 wxWindow
*arg2
= (wxWindow
*) 0 ;
23883 PyObject
* obj0
= 0 ;
23884 PyObject
* obj1
= 0 ;
23885 char *kwnames
[] = {
23886 (char *) "self",(char *) "newParent", NULL
23889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
23890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23892 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23896 result
= (bool)(arg1
)->Reparent(arg2
);
23898 wxPyEndAllowThreads(__tstate
);
23899 if (PyErr_Occurred()) SWIG_fail
;
23902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23910 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23911 PyObject
*resultobj
;
23912 wxWindow
*arg1
= (wxWindow
*) 0 ;
23913 wxWindow
*arg2
= (wxWindow
*) 0 ;
23914 PyObject
* obj0
= 0 ;
23915 PyObject
* obj1
= 0 ;
23916 char *kwnames
[] = {
23917 (char *) "self",(char *) "child", NULL
23920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
23921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23923 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23927 (arg1
)->AddChild(arg2
);
23929 wxPyEndAllowThreads(__tstate
);
23930 if (PyErr_Occurred()) SWIG_fail
;
23932 Py_INCREF(Py_None
); resultobj
= Py_None
;
23939 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23940 PyObject
*resultobj
;
23941 wxWindow
*arg1
= (wxWindow
*) 0 ;
23942 wxWindow
*arg2
= (wxWindow
*) 0 ;
23943 PyObject
* obj0
= 0 ;
23944 PyObject
* obj1
= 0 ;
23945 char *kwnames
[] = {
23946 (char *) "self",(char *) "child", NULL
23949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
23950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23952 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23956 (arg1
)->RemoveChild(arg2
);
23958 wxPyEndAllowThreads(__tstate
);
23959 if (PyErr_Occurred()) SWIG_fail
;
23961 Py_INCREF(Py_None
); resultobj
= Py_None
;
23968 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23969 PyObject
*resultobj
;
23970 wxWindow
*arg1
= (wxWindow
*) 0 ;
23973 PyObject
* obj0
= 0 ;
23974 PyObject
* obj1
= 0 ;
23975 char *kwnames
[] = {
23976 (char *) "self",(char *) "winid", NULL
23979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
23980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23982 arg2
= (long) SWIG_AsLong(obj1
);
23983 if (PyErr_Occurred()) SWIG_fail
;
23985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23986 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
23988 wxPyEndAllowThreads(__tstate
);
23989 if (PyErr_Occurred()) SWIG_fail
;
23992 resultobj
= wxPyMake_wxObject(result
);
24000 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24001 PyObject
*resultobj
;
24002 wxWindow
*arg1
= (wxWindow
*) 0 ;
24003 wxString
*arg2
= 0 ;
24005 bool temp2
= False
;
24006 PyObject
* obj0
= 0 ;
24007 PyObject
* obj1
= 0 ;
24008 char *kwnames
[] = {
24009 (char *) "self",(char *) "name", NULL
24012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
24013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24016 arg2
= wxString_in_helper(obj1
);
24017 if (arg2
== NULL
) SWIG_fail
;
24021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24022 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
24024 wxPyEndAllowThreads(__tstate
);
24025 if (PyErr_Occurred()) SWIG_fail
;
24028 resultobj
= wxPyMake_wxObject(result
);
24044 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24045 PyObject
*resultobj
;
24046 wxWindow
*arg1
= (wxWindow
*) 0 ;
24047 wxEvtHandler
*result
;
24048 PyObject
* obj0
= 0 ;
24049 char *kwnames
[] = {
24050 (char *) "self", NULL
24053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
24054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24058 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
24060 wxPyEndAllowThreads(__tstate
);
24061 if (PyErr_Occurred()) SWIG_fail
;
24064 resultobj
= wxPyMake_wxObject(result
);
24072 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24073 PyObject
*resultobj
;
24074 wxWindow
*arg1
= (wxWindow
*) 0 ;
24075 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24076 PyObject
* obj0
= 0 ;
24077 PyObject
* obj1
= 0 ;
24078 char *kwnames
[] = {
24079 (char *) "self",(char *) "handler", NULL
24082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24085 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24089 (arg1
)->SetEventHandler(arg2
);
24091 wxPyEndAllowThreads(__tstate
);
24092 if (PyErr_Occurred()) SWIG_fail
;
24094 Py_INCREF(Py_None
); resultobj
= Py_None
;
24101 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24102 PyObject
*resultobj
;
24103 wxWindow
*arg1
= (wxWindow
*) 0 ;
24104 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24105 PyObject
* obj0
= 0 ;
24106 PyObject
* obj1
= 0 ;
24107 char *kwnames
[] = {
24108 (char *) "self",(char *) "handler", NULL
24111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24114 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24118 (arg1
)->PushEventHandler(arg2
);
24120 wxPyEndAllowThreads(__tstate
);
24121 if (PyErr_Occurred()) SWIG_fail
;
24123 Py_INCREF(Py_None
); resultobj
= Py_None
;
24130 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24131 PyObject
*resultobj
;
24132 wxWindow
*arg1
= (wxWindow
*) 0 ;
24133 bool arg2
= (bool) False
;
24134 wxEvtHandler
*result
;
24135 PyObject
* obj0
= 0 ;
24136 PyObject
* obj1
= 0 ;
24137 char *kwnames
[] = {
24138 (char *) "self",(char *) "deleteHandler", NULL
24141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24145 arg2
= (bool) SWIG_AsBool(obj1
);
24146 if (PyErr_Occurred()) SWIG_fail
;
24149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24150 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
24152 wxPyEndAllowThreads(__tstate
);
24153 if (PyErr_Occurred()) SWIG_fail
;
24156 resultobj
= wxPyMake_wxObject(result
);
24164 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24165 PyObject
*resultobj
;
24166 wxWindow
*arg1
= (wxWindow
*) 0 ;
24167 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24169 PyObject
* obj0
= 0 ;
24170 PyObject
* obj1
= 0 ;
24171 char *kwnames
[] = {
24172 (char *) "self",(char *) "handler", NULL
24175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24178 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24182 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
24184 wxPyEndAllowThreads(__tstate
);
24185 if (PyErr_Occurred()) SWIG_fail
;
24188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24196 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24197 PyObject
*resultobj
;
24198 wxWindow
*arg1
= (wxWindow
*) 0 ;
24199 wxValidator
*arg2
= 0 ;
24200 PyObject
* obj0
= 0 ;
24201 PyObject
* obj1
= 0 ;
24202 char *kwnames
[] = {
24203 (char *) "self",(char *) "validator", NULL
24206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
24207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24209 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
24210 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24212 if (arg2
== NULL
) {
24213 PyErr_SetString(PyExc_TypeError
,"null reference");
24217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24218 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
24220 wxPyEndAllowThreads(__tstate
);
24221 if (PyErr_Occurred()) SWIG_fail
;
24223 Py_INCREF(Py_None
); resultobj
= Py_None
;
24230 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24231 PyObject
*resultobj
;
24232 wxWindow
*arg1
= (wxWindow
*) 0 ;
24233 wxValidator
*result
;
24234 PyObject
* obj0
= 0 ;
24235 char *kwnames
[] = {
24236 (char *) "self", NULL
24239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
24240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24244 result
= (wxValidator
*)(arg1
)->GetValidator();
24246 wxPyEndAllowThreads(__tstate
);
24247 if (PyErr_Occurred()) SWIG_fail
;
24250 resultobj
= wxPyMake_wxObject(result
);
24258 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24259 PyObject
*resultobj
;
24260 wxWindow
*arg1
= (wxWindow
*) 0 ;
24261 wxAcceleratorTable
*arg2
= 0 ;
24262 PyObject
* obj0
= 0 ;
24263 PyObject
* obj1
= 0 ;
24264 char *kwnames
[] = {
24265 (char *) "self",(char *) "accel", NULL
24268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
24269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24271 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
24272 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24274 if (arg2
== NULL
) {
24275 PyErr_SetString(PyExc_TypeError
,"null reference");
24279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24280 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
24282 wxPyEndAllowThreads(__tstate
);
24283 if (PyErr_Occurred()) SWIG_fail
;
24285 Py_INCREF(Py_None
); resultobj
= Py_None
;
24292 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24293 PyObject
*resultobj
;
24294 wxWindow
*arg1
= (wxWindow
*) 0 ;
24295 wxAcceleratorTable
*result
;
24296 PyObject
* obj0
= 0 ;
24297 char *kwnames
[] = {
24298 (char *) "self", NULL
24301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
24302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24306 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
24308 wxPyEndAllowThreads(__tstate
);
24309 if (PyErr_Occurred()) SWIG_fail
;
24311 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
24318 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24319 PyObject
*resultobj
;
24320 wxWindow
*arg1
= (wxWindow
*) 0 ;
24325 PyObject
* obj0
= 0 ;
24326 PyObject
* obj1
= 0 ;
24327 PyObject
* obj2
= 0 ;
24328 PyObject
* obj3
= 0 ;
24329 char *kwnames
[] = {
24330 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
24333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24336 arg2
= (int) SWIG_AsInt(obj1
);
24337 if (PyErr_Occurred()) SWIG_fail
;
24338 arg3
= (int) SWIG_AsInt(obj2
);
24339 if (PyErr_Occurred()) SWIG_fail
;
24340 arg4
= (int) SWIG_AsInt(obj3
);
24341 if (PyErr_Occurred()) SWIG_fail
;
24343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24344 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
24346 wxPyEndAllowThreads(__tstate
);
24347 if (PyErr_Occurred()) SWIG_fail
;
24350 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24358 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24359 PyObject
*resultobj
;
24360 wxWindow
*arg1
= (wxWindow
*) 0 ;
24363 PyObject
* obj0
= 0 ;
24364 PyObject
* obj1
= 0 ;
24365 char *kwnames
[] = {
24366 (char *) "self",(char *) "hotkeyId", NULL
24369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
24370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24372 arg2
= (int) SWIG_AsInt(obj1
);
24373 if (PyErr_Occurred()) SWIG_fail
;
24375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24376 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
24378 wxPyEndAllowThreads(__tstate
);
24379 if (PyErr_Occurred()) SWIG_fail
;
24382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24390 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24391 PyObject
*resultobj
;
24392 wxWindow
*arg1
= (wxWindow
*) 0 ;
24393 wxPoint
*arg2
= 0 ;
24396 PyObject
* obj0
= 0 ;
24397 PyObject
* obj1
= 0 ;
24398 char *kwnames
[] = {
24399 (char *) "self",(char *) "pt", NULL
24402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
24403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24407 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24411 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
24413 wxPyEndAllowThreads(__tstate
);
24414 if (PyErr_Occurred()) SWIG_fail
;
24417 wxPoint
* resultptr
;
24418 resultptr
= new wxPoint((wxPoint
&) result
);
24419 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24427 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24428 PyObject
*resultobj
;
24429 wxWindow
*arg1
= (wxWindow
*) 0 ;
24433 PyObject
* obj0
= 0 ;
24434 PyObject
* obj1
= 0 ;
24435 char *kwnames
[] = {
24436 (char *) "self",(char *) "sz", NULL
24439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
24440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24444 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24448 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
24450 wxPyEndAllowThreads(__tstate
);
24451 if (PyErr_Occurred()) SWIG_fail
;
24454 wxSize
* resultptr
;
24455 resultptr
= new wxSize((wxSize
&) result
);
24456 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24464 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24465 PyObject
*resultobj
;
24466 wxWindow
*arg1
= (wxWindow
*) 0 ;
24467 wxPoint
*arg2
= 0 ;
24470 PyObject
* obj0
= 0 ;
24471 PyObject
* obj1
= 0 ;
24472 char *kwnames
[] = {
24473 (char *) "self",(char *) "pt", NULL
24476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
24477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24481 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24485 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
24487 wxPyEndAllowThreads(__tstate
);
24488 if (PyErr_Occurred()) SWIG_fail
;
24491 wxPoint
* resultptr
;
24492 resultptr
= new wxPoint((wxPoint
&) result
);
24493 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24501 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24502 PyObject
*resultobj
;
24503 wxWindow
*arg1
= (wxWindow
*) 0 ;
24507 PyObject
* obj0
= 0 ;
24508 PyObject
* obj1
= 0 ;
24509 char *kwnames
[] = {
24510 (char *) "self",(char *) "sz", NULL
24513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
24514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24518 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24522 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
24524 wxPyEndAllowThreads(__tstate
);
24525 if (PyErr_Occurred()) SWIG_fail
;
24528 wxSize
* resultptr
;
24529 resultptr
= new wxSize((wxSize
&) result
);
24530 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24538 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24539 PyObject
*resultobj
;
24540 wxWindow
*arg1
= (wxWindow
*) 0 ;
24541 wxPoint
*arg2
= 0 ;
24544 PyObject
* obj0
= 0 ;
24545 PyObject
* obj1
= 0 ;
24546 char *kwnames
[] = {
24547 (char *) "self",(char *) "pt", NULL
24550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24555 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24559 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
24561 wxPyEndAllowThreads(__tstate
);
24562 if (PyErr_Occurred()) SWIG_fail
;
24565 wxPoint
* resultptr
;
24566 resultptr
= new wxPoint((wxPoint
&) result
);
24567 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24575 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24576 PyObject
*resultobj
;
24577 wxWindow
*arg1
= (wxWindow
*) 0 ;
24581 PyObject
* obj0
= 0 ;
24582 PyObject
* obj1
= 0 ;
24583 char *kwnames
[] = {
24584 (char *) "self",(char *) "sz", NULL
24587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24592 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24596 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
24598 wxPyEndAllowThreads(__tstate
);
24599 if (PyErr_Occurred()) SWIG_fail
;
24602 wxSize
* resultptr
;
24603 resultptr
= new wxSize((wxSize
&) result
);
24604 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24612 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24613 PyObject
*resultobj
;
24614 wxWindow
*arg1
= (wxWindow
*) 0 ;
24617 PyObject
* obj0
= 0 ;
24618 PyObject
* obj1
= 0 ;
24619 PyObject
* obj2
= 0 ;
24620 char *kwnames
[] = {
24621 (char *) "self",(char *) "x",(char *) "y", NULL
24624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24627 arg2
= (int) SWIG_AsInt(obj1
);
24628 if (PyErr_Occurred()) SWIG_fail
;
24629 arg3
= (int) SWIG_AsInt(obj2
);
24630 if (PyErr_Occurred()) SWIG_fail
;
24632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24633 (arg1
)->WarpPointer(arg2
,arg3
);
24635 wxPyEndAllowThreads(__tstate
);
24636 if (PyErr_Occurred()) SWIG_fail
;
24638 Py_INCREF(Py_None
); resultobj
= Py_None
;
24645 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24646 PyObject
*resultobj
;
24647 wxWindow
*arg1
= (wxWindow
*) 0 ;
24648 PyObject
* obj0
= 0 ;
24649 char *kwnames
[] = {
24650 (char *) "self", NULL
24653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
24654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24658 (arg1
)->CaptureMouse();
24660 wxPyEndAllowThreads(__tstate
);
24661 if (PyErr_Occurred()) SWIG_fail
;
24663 Py_INCREF(Py_None
); resultobj
= Py_None
;
24670 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24671 PyObject
*resultobj
;
24672 wxWindow
*arg1
= (wxWindow
*) 0 ;
24673 PyObject
* obj0
= 0 ;
24674 char *kwnames
[] = {
24675 (char *) "self", NULL
24678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
24679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24683 (arg1
)->ReleaseMouse();
24685 wxPyEndAllowThreads(__tstate
);
24686 if (PyErr_Occurred()) SWIG_fail
;
24688 Py_INCREF(Py_None
); resultobj
= Py_None
;
24695 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24696 PyObject
*resultobj
;
24698 char *kwnames
[] = {
24702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
24704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24705 result
= (wxWindow
*)wxWindow::GetCapture();
24707 wxPyEndAllowThreads(__tstate
);
24708 if (PyErr_Occurred()) SWIG_fail
;
24711 resultobj
= wxPyMake_wxObject(result
);
24719 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24720 PyObject
*resultobj
;
24721 wxWindow
*arg1
= (wxWindow
*) 0 ;
24723 PyObject
* obj0
= 0 ;
24724 char *kwnames
[] = {
24725 (char *) "self", NULL
24728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
24729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24733 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
24735 wxPyEndAllowThreads(__tstate
);
24736 if (PyErr_Occurred()) SWIG_fail
;
24739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24747 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24748 PyObject
*resultobj
;
24749 wxWindow
*arg1
= (wxWindow
*) 0 ;
24750 bool arg2
= (bool) True
;
24751 wxRect
*arg3
= (wxRect
*) NULL
;
24752 PyObject
* obj0
= 0 ;
24753 PyObject
* obj1
= 0 ;
24754 PyObject
* obj2
= 0 ;
24755 char *kwnames
[] = {
24756 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
24759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24763 arg2
= (bool) SWIG_AsBool(obj1
);
24764 if (PyErr_Occurred()) SWIG_fail
;
24767 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
24768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24772 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
24774 wxPyEndAllowThreads(__tstate
);
24775 if (PyErr_Occurred()) SWIG_fail
;
24777 Py_INCREF(Py_None
); resultobj
= Py_None
;
24784 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24785 PyObject
*resultobj
;
24786 wxWindow
*arg1
= (wxWindow
*) 0 ;
24789 PyObject
* obj0
= 0 ;
24790 PyObject
* obj1
= 0 ;
24791 char *kwnames
[] = {
24792 (char *) "self",(char *) "rect", NULL
24795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
24796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24800 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
24803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24804 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
24806 wxPyEndAllowThreads(__tstate
);
24807 if (PyErr_Occurred()) SWIG_fail
;
24809 Py_INCREF(Py_None
); resultobj
= Py_None
;
24816 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24817 PyObject
*resultobj
;
24818 wxWindow
*arg1
= (wxWindow
*) 0 ;
24819 PyObject
* obj0
= 0 ;
24820 char *kwnames
[] = {
24821 (char *) "self", NULL
24824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
24825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24831 wxPyEndAllowThreads(__tstate
);
24832 if (PyErr_Occurred()) SWIG_fail
;
24834 Py_INCREF(Py_None
); resultobj
= Py_None
;
24841 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24842 PyObject
*resultobj
;
24843 wxWindow
*arg1
= (wxWindow
*) 0 ;
24844 PyObject
* obj0
= 0 ;
24845 char *kwnames
[] = {
24846 (char *) "self", NULL
24849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
24850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24854 (arg1
)->ClearBackground();
24856 wxPyEndAllowThreads(__tstate
);
24857 if (PyErr_Occurred()) SWIG_fail
;
24859 Py_INCREF(Py_None
); resultobj
= Py_None
;
24866 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24867 PyObject
*resultobj
;
24868 wxWindow
*arg1
= (wxWindow
*) 0 ;
24869 PyObject
* obj0
= 0 ;
24870 char *kwnames
[] = {
24871 (char *) "self", NULL
24874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
24875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24881 wxPyEndAllowThreads(__tstate
);
24882 if (PyErr_Occurred()) SWIG_fail
;
24884 Py_INCREF(Py_None
); resultobj
= Py_None
;
24891 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24892 PyObject
*resultobj
;
24893 wxWindow
*arg1
= (wxWindow
*) 0 ;
24894 PyObject
* obj0
= 0 ;
24895 char *kwnames
[] = {
24896 (char *) "self", NULL
24899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
24900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24906 wxPyEndAllowThreads(__tstate
);
24907 if (PyErr_Occurred()) SWIG_fail
;
24909 Py_INCREF(Py_None
); resultobj
= Py_None
;
24916 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24917 PyObject
*resultobj
;
24918 wxWindow
*arg1
= (wxWindow
*) 0 ;
24920 PyObject
* obj0
= 0 ;
24921 PyObject
* obj1
= 0 ;
24922 char *kwnames
[] = {
24923 (char *) "self",(char *) "dc", NULL
24926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
24927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24929 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24930 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24932 if (arg2
== NULL
) {
24933 PyErr_SetString(PyExc_TypeError
,"null reference");
24937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24938 (arg1
)->PrepareDC(*arg2
);
24940 wxPyEndAllowThreads(__tstate
);
24941 if (PyErr_Occurred()) SWIG_fail
;
24943 Py_INCREF(Py_None
); resultobj
= Py_None
;
24950 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24951 PyObject
*resultobj
;
24952 wxWindow
*arg1
= (wxWindow
*) 0 ;
24954 PyObject
* obj0
= 0 ;
24955 char *kwnames
[] = {
24956 (char *) "self", NULL
24959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
24960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24965 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
24966 result
= (wxRegion
*) &_result_ref
;
24969 wxPyEndAllowThreads(__tstate
);
24970 if (PyErr_Occurred()) SWIG_fail
;
24972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
24979 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24980 PyObject
*resultobj
;
24981 wxWindow
*arg1
= (wxWindow
*) 0 ;
24983 PyObject
* obj0
= 0 ;
24984 char *kwnames
[] = {
24985 (char *) "self", NULL
24988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
24989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24993 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
24995 wxPyEndAllowThreads(__tstate
);
24996 if (PyErr_Occurred()) SWIG_fail
;
24999 wxRect
* resultptr
;
25000 resultptr
= new wxRect((wxRect
&) result
);
25001 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25009 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25010 PyObject
*resultobj
;
25011 wxWindow
*arg1
= (wxWindow
*) 0 ;
25014 int arg4
= (int) 1 ;
25015 int arg5
= (int) 1 ;
25017 PyObject
* obj0
= 0 ;
25018 PyObject
* obj1
= 0 ;
25019 PyObject
* obj2
= 0 ;
25020 PyObject
* obj3
= 0 ;
25021 PyObject
* obj4
= 0 ;
25022 char *kwnames
[] = {
25023 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25029 arg2
= (int) SWIG_AsInt(obj1
);
25030 if (PyErr_Occurred()) SWIG_fail
;
25031 arg3
= (int) SWIG_AsInt(obj2
);
25032 if (PyErr_Occurred()) SWIG_fail
;
25034 arg4
= (int) SWIG_AsInt(obj3
);
25035 if (PyErr_Occurred()) SWIG_fail
;
25038 arg5
= (int) SWIG_AsInt(obj4
);
25039 if (PyErr_Occurred()) SWIG_fail
;
25042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25043 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
25045 wxPyEndAllowThreads(__tstate
);
25046 if (PyErr_Occurred()) SWIG_fail
;
25049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25057 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25058 PyObject
*resultobj
;
25059 wxWindow
*arg1
= (wxWindow
*) 0 ;
25060 wxPoint
*arg2
= 0 ;
25063 PyObject
* obj0
= 0 ;
25064 PyObject
* obj1
= 0 ;
25065 char *kwnames
[] = {
25066 (char *) "self",(char *) "pt", NULL
25069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
25070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25074 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25078 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
25080 wxPyEndAllowThreads(__tstate
);
25081 if (PyErr_Occurred()) SWIG_fail
;
25084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25092 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25093 PyObject
*resultobj
;
25094 wxWindow
*arg1
= (wxWindow
*) 0 ;
25098 PyObject
* obj0
= 0 ;
25099 PyObject
* obj1
= 0 ;
25100 char *kwnames
[] = {
25101 (char *) "self",(char *) "rect", NULL
25104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25109 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25113 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
25115 wxPyEndAllowThreads(__tstate
);
25116 if (PyErr_Occurred()) SWIG_fail
;
25119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25127 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25128 PyObject
*resultobj
;
25129 wxWindow
*arg1
= (wxWindow
*) 0 ;
25130 wxColour
*arg2
= 0 ;
25133 PyObject
* obj0
= 0 ;
25134 PyObject
* obj1
= 0 ;
25135 char *kwnames
[] = {
25136 (char *) "self",(char *) "colour", NULL
25139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25144 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25148 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25150 wxPyEndAllowThreads(__tstate
);
25151 if (PyErr_Occurred()) SWIG_fail
;
25154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25162 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25163 PyObject
*resultobj
;
25164 wxWindow
*arg1
= (wxWindow
*) 0 ;
25165 wxColour
*arg2
= 0 ;
25168 PyObject
* obj0
= 0 ;
25169 PyObject
* obj1
= 0 ;
25170 char *kwnames
[] = {
25171 (char *) "self",(char *) "colour", NULL
25174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25179 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25183 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
25185 wxPyEndAllowThreads(__tstate
);
25186 if (PyErr_Occurred()) SWIG_fail
;
25189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25197 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25198 PyObject
*resultobj
;
25199 wxWindow
*arg1
= (wxWindow
*) 0 ;
25201 PyObject
* obj0
= 0 ;
25202 char *kwnames
[] = {
25203 (char *) "self", NULL
25206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
25207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25211 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
25213 wxPyEndAllowThreads(__tstate
);
25214 if (PyErr_Occurred()) SWIG_fail
;
25217 wxColour
* resultptr
;
25218 resultptr
= new wxColour((wxColour
&) result
);
25219 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25227 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25228 PyObject
*resultobj
;
25229 wxWindow
*arg1
= (wxWindow
*) 0 ;
25231 PyObject
* obj0
= 0 ;
25232 char *kwnames
[] = {
25233 (char *) "self", NULL
25236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
25237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25241 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
25243 wxPyEndAllowThreads(__tstate
);
25244 if (PyErr_Occurred()) SWIG_fail
;
25247 wxColour
* resultptr
;
25248 resultptr
= new wxColour((wxColour
&) result
);
25249 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25257 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25258 PyObject
*resultobj
;
25259 wxWindow
*arg1
= (wxWindow
*) 0 ;
25260 wxCursor
*arg2
= 0 ;
25262 PyObject
* obj0
= 0 ;
25263 PyObject
* obj1
= 0 ;
25264 char *kwnames
[] = {
25265 (char *) "self",(char *) "cursor", NULL
25268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
25269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25271 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
25272 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25274 if (arg2
== NULL
) {
25275 PyErr_SetString(PyExc_TypeError
,"null reference");
25279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25280 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
25282 wxPyEndAllowThreads(__tstate
);
25283 if (PyErr_Occurred()) SWIG_fail
;
25286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25294 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25295 PyObject
*resultobj
;
25296 wxWindow
*arg1
= (wxWindow
*) 0 ;
25298 PyObject
* obj0
= 0 ;
25299 char *kwnames
[] = {
25300 (char *) "self", NULL
25303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
25304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25309 wxCursor
&_result_ref
= (arg1
)->GetCursor();
25310 result
= (wxCursor
*) &_result_ref
;
25313 wxPyEndAllowThreads(__tstate
);
25314 if (PyErr_Occurred()) SWIG_fail
;
25317 wxCursor
* resultptr
= new wxCursor(*result
);
25318 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
25326 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25327 PyObject
*resultobj
;
25328 wxWindow
*arg1
= (wxWindow
*) 0 ;
25331 PyObject
* obj0
= 0 ;
25332 PyObject
* obj1
= 0 ;
25333 char *kwnames
[] = {
25334 (char *) "self",(char *) "font", NULL
25337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
25338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25340 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
25341 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25343 if (arg2
== NULL
) {
25344 PyErr_SetString(PyExc_TypeError
,"null reference");
25348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25349 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
25351 wxPyEndAllowThreads(__tstate
);
25352 if (PyErr_Occurred()) SWIG_fail
;
25355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25363 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25364 PyObject
*resultobj
;
25365 wxWindow
*arg1
= (wxWindow
*) 0 ;
25367 PyObject
* obj0
= 0 ;
25368 char *kwnames
[] = {
25369 (char *) "self", NULL
25372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
25373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25378 wxFont
&_result_ref
= (arg1
)->GetFont();
25379 result
= (wxFont
*) &_result_ref
;
25382 wxPyEndAllowThreads(__tstate
);
25383 if (PyErr_Occurred()) SWIG_fail
;
25386 wxFont
* resultptr
= new wxFont(*result
);
25387 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
25395 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25396 PyObject
*resultobj
;
25397 wxWindow
*arg1
= (wxWindow
*) 0 ;
25398 wxCaret
*arg2
= (wxCaret
*) 0 ;
25399 PyObject
* obj0
= 0 ;
25400 PyObject
* obj1
= 0 ;
25401 char *kwnames
[] = {
25402 (char *) "self",(char *) "caret", NULL
25405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
25406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25408 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
25409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25412 (arg1
)->SetCaret(arg2
);
25414 wxPyEndAllowThreads(__tstate
);
25415 if (PyErr_Occurred()) SWIG_fail
;
25417 Py_INCREF(Py_None
); resultobj
= Py_None
;
25424 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25425 PyObject
*resultobj
;
25426 wxWindow
*arg1
= (wxWindow
*) 0 ;
25428 PyObject
* obj0
= 0 ;
25429 char *kwnames
[] = {
25430 (char *) "self", NULL
25433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
25434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25438 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
25440 wxPyEndAllowThreads(__tstate
);
25441 if (PyErr_Occurred()) SWIG_fail
;
25443 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
25450 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25451 PyObject
*resultobj
;
25452 wxWindow
*arg1
= (wxWindow
*) 0 ;
25454 PyObject
* obj0
= 0 ;
25455 char *kwnames
[] = {
25456 (char *) "self", NULL
25459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
25460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25464 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
25466 wxPyEndAllowThreads(__tstate
);
25467 if (PyErr_Occurred()) SWIG_fail
;
25469 resultobj
= SWIG_FromInt((int)result
);
25476 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25477 PyObject
*resultobj
;
25478 wxWindow
*arg1
= (wxWindow
*) 0 ;
25480 PyObject
* obj0
= 0 ;
25481 char *kwnames
[] = {
25482 (char *) "self", NULL
25485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
25486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25490 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
25492 wxPyEndAllowThreads(__tstate
);
25493 if (PyErr_Occurred()) SWIG_fail
;
25495 resultobj
= SWIG_FromInt((int)result
);
25502 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25503 PyObject
*resultobj
;
25504 wxWindow
*arg1
= (wxWindow
*) 0 ;
25505 wxString
*arg2
= 0 ;
25506 int *arg3
= (int *) 0 ;
25507 int *arg4
= (int *) 0 ;
25508 bool temp2
= False
;
25511 PyObject
* obj0
= 0 ;
25512 PyObject
* obj1
= 0 ;
25513 char *kwnames
[] = {
25514 (char *) "self",(char *) "string", NULL
25519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
25520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25523 arg2
= wxString_in_helper(obj1
);
25524 if (arg2
== NULL
) SWIG_fail
;
25528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25529 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
25531 wxPyEndAllowThreads(__tstate
);
25532 if (PyErr_Occurred()) SWIG_fail
;
25534 Py_INCREF(Py_None
); resultobj
= Py_None
;
25536 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25537 resultobj
= t_output_helper(resultobj
,o
);
25540 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
25541 resultobj
= t_output_helper(resultobj
,o
);
25557 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25558 PyObject
*resultobj
;
25559 wxWindow
*arg1
= (wxWindow
*) 0 ;
25560 wxString
*arg2
= 0 ;
25561 int *arg3
= (int *) 0 ;
25562 int *arg4
= (int *) 0 ;
25563 int *arg5
= (int *) 0 ;
25564 int *arg6
= (int *) 0 ;
25565 wxFont
*arg7
= (wxFont
*) NULL
;
25566 bool temp2
= False
;
25571 PyObject
* obj0
= 0 ;
25572 PyObject
* obj1
= 0 ;
25573 PyObject
* obj2
= 0 ;
25574 char *kwnames
[] = {
25575 (char *) "self",(char *) "string",(char *) "font", NULL
25582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25586 arg2
= wxString_in_helper(obj1
);
25587 if (arg2
== NULL
) SWIG_fail
;
25591 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
25592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25596 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
25598 wxPyEndAllowThreads(__tstate
);
25599 if (PyErr_Occurred()) SWIG_fail
;
25601 Py_INCREF(Py_None
); resultobj
= Py_None
;
25603 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25604 resultobj
= t_output_helper(resultobj
,o
);
25607 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
25608 resultobj
= t_output_helper(resultobj
,o
);
25611 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
25612 resultobj
= t_output_helper(resultobj
,o
);
25615 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
25616 resultobj
= t_output_helper(resultobj
,o
);
25632 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25633 PyObject
*resultobj
;
25634 wxWindow
*arg1
= (wxWindow
*) 0 ;
25635 int *arg2
= (int *) 0 ;
25636 int *arg3
= (int *) 0 ;
25639 PyObject
* obj0
= 0 ;
25640 PyObject
* obj1
= 0 ;
25641 PyObject
* obj2
= 0 ;
25642 char *kwnames
[] = {
25643 (char *) "self",(char *) "x",(char *) "y", NULL
25646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25650 temp2
= PyInt_AsLong(obj1
);
25651 if (PyErr_Occurred()) SWIG_fail
;
25655 temp3
= PyInt_AsLong(obj2
);
25656 if (PyErr_Occurred()) SWIG_fail
;
25660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25661 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
25663 wxPyEndAllowThreads(__tstate
);
25664 if (PyErr_Occurred()) SWIG_fail
;
25666 Py_INCREF(Py_None
); resultobj
= Py_None
;
25668 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
25669 resultobj
= t_output_helper(resultobj
,o
);
25672 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25673 resultobj
= t_output_helper(resultobj
,o
);
25681 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25682 PyObject
*resultobj
;
25683 wxWindow
*arg1
= (wxWindow
*) 0 ;
25684 int *arg2
= (int *) 0 ;
25685 int *arg3
= (int *) 0 ;
25688 PyObject
* obj0
= 0 ;
25689 PyObject
* obj1
= 0 ;
25690 PyObject
* obj2
= 0 ;
25691 char *kwnames
[] = {
25692 (char *) "self",(char *) "x",(char *) "y", NULL
25695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25699 temp2
= PyInt_AsLong(obj1
);
25700 if (PyErr_Occurred()) SWIG_fail
;
25704 temp3
= PyInt_AsLong(obj2
);
25705 if (PyErr_Occurred()) SWIG_fail
;
25709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25710 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
25712 wxPyEndAllowThreads(__tstate
);
25713 if (PyErr_Occurred()) SWIG_fail
;
25715 Py_INCREF(Py_None
); resultobj
= Py_None
;
25717 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
25718 resultobj
= t_output_helper(resultobj
,o
);
25721 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25722 resultobj
= t_output_helper(resultobj
,o
);
25730 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25731 PyObject
*resultobj
;
25732 wxWindow
*arg1
= (wxWindow
*) 0 ;
25733 wxPoint
*arg2
= 0 ;
25736 PyObject
* obj0
= 0 ;
25737 PyObject
* obj1
= 0 ;
25738 char *kwnames
[] = {
25739 (char *) "self",(char *) "pt", NULL
25742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
25743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25747 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25751 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
25753 wxPyEndAllowThreads(__tstate
);
25754 if (PyErr_Occurred()) SWIG_fail
;
25757 wxPoint
* resultptr
;
25758 resultptr
= new wxPoint((wxPoint
&) result
);
25759 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25767 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25768 PyObject
*resultobj
;
25769 wxWindow
*arg1
= (wxWindow
*) 0 ;
25770 wxPoint
*arg2
= 0 ;
25773 PyObject
* obj0
= 0 ;
25774 PyObject
* obj1
= 0 ;
25775 char *kwnames
[] = {
25776 (char *) "self",(char *) "pt", NULL
25779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
25780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25784 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25788 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
25790 wxPyEndAllowThreads(__tstate
);
25791 if (PyErr_Occurred()) SWIG_fail
;
25794 wxPoint
* resultptr
;
25795 resultptr
= new wxPoint((wxPoint
&) result
);
25796 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25804 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25805 PyObject
*resultobj
;
25806 wxWindow
*arg1
= (wxWindow
*) 0 ;
25810 PyObject
* obj0
= 0 ;
25811 PyObject
* obj1
= 0 ;
25812 PyObject
* obj2
= 0 ;
25813 char *kwnames
[] = {
25814 (char *) "self",(char *) "x",(char *) "y", NULL
25817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25820 arg2
= (int) SWIG_AsInt(obj1
);
25821 if (PyErr_Occurred()) SWIG_fail
;
25822 arg3
= (int) SWIG_AsInt(obj2
);
25823 if (PyErr_Occurred()) SWIG_fail
;
25825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25826 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
25828 wxPyEndAllowThreads(__tstate
);
25829 if (PyErr_Occurred()) SWIG_fail
;
25831 resultobj
= SWIG_FromInt((int)result
);
25838 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25839 PyObject
*resultobj
;
25840 wxWindow
*arg1
= (wxWindow
*) 0 ;
25841 wxPoint
*arg2
= 0 ;
25844 PyObject
* obj0
= 0 ;
25845 PyObject
* obj1
= 0 ;
25846 char *kwnames
[] = {
25847 (char *) "self",(char *) "pt", NULL
25850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
25851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25855 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25859 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
25861 wxPyEndAllowThreads(__tstate
);
25862 if (PyErr_Occurred()) SWIG_fail
;
25864 resultobj
= SWIG_FromInt((int)result
);
25871 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
25872 PyObject
*resultobj
;
25873 wxWindow
*arg1
= (wxWindow
*) 0 ;
25876 PyObject
* obj0
= 0 ;
25877 PyObject
* obj1
= 0 ;
25879 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
25880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25882 arg2
= (long) SWIG_AsLong(obj1
);
25883 if (PyErr_Occurred()) SWIG_fail
;
25885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25886 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
25888 wxPyEndAllowThreads(__tstate
);
25889 if (PyErr_Occurred()) SWIG_fail
;
25891 resultobj
= SWIG_FromInt((int)result
);
25898 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
25899 PyObject
*resultobj
;
25900 wxWindow
*arg1
= (wxWindow
*) 0 ;
25902 PyObject
* obj0
= 0 ;
25904 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
25905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25909 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
25911 wxPyEndAllowThreads(__tstate
);
25912 if (PyErr_Occurred()) SWIG_fail
;
25914 resultobj
= SWIG_FromInt((int)result
);
25921 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
25926 argc
= PyObject_Length(args
);
25927 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
25928 argv
[ii
] = PyTuple_GetItem(args
,ii
);
25934 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
25942 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
25949 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
25957 _v
= SWIG_CheckLong(argv
[1]);
25959 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
25964 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
25969 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25970 PyObject
*resultobj
;
25971 wxWindow
*arg1
= (wxWindow
*) 0 ;
25972 long arg2
= (long) wxUPDATE_UI_NONE
;
25973 PyObject
* obj0
= 0 ;
25974 PyObject
* obj1
= 0 ;
25975 char *kwnames
[] = {
25976 (char *) "self",(char *) "flags", NULL
25979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
25980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25983 arg2
= (long) SWIG_AsLong(obj1
);
25984 if (PyErr_Occurred()) SWIG_fail
;
25987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25988 (arg1
)->UpdateWindowUI(arg2
);
25990 wxPyEndAllowThreads(__tstate
);
25991 if (PyErr_Occurred()) SWIG_fail
;
25993 Py_INCREF(Py_None
); resultobj
= Py_None
;
26000 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26001 PyObject
*resultobj
;
26002 wxWindow
*arg1
= (wxWindow
*) 0 ;
26003 wxMenu
*arg2
= (wxMenu
*) 0 ;
26007 PyObject
* obj0
= 0 ;
26008 PyObject
* obj1
= 0 ;
26009 PyObject
* obj2
= 0 ;
26010 PyObject
* obj3
= 0 ;
26011 char *kwnames
[] = {
26012 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
26015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26018 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
26019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26020 arg3
= (int) SWIG_AsInt(obj2
);
26021 if (PyErr_Occurred()) SWIG_fail
;
26022 arg4
= (int) SWIG_AsInt(obj3
);
26023 if (PyErr_Occurred()) SWIG_fail
;
26025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26026 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
26028 wxPyEndAllowThreads(__tstate
);
26029 if (PyErr_Occurred()) SWIG_fail
;
26032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26040 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26041 PyObject
*resultobj
;
26042 wxWindow
*arg1
= (wxWindow
*) 0 ;
26043 wxMenu
*arg2
= (wxMenu
*) 0 ;
26044 wxPoint
*arg3
= 0 ;
26047 PyObject
* obj0
= 0 ;
26048 PyObject
* obj1
= 0 ;
26049 PyObject
* obj2
= 0 ;
26050 char *kwnames
[] = {
26051 (char *) "self",(char *) "menu",(char *) "pos", NULL
26054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26057 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
26058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26061 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26065 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
26067 wxPyEndAllowThreads(__tstate
);
26068 if (PyErr_Occurred()) SWIG_fail
;
26071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26079 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26080 PyObject
*resultobj
;
26081 wxWindow
*arg1
= (wxWindow
*) 0 ;
26083 PyObject
* obj0
= 0 ;
26084 char *kwnames
[] = {
26085 (char *) "self", NULL
26088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
26089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26093 result
= (long)wxWindow_GetHandle(arg1
);
26095 wxPyEndAllowThreads(__tstate
);
26096 if (PyErr_Occurred()) SWIG_fail
;
26098 resultobj
= SWIG_FromLong((long)result
);
26105 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26106 PyObject
*resultobj
;
26107 wxWindow
*arg1
= (wxWindow
*) 0 ;
26110 PyObject
* obj0
= 0 ;
26111 PyObject
* obj1
= 0 ;
26112 char *kwnames
[] = {
26113 (char *) "self",(char *) "orient", NULL
26116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
26117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26119 arg2
= (int) SWIG_AsInt(obj1
);
26120 if (PyErr_Occurred()) SWIG_fail
;
26122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26123 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
26125 wxPyEndAllowThreads(__tstate
);
26126 if (PyErr_Occurred()) SWIG_fail
;
26129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26137 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26138 PyObject
*resultobj
;
26139 wxWindow
*arg1
= (wxWindow
*) 0 ;
26144 bool arg6
= (bool) True
;
26145 PyObject
* obj0
= 0 ;
26146 PyObject
* obj1
= 0 ;
26147 PyObject
* obj2
= 0 ;
26148 PyObject
* obj3
= 0 ;
26149 PyObject
* obj4
= 0 ;
26150 PyObject
* obj5
= 0 ;
26151 char *kwnames
[] = {
26152 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
26155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26158 arg2
= (int) SWIG_AsInt(obj1
);
26159 if (PyErr_Occurred()) SWIG_fail
;
26160 arg3
= (int) SWIG_AsInt(obj2
);
26161 if (PyErr_Occurred()) SWIG_fail
;
26162 arg4
= (int) SWIG_AsInt(obj3
);
26163 if (PyErr_Occurred()) SWIG_fail
;
26164 arg5
= (int) SWIG_AsInt(obj4
);
26165 if (PyErr_Occurred()) SWIG_fail
;
26167 arg6
= (bool) SWIG_AsBool(obj5
);
26168 if (PyErr_Occurred()) SWIG_fail
;
26171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26172 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
26174 wxPyEndAllowThreads(__tstate
);
26175 if (PyErr_Occurred()) SWIG_fail
;
26177 Py_INCREF(Py_None
); resultobj
= Py_None
;
26184 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26185 PyObject
*resultobj
;
26186 wxWindow
*arg1
= (wxWindow
*) 0 ;
26189 bool arg4
= (bool) True
;
26190 PyObject
* obj0
= 0 ;
26191 PyObject
* obj1
= 0 ;
26192 PyObject
* obj2
= 0 ;
26193 PyObject
* obj3
= 0 ;
26194 char *kwnames
[] = {
26195 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
26198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26201 arg2
= (int) SWIG_AsInt(obj1
);
26202 if (PyErr_Occurred()) SWIG_fail
;
26203 arg3
= (int) SWIG_AsInt(obj2
);
26204 if (PyErr_Occurred()) SWIG_fail
;
26206 arg4
= (bool) SWIG_AsBool(obj3
);
26207 if (PyErr_Occurred()) SWIG_fail
;
26210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26211 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
26213 wxPyEndAllowThreads(__tstate
);
26214 if (PyErr_Occurred()) SWIG_fail
;
26216 Py_INCREF(Py_None
); resultobj
= Py_None
;
26223 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26224 PyObject
*resultobj
;
26225 wxWindow
*arg1
= (wxWindow
*) 0 ;
26228 PyObject
* obj0
= 0 ;
26229 PyObject
* obj1
= 0 ;
26230 char *kwnames
[] = {
26231 (char *) "self",(char *) "orientation", NULL
26234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
26235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26237 arg2
= (int) SWIG_AsInt(obj1
);
26238 if (PyErr_Occurred()) SWIG_fail
;
26240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26241 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
26243 wxPyEndAllowThreads(__tstate
);
26244 if (PyErr_Occurred()) SWIG_fail
;
26246 resultobj
= SWIG_FromInt((int)result
);
26253 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26254 PyObject
*resultobj
;
26255 wxWindow
*arg1
= (wxWindow
*) 0 ;
26258 PyObject
* obj0
= 0 ;
26259 PyObject
* obj1
= 0 ;
26260 char *kwnames
[] = {
26261 (char *) "self",(char *) "orientation", NULL
26264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
26265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26267 arg2
= (int) SWIG_AsInt(obj1
);
26268 if (PyErr_Occurred()) SWIG_fail
;
26270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26271 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
26273 wxPyEndAllowThreads(__tstate
);
26274 if (PyErr_Occurred()) SWIG_fail
;
26276 resultobj
= SWIG_FromInt((int)result
);
26283 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26284 PyObject
*resultobj
;
26285 wxWindow
*arg1
= (wxWindow
*) 0 ;
26288 PyObject
* obj0
= 0 ;
26289 PyObject
* obj1
= 0 ;
26290 char *kwnames
[] = {
26291 (char *) "self",(char *) "orientation", NULL
26294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
26295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26297 arg2
= (int) SWIG_AsInt(obj1
);
26298 if (PyErr_Occurred()) SWIG_fail
;
26300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26301 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
26303 wxPyEndAllowThreads(__tstate
);
26304 if (PyErr_Occurred()) SWIG_fail
;
26306 resultobj
= SWIG_FromInt((int)result
);
26313 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26314 PyObject
*resultobj
;
26315 wxWindow
*arg1
= (wxWindow
*) 0 ;
26318 wxRect
*arg4
= (wxRect
*) NULL
;
26319 PyObject
* obj0
= 0 ;
26320 PyObject
* obj1
= 0 ;
26321 PyObject
* obj2
= 0 ;
26322 PyObject
* obj3
= 0 ;
26323 char *kwnames
[] = {
26324 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
26327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26330 arg2
= (int) SWIG_AsInt(obj1
);
26331 if (PyErr_Occurred()) SWIG_fail
;
26332 arg3
= (int) SWIG_AsInt(obj2
);
26333 if (PyErr_Occurred()) SWIG_fail
;
26335 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
26336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26340 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
26342 wxPyEndAllowThreads(__tstate
);
26343 if (PyErr_Occurred()) SWIG_fail
;
26345 Py_INCREF(Py_None
); resultobj
= Py_None
;
26352 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26353 PyObject
*resultobj
;
26354 wxWindow
*arg1
= (wxWindow
*) 0 ;
26357 PyObject
* obj0
= 0 ;
26358 PyObject
* obj1
= 0 ;
26359 char *kwnames
[] = {
26360 (char *) "self",(char *) "lines", NULL
26363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
26364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26366 arg2
= (int) SWIG_AsInt(obj1
);
26367 if (PyErr_Occurred()) SWIG_fail
;
26369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26370 result
= (bool)(arg1
)->ScrollLines(arg2
);
26372 wxPyEndAllowThreads(__tstate
);
26373 if (PyErr_Occurred()) SWIG_fail
;
26376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26384 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, 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 *) "pages", NULL
26395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",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
)->ScrollPages(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_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26417 PyObject
*resultobj
;
26418 wxWindow
*arg1
= (wxWindow
*) 0 ;
26420 PyObject
* obj0
= 0 ;
26421 char *kwnames
[] = {
26422 (char *) "self", NULL
26425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
26426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26430 result
= (bool)(arg1
)->LineUp();
26432 wxPyEndAllowThreads(__tstate
);
26433 if (PyErr_Occurred()) SWIG_fail
;
26436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26444 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26445 PyObject
*resultobj
;
26446 wxWindow
*arg1
= (wxWindow
*) 0 ;
26448 PyObject
* obj0
= 0 ;
26449 char *kwnames
[] = {
26450 (char *) "self", NULL
26453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
26454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26458 result
= (bool)(arg1
)->LineDown();
26460 wxPyEndAllowThreads(__tstate
);
26461 if (PyErr_Occurred()) SWIG_fail
;
26464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26472 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26473 PyObject
*resultobj
;
26474 wxWindow
*arg1
= (wxWindow
*) 0 ;
26476 PyObject
* obj0
= 0 ;
26477 char *kwnames
[] = {
26478 (char *) "self", NULL
26481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
26482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26486 result
= (bool)(arg1
)->PageUp();
26488 wxPyEndAllowThreads(__tstate
);
26489 if (PyErr_Occurred()) SWIG_fail
;
26492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26500 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26501 PyObject
*resultobj
;
26502 wxWindow
*arg1
= (wxWindow
*) 0 ;
26504 PyObject
* obj0
= 0 ;
26505 char *kwnames
[] = {
26506 (char *) "self", NULL
26509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
26510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26514 result
= (bool)(arg1
)->PageDown();
26516 wxPyEndAllowThreads(__tstate
);
26517 if (PyErr_Occurred()) SWIG_fail
;
26520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26528 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26529 PyObject
*resultobj
;
26530 wxWindow
*arg1
= (wxWindow
*) 0 ;
26531 wxString
*arg2
= 0 ;
26532 bool temp2
= False
;
26533 PyObject
* obj0
= 0 ;
26534 PyObject
* obj1
= 0 ;
26535 char *kwnames
[] = {
26536 (char *) "self",(char *) "text", NULL
26539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
26540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26543 arg2
= wxString_in_helper(obj1
);
26544 if (arg2
== NULL
) SWIG_fail
;
26548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26549 (arg1
)->SetHelpText((wxString
const &)*arg2
);
26551 wxPyEndAllowThreads(__tstate
);
26552 if (PyErr_Occurred()) SWIG_fail
;
26554 Py_INCREF(Py_None
); resultobj
= Py_None
;
26569 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26570 PyObject
*resultobj
;
26571 wxWindow
*arg1
= (wxWindow
*) 0 ;
26572 wxString
*arg2
= 0 ;
26573 bool temp2
= False
;
26574 PyObject
* obj0
= 0 ;
26575 PyObject
* obj1
= 0 ;
26576 char *kwnames
[] = {
26577 (char *) "self",(char *) "text", NULL
26580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
26581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26584 arg2
= wxString_in_helper(obj1
);
26585 if (arg2
== NULL
) SWIG_fail
;
26589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26590 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
26592 wxPyEndAllowThreads(__tstate
);
26593 if (PyErr_Occurred()) SWIG_fail
;
26595 Py_INCREF(Py_None
); resultobj
= Py_None
;
26610 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26611 PyObject
*resultobj
;
26612 wxWindow
*arg1
= (wxWindow
*) 0 ;
26614 PyObject
* obj0
= 0 ;
26615 char *kwnames
[] = {
26616 (char *) "self", NULL
26619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
26620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26624 result
= ((wxWindow
const *)arg1
)->GetHelpText();
26626 wxPyEndAllowThreads(__tstate
);
26627 if (PyErr_Occurred()) SWIG_fail
;
26631 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26633 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26642 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26643 PyObject
*resultobj
;
26644 wxWindow
*arg1
= (wxWindow
*) 0 ;
26645 wxString
*arg2
= 0 ;
26646 bool temp2
= False
;
26647 PyObject
* obj0
= 0 ;
26648 PyObject
* obj1
= 0 ;
26649 char *kwnames
[] = {
26650 (char *) "self",(char *) "tip", NULL
26653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
26654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26657 arg2
= wxString_in_helper(obj1
);
26658 if (arg2
== NULL
) SWIG_fail
;
26662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26663 (arg1
)->SetToolTip((wxString
const &)*arg2
);
26665 wxPyEndAllowThreads(__tstate
);
26666 if (PyErr_Occurred()) SWIG_fail
;
26668 Py_INCREF(Py_None
); resultobj
= Py_None
;
26683 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26684 PyObject
*resultobj
;
26685 wxWindow
*arg1
= (wxWindow
*) 0 ;
26686 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
26687 PyObject
* obj0
= 0 ;
26688 PyObject
* obj1
= 0 ;
26689 char *kwnames
[] = {
26690 (char *) "self",(char *) "tip", NULL
26693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
26694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26696 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
26697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26700 (arg1
)->SetToolTip(arg2
);
26702 wxPyEndAllowThreads(__tstate
);
26703 if (PyErr_Occurred()) SWIG_fail
;
26705 Py_INCREF(Py_None
); resultobj
= Py_None
;
26712 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26713 PyObject
*resultobj
;
26714 wxWindow
*arg1
= (wxWindow
*) 0 ;
26716 PyObject
* obj0
= 0 ;
26717 char *kwnames
[] = {
26718 (char *) "self", NULL
26721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
26722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26726 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
26728 wxPyEndAllowThreads(__tstate
);
26729 if (PyErr_Occurred()) SWIG_fail
;
26732 resultobj
= wxPyMake_wxObject(result
);
26740 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26741 PyObject
*resultobj
;
26742 wxWindow
*arg1
= (wxWindow
*) 0 ;
26743 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
26744 PyObject
* obj0
= 0 ;
26745 PyObject
* obj1
= 0 ;
26746 char *kwnames
[] = {
26747 (char *) "self",(char *) "dropTarget", NULL
26750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
26751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26753 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
26754 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26757 (arg1
)->SetDropTarget(arg2
);
26759 wxPyEndAllowThreads(__tstate
);
26760 if (PyErr_Occurred()) SWIG_fail
;
26762 Py_INCREF(Py_None
); resultobj
= Py_None
;
26769 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26770 PyObject
*resultobj
;
26771 wxWindow
*arg1
= (wxWindow
*) 0 ;
26772 wxPyDropTarget
*result
;
26773 PyObject
* obj0
= 0 ;
26774 char *kwnames
[] = {
26775 (char *) "self", NULL
26778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
26779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26783 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
26785 wxPyEndAllowThreads(__tstate
);
26786 if (PyErr_Occurred()) SWIG_fail
;
26788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
26795 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26796 PyObject
*resultobj
;
26797 wxWindow
*arg1
= (wxWindow
*) 0 ;
26798 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
26799 PyObject
* obj0
= 0 ;
26800 PyObject
* obj1
= 0 ;
26801 char *kwnames
[] = {
26802 (char *) "self",(char *) "constraints", NULL
26805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
26806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26808 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
26809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26812 (arg1
)->SetConstraints(arg2
);
26814 wxPyEndAllowThreads(__tstate
);
26815 if (PyErr_Occurred()) SWIG_fail
;
26817 Py_INCREF(Py_None
); resultobj
= Py_None
;
26824 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26825 PyObject
*resultobj
;
26826 wxWindow
*arg1
= (wxWindow
*) 0 ;
26827 wxLayoutConstraints
*result
;
26828 PyObject
* obj0
= 0 ;
26829 char *kwnames
[] = {
26830 (char *) "self", NULL
26833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
26834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26838 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
26840 wxPyEndAllowThreads(__tstate
);
26841 if (PyErr_Occurred()) SWIG_fail
;
26843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
26850 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26851 PyObject
*resultobj
;
26852 wxWindow
*arg1
= (wxWindow
*) 0 ;
26854 PyObject
* obj0
= 0 ;
26855 PyObject
* obj1
= 0 ;
26856 char *kwnames
[] = {
26857 (char *) "self",(char *) "autoLayout", NULL
26860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
26861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26863 arg2
= (bool) SWIG_AsBool(obj1
);
26864 if (PyErr_Occurred()) SWIG_fail
;
26866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26867 (arg1
)->SetAutoLayout(arg2
);
26869 wxPyEndAllowThreads(__tstate
);
26870 if (PyErr_Occurred()) SWIG_fail
;
26872 Py_INCREF(Py_None
); resultobj
= Py_None
;
26879 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26880 PyObject
*resultobj
;
26881 wxWindow
*arg1
= (wxWindow
*) 0 ;
26883 PyObject
* obj0
= 0 ;
26884 char *kwnames
[] = {
26885 (char *) "self", NULL
26888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
26889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26893 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
26895 wxPyEndAllowThreads(__tstate
);
26896 if (PyErr_Occurred()) SWIG_fail
;
26899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26907 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26908 PyObject
*resultobj
;
26909 wxWindow
*arg1
= (wxWindow
*) 0 ;
26911 PyObject
* obj0
= 0 ;
26912 char *kwnames
[] = {
26913 (char *) "self", NULL
26916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
26917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26921 result
= (bool)(arg1
)->Layout();
26923 wxPyEndAllowThreads(__tstate
);
26924 if (PyErr_Occurred()) SWIG_fail
;
26927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26935 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26936 PyObject
*resultobj
;
26937 wxWindow
*arg1
= (wxWindow
*) 0 ;
26938 wxSizer
*arg2
= (wxSizer
*) 0 ;
26939 bool arg3
= (bool) True
;
26940 PyObject
* obj0
= 0 ;
26941 PyObject
* obj1
= 0 ;
26942 PyObject
* obj2
= 0 ;
26943 char *kwnames
[] = {
26944 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
26947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26950 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
26951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26953 arg3
= (bool) SWIG_AsBool(obj2
);
26954 if (PyErr_Occurred()) SWIG_fail
;
26957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26958 (arg1
)->SetSizer(arg2
,arg3
);
26960 wxPyEndAllowThreads(__tstate
);
26961 if (PyErr_Occurred()) SWIG_fail
;
26963 Py_INCREF(Py_None
); resultobj
= Py_None
;
26970 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26971 PyObject
*resultobj
;
26972 wxWindow
*arg1
= (wxWindow
*) 0 ;
26973 wxSizer
*arg2
= (wxSizer
*) 0 ;
26974 bool arg3
= (bool) True
;
26975 PyObject
* obj0
= 0 ;
26976 PyObject
* obj1
= 0 ;
26977 PyObject
* obj2
= 0 ;
26978 char *kwnames
[] = {
26979 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
26982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26985 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
26986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26988 arg3
= (bool) SWIG_AsBool(obj2
);
26989 if (PyErr_Occurred()) SWIG_fail
;
26992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26993 (arg1
)->SetSizerAndFit(arg2
,arg3
);
26995 wxPyEndAllowThreads(__tstate
);
26996 if (PyErr_Occurred()) SWIG_fail
;
26998 Py_INCREF(Py_None
); resultobj
= Py_None
;
27005 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27006 PyObject
*resultobj
;
27007 wxWindow
*arg1
= (wxWindow
*) 0 ;
27009 PyObject
* obj0
= 0 ;
27010 char *kwnames
[] = {
27011 (char *) "self", NULL
27014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
27015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27019 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
27021 wxPyEndAllowThreads(__tstate
);
27022 if (PyErr_Occurred()) SWIG_fail
;
27025 resultobj
= wxPyMake_wxSizer(result
);
27033 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27034 PyObject
*resultobj
;
27035 wxWindow
*arg1
= (wxWindow
*) 0 ;
27036 wxSizer
*arg2
= (wxSizer
*) 0 ;
27037 PyObject
* obj0
= 0 ;
27038 PyObject
* obj1
= 0 ;
27039 char *kwnames
[] = {
27040 (char *) "self",(char *) "sizer", NULL
27043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27050 (arg1
)->SetContainingSizer(arg2
);
27052 wxPyEndAllowThreads(__tstate
);
27053 if (PyErr_Occurred()) SWIG_fail
;
27055 Py_INCREF(Py_None
); resultobj
= Py_None
;
27062 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27063 PyObject
*resultobj
;
27064 wxWindow
*arg1
= (wxWindow
*) 0 ;
27066 PyObject
* obj0
= 0 ;
27067 char *kwnames
[] = {
27068 (char *) "self", NULL
27071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
27072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27076 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
27078 wxPyEndAllowThreads(__tstate
);
27079 if (PyErr_Occurred()) SWIG_fail
;
27082 resultobj
= wxPyMake_wxSizer(result
);
27090 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
27092 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27093 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
27095 return Py_BuildValue((char *)"");
27097 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27098 PyObject
*resultobj
;
27100 wxWindow
*arg2
= (wxWindow
*) NULL
;
27102 PyObject
* obj0
= 0 ;
27103 PyObject
* obj1
= 0 ;
27104 char *kwnames
[] = {
27105 (char *) "id",(char *) "parent", NULL
27108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
27109 arg1
= (long) SWIG_AsLong(obj0
);
27110 if (PyErr_Occurred()) SWIG_fail
;
27112 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27117 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
27119 wxPyEndAllowThreads(__tstate
);
27120 if (PyErr_Occurred()) SWIG_fail
;
27123 resultobj
= wxPyMake_wxObject(result
);
27131 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27132 PyObject
*resultobj
;
27133 wxString
*arg1
= 0 ;
27134 wxWindow
*arg2
= (wxWindow
*) NULL
;
27136 bool temp1
= False
;
27137 PyObject
* obj0
= 0 ;
27138 PyObject
* obj1
= 0 ;
27139 char *kwnames
[] = {
27140 (char *) "name",(char *) "parent", NULL
27143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
27145 arg1
= wxString_in_helper(obj0
);
27146 if (arg1
== NULL
) SWIG_fail
;
27150 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27155 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
27157 wxPyEndAllowThreads(__tstate
);
27158 if (PyErr_Occurred()) SWIG_fail
;
27161 resultobj
= wxPyMake_wxObject(result
);
27177 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27178 PyObject
*resultobj
;
27179 wxString
*arg1
= 0 ;
27180 wxWindow
*arg2
= (wxWindow
*) NULL
;
27182 bool temp1
= False
;
27183 PyObject
* obj0
= 0 ;
27184 PyObject
* obj1
= 0 ;
27185 char *kwnames
[] = {
27186 (char *) "label",(char *) "parent", NULL
27189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27191 arg1
= wxString_in_helper(obj0
);
27192 if (arg1
== NULL
) SWIG_fail
;
27196 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27201 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
27203 wxPyEndAllowThreads(__tstate
);
27204 if (PyErr_Occurred()) SWIG_fail
;
27207 resultobj
= wxPyMake_wxObject(result
);
27223 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27224 PyObject
*resultobj
;
27225 wxWindow
*arg1
= (wxWindow
*) 0 ;
27226 unsigned long arg2
;
27228 PyObject
* obj0
= 0 ;
27229 PyObject
* obj1
= 0 ;
27230 char *kwnames
[] = {
27231 (char *) "parent",(char *) "_hWnd", NULL
27234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
27235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27237 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
27238 if (PyErr_Occurred()) SWIG_fail
;
27240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27241 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
27243 wxPyEndAllowThreads(__tstate
);
27244 if (PyErr_Occurred()) SWIG_fail
;
27247 resultobj
= wxPyMake_wxObject(result
);
27255 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27256 PyObject
*resultobj
;
27257 wxValidator
*result
;
27258 char *kwnames
[] = {
27262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
27264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27265 result
= (wxValidator
*)new wxValidator();
27267 wxPyEndAllowThreads(__tstate
);
27268 if (PyErr_Occurred()) SWIG_fail
;
27271 resultobj
= wxPyMake_wxObject(result
);
27279 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27280 PyObject
*resultobj
;
27281 wxValidator
*arg1
= (wxValidator
*) 0 ;
27282 wxValidator
*result
;
27283 PyObject
* obj0
= 0 ;
27284 char *kwnames
[] = {
27285 (char *) "self", NULL
27288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
27289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
27290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27293 result
= (wxValidator
*)(arg1
)->Clone();
27295 wxPyEndAllowThreads(__tstate
);
27296 if (PyErr_Occurred()) SWIG_fail
;
27299 resultobj
= wxPyMake_wxObject(result
);
27307 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27308 PyObject
*resultobj
;
27309 wxValidator
*arg1
= (wxValidator
*) 0 ;
27310 wxWindow
*arg2
= (wxWindow
*) 0 ;
27312 PyObject
* obj0
= 0 ;
27313 PyObject
* obj1
= 0 ;
27314 char *kwnames
[] = {
27315 (char *) "self",(char *) "parent", NULL
27318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
27319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
27320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27321 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27325 result
= (bool)(arg1
)->Validate(arg2
);
27327 wxPyEndAllowThreads(__tstate
);
27328 if (PyErr_Occurred()) SWIG_fail
;
27331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27339 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27340 PyObject
*resultobj
;
27341 wxValidator
*arg1
= (wxValidator
*) 0 ;
27343 PyObject
* obj0
= 0 ;
27344 char *kwnames
[] = {
27345 (char *) "self", NULL
27348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
27349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
27350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27353 result
= (bool)(arg1
)->TransferToWindow();
27355 wxPyEndAllowThreads(__tstate
);
27356 if (PyErr_Occurred()) SWIG_fail
;
27359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27367 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27368 PyObject
*resultobj
;
27369 wxValidator
*arg1
= (wxValidator
*) 0 ;
27371 PyObject
* obj0
= 0 ;
27372 char *kwnames
[] = {
27373 (char *) "self", NULL
27376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
27377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
27378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27381 result
= (bool)(arg1
)->TransferFromWindow();
27383 wxPyEndAllowThreads(__tstate
);
27384 if (PyErr_Occurred()) SWIG_fail
;
27387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27395 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27396 PyObject
*resultobj
;
27397 wxValidator
*arg1
= (wxValidator
*) 0 ;
27399 PyObject
* obj0
= 0 ;
27400 char *kwnames
[] = {
27401 (char *) "self", NULL
27404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
27405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
27406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27409 result
= (wxWindow
*)(arg1
)->GetWindow();
27411 wxPyEndAllowThreads(__tstate
);
27412 if (PyErr_Occurred()) SWIG_fail
;
27415 resultobj
= wxPyMake_wxObject(result
);
27423 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27424 PyObject
*resultobj
;
27425 wxValidator
*arg1
= (wxValidator
*) 0 ;
27426 wxWindow
*arg2
= (wxWindow
*) 0 ;
27427 PyObject
* obj0
= 0 ;
27428 PyObject
* obj1
= 0 ;
27429 char *kwnames
[] = {
27430 (char *) "self",(char *) "window", NULL
27433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
27434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
27435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27436 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27440 (arg1
)->SetWindow(arg2
);
27442 wxPyEndAllowThreads(__tstate
);
27443 if (PyErr_Occurred()) SWIG_fail
;
27445 Py_INCREF(Py_None
); resultobj
= Py_None
;
27452 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27453 PyObject
*resultobj
;
27455 char *kwnames
[] = {
27459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
27461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27462 result
= (bool)wxValidator::IsSilent();
27464 wxPyEndAllowThreads(__tstate
);
27465 if (PyErr_Occurred()) SWIG_fail
;
27468 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27476 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27477 PyObject
*resultobj
;
27478 int arg1
= (int) True
;
27479 PyObject
* obj0
= 0 ;
27480 char *kwnames
[] = {
27481 (char *) "doIt", NULL
27484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
27486 arg1
= (int) SWIG_AsInt(obj0
);
27487 if (PyErr_Occurred()) SWIG_fail
;
27490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27491 wxValidator::SetBellOnError(arg1
);
27493 wxPyEndAllowThreads(__tstate
);
27494 if (PyErr_Occurred()) SWIG_fail
;
27496 Py_INCREF(Py_None
); resultobj
= Py_None
;
27503 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
27505 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27506 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
27508 return Py_BuildValue((char *)"");
27510 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27511 PyObject
*resultobj
;
27512 wxPyValidator
*result
;
27513 char *kwnames
[] = {
27517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
27519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27520 result
= (wxPyValidator
*)new wxPyValidator();
27522 wxPyEndAllowThreads(__tstate
);
27523 if (PyErr_Occurred()) SWIG_fail
;
27525 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
27532 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27533 PyObject
*resultobj
;
27534 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
27535 PyObject
*arg2
= (PyObject
*) 0 ;
27536 PyObject
*arg3
= (PyObject
*) 0 ;
27537 int arg4
= (int) True
;
27538 PyObject
* obj0
= 0 ;
27539 PyObject
* obj1
= 0 ;
27540 PyObject
* obj2
= 0 ;
27541 PyObject
* obj3
= 0 ;
27542 char *kwnames
[] = {
27543 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
27546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
27548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27552 arg4
= (int) SWIG_AsInt(obj3
);
27553 if (PyErr_Occurred()) SWIG_fail
;
27556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27557 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
27559 wxPyEndAllowThreads(__tstate
);
27560 if (PyErr_Occurred()) SWIG_fail
;
27562 Py_INCREF(Py_None
); resultobj
= Py_None
;
27569 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
27571 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27572 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
27574 return Py_BuildValue((char *)"");
27576 static int _wrap_DefaultValidator_set(PyObject
*) {
27577 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
27582 static PyObject
*_wrap_DefaultValidator_get() {
27585 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
27590 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27591 PyObject
*resultobj
;
27592 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27593 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27594 long arg2
= (long) 0 ;
27596 bool temp1
= False
;
27597 PyObject
* obj0
= 0 ;
27598 PyObject
* obj1
= 0 ;
27599 char *kwnames
[] = {
27600 (char *) "title",(char *) "style", NULL
27603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
27606 arg1
= wxString_in_helper(obj0
);
27607 if (arg1
== NULL
) SWIG_fail
;
27612 arg2
= (long) SWIG_AsLong(obj1
);
27613 if (PyErr_Occurred()) SWIG_fail
;
27616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27617 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
27619 wxPyEndAllowThreads(__tstate
);
27620 if (PyErr_Occurred()) SWIG_fail
;
27623 resultobj
= wxPyMake_wxObject(result
);
27639 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27640 PyObject
*resultobj
;
27641 wxMenu
*arg1
= (wxMenu
*) 0 ;
27643 wxString
*arg3
= 0 ;
27644 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27645 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27646 int arg5
= (int) wxITEM_NORMAL
;
27647 wxMenuItem
*result
;
27648 bool temp3
= False
;
27649 bool temp4
= False
;
27650 PyObject
* obj0
= 0 ;
27651 PyObject
* obj1
= 0 ;
27652 PyObject
* obj2
= 0 ;
27653 PyObject
* obj3
= 0 ;
27654 PyObject
* obj4
= 0 ;
27655 char *kwnames
[] = {
27656 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
27659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27662 arg2
= (int) SWIG_AsInt(obj1
);
27663 if (PyErr_Occurred()) SWIG_fail
;
27665 arg3
= wxString_in_helper(obj2
);
27666 if (arg3
== NULL
) SWIG_fail
;
27671 arg4
= wxString_in_helper(obj3
);
27672 if (arg4
== NULL
) SWIG_fail
;
27677 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
27678 if (PyErr_Occurred()) SWIG_fail
;
27681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27682 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
27684 wxPyEndAllowThreads(__tstate
);
27685 if (PyErr_Occurred()) SWIG_fail
;
27688 resultobj
= wxPyMake_wxObject(result
);
27712 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27713 PyObject
*resultobj
;
27714 wxMenu
*arg1
= (wxMenu
*) 0 ;
27715 wxMenuItem
*result
;
27716 PyObject
* obj0
= 0 ;
27717 char *kwnames
[] = {
27718 (char *) "self", NULL
27721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
27722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27726 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
27728 wxPyEndAllowThreads(__tstate
);
27729 if (PyErr_Occurred()) SWIG_fail
;
27732 resultobj
= wxPyMake_wxObject(result
);
27740 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27741 PyObject
*resultobj
;
27742 wxMenu
*arg1
= (wxMenu
*) 0 ;
27744 wxString
*arg3
= 0 ;
27745 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27746 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27747 wxMenuItem
*result
;
27748 bool temp3
= False
;
27749 bool temp4
= False
;
27750 PyObject
* obj0
= 0 ;
27751 PyObject
* obj1
= 0 ;
27752 PyObject
* obj2
= 0 ;
27753 PyObject
* obj3
= 0 ;
27754 char *kwnames
[] = {
27755 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
27758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27761 arg2
= (int) SWIG_AsInt(obj1
);
27762 if (PyErr_Occurred()) SWIG_fail
;
27764 arg3
= wxString_in_helper(obj2
);
27765 if (arg3
== NULL
) SWIG_fail
;
27770 arg4
= wxString_in_helper(obj3
);
27771 if (arg4
== NULL
) SWIG_fail
;
27776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27777 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
27779 wxPyEndAllowThreads(__tstate
);
27780 if (PyErr_Occurred()) SWIG_fail
;
27783 resultobj
= wxPyMake_wxObject(result
);
27807 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27808 PyObject
*resultobj
;
27809 wxMenu
*arg1
= (wxMenu
*) 0 ;
27811 wxString
*arg3
= 0 ;
27812 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27813 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27814 wxMenuItem
*result
;
27815 bool temp3
= False
;
27816 bool temp4
= False
;
27817 PyObject
* obj0
= 0 ;
27818 PyObject
* obj1
= 0 ;
27819 PyObject
* obj2
= 0 ;
27820 PyObject
* obj3
= 0 ;
27821 char *kwnames
[] = {
27822 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
27825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27828 arg2
= (int) SWIG_AsInt(obj1
);
27829 if (PyErr_Occurred()) SWIG_fail
;
27831 arg3
= wxString_in_helper(obj2
);
27832 if (arg3
== NULL
) SWIG_fail
;
27837 arg4
= wxString_in_helper(obj3
);
27838 if (arg4
== NULL
) SWIG_fail
;
27843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27844 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
27846 wxPyEndAllowThreads(__tstate
);
27847 if (PyErr_Occurred()) SWIG_fail
;
27850 resultobj
= wxPyMake_wxObject(result
);
27874 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27875 PyObject
*resultobj
;
27876 wxMenu
*arg1
= (wxMenu
*) 0 ;
27878 wxString
*arg3
= 0 ;
27879 wxMenu
*arg4
= (wxMenu
*) 0 ;
27880 wxString
const &arg5_defvalue
= wxPyEmptyString
;
27881 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
27882 wxMenuItem
*result
;
27883 bool temp3
= False
;
27884 bool temp5
= False
;
27885 PyObject
* obj0
= 0 ;
27886 PyObject
* obj1
= 0 ;
27887 PyObject
* obj2
= 0 ;
27888 PyObject
* obj3
= 0 ;
27889 PyObject
* obj4
= 0 ;
27890 char *kwnames
[] = {
27891 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
27894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27897 arg2
= (int) SWIG_AsInt(obj1
);
27898 if (PyErr_Occurred()) SWIG_fail
;
27900 arg3
= wxString_in_helper(obj2
);
27901 if (arg3
== NULL
) SWIG_fail
;
27904 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
27905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27908 arg5
= wxString_in_helper(obj4
);
27909 if (arg5
== NULL
) SWIG_fail
;
27914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27915 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
27917 wxPyEndAllowThreads(__tstate
);
27918 if (PyErr_Occurred()) SWIG_fail
;
27921 resultobj
= wxPyMake_wxObject(result
);
27945 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27946 PyObject
*resultobj
;
27947 wxMenu
*arg1
= (wxMenu
*) 0 ;
27948 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
27949 wxMenuItem
*result
;
27950 PyObject
* obj0
= 0 ;
27951 PyObject
* obj1
= 0 ;
27952 char *kwnames
[] = {
27953 (char *) "self",(char *) "item", NULL
27956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27959 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
27960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27963 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
27965 wxPyEndAllowThreads(__tstate
);
27966 if (PyErr_Occurred()) SWIG_fail
;
27969 resultobj
= wxPyMake_wxObject(result
);
27977 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27978 PyObject
*resultobj
;
27979 wxMenu
*arg1
= (wxMenu
*) 0 ;
27980 PyObject
* obj0
= 0 ;
27981 char *kwnames
[] = {
27982 (char *) "self", NULL
27985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
27986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27992 wxPyEndAllowThreads(__tstate
);
27993 if (PyErr_Occurred()) SWIG_fail
;
27995 Py_INCREF(Py_None
); resultobj
= Py_None
;
28002 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28003 PyObject
*resultobj
;
28004 wxMenu
*arg1
= (wxMenu
*) 0 ;
28006 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
28007 wxMenuItem
*result
;
28008 PyObject
* obj0
= 0 ;
28009 PyObject
* obj1
= 0 ;
28010 PyObject
* obj2
= 0 ;
28011 char *kwnames
[] = {
28012 (char *) "self",(char *) "pos",(char *) "item", NULL
28015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28018 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28019 if (PyErr_Occurred()) SWIG_fail
;
28020 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
28021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28024 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
28026 wxPyEndAllowThreads(__tstate
);
28027 if (PyErr_Occurred()) SWIG_fail
;
28030 resultobj
= wxPyMake_wxObject(result
);
28038 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28039 PyObject
*resultobj
;
28040 wxMenu
*arg1
= (wxMenu
*) 0 ;
28043 wxString
*arg4
= 0 ;
28044 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28045 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28046 int arg6
= (int) wxITEM_NORMAL
;
28047 wxMenuItem
*result
;
28048 bool temp4
= False
;
28049 bool temp5
= False
;
28050 PyObject
* obj0
= 0 ;
28051 PyObject
* obj1
= 0 ;
28052 PyObject
* obj2
= 0 ;
28053 PyObject
* obj3
= 0 ;
28054 PyObject
* obj4
= 0 ;
28055 PyObject
* obj5
= 0 ;
28056 char *kwnames
[] = {
28057 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28063 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28064 if (PyErr_Occurred()) SWIG_fail
;
28065 arg3
= (int) SWIG_AsInt(obj2
);
28066 if (PyErr_Occurred()) SWIG_fail
;
28068 arg4
= wxString_in_helper(obj3
);
28069 if (arg4
== NULL
) SWIG_fail
;
28074 arg5
= wxString_in_helper(obj4
);
28075 if (arg5
== NULL
) SWIG_fail
;
28080 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
28081 if (PyErr_Occurred()) SWIG_fail
;
28084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28085 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
28087 wxPyEndAllowThreads(__tstate
);
28088 if (PyErr_Occurred()) SWIG_fail
;
28091 resultobj
= wxPyMake_wxObject(result
);
28115 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28116 PyObject
*resultobj
;
28117 wxMenu
*arg1
= (wxMenu
*) 0 ;
28119 wxMenuItem
*result
;
28120 PyObject
* obj0
= 0 ;
28121 PyObject
* obj1
= 0 ;
28122 char *kwnames
[] = {
28123 (char *) "self",(char *) "pos", NULL
28126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
28127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28129 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28130 if (PyErr_Occurred()) SWIG_fail
;
28132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28133 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
28135 wxPyEndAllowThreads(__tstate
);
28136 if (PyErr_Occurred()) SWIG_fail
;
28139 resultobj
= wxPyMake_wxObject(result
);
28147 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28148 PyObject
*resultobj
;
28149 wxMenu
*arg1
= (wxMenu
*) 0 ;
28152 wxString
*arg4
= 0 ;
28153 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28154 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28155 wxMenuItem
*result
;
28156 bool temp4
= False
;
28157 bool temp5
= False
;
28158 PyObject
* obj0
= 0 ;
28159 PyObject
* obj1
= 0 ;
28160 PyObject
* obj2
= 0 ;
28161 PyObject
* obj3
= 0 ;
28162 PyObject
* obj4
= 0 ;
28163 char *kwnames
[] = {
28164 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
28167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28170 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28171 if (PyErr_Occurred()) SWIG_fail
;
28172 arg3
= (int) SWIG_AsInt(obj2
);
28173 if (PyErr_Occurred()) SWIG_fail
;
28175 arg4
= wxString_in_helper(obj3
);
28176 if (arg4
== NULL
) SWIG_fail
;
28181 arg5
= wxString_in_helper(obj4
);
28182 if (arg5
== NULL
) SWIG_fail
;
28187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28188 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
28190 wxPyEndAllowThreads(__tstate
);
28191 if (PyErr_Occurred()) SWIG_fail
;
28194 resultobj
= wxPyMake_wxObject(result
);
28218 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28219 PyObject
*resultobj
;
28220 wxMenu
*arg1
= (wxMenu
*) 0 ;
28223 wxString
*arg4
= 0 ;
28224 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28225 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28226 wxMenuItem
*result
;
28227 bool temp4
= False
;
28228 bool temp5
= False
;
28229 PyObject
* obj0
= 0 ;
28230 PyObject
* obj1
= 0 ;
28231 PyObject
* obj2
= 0 ;
28232 PyObject
* obj3
= 0 ;
28233 PyObject
* obj4
= 0 ;
28234 char *kwnames
[] = {
28235 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
28238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28241 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28242 if (PyErr_Occurred()) SWIG_fail
;
28243 arg3
= (int) SWIG_AsInt(obj2
);
28244 if (PyErr_Occurred()) SWIG_fail
;
28246 arg4
= wxString_in_helper(obj3
);
28247 if (arg4
== NULL
) SWIG_fail
;
28252 arg5
= wxString_in_helper(obj4
);
28253 if (arg5
== NULL
) SWIG_fail
;
28258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28259 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
28261 wxPyEndAllowThreads(__tstate
);
28262 if (PyErr_Occurred()) SWIG_fail
;
28265 resultobj
= wxPyMake_wxObject(result
);
28289 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28290 PyObject
*resultobj
;
28291 wxMenu
*arg1
= (wxMenu
*) 0 ;
28294 wxString
*arg4
= 0 ;
28295 wxMenu
*arg5
= (wxMenu
*) 0 ;
28296 wxString
const &arg6_defvalue
= wxPyEmptyString
;
28297 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
28298 wxMenuItem
*result
;
28299 bool temp4
= False
;
28300 bool temp6
= False
;
28301 PyObject
* obj0
= 0 ;
28302 PyObject
* obj1
= 0 ;
28303 PyObject
* obj2
= 0 ;
28304 PyObject
* obj3
= 0 ;
28305 PyObject
* obj4
= 0 ;
28306 PyObject
* obj5
= 0 ;
28307 char *kwnames
[] = {
28308 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
28311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28314 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28315 if (PyErr_Occurred()) SWIG_fail
;
28316 arg3
= (int) SWIG_AsInt(obj2
);
28317 if (PyErr_Occurred()) SWIG_fail
;
28319 arg4
= wxString_in_helper(obj3
);
28320 if (arg4
== NULL
) SWIG_fail
;
28323 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
28324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28327 arg6
= wxString_in_helper(obj5
);
28328 if (arg6
== NULL
) SWIG_fail
;
28333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28334 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
28336 wxPyEndAllowThreads(__tstate
);
28337 if (PyErr_Occurred()) SWIG_fail
;
28340 resultobj
= wxPyMake_wxObject(result
);
28364 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28365 PyObject
*resultobj
;
28366 wxMenu
*arg1
= (wxMenu
*) 0 ;
28367 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28368 wxMenuItem
*result
;
28369 PyObject
* obj0
= 0 ;
28370 PyObject
* obj1
= 0 ;
28371 char *kwnames
[] = {
28372 (char *) "self",(char *) "item", NULL
28375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28378 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28382 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
28384 wxPyEndAllowThreads(__tstate
);
28385 if (PyErr_Occurred()) SWIG_fail
;
28388 resultobj
= wxPyMake_wxObject(result
);
28396 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28397 PyObject
*resultobj
;
28398 wxMenu
*arg1
= (wxMenu
*) 0 ;
28400 wxString
*arg3
= 0 ;
28401 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28402 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28403 int arg5
= (int) wxITEM_NORMAL
;
28404 wxMenuItem
*result
;
28405 bool temp3
= False
;
28406 bool temp4
= False
;
28407 PyObject
* obj0
= 0 ;
28408 PyObject
* obj1
= 0 ;
28409 PyObject
* obj2
= 0 ;
28410 PyObject
* obj3
= 0 ;
28411 PyObject
* obj4
= 0 ;
28412 char *kwnames
[] = {
28413 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28419 arg2
= (int) SWIG_AsInt(obj1
);
28420 if (PyErr_Occurred()) SWIG_fail
;
28422 arg3
= wxString_in_helper(obj2
);
28423 if (arg3
== NULL
) SWIG_fail
;
28428 arg4
= wxString_in_helper(obj3
);
28429 if (arg4
== NULL
) SWIG_fail
;
28434 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
28435 if (PyErr_Occurred()) SWIG_fail
;
28438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28439 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
28441 wxPyEndAllowThreads(__tstate
);
28442 if (PyErr_Occurred()) SWIG_fail
;
28445 resultobj
= wxPyMake_wxObject(result
);
28469 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28470 PyObject
*resultobj
;
28471 wxMenu
*arg1
= (wxMenu
*) 0 ;
28472 wxMenuItem
*result
;
28473 PyObject
* obj0
= 0 ;
28474 char *kwnames
[] = {
28475 (char *) "self", NULL
28478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
28479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28483 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
28485 wxPyEndAllowThreads(__tstate
);
28486 if (PyErr_Occurred()) SWIG_fail
;
28489 resultobj
= wxPyMake_wxObject(result
);
28497 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28498 PyObject
*resultobj
;
28499 wxMenu
*arg1
= (wxMenu
*) 0 ;
28501 wxString
*arg3
= 0 ;
28502 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28503 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28504 wxMenuItem
*result
;
28505 bool temp3
= False
;
28506 bool temp4
= False
;
28507 PyObject
* obj0
= 0 ;
28508 PyObject
* obj1
= 0 ;
28509 PyObject
* obj2
= 0 ;
28510 PyObject
* obj3
= 0 ;
28511 char *kwnames
[] = {
28512 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28518 arg2
= (int) SWIG_AsInt(obj1
);
28519 if (PyErr_Occurred()) SWIG_fail
;
28521 arg3
= wxString_in_helper(obj2
);
28522 if (arg3
== NULL
) SWIG_fail
;
28527 arg4
= wxString_in_helper(obj3
);
28528 if (arg4
== NULL
) SWIG_fail
;
28533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28534 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28536 wxPyEndAllowThreads(__tstate
);
28537 if (PyErr_Occurred()) SWIG_fail
;
28540 resultobj
= wxPyMake_wxObject(result
);
28564 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28565 PyObject
*resultobj
;
28566 wxMenu
*arg1
= (wxMenu
*) 0 ;
28568 wxString
*arg3
= 0 ;
28569 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28570 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28571 wxMenuItem
*result
;
28572 bool temp3
= False
;
28573 bool temp4
= False
;
28574 PyObject
* obj0
= 0 ;
28575 PyObject
* obj1
= 0 ;
28576 PyObject
* obj2
= 0 ;
28577 PyObject
* obj3
= 0 ;
28578 char *kwnames
[] = {
28579 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28585 arg2
= (int) SWIG_AsInt(obj1
);
28586 if (PyErr_Occurred()) SWIG_fail
;
28588 arg3
= wxString_in_helper(obj2
);
28589 if (arg3
== NULL
) SWIG_fail
;
28594 arg4
= wxString_in_helper(obj3
);
28595 if (arg4
== NULL
) SWIG_fail
;
28600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28601 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28603 wxPyEndAllowThreads(__tstate
);
28604 if (PyErr_Occurred()) SWIG_fail
;
28607 resultobj
= wxPyMake_wxObject(result
);
28631 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28632 PyObject
*resultobj
;
28633 wxMenu
*arg1
= (wxMenu
*) 0 ;
28635 wxString
*arg3
= 0 ;
28636 wxMenu
*arg4
= (wxMenu
*) 0 ;
28637 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28638 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28639 wxMenuItem
*result
;
28640 bool temp3
= False
;
28641 bool temp5
= False
;
28642 PyObject
* obj0
= 0 ;
28643 PyObject
* obj1
= 0 ;
28644 PyObject
* obj2
= 0 ;
28645 PyObject
* obj3
= 0 ;
28646 PyObject
* obj4
= 0 ;
28647 char *kwnames
[] = {
28648 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
28651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28654 arg2
= (int) SWIG_AsInt(obj1
);
28655 if (PyErr_Occurred()) SWIG_fail
;
28657 arg3
= wxString_in_helper(obj2
);
28658 if (arg3
== NULL
) SWIG_fail
;
28661 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
28662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28665 arg5
= wxString_in_helper(obj4
);
28666 if (arg5
== NULL
) SWIG_fail
;
28671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28672 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
28674 wxPyEndAllowThreads(__tstate
);
28675 if (PyErr_Occurred()) SWIG_fail
;
28678 resultobj
= wxPyMake_wxObject(result
);
28702 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28703 PyObject
*resultobj
;
28704 wxMenu
*arg1
= (wxMenu
*) 0 ;
28706 wxMenuItem
*result
;
28707 PyObject
* obj0
= 0 ;
28708 PyObject
* obj1
= 0 ;
28709 char *kwnames
[] = {
28710 (char *) "self",(char *) "id", NULL
28713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
28714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28716 arg2
= (int) SWIG_AsInt(obj1
);
28717 if (PyErr_Occurred()) SWIG_fail
;
28719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28720 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
28722 wxPyEndAllowThreads(__tstate
);
28723 if (PyErr_Occurred()) SWIG_fail
;
28726 resultobj
= wxPyMake_wxObject(result
);
28734 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28735 PyObject
*resultobj
;
28736 wxMenu
*arg1
= (wxMenu
*) 0 ;
28737 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28738 wxMenuItem
*result
;
28739 PyObject
* obj0
= 0 ;
28740 PyObject
* obj1
= 0 ;
28741 char *kwnames
[] = {
28742 (char *) "self",(char *) "item", NULL
28745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28748 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28752 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
28754 wxPyEndAllowThreads(__tstate
);
28755 if (PyErr_Occurred()) SWIG_fail
;
28758 resultobj
= wxPyMake_wxObject(result
);
28766 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28767 PyObject
*resultobj
;
28768 wxMenu
*arg1
= (wxMenu
*) 0 ;
28771 PyObject
* obj0
= 0 ;
28772 PyObject
* obj1
= 0 ;
28773 char *kwnames
[] = {
28774 (char *) "self",(char *) "id", NULL
28777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
28778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28780 arg2
= (int) SWIG_AsInt(obj1
);
28781 if (PyErr_Occurred()) SWIG_fail
;
28783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28784 result
= (bool)(arg1
)->Delete(arg2
);
28786 wxPyEndAllowThreads(__tstate
);
28787 if (PyErr_Occurred()) SWIG_fail
;
28790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28798 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28799 PyObject
*resultobj
;
28800 wxMenu
*arg1
= (wxMenu
*) 0 ;
28801 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28803 PyObject
* obj0
= 0 ;
28804 PyObject
* obj1
= 0 ;
28805 char *kwnames
[] = {
28806 (char *) "self",(char *) "item", NULL
28809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28812 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28816 result
= (bool)(arg1
)->Delete(arg2
);
28818 wxPyEndAllowThreads(__tstate
);
28819 if (PyErr_Occurred()) SWIG_fail
;
28822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28830 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28831 PyObject
*resultobj
;
28832 wxMenu
*arg1
= (wxMenu
*) 0 ;
28833 PyObject
* obj0
= 0 ;
28834 char *kwnames
[] = {
28835 (char *) "self", NULL
28838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
28839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28843 wxMenu_Destroy(arg1
);
28845 wxPyEndAllowThreads(__tstate
);
28846 if (PyErr_Occurred()) SWIG_fail
;
28848 Py_INCREF(Py_None
); resultobj
= Py_None
;
28855 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28856 PyObject
*resultobj
;
28857 wxMenu
*arg1
= (wxMenu
*) 0 ;
28860 PyObject
* obj0
= 0 ;
28861 PyObject
* obj1
= 0 ;
28862 char *kwnames
[] = {
28863 (char *) "self",(char *) "id", NULL
28866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
28867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28869 arg2
= (int) SWIG_AsInt(obj1
);
28870 if (PyErr_Occurred()) SWIG_fail
;
28872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28873 result
= (bool)(arg1
)->Destroy(arg2
);
28875 wxPyEndAllowThreads(__tstate
);
28876 if (PyErr_Occurred()) SWIG_fail
;
28879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28887 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28888 PyObject
*resultobj
;
28889 wxMenu
*arg1
= (wxMenu
*) 0 ;
28890 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28892 PyObject
* obj0
= 0 ;
28893 PyObject
* obj1
= 0 ;
28894 char *kwnames
[] = {
28895 (char *) "self",(char *) "item", NULL
28898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28901 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28905 result
= (bool)(arg1
)->Destroy(arg2
);
28907 wxPyEndAllowThreads(__tstate
);
28908 if (PyErr_Occurred()) SWIG_fail
;
28911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28919 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28920 PyObject
*resultobj
;
28921 wxMenu
*arg1
= (wxMenu
*) 0 ;
28923 PyObject
* obj0
= 0 ;
28924 char *kwnames
[] = {
28925 (char *) "self", NULL
28928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
28929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28933 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
28935 wxPyEndAllowThreads(__tstate
);
28936 if (PyErr_Occurred()) SWIG_fail
;
28938 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
28945 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28946 PyObject
*resultobj
;
28947 wxMenu
*arg1
= (wxMenu
*) 0 ;
28949 PyObject
* obj0
= 0 ;
28950 char *kwnames
[] = {
28951 (char *) "self", NULL
28954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
28955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28959 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
28961 wxPyEndAllowThreads(__tstate
);
28962 if (PyErr_Occurred()) SWIG_fail
;
28964 resultobj
= result
;
28971 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28972 PyObject
*resultobj
;
28973 wxMenu
*arg1
= (wxMenu
*) 0 ;
28974 wxString
*arg2
= 0 ;
28976 bool temp2
= False
;
28977 PyObject
* obj0
= 0 ;
28978 PyObject
* obj1
= 0 ;
28979 char *kwnames
[] = {
28980 (char *) "self",(char *) "item", NULL
28983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28987 arg2
= wxString_in_helper(obj1
);
28988 if (arg2
== NULL
) SWIG_fail
;
28992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28993 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
28995 wxPyEndAllowThreads(__tstate
);
28996 if (PyErr_Occurred()) SWIG_fail
;
28998 resultobj
= SWIG_FromInt((int)result
);
29013 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29014 PyObject
*resultobj
;
29015 wxMenu
*arg1
= (wxMenu
*) 0 ;
29017 wxMenuItem
*result
;
29018 PyObject
* obj0
= 0 ;
29019 PyObject
* obj1
= 0 ;
29020 char *kwnames
[] = {
29021 (char *) "self",(char *) "id", NULL
29024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
29025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29027 arg2
= (int) SWIG_AsInt(obj1
);
29028 if (PyErr_Occurred()) SWIG_fail
;
29030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29031 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
29033 wxPyEndAllowThreads(__tstate
);
29034 if (PyErr_Occurred()) SWIG_fail
;
29037 resultobj
= wxPyMake_wxObject(result
);
29045 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29046 PyObject
*resultobj
;
29047 wxMenu
*arg1
= (wxMenu
*) 0 ;
29049 wxMenuItem
*result
;
29050 PyObject
* obj0
= 0 ;
29051 PyObject
* obj1
= 0 ;
29052 char *kwnames
[] = {
29053 (char *) "self",(char *) "position", NULL
29056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
29057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29059 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29060 if (PyErr_Occurred()) SWIG_fail
;
29062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29063 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
29065 wxPyEndAllowThreads(__tstate
);
29066 if (PyErr_Occurred()) SWIG_fail
;
29069 resultobj
= wxPyMake_wxObject(result
);
29077 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29078 PyObject
*resultobj
;
29079 wxMenu
*arg1
= (wxMenu
*) 0 ;
29082 PyObject
* obj0
= 0 ;
29083 PyObject
* obj1
= 0 ;
29084 PyObject
* obj2
= 0 ;
29085 char *kwnames
[] = {
29086 (char *) "self",(char *) "id",(char *) "enable", NULL
29089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29092 arg2
= (int) SWIG_AsInt(obj1
);
29093 if (PyErr_Occurred()) SWIG_fail
;
29094 arg3
= (bool) SWIG_AsBool(obj2
);
29095 if (PyErr_Occurred()) SWIG_fail
;
29097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29098 (arg1
)->Enable(arg2
,arg3
);
29100 wxPyEndAllowThreads(__tstate
);
29101 if (PyErr_Occurred()) SWIG_fail
;
29103 Py_INCREF(Py_None
); resultobj
= Py_None
;
29110 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29111 PyObject
*resultobj
;
29112 wxMenu
*arg1
= (wxMenu
*) 0 ;
29115 PyObject
* obj0
= 0 ;
29116 PyObject
* obj1
= 0 ;
29117 char *kwnames
[] = {
29118 (char *) "self",(char *) "id", NULL
29121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
29122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29124 arg2
= (int) SWIG_AsInt(obj1
);
29125 if (PyErr_Occurred()) SWIG_fail
;
29127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29128 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
29130 wxPyEndAllowThreads(__tstate
);
29131 if (PyErr_Occurred()) SWIG_fail
;
29134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29142 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29143 PyObject
*resultobj
;
29144 wxMenu
*arg1
= (wxMenu
*) 0 ;
29147 PyObject
* obj0
= 0 ;
29148 PyObject
* obj1
= 0 ;
29149 PyObject
* obj2
= 0 ;
29150 char *kwnames
[] = {
29151 (char *) "self",(char *) "id",(char *) "check", NULL
29154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29157 arg2
= (int) SWIG_AsInt(obj1
);
29158 if (PyErr_Occurred()) SWIG_fail
;
29159 arg3
= (bool) SWIG_AsBool(obj2
);
29160 if (PyErr_Occurred()) SWIG_fail
;
29162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29163 (arg1
)->Check(arg2
,arg3
);
29165 wxPyEndAllowThreads(__tstate
);
29166 if (PyErr_Occurred()) SWIG_fail
;
29168 Py_INCREF(Py_None
); resultobj
= Py_None
;
29175 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29176 PyObject
*resultobj
;
29177 wxMenu
*arg1
= (wxMenu
*) 0 ;
29180 PyObject
* obj0
= 0 ;
29181 PyObject
* obj1
= 0 ;
29182 char *kwnames
[] = {
29183 (char *) "self",(char *) "id", NULL
29186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
29187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29189 arg2
= (int) SWIG_AsInt(obj1
);
29190 if (PyErr_Occurred()) SWIG_fail
;
29192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29193 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
29195 wxPyEndAllowThreads(__tstate
);
29196 if (PyErr_Occurred()) SWIG_fail
;
29199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29207 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29208 PyObject
*resultobj
;
29209 wxMenu
*arg1
= (wxMenu
*) 0 ;
29211 wxString
*arg3
= 0 ;
29212 bool temp3
= False
;
29213 PyObject
* obj0
= 0 ;
29214 PyObject
* obj1
= 0 ;
29215 PyObject
* obj2
= 0 ;
29216 char *kwnames
[] = {
29217 (char *) "self",(char *) "id",(char *) "label", NULL
29220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29223 arg2
= (int) SWIG_AsInt(obj1
);
29224 if (PyErr_Occurred()) SWIG_fail
;
29226 arg3
= wxString_in_helper(obj2
);
29227 if (arg3
== NULL
) SWIG_fail
;
29231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29232 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
29234 wxPyEndAllowThreads(__tstate
);
29235 if (PyErr_Occurred()) SWIG_fail
;
29237 Py_INCREF(Py_None
); resultobj
= Py_None
;
29252 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29253 PyObject
*resultobj
;
29254 wxMenu
*arg1
= (wxMenu
*) 0 ;
29257 PyObject
* obj0
= 0 ;
29258 PyObject
* obj1
= 0 ;
29259 char *kwnames
[] = {
29260 (char *) "self",(char *) "id", NULL
29263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
29264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29266 arg2
= (int) SWIG_AsInt(obj1
);
29267 if (PyErr_Occurred()) SWIG_fail
;
29269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29270 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
29272 wxPyEndAllowThreads(__tstate
);
29273 if (PyErr_Occurred()) SWIG_fail
;
29277 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29279 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29288 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29289 PyObject
*resultobj
;
29290 wxMenu
*arg1
= (wxMenu
*) 0 ;
29292 wxString
*arg3
= 0 ;
29293 bool temp3
= False
;
29294 PyObject
* obj0
= 0 ;
29295 PyObject
* obj1
= 0 ;
29296 PyObject
* obj2
= 0 ;
29297 char *kwnames
[] = {
29298 (char *) "self",(char *) "id",(char *) "helpString", NULL
29301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29304 arg2
= (int) SWIG_AsInt(obj1
);
29305 if (PyErr_Occurred()) SWIG_fail
;
29307 arg3
= wxString_in_helper(obj2
);
29308 if (arg3
== NULL
) SWIG_fail
;
29312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29313 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
29315 wxPyEndAllowThreads(__tstate
);
29316 if (PyErr_Occurred()) SWIG_fail
;
29318 Py_INCREF(Py_None
); resultobj
= Py_None
;
29333 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29334 PyObject
*resultobj
;
29335 wxMenu
*arg1
= (wxMenu
*) 0 ;
29338 PyObject
* obj0
= 0 ;
29339 PyObject
* obj1
= 0 ;
29340 char *kwnames
[] = {
29341 (char *) "self",(char *) "id", NULL
29344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
29345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29347 arg2
= (int) SWIG_AsInt(obj1
);
29348 if (PyErr_Occurred()) SWIG_fail
;
29350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29351 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
29353 wxPyEndAllowThreads(__tstate
);
29354 if (PyErr_Occurred()) SWIG_fail
;
29358 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29360 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29369 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29370 PyObject
*resultobj
;
29371 wxMenu
*arg1
= (wxMenu
*) 0 ;
29372 wxString
*arg2
= 0 ;
29373 bool temp2
= False
;
29374 PyObject
* obj0
= 0 ;
29375 PyObject
* obj1
= 0 ;
29376 char *kwnames
[] = {
29377 (char *) "self",(char *) "title", NULL
29380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
29381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29384 arg2
= wxString_in_helper(obj1
);
29385 if (arg2
== NULL
) SWIG_fail
;
29389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29390 (arg1
)->SetTitle((wxString
const &)*arg2
);
29392 wxPyEndAllowThreads(__tstate
);
29393 if (PyErr_Occurred()) SWIG_fail
;
29395 Py_INCREF(Py_None
); resultobj
= Py_None
;
29410 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29411 PyObject
*resultobj
;
29412 wxMenu
*arg1
= (wxMenu
*) 0 ;
29414 PyObject
* obj0
= 0 ;
29415 char *kwnames
[] = {
29416 (char *) "self", NULL
29419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
29420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29424 result
= ((wxMenu
const *)arg1
)->GetTitle();
29426 wxPyEndAllowThreads(__tstate
);
29427 if (PyErr_Occurred()) SWIG_fail
;
29431 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29433 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29442 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29443 PyObject
*resultobj
;
29444 wxMenu
*arg1
= (wxMenu
*) 0 ;
29445 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
29446 PyObject
* obj0
= 0 ;
29447 PyObject
* obj1
= 0 ;
29448 char *kwnames
[] = {
29449 (char *) "self",(char *) "handler", NULL
29452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
29453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29455 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
29456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29459 (arg1
)->SetEventHandler(arg2
);
29461 wxPyEndAllowThreads(__tstate
);
29462 if (PyErr_Occurred()) SWIG_fail
;
29464 Py_INCREF(Py_None
); resultobj
= Py_None
;
29471 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29472 PyObject
*resultobj
;
29473 wxMenu
*arg1
= (wxMenu
*) 0 ;
29474 wxEvtHandler
*result
;
29475 PyObject
* obj0
= 0 ;
29476 char *kwnames
[] = {
29477 (char *) "self", NULL
29480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",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
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
29487 wxPyEndAllowThreads(__tstate
);
29488 if (PyErr_Occurred()) SWIG_fail
;
29491 resultobj
= wxPyMake_wxObject(result
);
29499 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29500 PyObject
*resultobj
;
29501 wxMenu
*arg1
= (wxMenu
*) 0 ;
29502 wxWindow
*arg2
= (wxWindow
*) 0 ;
29503 PyObject
* obj0
= 0 ;
29504 PyObject
* obj1
= 0 ;
29505 char *kwnames
[] = {
29506 (char *) "self",(char *) "win", NULL
29509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
29510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29512 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29516 (arg1
)->SetInvokingWindow(arg2
);
29518 wxPyEndAllowThreads(__tstate
);
29519 if (PyErr_Occurred()) SWIG_fail
;
29521 Py_INCREF(Py_None
); resultobj
= Py_None
;
29528 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29529 PyObject
*resultobj
;
29530 wxMenu
*arg1
= (wxMenu
*) 0 ;
29532 PyObject
* obj0
= 0 ;
29533 char *kwnames
[] = {
29534 (char *) "self", NULL
29537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
29538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29542 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
29544 wxPyEndAllowThreads(__tstate
);
29545 if (PyErr_Occurred()) SWIG_fail
;
29548 resultobj
= wxPyMake_wxObject(result
);
29556 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29557 PyObject
*resultobj
;
29558 wxMenu
*arg1
= (wxMenu
*) 0 ;
29560 PyObject
* obj0
= 0 ;
29561 char *kwnames
[] = {
29562 (char *) "self", NULL
29565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
29566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29570 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
29572 wxPyEndAllowThreads(__tstate
);
29573 if (PyErr_Occurred()) SWIG_fail
;
29575 resultobj
= SWIG_FromLong((long)result
);
29582 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29583 PyObject
*resultobj
;
29584 wxMenu
*arg1
= (wxMenu
*) 0 ;
29585 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
29586 PyObject
* obj0
= 0 ;
29587 PyObject
* obj1
= 0 ;
29588 char *kwnames
[] = {
29589 (char *) "self",(char *) "source", NULL
29592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
29593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29596 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
29597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29601 (arg1
)->UpdateUI(arg2
);
29603 wxPyEndAllowThreads(__tstate
);
29604 if (PyErr_Occurred()) SWIG_fail
;
29606 Py_INCREF(Py_None
); resultobj
= Py_None
;
29613 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29614 PyObject
*resultobj
;
29615 wxMenu
*arg1
= (wxMenu
*) 0 ;
29617 PyObject
* obj0
= 0 ;
29618 char *kwnames
[] = {
29619 (char *) "self", NULL
29622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
29623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29627 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
29629 wxPyEndAllowThreads(__tstate
);
29630 if (PyErr_Occurred()) SWIG_fail
;
29633 resultobj
= wxPyMake_wxObject(result
);
29641 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29642 PyObject
*resultobj
;
29643 wxMenu
*arg1
= (wxMenu
*) 0 ;
29644 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
29645 PyObject
* obj0
= 0 ;
29646 PyObject
* obj1
= 0 ;
29647 char *kwnames
[] = {
29648 (char *) "self",(char *) "menubar", NULL
29651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
29652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29654 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
29655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29658 (arg1
)->Attach(arg2
);
29660 wxPyEndAllowThreads(__tstate
);
29661 if (PyErr_Occurred()) SWIG_fail
;
29663 Py_INCREF(Py_None
); resultobj
= Py_None
;
29670 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29671 PyObject
*resultobj
;
29672 wxMenu
*arg1
= (wxMenu
*) 0 ;
29673 PyObject
* obj0
= 0 ;
29674 char *kwnames
[] = {
29675 (char *) "self", NULL
29678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
29679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29685 wxPyEndAllowThreads(__tstate
);
29686 if (PyErr_Occurred()) SWIG_fail
;
29688 Py_INCREF(Py_None
); resultobj
= Py_None
;
29695 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29696 PyObject
*resultobj
;
29697 wxMenu
*arg1
= (wxMenu
*) 0 ;
29699 PyObject
* obj0
= 0 ;
29700 char *kwnames
[] = {
29701 (char *) "self", NULL
29704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
29705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29709 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
29711 wxPyEndAllowThreads(__tstate
);
29712 if (PyErr_Occurred()) SWIG_fail
;
29715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29723 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29724 PyObject
*resultobj
;
29725 wxMenu
*arg1
= (wxMenu
*) 0 ;
29726 wxMenu
*arg2
= (wxMenu
*) 0 ;
29727 PyObject
* obj0
= 0 ;
29728 PyObject
* obj1
= 0 ;
29729 char *kwnames
[] = {
29730 (char *) "self",(char *) "parent", NULL
29733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
29734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29736 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
29737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29740 (arg1
)->SetParent(arg2
);
29742 wxPyEndAllowThreads(__tstate
);
29743 if (PyErr_Occurred()) SWIG_fail
;
29745 Py_INCREF(Py_None
); resultobj
= Py_None
;
29752 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29753 PyObject
*resultobj
;
29754 wxMenu
*arg1
= (wxMenu
*) 0 ;
29756 PyObject
* obj0
= 0 ;
29757 char *kwnames
[] = {
29758 (char *) "self", NULL
29761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
29762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29766 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
29768 wxPyEndAllowThreads(__tstate
);
29769 if (PyErr_Occurred()) SWIG_fail
;
29772 resultobj
= wxPyMake_wxObject(result
);
29780 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
29782 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29783 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
29785 return Py_BuildValue((char *)"");
29787 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29788 PyObject
*resultobj
;
29789 long arg1
= (long) 0 ;
29791 PyObject
* obj0
= 0 ;
29792 char *kwnames
[] = {
29793 (char *) "style", NULL
29796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
29798 arg1
= (long) SWIG_AsLong(obj0
);
29799 if (PyErr_Occurred()) SWIG_fail
;
29802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29803 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
29805 wxPyEndAllowThreads(__tstate
);
29806 if (PyErr_Occurred()) SWIG_fail
;
29809 resultobj
= wxPyMake_wxObject(result
);
29817 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29818 PyObject
*resultobj
;
29819 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29820 wxMenu
*arg2
= (wxMenu
*) 0 ;
29821 wxString
*arg3
= 0 ;
29823 bool temp3
= False
;
29824 PyObject
* obj0
= 0 ;
29825 PyObject
* obj1
= 0 ;
29826 PyObject
* obj2
= 0 ;
29827 char *kwnames
[] = {
29828 (char *) "self",(char *) "menu",(char *) "title", NULL
29831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29834 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
29835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29837 arg3
= wxString_in_helper(obj2
);
29838 if (arg3
== NULL
) SWIG_fail
;
29842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29843 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
29845 wxPyEndAllowThreads(__tstate
);
29846 if (PyErr_Occurred()) SWIG_fail
;
29849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29865 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29866 PyObject
*resultobj
;
29867 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29869 wxMenu
*arg3
= (wxMenu
*) 0 ;
29870 wxString
*arg4
= 0 ;
29872 bool temp4
= False
;
29873 PyObject
* obj0
= 0 ;
29874 PyObject
* obj1
= 0 ;
29875 PyObject
* obj2
= 0 ;
29876 PyObject
* obj3
= 0 ;
29877 char *kwnames
[] = {
29878 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
29881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29884 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29885 if (PyErr_Occurred()) SWIG_fail
;
29886 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
29887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29889 arg4
= wxString_in_helper(obj3
);
29890 if (arg4
== NULL
) SWIG_fail
;
29894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29895 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
29897 wxPyEndAllowThreads(__tstate
);
29898 if (PyErr_Occurred()) SWIG_fail
;
29901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29917 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29918 PyObject
*resultobj
;
29919 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29921 PyObject
* obj0
= 0 ;
29922 char *kwnames
[] = {
29923 (char *) "self", NULL
29926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
29927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29931 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
29933 wxPyEndAllowThreads(__tstate
);
29934 if (PyErr_Occurred()) SWIG_fail
;
29936 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
29943 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29944 PyObject
*resultobj
;
29945 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29948 PyObject
* obj0
= 0 ;
29949 PyObject
* obj1
= 0 ;
29950 char *kwnames
[] = {
29951 (char *) "self",(char *) "pos", NULL
29954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
29955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29957 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29958 if (PyErr_Occurred()) SWIG_fail
;
29960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29961 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
29963 wxPyEndAllowThreads(__tstate
);
29964 if (PyErr_Occurred()) SWIG_fail
;
29967 resultobj
= wxPyMake_wxObject(result
);
29975 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29976 PyObject
*resultobj
;
29977 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29979 wxMenu
*arg3
= (wxMenu
*) 0 ;
29980 wxString
*arg4
= 0 ;
29982 bool temp4
= False
;
29983 PyObject
* obj0
= 0 ;
29984 PyObject
* obj1
= 0 ;
29985 PyObject
* obj2
= 0 ;
29986 PyObject
* obj3
= 0 ;
29987 char *kwnames
[] = {
29988 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
29991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29994 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29995 if (PyErr_Occurred()) SWIG_fail
;
29996 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
29997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29999 arg4
= wxString_in_helper(obj3
);
30000 if (arg4
== NULL
) SWIG_fail
;
30004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30005 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
30007 wxPyEndAllowThreads(__tstate
);
30008 if (PyErr_Occurred()) SWIG_fail
;
30011 resultobj
= wxPyMake_wxObject(result
);
30027 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30028 PyObject
*resultobj
;
30029 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30032 PyObject
* obj0
= 0 ;
30033 PyObject
* obj1
= 0 ;
30034 char *kwnames
[] = {
30035 (char *) "self",(char *) "pos", NULL
30038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
30039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30041 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30042 if (PyErr_Occurred()) SWIG_fail
;
30044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30045 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
30047 wxPyEndAllowThreads(__tstate
);
30048 if (PyErr_Occurred()) SWIG_fail
;
30051 resultobj
= wxPyMake_wxObject(result
);
30059 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30060 PyObject
*resultobj
;
30061 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30064 PyObject
* obj0
= 0 ;
30065 PyObject
* obj1
= 0 ;
30066 PyObject
* obj2
= 0 ;
30067 char *kwnames
[] = {
30068 (char *) "self",(char *) "pos",(char *) "enable", NULL
30071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30074 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30075 if (PyErr_Occurred()) SWIG_fail
;
30076 arg3
= (bool) SWIG_AsBool(obj2
);
30077 if (PyErr_Occurred()) SWIG_fail
;
30079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30080 (arg1
)->EnableTop(arg2
,arg3
);
30082 wxPyEndAllowThreads(__tstate
);
30083 if (PyErr_Occurred()) SWIG_fail
;
30085 Py_INCREF(Py_None
); resultobj
= Py_None
;
30092 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30093 PyObject
*resultobj
;
30094 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30097 PyObject
* obj0
= 0 ;
30098 PyObject
* obj1
= 0 ;
30099 char *kwnames
[] = {
30100 (char *) "self",(char *) "pos", NULL
30103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
30104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30106 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30107 if (PyErr_Occurred()) SWIG_fail
;
30109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30110 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
30112 wxPyEndAllowThreads(__tstate
);
30113 if (PyErr_Occurred()) SWIG_fail
;
30116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30124 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30125 PyObject
*resultobj
;
30126 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30128 wxString
*arg3
= 0 ;
30129 bool temp3
= False
;
30130 PyObject
* obj0
= 0 ;
30131 PyObject
* obj1
= 0 ;
30132 PyObject
* obj2
= 0 ;
30133 char *kwnames
[] = {
30134 (char *) "self",(char *) "pos",(char *) "label", NULL
30137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30140 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30141 if (PyErr_Occurred()) SWIG_fail
;
30143 arg3
= wxString_in_helper(obj2
);
30144 if (arg3
== NULL
) SWIG_fail
;
30148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30149 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
30151 wxPyEndAllowThreads(__tstate
);
30152 if (PyErr_Occurred()) SWIG_fail
;
30154 Py_INCREF(Py_None
); resultobj
= Py_None
;
30169 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30170 PyObject
*resultobj
;
30171 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30174 PyObject
* obj0
= 0 ;
30175 PyObject
* obj1
= 0 ;
30176 char *kwnames
[] = {
30177 (char *) "self",(char *) "pos", NULL
30180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
30181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30183 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30184 if (PyErr_Occurred()) SWIG_fail
;
30186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30187 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
30189 wxPyEndAllowThreads(__tstate
);
30190 if (PyErr_Occurred()) SWIG_fail
;
30194 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30196 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30205 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30206 PyObject
*resultobj
;
30207 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30208 wxString
*arg2
= 0 ;
30209 wxString
*arg3
= 0 ;
30211 bool temp2
= False
;
30212 bool temp3
= False
;
30213 PyObject
* obj0
= 0 ;
30214 PyObject
* obj1
= 0 ;
30215 PyObject
* obj2
= 0 ;
30216 char *kwnames
[] = {
30217 (char *) "self",(char *) "menu",(char *) "item", NULL
30220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30224 arg2
= wxString_in_helper(obj1
);
30225 if (arg2
== NULL
) SWIG_fail
;
30229 arg3
= wxString_in_helper(obj2
);
30230 if (arg3
== NULL
) SWIG_fail
;
30234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30235 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
30237 wxPyEndAllowThreads(__tstate
);
30238 if (PyErr_Occurred()) SWIG_fail
;
30240 resultobj
= SWIG_FromInt((int)result
);
30263 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30264 PyObject
*resultobj
;
30265 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30267 wxMenuItem
*result
;
30268 PyObject
* obj0
= 0 ;
30269 PyObject
* obj1
= 0 ;
30270 char *kwnames
[] = {
30271 (char *) "self",(char *) "id", NULL
30274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
30275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30277 arg2
= (int) SWIG_AsInt(obj1
);
30278 if (PyErr_Occurred()) SWIG_fail
;
30280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30281 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
30283 wxPyEndAllowThreads(__tstate
);
30284 if (PyErr_Occurred()) SWIG_fail
;
30287 resultobj
= wxPyMake_wxObject(result
);
30295 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30296 PyObject
*resultobj
;
30297 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30298 wxString
*arg2
= 0 ;
30300 bool temp2
= False
;
30301 PyObject
* obj0
= 0 ;
30302 PyObject
* obj1
= 0 ;
30303 char *kwnames
[] = {
30304 (char *) "self",(char *) "title", NULL
30307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
30308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30311 arg2
= wxString_in_helper(obj1
);
30312 if (arg2
== NULL
) SWIG_fail
;
30316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30317 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
30319 wxPyEndAllowThreads(__tstate
);
30320 if (PyErr_Occurred()) SWIG_fail
;
30322 resultobj
= SWIG_FromInt((int)result
);
30337 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30338 PyObject
*resultobj
;
30339 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30342 PyObject
* obj0
= 0 ;
30343 PyObject
* obj1
= 0 ;
30344 PyObject
* obj2
= 0 ;
30345 char *kwnames
[] = {
30346 (char *) "self",(char *) "id",(char *) "enable", NULL
30349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30352 arg2
= (int) SWIG_AsInt(obj1
);
30353 if (PyErr_Occurred()) SWIG_fail
;
30354 arg3
= (bool) SWIG_AsBool(obj2
);
30355 if (PyErr_Occurred()) SWIG_fail
;
30357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30358 (arg1
)->Enable(arg2
,arg3
);
30360 wxPyEndAllowThreads(__tstate
);
30361 if (PyErr_Occurred()) SWIG_fail
;
30363 Py_INCREF(Py_None
); resultobj
= Py_None
;
30370 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30371 PyObject
*resultobj
;
30372 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30375 PyObject
* obj0
= 0 ;
30376 PyObject
* obj1
= 0 ;
30377 PyObject
* obj2
= 0 ;
30378 char *kwnames
[] = {
30379 (char *) "self",(char *) "id",(char *) "check", NULL
30382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30385 arg2
= (int) SWIG_AsInt(obj1
);
30386 if (PyErr_Occurred()) SWIG_fail
;
30387 arg3
= (bool) SWIG_AsBool(obj2
);
30388 if (PyErr_Occurred()) SWIG_fail
;
30390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30391 (arg1
)->Check(arg2
,arg3
);
30393 wxPyEndAllowThreads(__tstate
);
30394 if (PyErr_Occurred()) SWIG_fail
;
30396 Py_INCREF(Py_None
); resultobj
= Py_None
;
30403 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30404 PyObject
*resultobj
;
30405 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30408 PyObject
* obj0
= 0 ;
30409 PyObject
* obj1
= 0 ;
30410 char *kwnames
[] = {
30411 (char *) "self",(char *) "id", NULL
30414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
30415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30417 arg2
= (int) SWIG_AsInt(obj1
);
30418 if (PyErr_Occurred()) SWIG_fail
;
30420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30421 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
30423 wxPyEndAllowThreads(__tstate
);
30424 if (PyErr_Occurred()) SWIG_fail
;
30427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30435 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30436 PyObject
*resultobj
;
30437 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30440 PyObject
* obj0
= 0 ;
30441 PyObject
* obj1
= 0 ;
30442 char *kwnames
[] = {
30443 (char *) "self",(char *) "id", NULL
30446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
30447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30449 arg2
= (int) SWIG_AsInt(obj1
);
30450 if (PyErr_Occurred()) SWIG_fail
;
30452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30453 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
30455 wxPyEndAllowThreads(__tstate
);
30456 if (PyErr_Occurred()) SWIG_fail
;
30459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30467 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30468 PyObject
*resultobj
;
30469 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30471 wxString
*arg3
= 0 ;
30472 bool temp3
= False
;
30473 PyObject
* obj0
= 0 ;
30474 PyObject
* obj1
= 0 ;
30475 PyObject
* obj2
= 0 ;
30476 char *kwnames
[] = {
30477 (char *) "self",(char *) "id",(char *) "label", NULL
30480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30483 arg2
= (int) SWIG_AsInt(obj1
);
30484 if (PyErr_Occurred()) SWIG_fail
;
30486 arg3
= wxString_in_helper(obj2
);
30487 if (arg3
== NULL
) SWIG_fail
;
30491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30492 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
30494 wxPyEndAllowThreads(__tstate
);
30495 if (PyErr_Occurred()) SWIG_fail
;
30497 Py_INCREF(Py_None
); resultobj
= Py_None
;
30512 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30513 PyObject
*resultobj
;
30514 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30517 PyObject
* obj0
= 0 ;
30518 PyObject
* obj1
= 0 ;
30519 char *kwnames
[] = {
30520 (char *) "self",(char *) "id", NULL
30523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30526 arg2
= (int) SWIG_AsInt(obj1
);
30527 if (PyErr_Occurred()) SWIG_fail
;
30529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30530 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
30532 wxPyEndAllowThreads(__tstate
);
30533 if (PyErr_Occurred()) SWIG_fail
;
30537 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30539 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30548 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30549 PyObject
*resultobj
;
30550 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30552 wxString
*arg3
= 0 ;
30553 bool temp3
= False
;
30554 PyObject
* obj0
= 0 ;
30555 PyObject
* obj1
= 0 ;
30556 PyObject
* obj2
= 0 ;
30557 char *kwnames
[] = {
30558 (char *) "self",(char *) "id",(char *) "helpString", NULL
30561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30564 arg2
= (int) SWIG_AsInt(obj1
);
30565 if (PyErr_Occurred()) SWIG_fail
;
30567 arg3
= wxString_in_helper(obj2
);
30568 if (arg3
== NULL
) SWIG_fail
;
30572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30573 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
30575 wxPyEndAllowThreads(__tstate
);
30576 if (PyErr_Occurred()) SWIG_fail
;
30578 Py_INCREF(Py_None
); resultobj
= Py_None
;
30593 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30594 PyObject
*resultobj
;
30595 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30598 PyObject
* obj0
= 0 ;
30599 PyObject
* obj1
= 0 ;
30600 char *kwnames
[] = {
30601 (char *) "self",(char *) "id", NULL
30604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
30605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30607 arg2
= (int) SWIG_AsInt(obj1
);
30608 if (PyErr_Occurred()) SWIG_fail
;
30610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30611 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
30613 wxPyEndAllowThreads(__tstate
);
30614 if (PyErr_Occurred()) SWIG_fail
;
30618 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30620 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30629 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30630 PyObject
*resultobj
;
30631 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30633 PyObject
* obj0
= 0 ;
30634 char *kwnames
[] = {
30635 (char *) "self", NULL
30638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
30639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30643 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
30645 wxPyEndAllowThreads(__tstate
);
30646 if (PyErr_Occurred()) SWIG_fail
;
30649 resultobj
= wxPyMake_wxObject(result
);
30657 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30658 PyObject
*resultobj
;
30659 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30661 PyObject
* obj0
= 0 ;
30662 char *kwnames
[] = {
30663 (char *) "self", NULL
30666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
30667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30671 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
30673 wxPyEndAllowThreads(__tstate
);
30674 if (PyErr_Occurred()) SWIG_fail
;
30677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30685 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30686 PyObject
*resultobj
;
30687 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30688 wxFrame
*arg2
= (wxFrame
*) 0 ;
30689 PyObject
* obj0
= 0 ;
30690 PyObject
* obj1
= 0 ;
30691 char *kwnames
[] = {
30692 (char *) "self",(char *) "frame", NULL
30695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
30696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30698 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
30699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30702 (arg1
)->Attach(arg2
);
30704 wxPyEndAllowThreads(__tstate
);
30705 if (PyErr_Occurred()) SWIG_fail
;
30707 Py_INCREF(Py_None
); resultobj
= Py_None
;
30714 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30715 PyObject
*resultobj
;
30716 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30717 PyObject
* obj0
= 0 ;
30718 char *kwnames
[] = {
30719 (char *) "self", NULL
30722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
30723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30729 wxPyEndAllowThreads(__tstate
);
30730 if (PyErr_Occurred()) SWIG_fail
;
30732 Py_INCREF(Py_None
); resultobj
= Py_None
;
30739 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
30741 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30742 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
30744 return Py_BuildValue((char *)"");
30746 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30747 PyObject
*resultobj
;
30748 wxMenu
*arg1
= (wxMenu
*) NULL
;
30749 int arg2
= (int) wxID_SEPARATOR
;
30750 wxString
const &arg3_defvalue
= wxPyEmptyString
;
30751 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
30752 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30753 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30754 int arg5
= (int) wxITEM_NORMAL
;
30755 wxMenu
*arg6
= (wxMenu
*) NULL
;
30756 wxMenuItem
*result
;
30757 bool temp3
= False
;
30758 bool temp4
= False
;
30759 PyObject
* obj0
= 0 ;
30760 PyObject
* obj1
= 0 ;
30761 PyObject
* obj2
= 0 ;
30762 PyObject
* obj3
= 0 ;
30763 PyObject
* obj4
= 0 ;
30764 PyObject
* obj5
= 0 ;
30765 char *kwnames
[] = {
30766 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
30769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30775 arg2
= (int) SWIG_AsInt(obj1
);
30776 if (PyErr_Occurred()) SWIG_fail
;
30780 arg3
= wxString_in_helper(obj2
);
30781 if (arg3
== NULL
) SWIG_fail
;
30787 arg4
= wxString_in_helper(obj3
);
30788 if (arg4
== NULL
) SWIG_fail
;
30793 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
30794 if (PyErr_Occurred()) SWIG_fail
;
30797 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
30798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30802 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
30804 wxPyEndAllowThreads(__tstate
);
30805 if (PyErr_Occurred()) SWIG_fail
;
30808 resultobj
= wxPyMake_wxObject(result
);
30832 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30833 PyObject
*resultobj
;
30834 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30836 PyObject
* obj0
= 0 ;
30837 char *kwnames
[] = {
30838 (char *) "self", NULL
30841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
30842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30846 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
30848 wxPyEndAllowThreads(__tstate
);
30849 if (PyErr_Occurred()) SWIG_fail
;
30852 resultobj
= wxPyMake_wxObject(result
);
30860 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30861 PyObject
*resultobj
;
30862 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30863 wxMenu
*arg2
= (wxMenu
*) 0 ;
30864 PyObject
* obj0
= 0 ;
30865 PyObject
* obj1
= 0 ;
30866 char *kwnames
[] = {
30867 (char *) "self",(char *) "menu", NULL
30870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
30871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30873 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30877 (arg1
)->SetMenu(arg2
);
30879 wxPyEndAllowThreads(__tstate
);
30880 if (PyErr_Occurred()) SWIG_fail
;
30882 Py_INCREF(Py_None
); resultobj
= Py_None
;
30889 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30890 PyObject
*resultobj
;
30891 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30893 PyObject
* obj0
= 0 ;
30894 PyObject
* obj1
= 0 ;
30895 char *kwnames
[] = {
30896 (char *) "self",(char *) "id", NULL
30899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
30900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30902 arg2
= (int) SWIG_AsInt(obj1
);
30903 if (PyErr_Occurred()) SWIG_fail
;
30905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30906 (arg1
)->SetId(arg2
);
30908 wxPyEndAllowThreads(__tstate
);
30909 if (PyErr_Occurred()) SWIG_fail
;
30911 Py_INCREF(Py_None
); resultobj
= Py_None
;
30918 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30919 PyObject
*resultobj
;
30920 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30922 PyObject
* obj0
= 0 ;
30923 char *kwnames
[] = {
30924 (char *) "self", NULL
30927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
30928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30932 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
30934 wxPyEndAllowThreads(__tstate
);
30935 if (PyErr_Occurred()) SWIG_fail
;
30937 resultobj
= SWIG_FromInt((int)result
);
30944 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30945 PyObject
*resultobj
;
30946 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30948 PyObject
* obj0
= 0 ;
30949 char *kwnames
[] = {
30950 (char *) "self", NULL
30953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
30954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30958 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
30960 wxPyEndAllowThreads(__tstate
);
30961 if (PyErr_Occurred()) SWIG_fail
;
30964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30972 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30973 PyObject
*resultobj
;
30974 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30975 wxString
*arg2
= 0 ;
30976 bool temp2
= False
;
30977 PyObject
* obj0
= 0 ;
30978 PyObject
* obj1
= 0 ;
30979 char *kwnames
[] = {
30980 (char *) "self",(char *) "str", NULL
30983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
30984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30987 arg2
= wxString_in_helper(obj1
);
30988 if (arg2
== NULL
) SWIG_fail
;
30992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30993 (arg1
)->SetText((wxString
const &)*arg2
);
30995 wxPyEndAllowThreads(__tstate
);
30996 if (PyErr_Occurred()) SWIG_fail
;
30998 Py_INCREF(Py_None
); resultobj
= Py_None
;
31013 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31014 PyObject
*resultobj
;
31015 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31017 PyObject
* obj0
= 0 ;
31018 char *kwnames
[] = {
31019 (char *) "self", NULL
31022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
31023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31027 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
31029 wxPyEndAllowThreads(__tstate
);
31030 if (PyErr_Occurred()) SWIG_fail
;
31034 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31036 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31045 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31046 PyObject
*resultobj
;
31047 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31049 PyObject
* obj0
= 0 ;
31050 char *kwnames
[] = {
31051 (char *) "self", NULL
31054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
31055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31060 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
31061 result
= (wxString
*) &_result_ref
;
31064 wxPyEndAllowThreads(__tstate
);
31065 if (PyErr_Occurred()) SWIG_fail
;
31069 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
31071 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
31080 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31081 PyObject
*resultobj
;
31082 wxString
*arg1
= 0 ;
31084 bool temp1
= False
;
31085 PyObject
* obj0
= 0 ;
31086 char *kwnames
[] = {
31087 (char *) "text", NULL
31090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
31092 arg1
= wxString_in_helper(obj0
);
31093 if (arg1
== NULL
) SWIG_fail
;
31097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31098 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
31100 wxPyEndAllowThreads(__tstate
);
31101 if (PyErr_Occurred()) SWIG_fail
;
31105 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31107 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31124 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31125 PyObject
*resultobj
;
31126 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31128 PyObject
* obj0
= 0 ;
31129 char *kwnames
[] = {
31130 (char *) "self", NULL
31133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
31134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31138 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
31140 wxPyEndAllowThreads(__tstate
);
31141 if (PyErr_Occurred()) SWIG_fail
;
31143 resultobj
= SWIG_FromInt((int)result
);
31150 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31151 PyObject
*resultobj
;
31152 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31154 PyObject
* obj0
= 0 ;
31155 PyObject
* obj1
= 0 ;
31156 char *kwnames
[] = {
31157 (char *) "self",(char *) "checkable", NULL
31160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
31161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31163 arg2
= (bool) SWIG_AsBool(obj1
);
31164 if (PyErr_Occurred()) SWIG_fail
;
31166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31167 (arg1
)->SetCheckable(arg2
);
31169 wxPyEndAllowThreads(__tstate
);
31170 if (PyErr_Occurred()) SWIG_fail
;
31172 Py_INCREF(Py_None
); resultobj
= Py_None
;
31179 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31180 PyObject
*resultobj
;
31181 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31183 PyObject
* obj0
= 0 ;
31184 char *kwnames
[] = {
31185 (char *) "self", NULL
31188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
31189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31193 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
31195 wxPyEndAllowThreads(__tstate
);
31196 if (PyErr_Occurred()) SWIG_fail
;
31199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31207 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31208 PyObject
*resultobj
;
31209 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31211 PyObject
* obj0
= 0 ;
31212 char *kwnames
[] = {
31213 (char *) "self", NULL
31216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
31217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31221 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
31223 wxPyEndAllowThreads(__tstate
);
31224 if (PyErr_Occurred()) SWIG_fail
;
31227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31235 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31236 PyObject
*resultobj
;
31237 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31238 wxMenu
*arg2
= (wxMenu
*) 0 ;
31239 PyObject
* obj0
= 0 ;
31240 PyObject
* obj1
= 0 ;
31241 char *kwnames
[] = {
31242 (char *) "self",(char *) "menu", NULL
31245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31248 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31252 (arg1
)->SetSubMenu(arg2
);
31254 wxPyEndAllowThreads(__tstate
);
31255 if (PyErr_Occurred()) SWIG_fail
;
31257 Py_INCREF(Py_None
); resultobj
= Py_None
;
31264 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31265 PyObject
*resultobj
;
31266 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31268 PyObject
* obj0
= 0 ;
31269 char *kwnames
[] = {
31270 (char *) "self", NULL
31273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
31274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31278 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
31280 wxPyEndAllowThreads(__tstate
);
31281 if (PyErr_Occurred()) SWIG_fail
;
31284 resultobj
= wxPyMake_wxObject(result
);
31292 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31293 PyObject
*resultobj
;
31294 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31295 bool arg2
= (bool) True
;
31296 PyObject
* obj0
= 0 ;
31297 PyObject
* obj1
= 0 ;
31298 char *kwnames
[] = {
31299 (char *) "self",(char *) "enable", NULL
31302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
31303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31306 arg2
= (bool) SWIG_AsBool(obj1
);
31307 if (PyErr_Occurred()) SWIG_fail
;
31310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31311 (arg1
)->Enable(arg2
);
31313 wxPyEndAllowThreads(__tstate
);
31314 if (PyErr_Occurred()) SWIG_fail
;
31316 Py_INCREF(Py_None
); resultobj
= Py_None
;
31323 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31324 PyObject
*resultobj
;
31325 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31327 PyObject
* obj0
= 0 ;
31328 char *kwnames
[] = {
31329 (char *) "self", NULL
31332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
31333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31337 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
31339 wxPyEndAllowThreads(__tstate
);
31340 if (PyErr_Occurred()) SWIG_fail
;
31343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31351 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31352 PyObject
*resultobj
;
31353 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31354 bool arg2
= (bool) True
;
31355 PyObject
* obj0
= 0 ;
31356 PyObject
* obj1
= 0 ;
31357 char *kwnames
[] = {
31358 (char *) "self",(char *) "check", NULL
31361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
31362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31365 arg2
= (bool) SWIG_AsBool(obj1
);
31366 if (PyErr_Occurred()) SWIG_fail
;
31369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31370 (arg1
)->Check(arg2
);
31372 wxPyEndAllowThreads(__tstate
);
31373 if (PyErr_Occurred()) SWIG_fail
;
31375 Py_INCREF(Py_None
); resultobj
= Py_None
;
31382 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31383 PyObject
*resultobj
;
31384 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31386 PyObject
* obj0
= 0 ;
31387 char *kwnames
[] = {
31388 (char *) "self", NULL
31391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
31392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31396 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
31398 wxPyEndAllowThreads(__tstate
);
31399 if (PyErr_Occurred()) SWIG_fail
;
31402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31410 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31411 PyObject
*resultobj
;
31412 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31413 PyObject
* obj0
= 0 ;
31414 char *kwnames
[] = {
31415 (char *) "self", NULL
31418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
31419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31425 wxPyEndAllowThreads(__tstate
);
31426 if (PyErr_Occurred()) SWIG_fail
;
31428 Py_INCREF(Py_None
); resultobj
= Py_None
;
31435 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31436 PyObject
*resultobj
;
31437 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31438 wxString
*arg2
= 0 ;
31439 bool temp2
= False
;
31440 PyObject
* obj0
= 0 ;
31441 PyObject
* obj1
= 0 ;
31442 char *kwnames
[] = {
31443 (char *) "self",(char *) "str", NULL
31446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
31447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31450 arg2
= wxString_in_helper(obj1
);
31451 if (arg2
== NULL
) SWIG_fail
;
31455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31456 (arg1
)->SetHelp((wxString
const &)*arg2
);
31458 wxPyEndAllowThreads(__tstate
);
31459 if (PyErr_Occurred()) SWIG_fail
;
31461 Py_INCREF(Py_None
); resultobj
= Py_None
;
31476 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31477 PyObject
*resultobj
;
31478 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31480 PyObject
* obj0
= 0 ;
31481 char *kwnames
[] = {
31482 (char *) "self", NULL
31485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
31486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31491 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
31492 result
= (wxString
*) &_result_ref
;
31495 wxPyEndAllowThreads(__tstate
);
31496 if (PyErr_Occurred()) SWIG_fail
;
31500 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
31502 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
31511 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31512 PyObject
*resultobj
;
31513 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31514 wxAcceleratorEntry
*result
;
31515 PyObject
* obj0
= 0 ;
31516 char *kwnames
[] = {
31517 (char *) "self", NULL
31520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
31521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31525 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
31527 wxPyEndAllowThreads(__tstate
);
31528 if (PyErr_Occurred()) SWIG_fail
;
31530 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
31537 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31538 PyObject
*resultobj
;
31539 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31540 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
31541 PyObject
* obj0
= 0 ;
31542 PyObject
* obj1
= 0 ;
31543 char *kwnames
[] = {
31544 (char *) "self",(char *) "accel", NULL
31547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
31548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31550 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
31551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31554 (arg1
)->SetAccel(arg2
);
31556 wxPyEndAllowThreads(__tstate
);
31557 if (PyErr_Occurred()) SWIG_fail
;
31559 Py_INCREF(Py_None
); resultobj
= Py_None
;
31566 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31567 PyObject
*resultobj
;
31569 char *kwnames
[] = {
31573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
31575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31576 result
= (int)MenuItem_GetDefaultMarginWidth();
31578 wxPyEndAllowThreads(__tstate
);
31579 if (PyErr_Occurred()) SWIG_fail
;
31581 resultobj
= SWIG_FromInt((int)result
);
31588 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31589 PyObject
*resultobj
;
31590 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31591 wxBitmap
*arg2
= 0 ;
31592 PyObject
* obj0
= 0 ;
31593 PyObject
* obj1
= 0 ;
31594 char *kwnames
[] = {
31595 (char *) "self",(char *) "bitmap", NULL
31598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
31599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31601 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
31602 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31604 if (arg2
== NULL
) {
31605 PyErr_SetString(PyExc_TypeError
,"null reference");
31609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31610 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
31612 wxPyEndAllowThreads(__tstate
);
31613 if (PyErr_Occurred()) SWIG_fail
;
31615 Py_INCREF(Py_None
); resultobj
= Py_None
;
31622 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31623 PyObject
*resultobj
;
31624 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31626 PyObject
* obj0
= 0 ;
31627 char *kwnames
[] = {
31628 (char *) "self", NULL
31631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
31632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31637 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
31638 result
= (wxBitmap
*) &_result_ref
;
31641 wxPyEndAllowThreads(__tstate
);
31642 if (PyErr_Occurred()) SWIG_fail
;
31645 wxBitmap
* resultptr
= new wxBitmap(*result
);
31646 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
31654 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
31656 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31657 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
31659 return Py_BuildValue((char *)"");
31661 static int _wrap_ControlNameStr_set(PyObject
*) {
31662 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
31667 static PyObject
*_wrap_ControlNameStr_get() {
31672 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
31674 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
31681 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31682 PyObject
*resultobj
;
31683 wxWindow
*arg1
= (wxWindow
*) 0 ;
31685 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31686 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31687 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31688 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31689 long arg5
= (long) 0 ;
31690 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
31691 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
31692 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
31693 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31697 bool temp7
= False
;
31698 PyObject
* obj0
= 0 ;
31699 PyObject
* obj1
= 0 ;
31700 PyObject
* obj2
= 0 ;
31701 PyObject
* obj3
= 0 ;
31702 PyObject
* obj4
= 0 ;
31703 PyObject
* obj5
= 0 ;
31704 PyObject
* obj6
= 0 ;
31705 char *kwnames
[] = {
31706 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
31710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
31711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31712 arg2
= (int) SWIG_AsInt(obj1
);
31713 if (PyErr_Occurred()) SWIG_fail
;
31717 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31723 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31727 arg5
= (long) SWIG_AsLong(obj4
);
31728 if (PyErr_Occurred()) SWIG_fail
;
31731 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
31732 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31734 if (arg6
== NULL
) {
31735 PyErr_SetString(PyExc_TypeError
,"null reference");
31741 arg7
= wxString_in_helper(obj6
);
31742 if (arg7
== NULL
) SWIG_fail
;
31747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31748 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
31750 wxPyEndAllowThreads(__tstate
);
31751 if (PyErr_Occurred()) SWIG_fail
;
31754 resultobj
= wxPyMake_wxObject(result
);
31770 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31771 PyObject
*resultobj
;
31773 char *kwnames
[] = {
31777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
31779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31780 result
= (wxControl
*)new wxControl();
31782 wxPyEndAllowThreads(__tstate
);
31783 if (PyErr_Occurred()) SWIG_fail
;
31786 resultobj
= wxPyMake_wxObject(result
);
31794 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31795 PyObject
*resultobj
;
31796 wxControl
*arg1
= (wxControl
*) 0 ;
31797 wxWindow
*arg2
= (wxWindow
*) 0 ;
31799 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31800 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31801 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31802 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31803 long arg6
= (long) 0 ;
31804 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
31805 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
31806 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
31807 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31811 bool temp8
= False
;
31812 PyObject
* obj0
= 0 ;
31813 PyObject
* obj1
= 0 ;
31814 PyObject
* obj2
= 0 ;
31815 PyObject
* obj3
= 0 ;
31816 PyObject
* obj4
= 0 ;
31817 PyObject
* obj5
= 0 ;
31818 PyObject
* obj6
= 0 ;
31819 PyObject
* obj7
= 0 ;
31820 char *kwnames
[] = {
31821 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
31825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
31826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31827 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
31828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31829 arg3
= (int) SWIG_AsInt(obj2
);
31830 if (PyErr_Occurred()) SWIG_fail
;
31834 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31840 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31844 arg6
= (long) SWIG_AsLong(obj5
);
31845 if (PyErr_Occurred()) SWIG_fail
;
31848 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
31849 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31851 if (arg7
== NULL
) {
31852 PyErr_SetString(PyExc_TypeError
,"null reference");
31858 arg8
= wxString_in_helper(obj7
);
31859 if (arg8
== NULL
) SWIG_fail
;
31864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31865 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
31867 wxPyEndAllowThreads(__tstate
);
31868 if (PyErr_Occurred()) SWIG_fail
;
31871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31887 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31888 PyObject
*resultobj
;
31889 wxControl
*arg1
= (wxControl
*) 0 ;
31890 wxCommandEvent
*arg2
= 0 ;
31891 PyObject
* obj0
= 0 ;
31892 PyObject
* obj1
= 0 ;
31893 char *kwnames
[] = {
31894 (char *) "self",(char *) "event", NULL
31897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
31898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
31899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31900 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
31901 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31903 if (arg2
== NULL
) {
31904 PyErr_SetString(PyExc_TypeError
,"null reference");
31908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31909 (arg1
)->Command(*arg2
);
31911 wxPyEndAllowThreads(__tstate
);
31912 if (PyErr_Occurred()) SWIG_fail
;
31914 Py_INCREF(Py_None
); resultobj
= Py_None
;
31921 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31922 PyObject
*resultobj
;
31923 wxControl
*arg1
= (wxControl
*) 0 ;
31925 PyObject
* obj0
= 0 ;
31926 char *kwnames
[] = {
31927 (char *) "self", NULL
31930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
31931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
31932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31935 result
= (arg1
)->GetLabel();
31937 wxPyEndAllowThreads(__tstate
);
31938 if (PyErr_Occurred()) SWIG_fail
;
31942 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31944 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31953 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31954 PyObject
*resultobj
;
31955 wxControl
*arg1
= (wxControl
*) 0 ;
31956 wxString
*arg2
= 0 ;
31957 bool temp2
= False
;
31958 PyObject
* obj0
= 0 ;
31959 PyObject
* obj1
= 0 ;
31960 char *kwnames
[] = {
31961 (char *) "self",(char *) "label", NULL
31964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
31966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31968 arg2
= wxString_in_helper(obj1
);
31969 if (arg2
== NULL
) SWIG_fail
;
31973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31974 (arg1
)->SetLabel((wxString
const &)*arg2
);
31976 wxPyEndAllowThreads(__tstate
);
31977 if (PyErr_Occurred()) SWIG_fail
;
31979 Py_INCREF(Py_None
); resultobj
= Py_None
;
31994 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
31996 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31997 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
31999 return Py_BuildValue((char *)"");
32001 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32002 PyObject
*resultobj
;
32003 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32004 wxString
*arg2
= 0 ;
32005 PyObject
*arg3
= (PyObject
*) NULL
;
32007 bool temp2
= False
;
32008 PyObject
* obj0
= 0 ;
32009 PyObject
* obj1
= 0 ;
32010 PyObject
* obj2
= 0 ;
32011 char *kwnames
[] = {
32012 (char *) "self",(char *) "item",(char *) "clientData", NULL
32015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32019 arg2
= wxString_in_helper(obj1
);
32020 if (arg2
== NULL
) SWIG_fail
;
32027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32028 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
32030 wxPyEndAllowThreads(__tstate
);
32031 if (PyErr_Occurred()) SWIG_fail
;
32033 resultobj
= SWIG_FromInt((int)result
);
32048 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32049 PyObject
*resultobj
;
32050 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32051 wxArrayString
*arg2
= 0 ;
32052 bool temp2
= False
;
32053 PyObject
* obj0
= 0 ;
32054 PyObject
* obj1
= 0 ;
32055 char *kwnames
[] = {
32056 (char *) "self",(char *) "strings", NULL
32059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
32060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32063 if (! PySequence_Check(obj1
)) {
32064 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
32067 arg2
= new wxArrayString
;
32069 int i
, len
=PySequence_Length(obj1
);
32070 for (i
=0; i
<len
; i
++) {
32071 PyObject
* item
= PySequence_GetItem(obj1
, i
);
32073 PyObject
* str
= PyObject_Unicode(item
);
32075 PyObject
* str
= PyObject_Str(item
);
32077 arg2
->Add(Py2wxString(str
));
32083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32084 (arg1
)->Append((wxArrayString
const &)*arg2
);
32086 wxPyEndAllowThreads(__tstate
);
32087 if (PyErr_Occurred()) SWIG_fail
;
32089 Py_INCREF(Py_None
); resultobj
= Py_None
;
32091 if (temp2
) delete arg2
;
32096 if (temp2
) delete arg2
;
32102 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32103 PyObject
*resultobj
;
32104 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32105 wxString
*arg2
= 0 ;
32107 PyObject
*arg4
= (PyObject
*) NULL
;
32109 bool temp2
= False
;
32110 PyObject
* obj0
= 0 ;
32111 PyObject
* obj1
= 0 ;
32112 PyObject
* obj2
= 0 ;
32113 PyObject
* obj3
= 0 ;
32114 char *kwnames
[] = {
32115 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
32118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32122 arg2
= wxString_in_helper(obj1
);
32123 if (arg2
== NULL
) SWIG_fail
;
32126 arg3
= (int) SWIG_AsInt(obj2
);
32127 if (PyErr_Occurred()) SWIG_fail
;
32132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32133 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
32135 wxPyEndAllowThreads(__tstate
);
32136 if (PyErr_Occurred()) SWIG_fail
;
32138 resultobj
= SWIG_FromInt((int)result
);
32153 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32154 PyObject
*resultobj
;
32155 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32156 PyObject
* obj0
= 0 ;
32157 char *kwnames
[] = {
32158 (char *) "self", NULL
32161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
32162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32168 wxPyEndAllowThreads(__tstate
);
32169 if (PyErr_Occurred()) SWIG_fail
;
32171 Py_INCREF(Py_None
); resultobj
= Py_None
;
32178 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32179 PyObject
*resultobj
;
32180 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32182 PyObject
* obj0
= 0 ;
32183 PyObject
* obj1
= 0 ;
32184 char *kwnames
[] = {
32185 (char *) "self",(char *) "n", NULL
32188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
32189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32191 arg2
= (int) SWIG_AsInt(obj1
);
32192 if (PyErr_Occurred()) SWIG_fail
;
32194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32195 (arg1
)->Delete(arg2
);
32197 wxPyEndAllowThreads(__tstate
);
32198 if (PyErr_Occurred()) SWIG_fail
;
32200 Py_INCREF(Py_None
); resultobj
= Py_None
;
32207 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32208 PyObject
*resultobj
;
32209 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32211 PyObject
* obj0
= 0 ;
32212 char *kwnames
[] = {
32213 (char *) "self", NULL
32216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
32217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32221 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
32223 wxPyEndAllowThreads(__tstate
);
32224 if (PyErr_Occurred()) SWIG_fail
;
32226 resultobj
= SWIG_FromInt((int)result
);
32233 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32234 PyObject
*resultobj
;
32235 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32237 PyObject
* obj0
= 0 ;
32238 char *kwnames
[] = {
32239 (char *) "self", NULL
32242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
32243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32247 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
32249 wxPyEndAllowThreads(__tstate
);
32250 if (PyErr_Occurred()) SWIG_fail
;
32253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32261 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32262 PyObject
*resultobj
;
32263 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32266 PyObject
* obj0
= 0 ;
32267 PyObject
* obj1
= 0 ;
32268 char *kwnames
[] = {
32269 (char *) "self",(char *) "n", NULL
32272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
32273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32275 arg2
= (int) SWIG_AsInt(obj1
);
32276 if (PyErr_Occurred()) SWIG_fail
;
32278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32279 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
32281 wxPyEndAllowThreads(__tstate
);
32282 if (PyErr_Occurred()) SWIG_fail
;
32286 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32288 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32297 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32298 PyObject
*resultobj
;
32299 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32300 wxArrayString result
;
32301 PyObject
* obj0
= 0 ;
32302 char *kwnames
[] = {
32303 (char *) "self", NULL
32306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
32307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32311 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
32313 wxPyEndAllowThreads(__tstate
);
32314 if (PyErr_Occurred()) SWIG_fail
;
32317 resultobj
= wxArrayString2PyList_helper(result
);
32325 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32326 PyObject
*resultobj
;
32327 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32329 wxString
*arg3
= 0 ;
32330 bool temp3
= False
;
32331 PyObject
* obj0
= 0 ;
32332 PyObject
* obj1
= 0 ;
32333 PyObject
* obj2
= 0 ;
32334 char *kwnames
[] = {
32335 (char *) "self",(char *) "n",(char *) "s", NULL
32338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32341 arg2
= (int) SWIG_AsInt(obj1
);
32342 if (PyErr_Occurred()) SWIG_fail
;
32344 arg3
= wxString_in_helper(obj2
);
32345 if (arg3
== NULL
) SWIG_fail
;
32349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32350 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
32352 wxPyEndAllowThreads(__tstate
);
32353 if (PyErr_Occurred()) SWIG_fail
;
32355 Py_INCREF(Py_None
); resultobj
= Py_None
;
32370 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32371 PyObject
*resultobj
;
32372 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32373 wxString
*arg2
= 0 ;
32375 bool temp2
= False
;
32376 PyObject
* obj0
= 0 ;
32377 PyObject
* obj1
= 0 ;
32378 char *kwnames
[] = {
32379 (char *) "self",(char *) "s", NULL
32382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
32383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32386 arg2
= wxString_in_helper(obj1
);
32387 if (arg2
== NULL
) SWIG_fail
;
32391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32392 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
32394 wxPyEndAllowThreads(__tstate
);
32395 if (PyErr_Occurred()) SWIG_fail
;
32397 resultobj
= SWIG_FromInt((int)result
);
32412 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32413 PyObject
*resultobj
;
32414 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32416 PyObject
* obj0
= 0 ;
32417 PyObject
* obj1
= 0 ;
32418 char *kwnames
[] = {
32419 (char *) "self",(char *) "n", NULL
32422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
32423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32425 arg2
= (int) SWIG_AsInt(obj1
);
32426 if (PyErr_Occurred()) SWIG_fail
;
32428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32429 (arg1
)->Select(arg2
);
32431 wxPyEndAllowThreads(__tstate
);
32432 if (PyErr_Occurred()) SWIG_fail
;
32434 Py_INCREF(Py_None
); resultobj
= Py_None
;
32441 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32442 PyObject
*resultobj
;
32443 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32445 PyObject
* obj0
= 0 ;
32446 char *kwnames
[] = {
32447 (char *) "self", NULL
32450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
32451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32455 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
32457 wxPyEndAllowThreads(__tstate
);
32458 if (PyErr_Occurred()) SWIG_fail
;
32460 resultobj
= SWIG_FromInt((int)result
);
32467 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32468 PyObject
*resultobj
;
32469 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32471 PyObject
* obj0
= 0 ;
32472 char *kwnames
[] = {
32473 (char *) "self", NULL
32476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
32477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32481 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
32483 wxPyEndAllowThreads(__tstate
);
32484 if (PyErr_Occurred()) SWIG_fail
;
32488 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32490 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32499 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32500 PyObject
*resultobj
;
32501 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32504 PyObject
* obj0
= 0 ;
32505 PyObject
* obj1
= 0 ;
32506 char *kwnames
[] = {
32507 (char *) "self",(char *) "n", NULL
32510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
32511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32513 arg2
= (int) SWIG_AsInt(obj1
);
32514 if (PyErr_Occurred()) SWIG_fail
;
32516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32517 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
32519 wxPyEndAllowThreads(__tstate
);
32520 if (PyErr_Occurred()) SWIG_fail
;
32522 resultobj
= result
;
32529 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32530 PyObject
*resultobj
;
32531 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32533 PyObject
*arg3
= (PyObject
*) 0 ;
32534 PyObject
* obj0
= 0 ;
32535 PyObject
* obj1
= 0 ;
32536 PyObject
* obj2
= 0 ;
32537 char *kwnames
[] = {
32538 (char *) "self",(char *) "n",(char *) "clientData", NULL
32541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32544 arg2
= (int) SWIG_AsInt(obj1
);
32545 if (PyErr_Occurred()) SWIG_fail
;
32548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32549 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
32551 wxPyEndAllowThreads(__tstate
);
32552 if (PyErr_Occurred()) SWIG_fail
;
32554 Py_INCREF(Py_None
); resultobj
= Py_None
;
32561 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
32563 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32564 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
32566 return Py_BuildValue((char *)"");
32568 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
32570 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32571 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
32573 return Py_BuildValue((char *)"");
32575 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32576 PyObject
*resultobj
;
32577 wxSizerItem
*result
;
32578 char *kwnames
[] = {
32582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
32584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32585 result
= (wxSizerItem
*)new wxSizerItem();
32587 wxPyEndAllowThreads(__tstate
);
32588 if (PyErr_Occurred()) SWIG_fail
;
32590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
32597 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32598 PyObject
*resultobj
;
32604 wxObject
*arg6
= (wxObject
*) 0 ;
32605 wxSizerItem
*result
;
32606 PyObject
* obj0
= 0 ;
32607 PyObject
* obj1
= 0 ;
32608 PyObject
* obj2
= 0 ;
32609 PyObject
* obj3
= 0 ;
32610 PyObject
* obj4
= 0 ;
32611 PyObject
* obj5
= 0 ;
32612 char *kwnames
[] = {
32613 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32617 arg1
= (int) SWIG_AsInt(obj0
);
32618 if (PyErr_Occurred()) SWIG_fail
;
32619 arg2
= (int) SWIG_AsInt(obj1
);
32620 if (PyErr_Occurred()) SWIG_fail
;
32621 arg3
= (int) SWIG_AsInt(obj2
);
32622 if (PyErr_Occurred()) SWIG_fail
;
32623 arg4
= (int) SWIG_AsInt(obj3
);
32624 if (PyErr_Occurred()) SWIG_fail
;
32625 arg5
= (int) SWIG_AsInt(obj4
);
32626 if (PyErr_Occurred()) SWIG_fail
;
32627 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
32628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32631 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
32633 wxPyEndAllowThreads(__tstate
);
32634 if (PyErr_Occurred()) SWIG_fail
;
32636 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
32643 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32644 PyObject
*resultobj
;
32645 wxWindow
*arg1
= (wxWindow
*) 0 ;
32649 wxObject
*arg5
= (wxObject
*) 0 ;
32650 wxSizerItem
*result
;
32651 PyObject
* obj0
= 0 ;
32652 PyObject
* obj1
= 0 ;
32653 PyObject
* obj2
= 0 ;
32654 PyObject
* obj3
= 0 ;
32655 PyObject
* obj4
= 0 ;
32656 char *kwnames
[] = {
32657 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
32662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32663 arg2
= (int) SWIG_AsInt(obj1
);
32664 if (PyErr_Occurred()) SWIG_fail
;
32665 arg3
= (int) SWIG_AsInt(obj2
);
32666 if (PyErr_Occurred()) SWIG_fail
;
32667 arg4
= (int) SWIG_AsInt(obj3
);
32668 if (PyErr_Occurred()) SWIG_fail
;
32669 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
32670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32673 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
32675 wxPyEndAllowThreads(__tstate
);
32676 if (PyErr_Occurred()) SWIG_fail
;
32678 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
32685 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32686 PyObject
*resultobj
;
32687 wxSizer
*arg1
= (wxSizer
*) 0 ;
32691 wxObject
*arg5
= (wxObject
*) 0 ;
32692 wxSizerItem
*result
;
32693 PyObject
* obj0
= 0 ;
32694 PyObject
* obj1
= 0 ;
32695 PyObject
* obj2
= 0 ;
32696 PyObject
* obj3
= 0 ;
32697 PyObject
* obj4
= 0 ;
32698 char *kwnames
[] = {
32699 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
32704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32705 arg2
= (int) SWIG_AsInt(obj1
);
32706 if (PyErr_Occurred()) SWIG_fail
;
32707 arg3
= (int) SWIG_AsInt(obj2
);
32708 if (PyErr_Occurred()) SWIG_fail
;
32709 arg4
= (int) SWIG_AsInt(obj3
);
32710 if (PyErr_Occurred()) SWIG_fail
;
32711 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
32712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32715 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
32717 wxPyEndAllowThreads(__tstate
);
32718 if (PyErr_Occurred()) SWIG_fail
;
32720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
32727 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32728 PyObject
*resultobj
;
32729 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32730 PyObject
* obj0
= 0 ;
32731 char *kwnames
[] = {
32732 (char *) "self", NULL
32735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
32736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32740 (arg1
)->DeleteWindows();
32742 wxPyEndAllowThreads(__tstate
);
32743 if (PyErr_Occurred()) SWIG_fail
;
32745 Py_INCREF(Py_None
); resultobj
= Py_None
;
32752 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32753 PyObject
*resultobj
;
32754 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32755 PyObject
* obj0
= 0 ;
32756 char *kwnames
[] = {
32757 (char *) "self", NULL
32760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
32761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32765 (arg1
)->DetachSizer();
32767 wxPyEndAllowThreads(__tstate
);
32768 if (PyErr_Occurred()) SWIG_fail
;
32770 Py_INCREF(Py_None
); resultobj
= Py_None
;
32777 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32778 PyObject
*resultobj
;
32779 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32781 PyObject
* obj0
= 0 ;
32782 char *kwnames
[] = {
32783 (char *) "self", NULL
32786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
32787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32791 result
= (arg1
)->GetSize();
32793 wxPyEndAllowThreads(__tstate
);
32794 if (PyErr_Occurred()) SWIG_fail
;
32797 wxSize
* resultptr
;
32798 resultptr
= new wxSize((wxSize
&) result
);
32799 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32807 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32808 PyObject
*resultobj
;
32809 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32811 PyObject
* obj0
= 0 ;
32812 char *kwnames
[] = {
32813 (char *) "self", NULL
32816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
32817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32821 result
= (arg1
)->CalcMin();
32823 wxPyEndAllowThreads(__tstate
);
32824 if (PyErr_Occurred()) SWIG_fail
;
32827 wxSize
* resultptr
;
32828 resultptr
= new wxSize((wxSize
&) result
);
32829 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32837 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32838 PyObject
*resultobj
;
32839 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32844 PyObject
* obj0
= 0 ;
32845 PyObject
* obj1
= 0 ;
32846 PyObject
* obj2
= 0 ;
32847 char *kwnames
[] = {
32848 (char *) "self",(char *) "pos",(char *) "size", NULL
32851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32854 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
32855 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
32857 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
32858 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
32861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32862 (arg1
)->SetDimension(arg2
,arg3
);
32864 wxPyEndAllowThreads(__tstate
);
32865 if (PyErr_Occurred()) SWIG_fail
;
32867 Py_INCREF(Py_None
); resultobj
= Py_None
;
32874 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32875 PyObject
*resultobj
;
32876 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32878 PyObject
* obj0
= 0 ;
32879 char *kwnames
[] = {
32880 (char *) "self", NULL
32883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
32884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32888 result
= (arg1
)->GetMinSize();
32890 wxPyEndAllowThreads(__tstate
);
32891 if (PyErr_Occurred()) SWIG_fail
;
32894 wxSize
* resultptr
;
32895 resultptr
= new wxSize((wxSize
&) result
);
32896 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32904 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32905 PyObject
*resultobj
;
32906 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32909 PyObject
* obj0
= 0 ;
32910 PyObject
* obj1
= 0 ;
32911 PyObject
* obj2
= 0 ;
32912 char *kwnames
[] = {
32913 (char *) "self",(char *) "x",(char *) "y", NULL
32916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32919 arg2
= (int) SWIG_AsInt(obj1
);
32920 if (PyErr_Occurred()) SWIG_fail
;
32921 arg3
= (int) SWIG_AsInt(obj2
);
32922 if (PyErr_Occurred()) SWIG_fail
;
32924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32925 (arg1
)->SetInitSize(arg2
,arg3
);
32927 wxPyEndAllowThreads(__tstate
);
32928 if (PyErr_Occurred()) SWIG_fail
;
32930 Py_INCREF(Py_None
); resultobj
= Py_None
;
32937 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32938 PyObject
*resultobj
;
32939 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32942 PyObject
* obj0
= 0 ;
32943 PyObject
* obj1
= 0 ;
32944 PyObject
* obj2
= 0 ;
32945 char *kwnames
[] = {
32946 (char *) "self",(char *) "width",(char *) "height", NULL
32949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32952 arg2
= (int) SWIG_AsInt(obj1
);
32953 if (PyErr_Occurred()) SWIG_fail
;
32954 arg3
= (int) SWIG_AsInt(obj2
);
32955 if (PyErr_Occurred()) SWIG_fail
;
32957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32958 (arg1
)->SetRatio(arg2
,arg3
);
32960 wxPyEndAllowThreads(__tstate
);
32961 if (PyErr_Occurred()) SWIG_fail
;
32963 Py_INCREF(Py_None
); resultobj
= Py_None
;
32970 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32971 PyObject
*resultobj
;
32972 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32975 PyObject
* obj0
= 0 ;
32976 PyObject
* obj1
= 0 ;
32977 char *kwnames
[] = {
32978 (char *) "self",(char *) "size", NULL
32981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
32982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32984 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
32985 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
32988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32989 (arg1
)->SetRatio(arg2
);
32991 wxPyEndAllowThreads(__tstate
);
32992 if (PyErr_Occurred()) SWIG_fail
;
32994 Py_INCREF(Py_None
); resultobj
= Py_None
;
33001 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33002 PyObject
*resultobj
;
33003 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33005 PyObject
* obj0
= 0 ;
33006 PyObject
* obj1
= 0 ;
33007 char *kwnames
[] = {
33008 (char *) "self",(char *) "ratio", NULL
33011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
33012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33014 arg2
= (float) SWIG_AsFloat(obj1
);
33015 if (PyErr_Occurred()) SWIG_fail
;
33017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33018 (arg1
)->SetRatio(arg2
);
33020 wxPyEndAllowThreads(__tstate
);
33021 if (PyErr_Occurred()) SWIG_fail
;
33023 Py_INCREF(Py_None
); resultobj
= Py_None
;
33030 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33031 PyObject
*resultobj
;
33032 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33034 PyObject
* obj0
= 0 ;
33035 char *kwnames
[] = {
33036 (char *) "self", NULL
33039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
33040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33044 result
= (float)(arg1
)->GetRatio();
33046 wxPyEndAllowThreads(__tstate
);
33047 if (PyErr_Occurred()) SWIG_fail
;
33049 resultobj
= SWIG_FromFloat((float)result
);
33056 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33057 PyObject
*resultobj
;
33058 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33060 PyObject
* obj0
= 0 ;
33061 char *kwnames
[] = {
33062 (char *) "self", NULL
33065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
33066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33070 result
= (bool)(arg1
)->IsWindow();
33072 wxPyEndAllowThreads(__tstate
);
33073 if (PyErr_Occurred()) SWIG_fail
;
33076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33084 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33085 PyObject
*resultobj
;
33086 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33088 PyObject
* obj0
= 0 ;
33089 char *kwnames
[] = {
33090 (char *) "self", NULL
33093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
33094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33098 result
= (bool)(arg1
)->IsSizer();
33100 wxPyEndAllowThreads(__tstate
);
33101 if (PyErr_Occurred()) SWIG_fail
;
33104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33112 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33113 PyObject
*resultobj
;
33114 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33116 PyObject
* obj0
= 0 ;
33117 char *kwnames
[] = {
33118 (char *) "self", NULL
33121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
33122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33126 result
= (bool)(arg1
)->IsSpacer();
33128 wxPyEndAllowThreads(__tstate
);
33129 if (PyErr_Occurred()) SWIG_fail
;
33132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33140 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33141 PyObject
*resultobj
;
33142 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33144 PyObject
* obj0
= 0 ;
33145 PyObject
* obj1
= 0 ;
33146 char *kwnames
[] = {
33147 (char *) "self",(char *) "proportion", NULL
33150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
33151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33153 arg2
= (int) SWIG_AsInt(obj1
);
33154 if (PyErr_Occurred()) SWIG_fail
;
33156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33157 (arg1
)->SetProportion(arg2
);
33159 wxPyEndAllowThreads(__tstate
);
33160 if (PyErr_Occurred()) SWIG_fail
;
33162 Py_INCREF(Py_None
); resultobj
= Py_None
;
33169 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33170 PyObject
*resultobj
;
33171 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33173 PyObject
* obj0
= 0 ;
33174 char *kwnames
[] = {
33175 (char *) "self", NULL
33178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
33179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33183 result
= (int)(arg1
)->GetProportion();
33185 wxPyEndAllowThreads(__tstate
);
33186 if (PyErr_Occurred()) SWIG_fail
;
33188 resultobj
= SWIG_FromInt((int)result
);
33195 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33196 PyObject
*resultobj
;
33197 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33199 PyObject
* obj0
= 0 ;
33200 PyObject
* obj1
= 0 ;
33201 char *kwnames
[] = {
33202 (char *) "self",(char *) "flag", NULL
33205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
33206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33208 arg2
= (int) SWIG_AsInt(obj1
);
33209 if (PyErr_Occurred()) SWIG_fail
;
33211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33212 (arg1
)->SetFlag(arg2
);
33214 wxPyEndAllowThreads(__tstate
);
33215 if (PyErr_Occurred()) SWIG_fail
;
33217 Py_INCREF(Py_None
); resultobj
= Py_None
;
33224 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33225 PyObject
*resultobj
;
33226 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33228 PyObject
* obj0
= 0 ;
33229 char *kwnames
[] = {
33230 (char *) "self", NULL
33233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
33234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33238 result
= (int)(arg1
)->GetFlag();
33240 wxPyEndAllowThreads(__tstate
);
33241 if (PyErr_Occurred()) SWIG_fail
;
33243 resultobj
= SWIG_FromInt((int)result
);
33250 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33251 PyObject
*resultobj
;
33252 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33254 PyObject
* obj0
= 0 ;
33255 PyObject
* obj1
= 0 ;
33256 char *kwnames
[] = {
33257 (char *) "self",(char *) "border", NULL
33260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
33261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33263 arg2
= (int) SWIG_AsInt(obj1
);
33264 if (PyErr_Occurred()) SWIG_fail
;
33266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33267 (arg1
)->SetBorder(arg2
);
33269 wxPyEndAllowThreads(__tstate
);
33270 if (PyErr_Occurred()) SWIG_fail
;
33272 Py_INCREF(Py_None
); resultobj
= Py_None
;
33279 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33280 PyObject
*resultobj
;
33281 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33283 PyObject
* obj0
= 0 ;
33284 char *kwnames
[] = {
33285 (char *) "self", NULL
33288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
33289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33293 result
= (int)(arg1
)->GetBorder();
33295 wxPyEndAllowThreads(__tstate
);
33296 if (PyErr_Occurred()) SWIG_fail
;
33298 resultobj
= SWIG_FromInt((int)result
);
33305 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33306 PyObject
*resultobj
;
33307 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33309 PyObject
* obj0
= 0 ;
33310 char *kwnames
[] = {
33311 (char *) "self", NULL
33314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
33315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33319 result
= (wxWindow
*)(arg1
)->GetWindow();
33321 wxPyEndAllowThreads(__tstate
);
33322 if (PyErr_Occurred()) SWIG_fail
;
33325 resultobj
= wxPyMake_wxObject(result
);
33333 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33334 PyObject
*resultobj
;
33335 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33336 wxWindow
*arg2
= (wxWindow
*) 0 ;
33337 PyObject
* obj0
= 0 ;
33338 PyObject
* obj1
= 0 ;
33339 char *kwnames
[] = {
33340 (char *) "self",(char *) "window", NULL
33343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
33344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33346 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
33347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33350 (arg1
)->SetWindow(arg2
);
33352 wxPyEndAllowThreads(__tstate
);
33353 if (PyErr_Occurred()) SWIG_fail
;
33355 Py_INCREF(Py_None
); resultobj
= Py_None
;
33362 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33363 PyObject
*resultobj
;
33364 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33366 PyObject
* obj0
= 0 ;
33367 char *kwnames
[] = {
33368 (char *) "self", NULL
33371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
33372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33376 result
= (wxSizer
*)(arg1
)->GetSizer();
33378 wxPyEndAllowThreads(__tstate
);
33379 if (PyErr_Occurred()) SWIG_fail
;
33382 resultobj
= wxPyMake_wxSizer(result
);
33390 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33391 PyObject
*resultobj
;
33392 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33393 wxSizer
*arg2
= (wxSizer
*) 0 ;
33394 PyObject
* obj0
= 0 ;
33395 PyObject
* obj1
= 0 ;
33396 char *kwnames
[] = {
33397 (char *) "self",(char *) "sizer", NULL
33400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
33401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33403 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
33404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33407 (arg1
)->SetSizer(arg2
);
33409 wxPyEndAllowThreads(__tstate
);
33410 if (PyErr_Occurred()) SWIG_fail
;
33412 Py_INCREF(Py_None
); resultobj
= Py_None
;
33419 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33420 PyObject
*resultobj
;
33421 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33423 PyObject
* obj0
= 0 ;
33424 char *kwnames
[] = {
33425 (char *) "self", NULL
33428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
33429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33434 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
33435 result
= (wxSize
*) &_result_ref
;
33438 wxPyEndAllowThreads(__tstate
);
33439 if (PyErr_Occurred()) SWIG_fail
;
33441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
33448 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33449 PyObject
*resultobj
;
33450 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33453 PyObject
* obj0
= 0 ;
33454 PyObject
* obj1
= 0 ;
33455 char *kwnames
[] = {
33456 (char *) "self",(char *) "size", NULL
33459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
33460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33464 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33468 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
33470 wxPyEndAllowThreads(__tstate
);
33471 if (PyErr_Occurred()) SWIG_fail
;
33473 Py_INCREF(Py_None
); resultobj
= Py_None
;
33480 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33481 PyObject
*resultobj
;
33482 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33484 PyObject
* obj0
= 0 ;
33485 PyObject
* obj1
= 0 ;
33486 char *kwnames
[] = {
33487 (char *) "self",(char *) "show", NULL
33490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
33491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33493 arg2
= (bool) SWIG_AsBool(obj1
);
33494 if (PyErr_Occurred()) SWIG_fail
;
33496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33497 (arg1
)->Show(arg2
);
33499 wxPyEndAllowThreads(__tstate
);
33500 if (PyErr_Occurred()) SWIG_fail
;
33502 Py_INCREF(Py_None
); resultobj
= Py_None
;
33509 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33510 PyObject
*resultobj
;
33511 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33513 PyObject
* obj0
= 0 ;
33514 char *kwnames
[] = {
33515 (char *) "self", NULL
33518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
33519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33523 result
= (bool)(arg1
)->IsShown();
33525 wxPyEndAllowThreads(__tstate
);
33526 if (PyErr_Occurred()) SWIG_fail
;
33529 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33537 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33538 PyObject
*resultobj
;
33539 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33541 PyObject
* obj0
= 0 ;
33542 char *kwnames
[] = {
33543 (char *) "self", NULL
33546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
33547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33551 result
= (arg1
)->GetPosition();
33553 wxPyEndAllowThreads(__tstate
);
33554 if (PyErr_Occurred()) SWIG_fail
;
33557 wxPoint
* resultptr
;
33558 resultptr
= new wxPoint((wxPoint
&) result
);
33559 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
33567 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33568 PyObject
*resultobj
;
33569 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33571 PyObject
* obj0
= 0 ;
33572 char *kwnames
[] = {
33573 (char *) "self", NULL
33576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
33577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33581 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
33583 wxPyEndAllowThreads(__tstate
);
33584 if (PyErr_Occurred()) SWIG_fail
;
33586 resultobj
= result
;
33593 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
33595 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33596 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
33598 return Py_BuildValue((char *)"");
33600 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33601 PyObject
*resultobj
;
33602 wxSizer
*arg1
= (wxSizer
*) 0 ;
33603 PyObject
*arg2
= (PyObject
*) 0 ;
33604 PyObject
* obj0
= 0 ;
33605 PyObject
* obj1
= 0 ;
33606 char *kwnames
[] = {
33607 (char *) "self",(char *) "_self", NULL
33610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
33611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33616 wxSizer__setOORInfo(arg1
,arg2
);
33618 wxPyEndAllowThreads(__tstate
);
33619 if (PyErr_Occurred()) SWIG_fail
;
33621 Py_INCREF(Py_None
); resultobj
= Py_None
;
33628 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33629 PyObject
*resultobj
;
33630 wxSizer
*arg1
= (wxSizer
*) 0 ;
33631 PyObject
*arg2
= (PyObject
*) 0 ;
33632 int arg3
= (int) 0 ;
33633 int arg4
= (int) 0 ;
33634 int arg5
= (int) 0 ;
33635 PyObject
*arg6
= (PyObject
*) NULL
;
33636 PyObject
* obj0
= 0 ;
33637 PyObject
* obj1
= 0 ;
33638 PyObject
* obj2
= 0 ;
33639 PyObject
* obj3
= 0 ;
33640 PyObject
* obj4
= 0 ;
33641 PyObject
* obj5
= 0 ;
33642 char *kwnames
[] = {
33643 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33651 arg3
= (int) SWIG_AsInt(obj2
);
33652 if (PyErr_Occurred()) SWIG_fail
;
33655 arg4
= (int) SWIG_AsInt(obj3
);
33656 if (PyErr_Occurred()) SWIG_fail
;
33659 arg5
= (int) SWIG_AsInt(obj4
);
33660 if (PyErr_Occurred()) SWIG_fail
;
33666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33667 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
33669 wxPyEndAllowThreads(__tstate
);
33670 if (PyErr_Occurred()) SWIG_fail
;
33672 Py_INCREF(Py_None
); resultobj
= Py_None
;
33679 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33680 PyObject
*resultobj
;
33681 wxSizer
*arg1
= (wxSizer
*) 0 ;
33683 PyObject
*arg3
= (PyObject
*) 0 ;
33684 int arg4
= (int) 0 ;
33685 int arg5
= (int) 0 ;
33686 int arg6
= (int) 0 ;
33687 PyObject
*arg7
= (PyObject
*) NULL
;
33688 PyObject
* obj0
= 0 ;
33689 PyObject
* obj1
= 0 ;
33690 PyObject
* obj2
= 0 ;
33691 PyObject
* obj3
= 0 ;
33692 PyObject
* obj4
= 0 ;
33693 PyObject
* obj5
= 0 ;
33694 PyObject
* obj6
= 0 ;
33695 char *kwnames
[] = {
33696 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
33700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33702 arg2
= (int) SWIG_AsInt(obj1
);
33703 if (PyErr_Occurred()) SWIG_fail
;
33706 arg4
= (int) SWIG_AsInt(obj3
);
33707 if (PyErr_Occurred()) SWIG_fail
;
33710 arg5
= (int) SWIG_AsInt(obj4
);
33711 if (PyErr_Occurred()) SWIG_fail
;
33714 arg6
= (int) SWIG_AsInt(obj5
);
33715 if (PyErr_Occurred()) SWIG_fail
;
33721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33722 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
33724 wxPyEndAllowThreads(__tstate
);
33725 if (PyErr_Occurred()) SWIG_fail
;
33727 Py_INCREF(Py_None
); resultobj
= Py_None
;
33734 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33735 PyObject
*resultobj
;
33736 wxSizer
*arg1
= (wxSizer
*) 0 ;
33737 PyObject
*arg2
= (PyObject
*) 0 ;
33738 int arg3
= (int) 0 ;
33739 int arg4
= (int) 0 ;
33740 int arg5
= (int) 0 ;
33741 PyObject
*arg6
= (PyObject
*) NULL
;
33742 PyObject
* obj0
= 0 ;
33743 PyObject
* obj1
= 0 ;
33744 PyObject
* obj2
= 0 ;
33745 PyObject
* obj3
= 0 ;
33746 PyObject
* obj4
= 0 ;
33747 PyObject
* obj5
= 0 ;
33748 char *kwnames
[] = {
33749 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33757 arg3
= (int) SWIG_AsInt(obj2
);
33758 if (PyErr_Occurred()) SWIG_fail
;
33761 arg4
= (int) SWIG_AsInt(obj3
);
33762 if (PyErr_Occurred()) SWIG_fail
;
33765 arg5
= (int) SWIG_AsInt(obj4
);
33766 if (PyErr_Occurred()) SWIG_fail
;
33772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33773 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
33775 wxPyEndAllowThreads(__tstate
);
33776 if (PyErr_Occurred()) SWIG_fail
;
33778 Py_INCREF(Py_None
); resultobj
= Py_None
;
33785 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33786 PyObject
*resultobj
;
33787 wxSizer
*arg1
= (wxSizer
*) 0 ;
33788 PyObject
*arg2
= (PyObject
*) 0 ;
33790 PyObject
* obj0
= 0 ;
33791 PyObject
* obj1
= 0 ;
33792 char *kwnames
[] = {
33793 (char *) "self",(char *) "item", NULL
33796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
33797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33802 result
= (bool)wxSizer_Remove(arg1
,arg2
);
33804 wxPyEndAllowThreads(__tstate
);
33805 if (PyErr_Occurred()) SWIG_fail
;
33808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33816 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33817 PyObject
*resultobj
;
33818 wxSizer
*arg1
= (wxSizer
*) 0 ;
33819 PyObject
*arg2
= (PyObject
*) 0 ;
33822 PyObject
* obj0
= 0 ;
33823 PyObject
* obj1
= 0 ;
33824 PyObject
* obj2
= 0 ;
33825 char *kwnames
[] = {
33826 (char *) "self",(char *) "item",(char *) "size", NULL
33829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33835 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
33838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33839 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
33841 wxPyEndAllowThreads(__tstate
);
33842 if (PyErr_Occurred()) SWIG_fail
;
33844 Py_INCREF(Py_None
); resultobj
= Py_None
;
33851 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33852 PyObject
*resultobj
;
33853 wxSizer
*arg1
= (wxSizer
*) 0 ;
33854 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
33855 PyObject
* obj0
= 0 ;
33856 PyObject
* obj1
= 0 ;
33857 char *kwnames
[] = {
33858 (char *) "self",(char *) "item", NULL
33861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33864 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
33865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33870 wxPyEndAllowThreads(__tstate
);
33871 if (PyErr_Occurred()) SWIG_fail
;
33873 Py_INCREF(Py_None
); resultobj
= Py_None
;
33880 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33881 PyObject
*resultobj
;
33882 wxSizer
*arg1
= (wxSizer
*) 0 ;
33884 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
33885 PyObject
* obj0
= 0 ;
33886 PyObject
* obj1
= 0 ;
33887 PyObject
* obj2
= 0 ;
33888 char *kwnames
[] = {
33889 (char *) "self",(char *) "index",(char *) "item", NULL
33892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33895 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
33896 if (PyErr_Occurred()) SWIG_fail
;
33897 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
33898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33901 (arg1
)->Insert(arg2
,arg3
);
33903 wxPyEndAllowThreads(__tstate
);
33904 if (PyErr_Occurred()) SWIG_fail
;
33906 Py_INCREF(Py_None
); resultobj
= Py_None
;
33913 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33914 PyObject
*resultobj
;
33915 wxSizer
*arg1
= (wxSizer
*) 0 ;
33916 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
33917 PyObject
* obj0
= 0 ;
33918 PyObject
* obj1
= 0 ;
33919 char *kwnames
[] = {
33920 (char *) "self",(char *) "item", NULL
33923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33926 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
33927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33930 (arg1
)->Prepend(arg2
);
33932 wxPyEndAllowThreads(__tstate
);
33933 if (PyErr_Occurred()) SWIG_fail
;
33935 Py_INCREF(Py_None
); resultobj
= Py_None
;
33942 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33943 PyObject
*resultobj
;
33944 wxSizer
*arg1
= (wxSizer
*) 0 ;
33949 PyObject
* obj0
= 0 ;
33950 PyObject
* obj1
= 0 ;
33951 PyObject
* obj2
= 0 ;
33952 PyObject
* obj3
= 0 ;
33953 PyObject
* obj4
= 0 ;
33954 char *kwnames
[] = {
33955 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33961 arg2
= (int) SWIG_AsInt(obj1
);
33962 if (PyErr_Occurred()) SWIG_fail
;
33963 arg3
= (int) SWIG_AsInt(obj2
);
33964 if (PyErr_Occurred()) SWIG_fail
;
33965 arg4
= (int) SWIG_AsInt(obj3
);
33966 if (PyErr_Occurred()) SWIG_fail
;
33967 arg5
= (int) SWIG_AsInt(obj4
);
33968 if (PyErr_Occurred()) SWIG_fail
;
33970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33971 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
33973 wxPyEndAllowThreads(__tstate
);
33974 if (PyErr_Occurred()) SWIG_fail
;
33976 Py_INCREF(Py_None
); resultobj
= Py_None
;
33983 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33984 PyObject
*resultobj
;
33985 wxSizer
*arg1
= (wxSizer
*) 0 ;
33988 PyObject
* obj0
= 0 ;
33989 PyObject
* obj1
= 0 ;
33990 char *kwnames
[] = {
33991 (char *) "self",(char *) "size", NULL
33994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
33995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33999 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
34002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34003 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
34005 wxPyEndAllowThreads(__tstate
);
34006 if (PyErr_Occurred()) SWIG_fail
;
34008 Py_INCREF(Py_None
); resultobj
= Py_None
;
34015 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34016 PyObject
*resultobj
;
34017 wxSizer
*arg1
= (wxSizer
*) 0 ;
34019 PyObject
* obj0
= 0 ;
34020 char *kwnames
[] = {
34021 (char *) "self", NULL
34024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
34025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34029 result
= (arg1
)->GetSize();
34031 wxPyEndAllowThreads(__tstate
);
34032 if (PyErr_Occurred()) SWIG_fail
;
34035 wxSize
* resultptr
;
34036 resultptr
= new wxSize((wxSize
&) result
);
34037 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34045 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34046 PyObject
*resultobj
;
34047 wxSizer
*arg1
= (wxSizer
*) 0 ;
34049 PyObject
* obj0
= 0 ;
34050 char *kwnames
[] = {
34051 (char *) "self", NULL
34054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
34055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34059 result
= (arg1
)->GetPosition();
34061 wxPyEndAllowThreads(__tstate
);
34062 if (PyErr_Occurred()) SWIG_fail
;
34065 wxPoint
* resultptr
;
34066 resultptr
= new wxPoint((wxPoint
&) result
);
34067 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
34075 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34076 PyObject
*resultobj
;
34077 wxSizer
*arg1
= (wxSizer
*) 0 ;
34079 PyObject
* obj0
= 0 ;
34080 char *kwnames
[] = {
34081 (char *) "self", NULL
34084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
34085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34089 result
= (arg1
)->GetMinSize();
34091 wxPyEndAllowThreads(__tstate
);
34092 if (PyErr_Occurred()) SWIG_fail
;
34095 wxSize
* resultptr
;
34096 resultptr
= new wxSize((wxSize
&) result
);
34097 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34105 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34106 PyObject
*resultobj
;
34107 wxSizer
*arg1
= (wxSizer
*) 0 ;
34108 PyObject
* obj0
= 0 ;
34109 char *kwnames
[] = {
34110 (char *) "self", NULL
34113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34118 (arg1
)->RecalcSizes();
34120 wxPyEndAllowThreads(__tstate
);
34121 if (PyErr_Occurred()) SWIG_fail
;
34123 Py_INCREF(Py_None
); resultobj
= Py_None
;
34130 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34131 PyObject
*resultobj
;
34132 wxSizer
*arg1
= (wxSizer
*) 0 ;
34134 PyObject
* obj0
= 0 ;
34135 char *kwnames
[] = {
34136 (char *) "self", NULL
34139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34144 result
= (arg1
)->CalcMin();
34146 wxPyEndAllowThreads(__tstate
);
34147 if (PyErr_Occurred()) SWIG_fail
;
34150 wxSize
* resultptr
;
34151 resultptr
= new wxSize((wxSize
&) result
);
34152 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34160 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34161 PyObject
*resultobj
;
34162 wxSizer
*arg1
= (wxSizer
*) 0 ;
34163 PyObject
* obj0
= 0 ;
34164 char *kwnames
[] = {
34165 (char *) "self", NULL
34168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
34169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34175 wxPyEndAllowThreads(__tstate
);
34176 if (PyErr_Occurred()) SWIG_fail
;
34178 Py_INCREF(Py_None
); resultobj
= Py_None
;
34185 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34186 PyObject
*resultobj
;
34187 wxSizer
*arg1
= (wxSizer
*) 0 ;
34188 wxWindow
*arg2
= (wxWindow
*) 0 ;
34190 PyObject
* obj0
= 0 ;
34191 PyObject
* obj1
= 0 ;
34192 char *kwnames
[] = {
34193 (char *) "self",(char *) "window", NULL
34196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
34197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34199 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34203 result
= (arg1
)->Fit(arg2
);
34205 wxPyEndAllowThreads(__tstate
);
34206 if (PyErr_Occurred()) SWIG_fail
;
34209 wxSize
* resultptr
;
34210 resultptr
= new wxSize((wxSize
&) result
);
34211 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34219 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34220 PyObject
*resultobj
;
34221 wxSizer
*arg1
= (wxSizer
*) 0 ;
34222 wxWindow
*arg2
= (wxWindow
*) 0 ;
34223 PyObject
* obj0
= 0 ;
34224 PyObject
* obj1
= 0 ;
34225 char *kwnames
[] = {
34226 (char *) "self",(char *) "window", NULL
34229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
34230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34232 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34236 (arg1
)->FitInside(arg2
);
34238 wxPyEndAllowThreads(__tstate
);
34239 if (PyErr_Occurred()) SWIG_fail
;
34241 Py_INCREF(Py_None
); resultobj
= Py_None
;
34248 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34249 PyObject
*resultobj
;
34250 wxSizer
*arg1
= (wxSizer
*) 0 ;
34251 wxWindow
*arg2
= (wxWindow
*) 0 ;
34252 PyObject
* obj0
= 0 ;
34253 PyObject
* obj1
= 0 ;
34254 char *kwnames
[] = {
34255 (char *) "self",(char *) "window", NULL
34258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
34259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34261 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34265 (arg1
)->SetSizeHints(arg2
);
34267 wxPyEndAllowThreads(__tstate
);
34268 if (PyErr_Occurred()) SWIG_fail
;
34270 Py_INCREF(Py_None
); resultobj
= Py_None
;
34277 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34278 PyObject
*resultobj
;
34279 wxSizer
*arg1
= (wxSizer
*) 0 ;
34280 wxWindow
*arg2
= (wxWindow
*) 0 ;
34281 PyObject
* obj0
= 0 ;
34282 PyObject
* obj1
= 0 ;
34283 char *kwnames
[] = {
34284 (char *) "self",(char *) "window", NULL
34287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
34288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34290 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34294 (arg1
)->SetVirtualSizeHints(arg2
);
34296 wxPyEndAllowThreads(__tstate
);
34297 if (PyErr_Occurred()) SWIG_fail
;
34299 Py_INCREF(Py_None
); resultobj
= Py_None
;
34306 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34307 PyObject
*resultobj
;
34308 wxSizer
*arg1
= (wxSizer
*) 0 ;
34309 bool arg2
= (bool) False
;
34310 PyObject
* obj0
= 0 ;
34311 PyObject
* obj1
= 0 ;
34312 char *kwnames
[] = {
34313 (char *) "self",(char *) "delete_windows", NULL
34316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
34317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34320 arg2
= (bool) SWIG_AsBool(obj1
);
34321 if (PyErr_Occurred()) SWIG_fail
;
34324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34325 (arg1
)->Clear(arg2
);
34327 wxPyEndAllowThreads(__tstate
);
34328 if (PyErr_Occurred()) SWIG_fail
;
34330 Py_INCREF(Py_None
); resultobj
= Py_None
;
34337 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34338 PyObject
*resultobj
;
34339 wxSizer
*arg1
= (wxSizer
*) 0 ;
34340 PyObject
* obj0
= 0 ;
34341 char *kwnames
[] = {
34342 (char *) "self", NULL
34345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
34346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34350 (arg1
)->DeleteWindows();
34352 wxPyEndAllowThreads(__tstate
);
34353 if (PyErr_Occurred()) SWIG_fail
;
34355 Py_INCREF(Py_None
); resultobj
= Py_None
;
34362 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34363 PyObject
*resultobj
;
34364 wxSizer
*arg1
= (wxSizer
*) 0 ;
34366 PyObject
* obj0
= 0 ;
34367 char *kwnames
[] = {
34368 (char *) "self", NULL
34371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
34372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34376 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
34378 wxPyEndAllowThreads(__tstate
);
34379 if (PyErr_Occurred()) SWIG_fail
;
34381 resultobj
= result
;
34388 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34389 PyObject
*resultobj
;
34390 wxSizer
*arg1
= (wxSizer
*) 0 ;
34391 PyObject
*arg2
= (PyObject
*) 0 ;
34392 bool arg3
= (bool) True
;
34393 PyObject
* obj0
= 0 ;
34394 PyObject
* obj1
= 0 ;
34395 PyObject
* obj2
= 0 ;
34396 char *kwnames
[] = {
34397 (char *) "self",(char *) "item",(char *) "show", NULL
34400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34405 arg3
= (bool) SWIG_AsBool(obj2
);
34406 if (PyErr_Occurred()) SWIG_fail
;
34409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34410 wxSizer_Show(arg1
,arg2
,arg3
);
34412 wxPyEndAllowThreads(__tstate
);
34413 if (PyErr_Occurred()) SWIG_fail
;
34415 Py_INCREF(Py_None
); resultobj
= Py_None
;
34422 static PyObject
*_wrap_Sizer_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34423 PyObject
*resultobj
;
34424 wxSizer
*arg1
= (wxSizer
*) 0 ;
34425 PyObject
*arg2
= (PyObject
*) 0 ;
34426 PyObject
* obj0
= 0 ;
34427 PyObject
* obj1
= 0 ;
34428 char *kwnames
[] = {
34429 (char *) "self",(char *) "item", NULL
34432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Hide",kwnames
,&obj0
,&obj1
)) goto fail
;
34433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34438 wxSizer_Hide(arg1
,arg2
);
34440 wxPyEndAllowThreads(__tstate
);
34441 if (PyErr_Occurred()) SWIG_fail
;
34443 Py_INCREF(Py_None
); resultobj
= Py_None
;
34450 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34451 PyObject
*resultobj
;
34452 wxSizer
*arg1
= (wxSizer
*) 0 ;
34453 PyObject
*arg2
= (PyObject
*) 0 ;
34455 PyObject
* obj0
= 0 ;
34456 PyObject
* obj1
= 0 ;
34457 char *kwnames
[] = {
34458 (char *) "self",(char *) "item", NULL
34461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
34462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34467 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
34469 wxPyEndAllowThreads(__tstate
);
34470 if (PyErr_Occurred()) SWIG_fail
;
34473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34481 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34482 PyObject
*resultobj
;
34483 wxSizer
*arg1
= (wxSizer
*) 0 ;
34485 PyObject
* obj0
= 0 ;
34486 PyObject
* obj1
= 0 ;
34487 char *kwnames
[] = {
34488 (char *) "self",(char *) "show", NULL
34491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
34492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34494 arg2
= (bool) SWIG_AsBool(obj1
);
34495 if (PyErr_Occurred()) SWIG_fail
;
34497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34498 (arg1
)->ShowItems(arg2
);
34500 wxPyEndAllowThreads(__tstate
);
34501 if (PyErr_Occurred()) SWIG_fail
;
34503 Py_INCREF(Py_None
); resultobj
= Py_None
;
34510 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
34512 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34513 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
34515 return Py_BuildValue((char *)"");
34517 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34518 PyObject
*resultobj
;
34520 char *kwnames
[] = {
34524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
34526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34527 result
= (wxPySizer
*)new wxPySizer();
34529 wxPyEndAllowThreads(__tstate
);
34530 if (PyErr_Occurred()) SWIG_fail
;
34532 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
34539 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34540 PyObject
*resultobj
;
34541 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
34542 PyObject
*arg2
= (PyObject
*) 0 ;
34543 PyObject
*arg3
= (PyObject
*) 0 ;
34544 PyObject
* obj0
= 0 ;
34545 PyObject
* obj1
= 0 ;
34546 PyObject
* obj2
= 0 ;
34547 char *kwnames
[] = {
34548 (char *) "self",(char *) "self",(char *) "_class", NULL
34551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
34553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34558 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34560 wxPyEndAllowThreads(__tstate
);
34561 if (PyErr_Occurred()) SWIG_fail
;
34563 Py_INCREF(Py_None
); resultobj
= Py_None
;
34570 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
34572 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34573 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
34575 return Py_BuildValue((char *)"");
34577 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34578 PyObject
*resultobj
;
34579 int arg1
= (int) wxHORIZONTAL
;
34580 wxBoxSizer
*result
;
34581 PyObject
* obj0
= 0 ;
34582 char *kwnames
[] = {
34583 (char *) "orient", NULL
34586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
34588 arg1
= (int) SWIG_AsInt(obj0
);
34589 if (PyErr_Occurred()) SWIG_fail
;
34592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34593 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
34595 wxPyEndAllowThreads(__tstate
);
34596 if (PyErr_Occurred()) SWIG_fail
;
34598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
34605 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34606 PyObject
*resultobj
;
34607 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
34609 PyObject
* obj0
= 0 ;
34610 char *kwnames
[] = {
34611 (char *) "self", NULL
34614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
34615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
34616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34619 result
= (int)(arg1
)->GetOrientation();
34621 wxPyEndAllowThreads(__tstate
);
34622 if (PyErr_Occurred()) SWIG_fail
;
34624 resultobj
= SWIG_FromInt((int)result
);
34631 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34632 PyObject
*resultobj
;
34633 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
34635 PyObject
* obj0
= 0 ;
34636 PyObject
* obj1
= 0 ;
34637 char *kwnames
[] = {
34638 (char *) "self",(char *) "orient", NULL
34641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
34642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
34643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34644 arg2
= (int) SWIG_AsInt(obj1
);
34645 if (PyErr_Occurred()) SWIG_fail
;
34647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34648 (arg1
)->SetOrientation(arg2
);
34650 wxPyEndAllowThreads(__tstate
);
34651 if (PyErr_Occurred()) SWIG_fail
;
34653 Py_INCREF(Py_None
); resultobj
= Py_None
;
34660 static PyObject
*_wrap_BoxSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34661 PyObject
*resultobj
;
34662 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
34663 PyObject
* obj0
= 0 ;
34664 char *kwnames
[] = {
34665 (char *) "self", NULL
34668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
34670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34673 (arg1
)->RecalcSizes();
34675 wxPyEndAllowThreads(__tstate
);
34676 if (PyErr_Occurred()) SWIG_fail
;
34678 Py_INCREF(Py_None
); resultobj
= Py_None
;
34685 static PyObject
*_wrap_BoxSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34686 PyObject
*resultobj
;
34687 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
34689 PyObject
* obj0
= 0 ;
34690 char *kwnames
[] = {
34691 (char *) "self", NULL
34694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
34696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34699 result
= (arg1
)->CalcMin();
34701 wxPyEndAllowThreads(__tstate
);
34702 if (PyErr_Occurred()) SWIG_fail
;
34705 wxSize
* resultptr
;
34706 resultptr
= new wxSize((wxSize
&) result
);
34707 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34715 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
34717 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34718 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
34720 return Py_BuildValue((char *)"");
34722 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34723 PyObject
*resultobj
;
34724 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
34725 int arg2
= (int) wxHORIZONTAL
;
34726 wxStaticBoxSizer
*result
;
34727 PyObject
* obj0
= 0 ;
34728 PyObject
* obj1
= 0 ;
34729 char *kwnames
[] = {
34730 (char *) "box",(char *) "orient", NULL
34733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
34734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
34735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34737 arg2
= (int) SWIG_AsInt(obj1
);
34738 if (PyErr_Occurred()) SWIG_fail
;
34741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34742 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
34744 wxPyEndAllowThreads(__tstate
);
34745 if (PyErr_Occurred()) SWIG_fail
;
34747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
34754 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34755 PyObject
*resultobj
;
34756 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
34757 wxStaticBox
*result
;
34758 PyObject
* obj0
= 0 ;
34759 char *kwnames
[] = {
34760 (char *) "self", NULL
34763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
34764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
34765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34768 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
34770 wxPyEndAllowThreads(__tstate
);
34771 if (PyErr_Occurred()) SWIG_fail
;
34774 resultobj
= wxPyMake_wxObject(result
);
34782 static PyObject
*_wrap_StaticBoxSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34783 PyObject
*resultobj
;
34784 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
34785 PyObject
* obj0
= 0 ;
34786 char *kwnames
[] = {
34787 (char *) "self", NULL
34790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
34792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34795 (arg1
)->RecalcSizes();
34797 wxPyEndAllowThreads(__tstate
);
34798 if (PyErr_Occurred()) SWIG_fail
;
34800 Py_INCREF(Py_None
); resultobj
= Py_None
;
34807 static PyObject
*_wrap_StaticBoxSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34808 PyObject
*resultobj
;
34809 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
34811 PyObject
* obj0
= 0 ;
34812 char *kwnames
[] = {
34813 (char *) "self", NULL
34816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
34818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34821 result
= (arg1
)->CalcMin();
34823 wxPyEndAllowThreads(__tstate
);
34824 if (PyErr_Occurred()) SWIG_fail
;
34827 wxSize
* resultptr
;
34828 resultptr
= new wxSize((wxSize
&) result
);
34829 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34837 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
34839 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34840 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
34842 return Py_BuildValue((char *)"");
34844 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34845 PyObject
*resultobj
;
34846 int arg1
= (int) 1 ;
34847 int arg2
= (int) 0 ;
34848 int arg3
= (int) 0 ;
34849 int arg4
= (int) 0 ;
34850 wxGridSizer
*result
;
34851 PyObject
* obj0
= 0 ;
34852 PyObject
* obj1
= 0 ;
34853 PyObject
* obj2
= 0 ;
34854 PyObject
* obj3
= 0 ;
34855 char *kwnames
[] = {
34856 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
34859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34861 arg1
= (int) SWIG_AsInt(obj0
);
34862 if (PyErr_Occurred()) SWIG_fail
;
34865 arg2
= (int) SWIG_AsInt(obj1
);
34866 if (PyErr_Occurred()) SWIG_fail
;
34869 arg3
= (int) SWIG_AsInt(obj2
);
34870 if (PyErr_Occurred()) SWIG_fail
;
34873 arg4
= (int) SWIG_AsInt(obj3
);
34874 if (PyErr_Occurred()) SWIG_fail
;
34877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34878 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
34880 wxPyEndAllowThreads(__tstate
);
34881 if (PyErr_Occurred()) SWIG_fail
;
34883 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
34890 static PyObject
*_wrap_GridSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34891 PyObject
*resultobj
;
34892 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34893 PyObject
* obj0
= 0 ;
34894 char *kwnames
[] = {
34895 (char *) "self", NULL
34898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
34900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34903 (arg1
)->RecalcSizes();
34905 wxPyEndAllowThreads(__tstate
);
34906 if (PyErr_Occurred()) SWIG_fail
;
34908 Py_INCREF(Py_None
); resultobj
= Py_None
;
34915 static PyObject
*_wrap_GridSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34916 PyObject
*resultobj
;
34917 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34919 PyObject
* obj0
= 0 ;
34920 char *kwnames
[] = {
34921 (char *) "self", NULL
34924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
34926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34929 result
= (arg1
)->CalcMin();
34931 wxPyEndAllowThreads(__tstate
);
34932 if (PyErr_Occurred()) SWIG_fail
;
34935 wxSize
* resultptr
;
34936 resultptr
= new wxSize((wxSize
&) result
);
34937 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34945 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34946 PyObject
*resultobj
;
34947 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34949 PyObject
* obj0
= 0 ;
34950 PyObject
* obj1
= 0 ;
34951 char *kwnames
[] = {
34952 (char *) "self",(char *) "cols", NULL
34955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
34956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
34957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34958 arg2
= (int) SWIG_AsInt(obj1
);
34959 if (PyErr_Occurred()) SWIG_fail
;
34961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34962 (arg1
)->SetCols(arg2
);
34964 wxPyEndAllowThreads(__tstate
);
34965 if (PyErr_Occurred()) SWIG_fail
;
34967 Py_INCREF(Py_None
); resultobj
= Py_None
;
34974 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34975 PyObject
*resultobj
;
34976 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34978 PyObject
* obj0
= 0 ;
34979 PyObject
* obj1
= 0 ;
34980 char *kwnames
[] = {
34981 (char *) "self",(char *) "rows", NULL
34984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
34985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
34986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34987 arg2
= (int) SWIG_AsInt(obj1
);
34988 if (PyErr_Occurred()) SWIG_fail
;
34990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34991 (arg1
)->SetRows(arg2
);
34993 wxPyEndAllowThreads(__tstate
);
34994 if (PyErr_Occurred()) SWIG_fail
;
34996 Py_INCREF(Py_None
); resultobj
= Py_None
;
35003 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35004 PyObject
*resultobj
;
35005 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35007 PyObject
* obj0
= 0 ;
35008 PyObject
* obj1
= 0 ;
35009 char *kwnames
[] = {
35010 (char *) "self",(char *) "gap", NULL
35013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
35014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35016 arg2
= (int) SWIG_AsInt(obj1
);
35017 if (PyErr_Occurred()) SWIG_fail
;
35019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35020 (arg1
)->SetVGap(arg2
);
35022 wxPyEndAllowThreads(__tstate
);
35023 if (PyErr_Occurred()) SWIG_fail
;
35025 Py_INCREF(Py_None
); resultobj
= Py_None
;
35032 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35033 PyObject
*resultobj
;
35034 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35036 PyObject
* obj0
= 0 ;
35037 PyObject
* obj1
= 0 ;
35038 char *kwnames
[] = {
35039 (char *) "self",(char *) "gap", NULL
35042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
35043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35045 arg2
= (int) SWIG_AsInt(obj1
);
35046 if (PyErr_Occurred()) SWIG_fail
;
35048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35049 (arg1
)->SetHGap(arg2
);
35051 wxPyEndAllowThreads(__tstate
);
35052 if (PyErr_Occurred()) SWIG_fail
;
35054 Py_INCREF(Py_None
); resultobj
= Py_None
;
35061 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35062 PyObject
*resultobj
;
35063 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35065 PyObject
* obj0
= 0 ;
35066 char *kwnames
[] = {
35067 (char *) "self", NULL
35070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
35071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35075 result
= (int)(arg1
)->GetCols();
35077 wxPyEndAllowThreads(__tstate
);
35078 if (PyErr_Occurred()) SWIG_fail
;
35080 resultobj
= SWIG_FromInt((int)result
);
35087 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35088 PyObject
*resultobj
;
35089 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35091 PyObject
* obj0
= 0 ;
35092 char *kwnames
[] = {
35093 (char *) "self", NULL
35096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
35097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35101 result
= (int)(arg1
)->GetRows();
35103 wxPyEndAllowThreads(__tstate
);
35104 if (PyErr_Occurred()) SWIG_fail
;
35106 resultobj
= SWIG_FromInt((int)result
);
35113 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35114 PyObject
*resultobj
;
35115 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35117 PyObject
* obj0
= 0 ;
35118 char *kwnames
[] = {
35119 (char *) "self", NULL
35122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
35123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35127 result
= (int)(arg1
)->GetVGap();
35129 wxPyEndAllowThreads(__tstate
);
35130 if (PyErr_Occurred()) SWIG_fail
;
35132 resultobj
= SWIG_FromInt((int)result
);
35139 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35140 PyObject
*resultobj
;
35141 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35143 PyObject
* obj0
= 0 ;
35144 char *kwnames
[] = {
35145 (char *) "self", NULL
35148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
35149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35153 result
= (int)(arg1
)->GetHGap();
35155 wxPyEndAllowThreads(__tstate
);
35156 if (PyErr_Occurred()) SWIG_fail
;
35158 resultobj
= SWIG_FromInt((int)result
);
35165 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
35167 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35168 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
35170 return Py_BuildValue((char *)"");
35172 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35173 PyObject
*resultobj
;
35174 int arg1
= (int) 1 ;
35175 int arg2
= (int) 0 ;
35176 int arg3
= (int) 0 ;
35177 int arg4
= (int) 0 ;
35178 wxFlexGridSizer
*result
;
35179 PyObject
* obj0
= 0 ;
35180 PyObject
* obj1
= 0 ;
35181 PyObject
* obj2
= 0 ;
35182 PyObject
* obj3
= 0 ;
35183 char *kwnames
[] = {
35184 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
35187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35189 arg1
= (int) SWIG_AsInt(obj0
);
35190 if (PyErr_Occurred()) SWIG_fail
;
35193 arg2
= (int) SWIG_AsInt(obj1
);
35194 if (PyErr_Occurred()) SWIG_fail
;
35197 arg3
= (int) SWIG_AsInt(obj2
);
35198 if (PyErr_Occurred()) SWIG_fail
;
35201 arg4
= (int) SWIG_AsInt(obj3
);
35202 if (PyErr_Occurred()) SWIG_fail
;
35205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35206 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
35208 wxPyEndAllowThreads(__tstate
);
35209 if (PyErr_Occurred()) SWIG_fail
;
35211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
35218 static PyObject
*_wrap_FlexGridSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35219 PyObject
*resultobj
;
35220 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35221 PyObject
* obj0
= 0 ;
35222 char *kwnames
[] = {
35223 (char *) "self", NULL
35226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35231 (arg1
)->RecalcSizes();
35233 wxPyEndAllowThreads(__tstate
);
35234 if (PyErr_Occurred()) SWIG_fail
;
35236 Py_INCREF(Py_None
); resultobj
= Py_None
;
35243 static PyObject
*_wrap_FlexGridSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35244 PyObject
*resultobj
;
35245 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35247 PyObject
* obj0
= 0 ;
35248 char *kwnames
[] = {
35249 (char *) "self", NULL
35252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35257 result
= (arg1
)->CalcMin();
35259 wxPyEndAllowThreads(__tstate
);
35260 if (PyErr_Occurred()) SWIG_fail
;
35263 wxSize
* resultptr
;
35264 resultptr
= new wxSize((wxSize
&) result
);
35265 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35273 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35274 PyObject
*resultobj
;
35275 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35277 int arg3
= (int) 0 ;
35278 PyObject
* obj0
= 0 ;
35279 PyObject
* obj1
= 0 ;
35280 PyObject
* obj2
= 0 ;
35281 char *kwnames
[] = {
35282 (char *) "self",(char *) "idx",(char *) "proportion", NULL
35285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35288 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
35289 if (PyErr_Occurred()) SWIG_fail
;
35291 arg3
= (int) SWIG_AsInt(obj2
);
35292 if (PyErr_Occurred()) SWIG_fail
;
35295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35296 (arg1
)->AddGrowableRow(arg2
,arg3
);
35298 wxPyEndAllowThreads(__tstate
);
35299 if (PyErr_Occurred()) SWIG_fail
;
35301 Py_INCREF(Py_None
); resultobj
= Py_None
;
35308 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35309 PyObject
*resultobj
;
35310 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35312 PyObject
* obj0
= 0 ;
35313 PyObject
* obj1
= 0 ;
35314 char *kwnames
[] = {
35315 (char *) "self",(char *) "idx", NULL
35318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
35319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35321 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
35322 if (PyErr_Occurred()) SWIG_fail
;
35324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35325 (arg1
)->RemoveGrowableRow(arg2
);
35327 wxPyEndAllowThreads(__tstate
);
35328 if (PyErr_Occurred()) SWIG_fail
;
35330 Py_INCREF(Py_None
); resultobj
= Py_None
;
35337 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35338 PyObject
*resultobj
;
35339 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35341 int arg3
= (int) 0 ;
35342 PyObject
* obj0
= 0 ;
35343 PyObject
* obj1
= 0 ;
35344 PyObject
* obj2
= 0 ;
35345 char *kwnames
[] = {
35346 (char *) "self",(char *) "idx",(char *) "proportion", NULL
35349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35352 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
35353 if (PyErr_Occurred()) SWIG_fail
;
35355 arg3
= (int) SWIG_AsInt(obj2
);
35356 if (PyErr_Occurred()) SWIG_fail
;
35359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35360 (arg1
)->AddGrowableCol(arg2
,arg3
);
35362 wxPyEndAllowThreads(__tstate
);
35363 if (PyErr_Occurred()) SWIG_fail
;
35365 Py_INCREF(Py_None
); resultobj
= Py_None
;
35372 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35373 PyObject
*resultobj
;
35374 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35376 PyObject
* obj0
= 0 ;
35377 PyObject
* obj1
= 0 ;
35378 char *kwnames
[] = {
35379 (char *) "self",(char *) "idx", NULL
35382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
35383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35385 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
35386 if (PyErr_Occurred()) SWIG_fail
;
35388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35389 (arg1
)->RemoveGrowableCol(arg2
);
35391 wxPyEndAllowThreads(__tstate
);
35392 if (PyErr_Occurred()) SWIG_fail
;
35394 Py_INCREF(Py_None
); resultobj
= Py_None
;
35401 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35402 PyObject
*resultobj
;
35403 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35405 PyObject
* obj0
= 0 ;
35406 PyObject
* obj1
= 0 ;
35407 char *kwnames
[] = {
35408 (char *) "self",(char *) "direction", NULL
35411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
35412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35414 arg2
= (int) SWIG_AsInt(obj1
);
35415 if (PyErr_Occurred()) SWIG_fail
;
35417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35418 (arg1
)->SetFlexibleDirection(arg2
);
35420 wxPyEndAllowThreads(__tstate
);
35421 if (PyErr_Occurred()) SWIG_fail
;
35423 Py_INCREF(Py_None
); resultobj
= Py_None
;
35430 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35431 PyObject
*resultobj
;
35432 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35434 PyObject
* obj0
= 0 ;
35435 char *kwnames
[] = {
35436 (char *) "self", NULL
35439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
35440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35444 result
= (int)(arg1
)->GetFlexibleDirection();
35446 wxPyEndAllowThreads(__tstate
);
35447 if (PyErr_Occurred()) SWIG_fail
;
35449 resultobj
= SWIG_FromInt((int)result
);
35456 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35457 PyObject
*resultobj
;
35458 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35460 PyObject
* obj0
= 0 ;
35461 PyObject
* obj1
= 0 ;
35462 char *kwnames
[] = {
35463 (char *) "self",(char *) "mode", NULL
35466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
35467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35469 arg2
= (wxFlexSizerGrowMode
) SWIG_AsInt(obj1
);
35470 if (PyErr_Occurred()) SWIG_fail
;
35472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35473 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
35475 wxPyEndAllowThreads(__tstate
);
35476 if (PyErr_Occurred()) SWIG_fail
;
35478 Py_INCREF(Py_None
); resultobj
= Py_None
;
35485 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35486 PyObject
*resultobj
;
35487 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35489 PyObject
* obj0
= 0 ;
35490 char *kwnames
[] = {
35491 (char *) "self", NULL
35494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
35495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35499 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
35501 wxPyEndAllowThreads(__tstate
);
35502 if (PyErr_Occurred()) SWIG_fail
;
35504 resultobj
= SWIG_FromInt((int)result
);
35511 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35512 PyObject
*resultobj
;
35513 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35514 wxArrayInt
*result
;
35515 PyObject
* obj0
= 0 ;
35516 char *kwnames
[] = {
35517 (char *) "self", NULL
35520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
35521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35526 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
35527 result
= (wxArrayInt
*) &_result_ref
;
35530 wxPyEndAllowThreads(__tstate
);
35531 if (PyErr_Occurred()) SWIG_fail
;
35534 resultobj
= PyList_New(0);
35536 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
35537 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
35538 PyList_Append(resultobj
, val
);
35548 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35549 PyObject
*resultobj
;
35550 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35551 wxArrayInt
*result
;
35552 PyObject
* obj0
= 0 ;
35553 char *kwnames
[] = {
35554 (char *) "self", NULL
35557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
35558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35563 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
35564 result
= (wxArrayInt
*) &_result_ref
;
35567 wxPyEndAllowThreads(__tstate
);
35568 if (PyErr_Occurred()) SWIG_fail
;
35571 resultobj
= PyList_New(0);
35573 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
35574 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
35575 PyList_Append(resultobj
, val
);
35585 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
35587 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35588 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
35590 return Py_BuildValue((char *)"");
35592 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35593 PyObject
*resultobj
;
35594 int arg1
= (int) 0 ;
35595 int arg2
= (int) 0 ;
35596 wxGBPosition
*result
;
35597 PyObject
* obj0
= 0 ;
35598 PyObject
* obj1
= 0 ;
35599 char *kwnames
[] = {
35600 (char *) "row",(char *) "col", NULL
35603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
35605 arg1
= (int) SWIG_AsInt(obj0
);
35606 if (PyErr_Occurred()) SWIG_fail
;
35609 arg2
= (int) SWIG_AsInt(obj1
);
35610 if (PyErr_Occurred()) SWIG_fail
;
35613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35614 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
35616 wxPyEndAllowThreads(__tstate
);
35617 if (PyErr_Occurred()) SWIG_fail
;
35619 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
35626 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35627 PyObject
*resultobj
;
35628 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35630 PyObject
* obj0
= 0 ;
35631 char *kwnames
[] = {
35632 (char *) "self", NULL
35635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
35636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
35637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35640 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
35642 wxPyEndAllowThreads(__tstate
);
35643 if (PyErr_Occurred()) SWIG_fail
;
35645 resultobj
= SWIG_FromInt((int)result
);
35652 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35653 PyObject
*resultobj
;
35654 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35656 PyObject
* obj0
= 0 ;
35657 char *kwnames
[] = {
35658 (char *) "self", NULL
35661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
35662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
35663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35666 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
35668 wxPyEndAllowThreads(__tstate
);
35669 if (PyErr_Occurred()) SWIG_fail
;
35671 resultobj
= SWIG_FromInt((int)result
);
35678 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35679 PyObject
*resultobj
;
35680 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35682 PyObject
* obj0
= 0 ;
35683 PyObject
* obj1
= 0 ;
35684 char *kwnames
[] = {
35685 (char *) "self",(char *) "row", NULL
35688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
35689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
35690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35691 arg2
= (int) SWIG_AsInt(obj1
);
35692 if (PyErr_Occurred()) SWIG_fail
;
35694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35695 (arg1
)->SetRow(arg2
);
35697 wxPyEndAllowThreads(__tstate
);
35698 if (PyErr_Occurred()) SWIG_fail
;
35700 Py_INCREF(Py_None
); resultobj
= Py_None
;
35707 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35708 PyObject
*resultobj
;
35709 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35711 PyObject
* obj0
= 0 ;
35712 PyObject
* obj1
= 0 ;
35713 char *kwnames
[] = {
35714 (char *) "self",(char *) "col", NULL
35717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
35718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
35719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35720 arg2
= (int) SWIG_AsInt(obj1
);
35721 if (PyErr_Occurred()) SWIG_fail
;
35723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35724 (arg1
)->SetCol(arg2
);
35726 wxPyEndAllowThreads(__tstate
);
35727 if (PyErr_Occurred()) SWIG_fail
;
35729 Py_INCREF(Py_None
); resultobj
= Py_None
;
35736 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35737 PyObject
*resultobj
;
35738 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35739 wxGBPosition
*arg2
= 0 ;
35741 wxGBPosition temp2
;
35742 PyObject
* obj0
= 0 ;
35743 PyObject
* obj1
= 0 ;
35744 char *kwnames
[] = {
35745 (char *) "self",(char *) "other", NULL
35748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
35749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
35750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35753 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
35756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35757 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
35759 wxPyEndAllowThreads(__tstate
);
35760 if (PyErr_Occurred()) SWIG_fail
;
35763 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35771 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35772 PyObject
*resultobj
;
35773 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35774 wxGBPosition
*arg2
= 0 ;
35776 wxGBPosition temp2
;
35777 PyObject
* obj0
= 0 ;
35778 PyObject
* obj1
= 0 ;
35779 char *kwnames
[] = {
35780 (char *) "self",(char *) "other", NULL
35783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
35784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
35785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35788 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
35791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35792 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
35794 wxPyEndAllowThreads(__tstate
);
35795 if (PyErr_Occurred()) SWIG_fail
;
35798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35806 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35807 PyObject
*resultobj
;
35808 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35809 int arg2
= (int) 0 ;
35810 int arg3
= (int) 0 ;
35811 PyObject
* obj0
= 0 ;
35812 PyObject
* obj1
= 0 ;
35813 PyObject
* obj2
= 0 ;
35814 char *kwnames
[] = {
35815 (char *) "self",(char *) "row",(char *) "col", NULL
35818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
35820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35822 arg2
= (int) SWIG_AsInt(obj1
);
35823 if (PyErr_Occurred()) SWIG_fail
;
35826 arg3
= (int) SWIG_AsInt(obj2
);
35827 if (PyErr_Occurred()) SWIG_fail
;
35830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35831 wxGBPosition_Set(arg1
,arg2
,arg3
);
35833 wxPyEndAllowThreads(__tstate
);
35834 if (PyErr_Occurred()) SWIG_fail
;
35836 Py_INCREF(Py_None
); resultobj
= Py_None
;
35843 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35844 PyObject
*resultobj
;
35845 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35847 PyObject
* obj0
= 0 ;
35848 char *kwnames
[] = {
35849 (char *) "self", NULL
35852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
35853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
35854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35857 result
= (PyObject
*)wxGBPosition_Get(arg1
);
35859 wxPyEndAllowThreads(__tstate
);
35860 if (PyErr_Occurred()) SWIG_fail
;
35862 resultobj
= result
;
35869 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
35871 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35872 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
35874 return Py_BuildValue((char *)"");
35876 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35877 PyObject
*resultobj
;
35878 int arg1
= (int) 1 ;
35879 int arg2
= (int) 1 ;
35881 PyObject
* obj0
= 0 ;
35882 PyObject
* obj1
= 0 ;
35883 char *kwnames
[] = {
35884 (char *) "rowspan",(char *) "colspan", NULL
35887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
35889 arg1
= (int) SWIG_AsInt(obj0
);
35890 if (PyErr_Occurred()) SWIG_fail
;
35893 arg2
= (int) SWIG_AsInt(obj1
);
35894 if (PyErr_Occurred()) SWIG_fail
;
35897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35898 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
35900 wxPyEndAllowThreads(__tstate
);
35901 if (PyErr_Occurred()) SWIG_fail
;
35903 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
35910 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35911 PyObject
*resultobj
;
35912 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35914 PyObject
* obj0
= 0 ;
35915 char *kwnames
[] = {
35916 (char *) "self", NULL
35919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
35920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
35921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35924 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
35926 wxPyEndAllowThreads(__tstate
);
35927 if (PyErr_Occurred()) SWIG_fail
;
35929 resultobj
= SWIG_FromInt((int)result
);
35936 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35937 PyObject
*resultobj
;
35938 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35940 PyObject
* obj0
= 0 ;
35941 char *kwnames
[] = {
35942 (char *) "self", NULL
35945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
35946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
35947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35950 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
35952 wxPyEndAllowThreads(__tstate
);
35953 if (PyErr_Occurred()) SWIG_fail
;
35955 resultobj
= SWIG_FromInt((int)result
);
35962 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35963 PyObject
*resultobj
;
35964 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35966 PyObject
* obj0
= 0 ;
35967 PyObject
* obj1
= 0 ;
35968 char *kwnames
[] = {
35969 (char *) "self",(char *) "rowspan", NULL
35972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
35973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
35974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35975 arg2
= (int) SWIG_AsInt(obj1
);
35976 if (PyErr_Occurred()) SWIG_fail
;
35978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35979 (arg1
)->SetRowspan(arg2
);
35981 wxPyEndAllowThreads(__tstate
);
35982 if (PyErr_Occurred()) SWIG_fail
;
35984 Py_INCREF(Py_None
); resultobj
= Py_None
;
35991 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35992 PyObject
*resultobj
;
35993 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35995 PyObject
* obj0
= 0 ;
35996 PyObject
* obj1
= 0 ;
35997 char *kwnames
[] = {
35998 (char *) "self",(char *) "colspan", NULL
36001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
36002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36004 arg2
= (int) SWIG_AsInt(obj1
);
36005 if (PyErr_Occurred()) SWIG_fail
;
36007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36008 (arg1
)->SetColspan(arg2
);
36010 wxPyEndAllowThreads(__tstate
);
36011 if (PyErr_Occurred()) SWIG_fail
;
36013 Py_INCREF(Py_None
); resultobj
= Py_None
;
36020 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36021 PyObject
*resultobj
;
36022 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36023 wxGBSpan
*arg2
= 0 ;
36026 PyObject
* obj0
= 0 ;
36027 PyObject
* obj1
= 0 ;
36028 char *kwnames
[] = {
36029 (char *) "self",(char *) "other", NULL
36032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
36033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36037 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
36040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36041 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
36043 wxPyEndAllowThreads(__tstate
);
36044 if (PyErr_Occurred()) SWIG_fail
;
36047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36055 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36056 PyObject
*resultobj
;
36057 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36058 wxGBSpan
*arg2
= 0 ;
36061 PyObject
* obj0
= 0 ;
36062 PyObject
* obj1
= 0 ;
36063 char *kwnames
[] = {
36064 (char *) "self",(char *) "other", NULL
36067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
36068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36072 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
36075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36076 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
36078 wxPyEndAllowThreads(__tstate
);
36079 if (PyErr_Occurred()) SWIG_fail
;
36082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36090 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36091 PyObject
*resultobj
;
36092 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36093 int arg2
= (int) 1 ;
36094 int arg3
= (int) 1 ;
36095 PyObject
* obj0
= 0 ;
36096 PyObject
* obj1
= 0 ;
36097 PyObject
* obj2
= 0 ;
36098 char *kwnames
[] = {
36099 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
36102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36106 arg2
= (int) SWIG_AsInt(obj1
);
36107 if (PyErr_Occurred()) SWIG_fail
;
36110 arg3
= (int) SWIG_AsInt(obj2
);
36111 if (PyErr_Occurred()) SWIG_fail
;
36114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36115 wxGBSpan_Set(arg1
,arg2
,arg3
);
36117 wxPyEndAllowThreads(__tstate
);
36118 if (PyErr_Occurred()) SWIG_fail
;
36120 Py_INCREF(Py_None
); resultobj
= Py_None
;
36127 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36128 PyObject
*resultobj
;
36129 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36131 PyObject
* obj0
= 0 ;
36132 char *kwnames
[] = {
36133 (char *) "self", NULL
36136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
36137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36141 result
= (PyObject
*)wxGBSpan_Get(arg1
);
36143 wxPyEndAllowThreads(__tstate
);
36144 if (PyErr_Occurred()) SWIG_fail
;
36146 resultobj
= result
;
36153 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
36155 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36156 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
36158 return Py_BuildValue((char *)"");
36160 static int _wrap_DefaultSpan_set(PyObject
*) {
36161 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
36166 static PyObject
*_wrap_DefaultSpan_get() {
36169 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
36174 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36175 PyObject
*resultobj
;
36176 wxGBSizerItem
*result
;
36177 char *kwnames
[] = {
36181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
36183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36184 result
= (wxGBSizerItem
*)new wxGBSizerItem();
36186 wxPyEndAllowThreads(__tstate
);
36187 if (PyErr_Occurred()) SWIG_fail
;
36189 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
36196 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36197 PyObject
*resultobj
;
36198 wxWindow
*arg1
= (wxWindow
*) 0 ;
36199 wxGBPosition
*arg2
= 0 ;
36200 wxGBSpan
*arg3
= 0 ;
36203 wxObject
*arg6
= (wxObject
*) 0 ;
36204 wxGBSizerItem
*result
;
36205 wxGBPosition temp2
;
36207 PyObject
* obj0
= 0 ;
36208 PyObject
* obj1
= 0 ;
36209 PyObject
* obj2
= 0 ;
36210 PyObject
* obj3
= 0 ;
36211 PyObject
* obj4
= 0 ;
36212 PyObject
* obj5
= 0 ;
36213 char *kwnames
[] = {
36214 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
36217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
36218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
36219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36222 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36226 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
36228 arg4
= (int) SWIG_AsInt(obj3
);
36229 if (PyErr_Occurred()) SWIG_fail
;
36230 arg5
= (int) SWIG_AsInt(obj4
);
36231 if (PyErr_Occurred()) SWIG_fail
;
36232 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
36233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36236 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
36238 wxPyEndAllowThreads(__tstate
);
36239 if (PyErr_Occurred()) SWIG_fail
;
36241 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
36248 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36249 PyObject
*resultobj
;
36250 wxSizer
*arg1
= (wxSizer
*) 0 ;
36251 wxGBPosition
*arg2
= 0 ;
36252 wxGBSpan
*arg3
= 0 ;
36255 wxObject
*arg6
= (wxObject
*) 0 ;
36256 wxGBSizerItem
*result
;
36257 wxGBPosition temp2
;
36259 PyObject
* obj0
= 0 ;
36260 PyObject
* obj1
= 0 ;
36261 PyObject
* obj2
= 0 ;
36262 PyObject
* obj3
= 0 ;
36263 PyObject
* obj4
= 0 ;
36264 PyObject
* obj5
= 0 ;
36265 char *kwnames
[] = {
36266 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
36269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
36270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36274 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36278 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
36280 arg4
= (int) SWIG_AsInt(obj3
);
36281 if (PyErr_Occurred()) SWIG_fail
;
36282 arg5
= (int) SWIG_AsInt(obj4
);
36283 if (PyErr_Occurred()) SWIG_fail
;
36284 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
36285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36288 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
36290 wxPyEndAllowThreads(__tstate
);
36291 if (PyErr_Occurred()) SWIG_fail
;
36293 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
36300 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36301 PyObject
*resultobj
;
36304 wxGBPosition
*arg3
= 0 ;
36305 wxGBSpan
*arg4
= 0 ;
36308 wxObject
*arg7
= (wxObject
*) 0 ;
36309 wxGBSizerItem
*result
;
36310 wxGBPosition temp3
;
36312 PyObject
* obj0
= 0 ;
36313 PyObject
* obj1
= 0 ;
36314 PyObject
* obj2
= 0 ;
36315 PyObject
* obj3
= 0 ;
36316 PyObject
* obj4
= 0 ;
36317 PyObject
* obj5
= 0 ;
36318 PyObject
* obj6
= 0 ;
36319 char *kwnames
[] = {
36320 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
36323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
36324 arg1
= (int) SWIG_AsInt(obj0
);
36325 if (PyErr_Occurred()) SWIG_fail
;
36326 arg2
= (int) SWIG_AsInt(obj1
);
36327 if (PyErr_Occurred()) SWIG_fail
;
36330 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
36334 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
36336 arg5
= (int) SWIG_AsInt(obj4
);
36337 if (PyErr_Occurred()) SWIG_fail
;
36338 arg6
= (int) SWIG_AsInt(obj5
);
36339 if (PyErr_Occurred()) SWIG_fail
;
36340 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxObject
,
36341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36344 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
36346 wxPyEndAllowThreads(__tstate
);
36347 if (PyErr_Occurred()) SWIG_fail
;
36349 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
36356 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36357 PyObject
*resultobj
;
36358 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36359 wxGBPosition result
;
36360 PyObject
* obj0
= 0 ;
36361 char *kwnames
[] = {
36362 (char *) "self", NULL
36365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
36366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36370 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
36372 wxPyEndAllowThreads(__tstate
);
36373 if (PyErr_Occurred()) SWIG_fail
;
36376 wxGBPosition
* resultptr
;
36377 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
36378 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
36386 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36387 PyObject
*resultobj
;
36388 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36390 PyObject
* obj0
= 0 ;
36391 char *kwnames
[] = {
36392 (char *) "self", NULL
36395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
36396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36400 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
36402 wxPyEndAllowThreads(__tstate
);
36403 if (PyErr_Occurred()) SWIG_fail
;
36406 wxGBSpan
* resultptr
;
36407 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
36408 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
36416 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36417 PyObject
*resultobj
;
36418 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36419 wxGBPosition
*arg2
= 0 ;
36421 wxGBPosition temp2
;
36422 PyObject
* obj0
= 0 ;
36423 PyObject
* obj1
= 0 ;
36424 char *kwnames
[] = {
36425 (char *) "self",(char *) "pos", NULL
36428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
36429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36433 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36437 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
36439 wxPyEndAllowThreads(__tstate
);
36440 if (PyErr_Occurred()) SWIG_fail
;
36443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36451 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36452 PyObject
*resultobj
;
36453 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36454 wxGBSpan
*arg2
= 0 ;
36457 PyObject
* obj0
= 0 ;
36458 PyObject
* obj1
= 0 ;
36459 char *kwnames
[] = {
36460 (char *) "self",(char *) "span", NULL
36463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
36464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36468 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
36471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36472 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
36474 wxPyEndAllowThreads(__tstate
);
36475 if (PyErr_Occurred()) SWIG_fail
;
36478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36486 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_0(PyObject
*, PyObject
*args
) {
36487 PyObject
*resultobj
;
36488 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36489 wxGBSizerItem
*arg2
= 0 ;
36491 PyObject
* obj0
= 0 ;
36492 PyObject
* obj1
= 0 ;
36494 if(!PyArg_ParseTuple(args
,(char *)"OO:GBSizerItem_Intersects",&obj0
,&obj1
)) goto fail
;
36495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36497 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
36498 SWIG_POINTER_EXCEPTION
| 0)) == -1)
36500 if (arg2
== NULL
) {
36501 PyErr_SetString(PyExc_TypeError
,"null reference");
36505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36506 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
36508 wxPyEndAllowThreads(__tstate
);
36509 if (PyErr_Occurred()) SWIG_fail
;
36512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36520 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_1(PyObject
*, PyObject
*args
) {
36521 PyObject
*resultobj
;
36522 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36523 wxGBPosition
*arg2
= 0 ;
36524 wxGBSpan
*arg3
= 0 ;
36526 wxGBPosition temp2
;
36528 PyObject
* obj0
= 0 ;
36529 PyObject
* obj1
= 0 ;
36530 PyObject
* obj2
= 0 ;
36532 if(!PyArg_ParseTuple(args
,(char *)"OOO:GBSizerItem_Intersects",&obj0
,&obj1
,&obj2
)) goto fail
;
36533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36537 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36541 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
36544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36545 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
36547 wxPyEndAllowThreads(__tstate
);
36548 if (PyErr_Occurred()) SWIG_fail
;
36551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36559 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
) {
36564 argc
= PyObject_Length(args
);
36565 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
36566 argv
[ii
] = PyTuple_GetItem(args
,ii
);
36572 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
36582 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
36590 return _wrap_GBSizerItem_Intersects__SWIG_0(self
,args
);
36598 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
36607 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
36611 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
36614 return _wrap_GBSizerItem_Intersects__SWIG_1(self
,args
);
36620 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GBSizerItem_Intersects'");
36625 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36626 PyObject
*resultobj
;
36627 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36630 PyObject
* obj0
= 0 ;
36631 PyObject
* obj1
= 0 ;
36632 PyObject
* obj2
= 0 ;
36633 char *kwnames
[] = {
36634 (char *) "self",(char *) "row",(char *) "col", NULL
36637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_GetEndPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36640 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,
36641 SWIG_POINTER_EXCEPTION
| 0)) == -1)
36643 if (arg2
== NULL
) {
36644 PyErr_SetString(PyExc_TypeError
,"null reference");
36647 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,
36648 SWIG_POINTER_EXCEPTION
| 0)) == -1)
36650 if (arg3
== NULL
) {
36651 PyErr_SetString(PyExc_TypeError
,"null reference");
36655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36656 (arg1
)->GetEndPos(*arg2
,*arg3
);
36658 wxPyEndAllowThreads(__tstate
);
36659 if (PyErr_Occurred()) SWIG_fail
;
36661 Py_INCREF(Py_None
); resultobj
= Py_None
;
36668 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36669 PyObject
*resultobj
;
36670 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36671 wxGridBagSizer
*result
;
36672 PyObject
* obj0
= 0 ;
36673 char *kwnames
[] = {
36674 (char *) "self", NULL
36677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
36678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36682 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
36684 wxPyEndAllowThreads(__tstate
);
36685 if (PyErr_Occurred()) SWIG_fail
;
36687 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
36694 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36695 PyObject
*resultobj
;
36696 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36697 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
36698 PyObject
* obj0
= 0 ;
36699 PyObject
* obj1
= 0 ;
36700 char *kwnames
[] = {
36701 (char *) "self",(char *) "sizer", NULL
36704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
36705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36707 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
36708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36711 (arg1
)->SetGBSizer(arg2
);
36713 wxPyEndAllowThreads(__tstate
);
36714 if (PyErr_Occurred()) SWIG_fail
;
36716 Py_INCREF(Py_None
); resultobj
= Py_None
;
36723 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
36725 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36726 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
36728 return Py_BuildValue((char *)"");
36730 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36731 PyObject
*resultobj
;
36732 int arg1
= (int) 0 ;
36733 int arg2
= (int) 0 ;
36734 wxGridBagSizer
*result
;
36735 PyObject
* obj0
= 0 ;
36736 PyObject
* obj1
= 0 ;
36737 char *kwnames
[] = {
36738 (char *) "vgap",(char *) "hgap", NULL
36741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
36743 arg1
= (int) SWIG_AsInt(obj0
);
36744 if (PyErr_Occurred()) SWIG_fail
;
36747 arg2
= (int) SWIG_AsInt(obj1
);
36748 if (PyErr_Occurred()) SWIG_fail
;
36751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36752 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
36754 wxPyEndAllowThreads(__tstate
);
36755 if (PyErr_Occurred()) SWIG_fail
;
36757 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
36764 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36765 PyObject
*resultobj
;
36766 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36767 PyObject
*arg2
= (PyObject
*) 0 ;
36768 wxGBPosition
*arg3
= 0 ;
36769 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
36770 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
36771 int arg5
= (int) 0 ;
36772 int arg6
= (int) 0 ;
36773 PyObject
*arg7
= (PyObject
*) NULL
;
36775 wxGBPosition temp3
;
36777 PyObject
* obj0
= 0 ;
36778 PyObject
* obj1
= 0 ;
36779 PyObject
* obj2
= 0 ;
36780 PyObject
* obj3
= 0 ;
36781 PyObject
* obj4
= 0 ;
36782 PyObject
* obj5
= 0 ;
36783 PyObject
* obj6
= 0 ;
36784 char *kwnames
[] = {
36785 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
36788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
36789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36794 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
36799 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
36803 arg5
= (int) SWIG_AsInt(obj4
);
36804 if (PyErr_Occurred()) SWIG_fail
;
36807 arg6
= (int) SWIG_AsInt(obj5
);
36808 if (PyErr_Occurred()) SWIG_fail
;
36814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36815 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
36817 wxPyEndAllowThreads(__tstate
);
36818 if (PyErr_Occurred()) SWIG_fail
;
36821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36829 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36830 PyObject
*resultobj
;
36831 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36832 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
36834 PyObject
* obj0
= 0 ;
36835 PyObject
* obj1
= 0 ;
36836 char *kwnames
[] = {
36837 (char *) "self",(char *) "item", NULL
36840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
36841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36843 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
36844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36847 result
= (bool)(arg1
)->Add(arg2
);
36849 wxPyEndAllowThreads(__tstate
);
36850 if (PyErr_Occurred()) SWIG_fail
;
36853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36861 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36862 PyObject
*resultobj
;
36863 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36865 PyObject
* obj0
= 0 ;
36866 char *kwnames
[] = {
36867 (char *) "self", NULL
36870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
36871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36875 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
36877 wxPyEndAllowThreads(__tstate
);
36878 if (PyErr_Occurred()) SWIG_fail
;
36881 wxSize
* resultptr
;
36882 resultptr
= new wxSize((wxSize
&) result
);
36883 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36891 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36892 PyObject
*resultobj
;
36893 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36896 PyObject
* obj0
= 0 ;
36897 PyObject
* obj1
= 0 ;
36898 char *kwnames
[] = {
36899 (char *) "self",(char *) "sz", NULL
36902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
36903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36907 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
36910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36911 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
36913 wxPyEndAllowThreads(__tstate
);
36914 if (PyErr_Occurred()) SWIG_fail
;
36916 Py_INCREF(Py_None
); resultobj
= Py_None
;
36923 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
36924 PyObject
*resultobj
;
36925 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36926 wxWindow
*arg2
= (wxWindow
*) 0 ;
36927 wxGBPosition result
;
36928 PyObject
* obj0
= 0 ;
36929 PyObject
* obj1
= 0 ;
36931 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
36932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36934 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36938 result
= (arg1
)->GetItemPosition(arg2
);
36940 wxPyEndAllowThreads(__tstate
);
36941 if (PyErr_Occurred()) SWIG_fail
;
36944 wxGBPosition
* resultptr
;
36945 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
36946 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
36954 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
36955 PyObject
*resultobj
;
36956 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36957 wxSizer
*arg2
= (wxSizer
*) 0 ;
36958 wxGBPosition result
;
36959 PyObject
* obj0
= 0 ;
36960 PyObject
* obj1
= 0 ;
36962 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
36963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36965 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
36966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36969 result
= (arg1
)->GetItemPosition(arg2
);
36971 wxPyEndAllowThreads(__tstate
);
36972 if (PyErr_Occurred()) SWIG_fail
;
36975 wxGBPosition
* resultptr
;
36976 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
36977 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
36985 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
36986 PyObject
*resultobj
;
36987 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36989 wxGBPosition result
;
36990 PyObject
* obj0
= 0 ;
36991 PyObject
* obj1
= 0 ;
36993 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
36994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36996 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36997 if (PyErr_Occurred()) SWIG_fail
;
36999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37000 result
= (arg1
)->GetItemPosition(arg2
);
37002 wxPyEndAllowThreads(__tstate
);
37003 if (PyErr_Occurred()) SWIG_fail
;
37006 wxGBPosition
* resultptr
;
37007 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37008 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37016 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
37021 argc
= PyObject_Length(args
);
37022 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
37023 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37029 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37039 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37047 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
37055 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37065 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
37073 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
37081 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37089 _v
= SWIG_CheckUnsignedLong(argv
[1]);
37091 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
37096 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
37101 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
37102 PyObject
*resultobj
;
37103 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37104 wxWindow
*arg2
= (wxWindow
*) 0 ;
37105 wxGBPosition
*arg3
= 0 ;
37107 wxGBPosition temp3
;
37108 PyObject
* obj0
= 0 ;
37109 PyObject
* obj1
= 0 ;
37110 PyObject
* obj2
= 0 ;
37112 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
37113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37115 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37119 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37123 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
37125 wxPyEndAllowThreads(__tstate
);
37126 if (PyErr_Occurred()) SWIG_fail
;
37129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37137 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
37138 PyObject
*resultobj
;
37139 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37140 wxSizer
*arg2
= (wxSizer
*) 0 ;
37141 wxGBPosition
*arg3
= 0 ;
37143 wxGBPosition temp3
;
37144 PyObject
* obj0
= 0 ;
37145 PyObject
* obj1
= 0 ;
37146 PyObject
* obj2
= 0 ;
37148 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
37149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37151 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
37152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37155 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37159 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
37161 wxPyEndAllowThreads(__tstate
);
37162 if (PyErr_Occurred()) SWIG_fail
;
37165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37173 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
37174 PyObject
*resultobj
;
37175 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37177 wxGBPosition
*arg3
= 0 ;
37179 wxGBPosition temp3
;
37180 PyObject
* obj0
= 0 ;
37181 PyObject
* obj1
= 0 ;
37182 PyObject
* obj2
= 0 ;
37184 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
37185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37187 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
37188 if (PyErr_Occurred()) SWIG_fail
;
37191 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37195 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
37197 wxPyEndAllowThreads(__tstate
);
37198 if (PyErr_Occurred()) SWIG_fail
;
37201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37209 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
37214 argc
= PyObject_Length(args
);
37215 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
37216 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37222 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37232 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37241 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
37244 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
37253 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37263 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
37272 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
37275 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
37284 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37292 _v
= SWIG_CheckUnsignedLong(argv
[1]);
37295 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
37298 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
37304 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
37309 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
37310 PyObject
*resultobj
;
37311 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37312 wxWindow
*arg2
= (wxWindow
*) 0 ;
37314 PyObject
* obj0
= 0 ;
37315 PyObject
* obj1
= 0 ;
37317 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
37318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37320 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37324 result
= (arg1
)->GetItemSpan(arg2
);
37326 wxPyEndAllowThreads(__tstate
);
37327 if (PyErr_Occurred()) SWIG_fail
;
37330 wxGBSpan
* resultptr
;
37331 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37332 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
37340 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
37341 PyObject
*resultobj
;
37342 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37343 wxSizer
*arg2
= (wxSizer
*) 0 ;
37345 PyObject
* obj0
= 0 ;
37346 PyObject
* obj1
= 0 ;
37348 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
37349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37351 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
37352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37355 result
= (arg1
)->GetItemSpan(arg2
);
37357 wxPyEndAllowThreads(__tstate
);
37358 if (PyErr_Occurred()) SWIG_fail
;
37361 wxGBSpan
* resultptr
;
37362 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37363 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
37371 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
37372 PyObject
*resultobj
;
37373 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37376 PyObject
* obj0
= 0 ;
37377 PyObject
* obj1
= 0 ;
37379 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
37380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37382 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
37383 if (PyErr_Occurred()) SWIG_fail
;
37385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37386 result
= (arg1
)->GetItemSpan(arg2
);
37388 wxPyEndAllowThreads(__tstate
);
37389 if (PyErr_Occurred()) SWIG_fail
;
37392 wxGBSpan
* resultptr
;
37393 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37394 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
37402 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
37407 argc
= PyObject_Length(args
);
37408 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
37409 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37415 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37425 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37433 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
37441 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37451 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
37459 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
37467 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37475 _v
= SWIG_CheckUnsignedLong(argv
[1]);
37477 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
37482 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
37487 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
37488 PyObject
*resultobj
;
37489 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37490 wxWindow
*arg2
= (wxWindow
*) 0 ;
37491 wxGBSpan
*arg3
= 0 ;
37494 PyObject
* obj0
= 0 ;
37495 PyObject
* obj1
= 0 ;
37496 PyObject
* obj2
= 0 ;
37498 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
37499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37501 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37505 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37509 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
37511 wxPyEndAllowThreads(__tstate
);
37512 if (PyErr_Occurred()) SWIG_fail
;
37515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37523 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
37524 PyObject
*resultobj
;
37525 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37526 wxSizer
*arg2
= (wxSizer
*) 0 ;
37527 wxGBSpan
*arg3
= 0 ;
37530 PyObject
* obj0
= 0 ;
37531 PyObject
* obj1
= 0 ;
37532 PyObject
* obj2
= 0 ;
37534 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
37535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37537 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
37538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37541 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37545 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
37547 wxPyEndAllowThreads(__tstate
);
37548 if (PyErr_Occurred()) SWIG_fail
;
37551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37559 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
37560 PyObject
*resultobj
;
37561 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37563 wxGBSpan
*arg3
= 0 ;
37566 PyObject
* obj0
= 0 ;
37567 PyObject
* obj1
= 0 ;
37568 PyObject
* obj2
= 0 ;
37570 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
37571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37573 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
37574 if (PyErr_Occurred()) SWIG_fail
;
37577 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37581 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
37583 wxPyEndAllowThreads(__tstate
);
37584 if (PyErr_Occurred()) SWIG_fail
;
37587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37595 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
37600 argc
= PyObject_Length(args
);
37601 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
37602 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37608 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37618 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37627 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
37630 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
37639 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37649 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
37658 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
37661 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
37670 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37678 _v
= SWIG_CheckUnsignedLong(argv
[1]);
37681 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
37684 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
37690 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
37695 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
37696 PyObject
*resultobj
;
37697 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37698 wxWindow
*arg2
= (wxWindow
*) 0 ;
37699 wxGBSizerItem
*result
;
37700 PyObject
* obj0
= 0 ;
37701 PyObject
* obj1
= 0 ;
37703 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
37704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37706 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37710 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
37712 wxPyEndAllowThreads(__tstate
);
37713 if (PyErr_Occurred()) SWIG_fail
;
37715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
37722 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
37723 PyObject
*resultobj
;
37724 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37725 wxSizer
*arg2
= (wxSizer
*) 0 ;
37726 wxGBSizerItem
*result
;
37727 PyObject
* obj0
= 0 ;
37728 PyObject
* obj1
= 0 ;
37730 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
37731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37733 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
37734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37737 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
37739 wxPyEndAllowThreads(__tstate
);
37740 if (PyErr_Occurred()) SWIG_fail
;
37742 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
37749 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
37754 argc
= PyObject_Length(args
);
37755 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
37756 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37762 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37772 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37780 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
37788 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37798 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
37806 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
37811 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
37816 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37817 PyObject
*resultobj
;
37818 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37819 wxGBPosition
*arg2
= 0 ;
37820 wxGBSizerItem
*result
;
37821 wxGBPosition temp2
;
37822 PyObject
* obj0
= 0 ;
37823 PyObject
* obj1
= 0 ;
37824 char *kwnames
[] = {
37825 (char *) "self",(char *) "pos", NULL
37828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
37829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37833 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37837 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
37839 wxPyEndAllowThreads(__tstate
);
37840 if (PyErr_Occurred()) SWIG_fail
;
37842 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
37849 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37850 PyObject
*resultobj
;
37851 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37852 wxPoint
*arg2
= 0 ;
37853 wxGBSizerItem
*result
;
37855 PyObject
* obj0
= 0 ;
37856 PyObject
* obj1
= 0 ;
37857 char *kwnames
[] = {
37858 (char *) "self",(char *) "pt", NULL
37861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
37862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37866 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37870 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
37872 wxPyEndAllowThreads(__tstate
);
37873 if (PyErr_Occurred()) SWIG_fail
;
37875 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
37882 static PyObject
*_wrap_GridBagSizer_FindItemWithData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37883 PyObject
*resultobj
;
37884 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37885 wxObject
*arg2
= (wxObject
*) 0 ;
37886 wxGBSizerItem
*result
;
37887 PyObject
* obj0
= 0 ;
37888 PyObject
* obj1
= 0 ;
37889 char *kwnames
[] = {
37890 (char *) "self",(char *) "userData", NULL
37893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemWithData",kwnames
,&obj0
,&obj1
)) goto fail
;
37894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37896 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
37897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37900 result
= (wxGBSizerItem
*)(arg1
)->FindItemWithData((wxObject
const *)arg2
);
37902 wxPyEndAllowThreads(__tstate
);
37903 if (PyErr_Occurred()) SWIG_fail
;
37905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
37912 static PyObject
*_wrap_GridBagSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37913 PyObject
*resultobj
;
37914 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37915 PyObject
* obj0
= 0 ;
37916 char *kwnames
[] = {
37917 (char *) "self", NULL
37920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
37921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37925 (arg1
)->RecalcSizes();
37927 wxPyEndAllowThreads(__tstate
);
37928 if (PyErr_Occurred()) SWIG_fail
;
37930 Py_INCREF(Py_None
); resultobj
= Py_None
;
37937 static PyObject
*_wrap_GridBagSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37938 PyObject
*resultobj
;
37939 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37941 PyObject
* obj0
= 0 ;
37942 char *kwnames
[] = {
37943 (char *) "self", NULL
37946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
37947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37951 result
= (arg1
)->CalcMin();
37953 wxPyEndAllowThreads(__tstate
);
37954 if (PyErr_Occurred()) SWIG_fail
;
37957 wxSize
* resultptr
;
37958 resultptr
= new wxSize((wxSize
&) result
);
37959 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37967 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject
*, PyObject
*args
) {
37968 PyObject
*resultobj
;
37969 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37970 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
37971 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
37973 PyObject
* obj0
= 0 ;
37974 PyObject
* obj1
= 0 ;
37975 PyObject
* obj2
= 0 ;
37977 if(!PyArg_ParseTuple(args
,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
)) goto fail
;
37978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37980 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
37981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37983 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
37984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37988 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
37990 wxPyEndAllowThreads(__tstate
);
37991 if (PyErr_Occurred()) SWIG_fail
;
37994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38002 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject
*, PyObject
*args
) {
38003 PyObject
*resultobj
;
38004 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38005 wxGBPosition
*arg2
= 0 ;
38006 wxGBSpan
*arg3
= 0 ;
38007 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
38009 wxGBPosition temp2
;
38011 PyObject
* obj0
= 0 ;
38012 PyObject
* obj1
= 0 ;
38013 PyObject
* obj2
= 0 ;
38014 PyObject
* obj3
= 0 ;
38016 if(!PyArg_ParseTuple(args
,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38021 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38025 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38028 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
38029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38033 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
38035 wxPyEndAllowThreads(__tstate
);
38036 if (PyErr_Occurred()) SWIG_fail
;
38039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38047 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
) {
38052 argc
= PyObject_Length(args
);
38053 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
38054 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38056 if ((argc
>= 2) && (argc
<= 3)) {
38060 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38070 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
38079 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
38083 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
38091 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
38096 if ((argc
>= 3) && (argc
<= 4)) {
38100 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38109 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
38113 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38117 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
38121 if (SWIG_ConvertPtr(argv
[3], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
38129 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
38136 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
38141 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
38143 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38144 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
38146 return Py_BuildValue((char *)"");
38148 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38149 PyObject
*resultobj
;
38150 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38152 wxWindow
*arg3
= (wxWindow
*) 0 ;
38154 int arg5
= (int) 0 ;
38155 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
38156 PyObject
* obj0
= 0 ;
38157 PyObject
* obj1
= 0 ;
38158 PyObject
* obj2
= 0 ;
38159 PyObject
* obj3
= 0 ;
38160 PyObject
* obj4
= 0 ;
38161 PyObject
* obj5
= 0 ;
38162 char *kwnames
[] = {
38163 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
38166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38169 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
38170 if (PyErr_Occurred()) SWIG_fail
;
38171 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
38172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38173 arg4
= (wxEdge
) SWIG_AsInt(obj3
);
38174 if (PyErr_Occurred()) SWIG_fail
;
38176 arg5
= (int) SWIG_AsInt(obj4
);
38177 if (PyErr_Occurred()) SWIG_fail
;
38180 arg6
= (int) SWIG_AsInt(obj5
);
38181 if (PyErr_Occurred()) SWIG_fail
;
38184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38185 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
38187 wxPyEndAllowThreads(__tstate
);
38188 if (PyErr_Occurred()) SWIG_fail
;
38190 Py_INCREF(Py_None
); resultobj
= Py_None
;
38197 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38198 PyObject
*resultobj
;
38199 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38200 wxWindow
*arg2
= (wxWindow
*) 0 ;
38201 int arg3
= (int) 0 ;
38202 PyObject
* obj0
= 0 ;
38203 PyObject
* obj1
= 0 ;
38204 PyObject
* obj2
= 0 ;
38205 char *kwnames
[] = {
38206 (char *) "self",(char *) "sibling",(char *) "marg", NULL
38209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38212 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38215 arg3
= (int) SWIG_AsInt(obj2
);
38216 if (PyErr_Occurred()) SWIG_fail
;
38219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38220 (arg1
)->LeftOf(arg2
,arg3
);
38222 wxPyEndAllowThreads(__tstate
);
38223 if (PyErr_Occurred()) SWIG_fail
;
38225 Py_INCREF(Py_None
); resultobj
= Py_None
;
38232 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38233 PyObject
*resultobj
;
38234 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38235 wxWindow
*arg2
= (wxWindow
*) 0 ;
38236 int arg3
= (int) 0 ;
38237 PyObject
* obj0
= 0 ;
38238 PyObject
* obj1
= 0 ;
38239 PyObject
* obj2
= 0 ;
38240 char *kwnames
[] = {
38241 (char *) "self",(char *) "sibling",(char *) "marg", NULL
38244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38247 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38250 arg3
= (int) SWIG_AsInt(obj2
);
38251 if (PyErr_Occurred()) SWIG_fail
;
38254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38255 (arg1
)->RightOf(arg2
,arg3
);
38257 wxPyEndAllowThreads(__tstate
);
38258 if (PyErr_Occurred()) SWIG_fail
;
38260 Py_INCREF(Py_None
); resultobj
= Py_None
;
38267 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38268 PyObject
*resultobj
;
38269 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38270 wxWindow
*arg2
= (wxWindow
*) 0 ;
38271 int arg3
= (int) 0 ;
38272 PyObject
* obj0
= 0 ;
38273 PyObject
* obj1
= 0 ;
38274 PyObject
* obj2
= 0 ;
38275 char *kwnames
[] = {
38276 (char *) "self",(char *) "sibling",(char *) "marg", NULL
38279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38282 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38285 arg3
= (int) SWIG_AsInt(obj2
);
38286 if (PyErr_Occurred()) SWIG_fail
;
38289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38290 (arg1
)->Above(arg2
,arg3
);
38292 wxPyEndAllowThreads(__tstate
);
38293 if (PyErr_Occurred()) SWIG_fail
;
38295 Py_INCREF(Py_None
); resultobj
= Py_None
;
38302 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38303 PyObject
*resultobj
;
38304 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38305 wxWindow
*arg2
= (wxWindow
*) 0 ;
38306 int arg3
= (int) 0 ;
38307 PyObject
* obj0
= 0 ;
38308 PyObject
* obj1
= 0 ;
38309 PyObject
* obj2
= 0 ;
38310 char *kwnames
[] = {
38311 (char *) "self",(char *) "sibling",(char *) "marg", NULL
38314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38317 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38320 arg3
= (int) SWIG_AsInt(obj2
);
38321 if (PyErr_Occurred()) SWIG_fail
;
38324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38325 (arg1
)->Below(arg2
,arg3
);
38327 wxPyEndAllowThreads(__tstate
);
38328 if (PyErr_Occurred()) SWIG_fail
;
38330 Py_INCREF(Py_None
); resultobj
= Py_None
;
38337 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38338 PyObject
*resultobj
;
38339 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38340 wxWindow
*arg2
= (wxWindow
*) 0 ;
38342 int arg4
= (int) 0 ;
38343 PyObject
* obj0
= 0 ;
38344 PyObject
* obj1
= 0 ;
38345 PyObject
* obj2
= 0 ;
38346 PyObject
* obj3
= 0 ;
38347 char *kwnames
[] = {
38348 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
38351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38354 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38356 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
38357 if (PyErr_Occurred()) SWIG_fail
;
38359 arg4
= (int) SWIG_AsInt(obj3
);
38360 if (PyErr_Occurred()) SWIG_fail
;
38363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38364 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
38366 wxPyEndAllowThreads(__tstate
);
38367 if (PyErr_Occurred()) SWIG_fail
;
38369 Py_INCREF(Py_None
); resultobj
= Py_None
;
38376 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38377 PyObject
*resultobj
;
38378 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38379 wxWindow
*arg2
= (wxWindow
*) 0 ;
38382 PyObject
* obj0
= 0 ;
38383 PyObject
* obj1
= 0 ;
38384 PyObject
* obj2
= 0 ;
38385 PyObject
* obj3
= 0 ;
38386 char *kwnames
[] = {
38387 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
38390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38393 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38395 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
38396 if (PyErr_Occurred()) SWIG_fail
;
38397 arg4
= (int) SWIG_AsInt(obj3
);
38398 if (PyErr_Occurred()) SWIG_fail
;
38400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38401 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
38403 wxPyEndAllowThreads(__tstate
);
38404 if (PyErr_Occurred()) SWIG_fail
;
38406 Py_INCREF(Py_None
); resultobj
= Py_None
;
38413 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38414 PyObject
*resultobj
;
38415 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38417 PyObject
* obj0
= 0 ;
38418 PyObject
* obj1
= 0 ;
38419 char *kwnames
[] = {
38420 (char *) "self",(char *) "val", NULL
38423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
38424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38426 arg2
= (int) SWIG_AsInt(obj1
);
38427 if (PyErr_Occurred()) SWIG_fail
;
38429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38430 (arg1
)->Absolute(arg2
);
38432 wxPyEndAllowThreads(__tstate
);
38433 if (PyErr_Occurred()) SWIG_fail
;
38435 Py_INCREF(Py_None
); resultobj
= Py_None
;
38442 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38443 PyObject
*resultobj
;
38444 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38445 PyObject
* obj0
= 0 ;
38446 char *kwnames
[] = {
38447 (char *) "self", NULL
38450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
38451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38455 (arg1
)->Unconstrained();
38457 wxPyEndAllowThreads(__tstate
);
38458 if (PyErr_Occurred()) SWIG_fail
;
38460 Py_INCREF(Py_None
); resultobj
= Py_None
;
38467 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38468 PyObject
*resultobj
;
38469 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38470 PyObject
* obj0
= 0 ;
38471 char *kwnames
[] = {
38472 (char *) "self", NULL
38475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
38476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38482 wxPyEndAllowThreads(__tstate
);
38483 if (PyErr_Occurred()) SWIG_fail
;
38485 Py_INCREF(Py_None
); resultobj
= Py_None
;
38492 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38493 PyObject
*resultobj
;
38494 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38496 PyObject
* obj0
= 0 ;
38497 char *kwnames
[] = {
38498 (char *) "self", NULL
38501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
38502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38506 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
38508 wxPyEndAllowThreads(__tstate
);
38509 if (PyErr_Occurred()) SWIG_fail
;
38512 resultobj
= wxPyMake_wxObject(result
);
38520 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38521 PyObject
*resultobj
;
38522 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38524 PyObject
* obj0
= 0 ;
38525 char *kwnames
[] = {
38526 (char *) "self", NULL
38529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
38530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38534 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
38536 wxPyEndAllowThreads(__tstate
);
38537 if (PyErr_Occurred()) SWIG_fail
;
38539 resultobj
= SWIG_FromInt((int)result
);
38546 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38547 PyObject
*resultobj
;
38548 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38550 PyObject
* obj0
= 0 ;
38551 PyObject
* obj1
= 0 ;
38552 char *kwnames
[] = {
38553 (char *) "self",(char *) "which", NULL
38556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
38557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38559 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
38560 if (PyErr_Occurred()) SWIG_fail
;
38562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38563 (arg1
)->SetEdge((wxEdge
)arg2
);
38565 wxPyEndAllowThreads(__tstate
);
38566 if (PyErr_Occurred()) SWIG_fail
;
38568 Py_INCREF(Py_None
); resultobj
= Py_None
;
38575 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38576 PyObject
*resultobj
;
38577 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38579 PyObject
* obj0
= 0 ;
38580 PyObject
* obj1
= 0 ;
38581 char *kwnames
[] = {
38582 (char *) "self",(char *) "v", NULL
38585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
38586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38588 arg2
= (int) SWIG_AsInt(obj1
);
38589 if (PyErr_Occurred()) SWIG_fail
;
38591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38592 (arg1
)->SetValue(arg2
);
38594 wxPyEndAllowThreads(__tstate
);
38595 if (PyErr_Occurred()) SWIG_fail
;
38597 Py_INCREF(Py_None
); resultobj
= Py_None
;
38604 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38605 PyObject
*resultobj
;
38606 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38608 PyObject
* obj0
= 0 ;
38609 char *kwnames
[] = {
38610 (char *) "self", NULL
38613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
38614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38618 result
= (int)(arg1
)->GetMargin();
38620 wxPyEndAllowThreads(__tstate
);
38621 if (PyErr_Occurred()) SWIG_fail
;
38623 resultobj
= SWIG_FromInt((int)result
);
38630 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38631 PyObject
*resultobj
;
38632 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38634 PyObject
* obj0
= 0 ;
38635 PyObject
* obj1
= 0 ;
38636 char *kwnames
[] = {
38637 (char *) "self",(char *) "m", NULL
38640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
38641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38643 arg2
= (int) SWIG_AsInt(obj1
);
38644 if (PyErr_Occurred()) SWIG_fail
;
38646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38647 (arg1
)->SetMargin(arg2
);
38649 wxPyEndAllowThreads(__tstate
);
38650 if (PyErr_Occurred()) SWIG_fail
;
38652 Py_INCREF(Py_None
); resultobj
= Py_None
;
38659 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38660 PyObject
*resultobj
;
38661 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38663 PyObject
* obj0
= 0 ;
38664 char *kwnames
[] = {
38665 (char *) "self", NULL
38668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
38669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38673 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
38675 wxPyEndAllowThreads(__tstate
);
38676 if (PyErr_Occurred()) SWIG_fail
;
38678 resultobj
= SWIG_FromInt((int)result
);
38685 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38686 PyObject
*resultobj
;
38687 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38689 PyObject
* obj0
= 0 ;
38690 char *kwnames
[] = {
38691 (char *) "self", NULL
38694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
38695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38699 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
38701 wxPyEndAllowThreads(__tstate
);
38702 if (PyErr_Occurred()) SWIG_fail
;
38704 resultobj
= SWIG_FromInt((int)result
);
38711 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38712 PyObject
*resultobj
;
38713 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38715 PyObject
* obj0
= 0 ;
38716 char *kwnames
[] = {
38717 (char *) "self", NULL
38720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
38721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38725 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
38727 wxPyEndAllowThreads(__tstate
);
38728 if (PyErr_Occurred()) SWIG_fail
;
38730 resultobj
= SWIG_FromInt((int)result
);
38737 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38738 PyObject
*resultobj
;
38739 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38741 PyObject
* obj0
= 0 ;
38742 char *kwnames
[] = {
38743 (char *) "self", NULL
38746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
38747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38751 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
38753 wxPyEndAllowThreads(__tstate
);
38754 if (PyErr_Occurred()) SWIG_fail
;
38757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38765 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38766 PyObject
*resultobj
;
38767 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38769 PyObject
* obj0
= 0 ;
38770 PyObject
* obj1
= 0 ;
38771 char *kwnames
[] = {
38772 (char *) "self",(char *) "d", NULL
38775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
38776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38778 arg2
= (bool) SWIG_AsBool(obj1
);
38779 if (PyErr_Occurred()) SWIG_fail
;
38781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38782 (arg1
)->SetDone(arg2
);
38784 wxPyEndAllowThreads(__tstate
);
38785 if (PyErr_Occurred()) SWIG_fail
;
38787 Py_INCREF(Py_None
); resultobj
= Py_None
;
38794 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38795 PyObject
*resultobj
;
38796 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38798 PyObject
* obj0
= 0 ;
38799 char *kwnames
[] = {
38800 (char *) "self", NULL
38803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
38804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38808 result
= (int)(arg1
)->GetRelationship();
38810 wxPyEndAllowThreads(__tstate
);
38811 if (PyErr_Occurred()) SWIG_fail
;
38813 resultobj
= SWIG_FromInt((int)result
);
38820 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38821 PyObject
*resultobj
;
38822 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38824 PyObject
* obj0
= 0 ;
38825 PyObject
* obj1
= 0 ;
38826 char *kwnames
[] = {
38827 (char *) "self",(char *) "r", NULL
38830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
38831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38833 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
38834 if (PyErr_Occurred()) SWIG_fail
;
38836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38837 (arg1
)->SetRelationship((wxRelationship
)arg2
);
38839 wxPyEndAllowThreads(__tstate
);
38840 if (PyErr_Occurred()) SWIG_fail
;
38842 Py_INCREF(Py_None
); resultobj
= Py_None
;
38849 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38850 PyObject
*resultobj
;
38851 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38852 wxWindow
*arg2
= (wxWindow
*) 0 ;
38854 PyObject
* obj0
= 0 ;
38855 PyObject
* obj1
= 0 ;
38856 char *kwnames
[] = {
38857 (char *) "self",(char *) "otherW", NULL
38860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
38861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38863 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38867 result
= (bool)(arg1
)->ResetIfWin(arg2
);
38869 wxPyEndAllowThreads(__tstate
);
38870 if (PyErr_Occurred()) SWIG_fail
;
38873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38881 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38882 PyObject
*resultobj
;
38883 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38884 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
38885 wxWindow
*arg3
= (wxWindow
*) 0 ;
38887 PyObject
* obj0
= 0 ;
38888 PyObject
* obj1
= 0 ;
38889 PyObject
* obj2
= 0 ;
38890 char *kwnames
[] = {
38891 (char *) "self",(char *) "constraints",(char *) "win", NULL
38894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38897 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
38898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38899 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
38900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38903 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
38905 wxPyEndAllowThreads(__tstate
);
38906 if (PyErr_Occurred()) SWIG_fail
;
38909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38917 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38918 PyObject
*resultobj
;
38919 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38921 wxWindow
*arg3
= (wxWindow
*) 0 ;
38922 wxWindow
*arg4
= (wxWindow
*) 0 ;
38924 PyObject
* obj0
= 0 ;
38925 PyObject
* obj1
= 0 ;
38926 PyObject
* obj2
= 0 ;
38927 PyObject
* obj3
= 0 ;
38928 char *kwnames
[] = {
38929 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
38932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38935 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
38936 if (PyErr_Occurred()) SWIG_fail
;
38937 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
38938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38939 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
38940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38943 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
38945 wxPyEndAllowThreads(__tstate
);
38946 if (PyErr_Occurred()) SWIG_fail
;
38948 resultobj
= SWIG_FromInt((int)result
);
38955 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
38957 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38958 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
38960 return Py_BuildValue((char *)"");
38962 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38963 PyObject
*resultobj
;
38964 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38965 wxIndividualLayoutConstraint
*result
;
38966 PyObject
* obj0
= 0 ;
38967 char *kwnames
[] = {
38968 (char *) "self", NULL
38971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
38972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
38973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38974 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
38976 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38983 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38984 PyObject
*resultobj
;
38985 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38986 wxIndividualLayoutConstraint
*result
;
38987 PyObject
* obj0
= 0 ;
38988 char *kwnames
[] = {
38989 (char *) "self", NULL
38992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
38993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
38994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38995 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
38997 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39004 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39005 PyObject
*resultobj
;
39006 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39007 wxIndividualLayoutConstraint
*result
;
39008 PyObject
* obj0
= 0 ;
39009 char *kwnames
[] = {
39010 (char *) "self", NULL
39013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
39014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39016 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
39018 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39025 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39026 PyObject
*resultobj
;
39027 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39028 wxIndividualLayoutConstraint
*result
;
39029 PyObject
* obj0
= 0 ;
39030 char *kwnames
[] = {
39031 (char *) "self", NULL
39034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
39035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39037 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
39039 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39046 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39047 PyObject
*resultobj
;
39048 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39049 wxIndividualLayoutConstraint
*result
;
39050 PyObject
* obj0
= 0 ;
39051 char *kwnames
[] = {
39052 (char *) "self", NULL
39055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
39056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39058 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
39060 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39067 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39068 PyObject
*resultobj
;
39069 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39070 wxIndividualLayoutConstraint
*result
;
39071 PyObject
* obj0
= 0 ;
39072 char *kwnames
[] = {
39073 (char *) "self", NULL
39076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
39077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39079 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
39081 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39088 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39089 PyObject
*resultobj
;
39090 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39091 wxIndividualLayoutConstraint
*result
;
39092 PyObject
* obj0
= 0 ;
39093 char *kwnames
[] = {
39094 (char *) "self", NULL
39097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
39098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39100 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
39102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39109 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39110 PyObject
*resultobj
;
39111 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39112 wxIndividualLayoutConstraint
*result
;
39113 PyObject
* obj0
= 0 ;
39114 char *kwnames
[] = {
39115 (char *) "self", NULL
39118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
39119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39121 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
39123 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39130 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39131 PyObject
*resultobj
;
39132 wxLayoutConstraints
*result
;
39133 char *kwnames
[] = {
39137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
39139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39140 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
39142 wxPyEndAllowThreads(__tstate
);
39143 if (PyErr_Occurred()) SWIG_fail
;
39145 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
39152 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39153 PyObject
*resultobj
;
39154 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39155 wxWindow
*arg2
= (wxWindow
*) 0 ;
39156 int *arg3
= (int *) 0 ;
39159 PyObject
* obj0
= 0 ;
39160 PyObject
* obj1
= 0 ;
39161 char *kwnames
[] = {
39162 (char *) "self",(char *) "win", NULL
39166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
39167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39169 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39173 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
39175 wxPyEndAllowThreads(__tstate
);
39176 if (PyErr_Occurred()) SWIG_fail
;
39179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39182 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
39183 resultobj
= t_output_helper(resultobj
,o
);
39191 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
39192 PyObject
*resultobj
;
39193 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39195 PyObject
* obj0
= 0 ;
39196 char *kwnames
[] = {
39197 (char *) "self", NULL
39200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
39201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39205 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
39207 wxPyEndAllowThreads(__tstate
);
39208 if (PyErr_Occurred()) SWIG_fail
;
39211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39219 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
39221 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39222 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
39224 return Py_BuildValue((char *)"");
39226 static PyMethodDef SwigMethods
[] = {
39227 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
39228 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
39229 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39230 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39231 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
39232 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39233 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39234 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39235 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39236 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39237 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39238 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39239 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39240 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39241 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39242 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39243 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39244 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39245 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39246 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39247 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39248 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39249 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39250 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
39251 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39252 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39253 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39254 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39255 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39256 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39257 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39258 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39259 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39260 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39261 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39262 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39263 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
39264 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39265 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39266 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39267 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39268 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39269 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39270 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39271 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39272 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39273 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39274 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39275 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39276 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39277 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39278 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
39279 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39280 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39281 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39282 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39283 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39284 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39285 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39286 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39287 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39288 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39289 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39290 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39291 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39292 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39293 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39294 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39295 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39296 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39297 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39298 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39299 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39300 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39301 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39302 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39303 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39304 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39305 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39306 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39307 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39308 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39309 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39310 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39311 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39312 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39313 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39314 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39315 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39316 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39317 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39318 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39319 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39320 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39321 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39322 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39323 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39324 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39325 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39326 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39327 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39328 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39329 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
39330 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39331 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39332 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39333 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39334 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39335 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39336 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39337 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39338 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39339 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39340 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39341 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39342 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39343 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39344 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39345 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39346 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39347 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39348 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39349 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39350 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39351 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39352 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39353 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39354 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39355 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39356 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39357 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
39358 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39359 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39360 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39361 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39362 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39363 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39364 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39365 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39366 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39367 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39368 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39369 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39370 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39371 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39372 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39373 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39374 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39375 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
39376 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39377 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
39378 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39379 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39380 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39381 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39382 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39383 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39384 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39385 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
39386 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
39387 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39388 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39389 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39390 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39391 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39392 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39393 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39394 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39395 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39396 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39397 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39398 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
39399 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39400 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39401 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39402 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39403 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39404 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39405 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39406 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39407 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39408 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39409 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
39410 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39411 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39412 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39413 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39414 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
39415 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39416 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39417 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39418 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39419 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39420 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
39421 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39422 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39423 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39424 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39425 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39426 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39427 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39428 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39429 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39430 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
39431 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39432 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39433 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39434 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39435 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39436 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39437 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39438 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39439 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39440 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
39441 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39442 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39443 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39444 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
39445 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39446 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39447 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39448 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39449 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39450 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39451 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39452 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39453 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39454 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39455 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39456 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39457 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39458 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39459 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39460 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39461 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39462 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39463 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39464 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39465 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39466 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39467 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39468 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39469 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39470 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39471 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39472 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39473 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39474 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39475 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39476 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39477 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39478 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39479 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39480 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39481 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39482 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39483 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39484 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39485 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39486 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39487 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39488 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39489 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39490 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39491 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39492 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39493 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39494 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39495 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39496 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39497 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39498 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39499 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39500 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39501 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39502 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39503 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39504 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39505 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39506 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39507 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39508 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39509 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39510 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39511 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39512 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39513 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39514 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
39515 { (char *)"InitAllImageHandlers", (PyCFunction
) _wrap_InitAllImageHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39516 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39517 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
39518 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39519 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
39520 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39521 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
39522 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39523 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
39524 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39525 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
39526 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39527 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
39528 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39529 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
39530 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39531 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
39532 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39533 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
39534 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39535 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
39536 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39537 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
39538 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39539 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39540 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39541 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39542 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39543 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39544 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39545 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39546 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39547 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39548 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39549 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39550 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39551 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
39552 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39553 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39554 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39555 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39556 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39557 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39558 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39559 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39560 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39561 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39562 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39563 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39564 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39565 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39566 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39567 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39568 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39569 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
39570 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39571 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39572 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
39573 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39574 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39575 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
39576 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39577 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39578 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39579 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39580 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39581 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39582 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39583 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39584 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39585 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39586 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39587 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
39588 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39589 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39590 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39591 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39592 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
39593 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39594 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39595 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39596 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39597 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39598 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
39599 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39600 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39601 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39602 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39603 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39604 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
39605 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39606 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39607 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39608 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39609 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39610 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39611 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39612 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39613 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39614 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39615 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39616 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39617 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39618 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39619 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39620 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39621 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39622 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39623 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39624 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39625 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39626 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39627 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39628 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39629 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39630 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39631 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39632 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39633 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39634 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39635 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39636 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39637 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39638 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39639 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39640 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39641 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39642 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39643 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39644 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39645 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39646 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39647 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39648 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39649 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39650 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39651 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39652 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39653 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39654 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39655 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39656 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39657 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39658 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39659 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39660 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39661 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39662 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39663 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39664 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39665 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39666 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
39667 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39668 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39669 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39670 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39671 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39672 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39673 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
39674 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39675 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39676 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39677 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39678 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39679 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39680 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39681 { (char *)"KeyEvent_GetUniChar", (PyCFunction
) _wrap_KeyEvent_GetUniChar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39682 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39683 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39684 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39685 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39686 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39687 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39688 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39689 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39690 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39691 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39692 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39693 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39694 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39695 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39696 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39697 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39698 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39699 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39700 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39701 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39702 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39703 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39704 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39705 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39706 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39707 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39708 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
39709 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39710 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39711 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39712 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39713 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39714 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39715 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39716 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39717 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39718 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
39719 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39720 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39721 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39722 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39723 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39724 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39725 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39726 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39727 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39728 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
39729 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39730 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
39731 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39732 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
39733 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39734 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39735 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
39736 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39737 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39738 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39739 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
39740 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39741 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39742 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
39743 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39744 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39745 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
39746 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39747 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
39748 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39749 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39750 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39751 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39752 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
39753 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39754 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39755 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39756 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39757 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39758 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39759 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39760 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
39761 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39762 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39763 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39764 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
39765 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39766 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39767 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
39768 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39769 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
39770 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39771 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39772 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39773 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
39774 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39775 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39776 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39777 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39778 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39779 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39780 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39781 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39782 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39783 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39784 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39785 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39786 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39787 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39788 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39789 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39790 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
39791 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39792 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
39793 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39794 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39795 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
39796 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39797 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
39798 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39799 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39800 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39801 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
39802 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39803 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39804 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39805 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
39806 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39807 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39808 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39809 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39810 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39811 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39812 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39813 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
39814 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39815 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39816 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
39817 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39818 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39819 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
39820 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39821 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39822 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39823 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
39824 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39825 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39826 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39827 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39828 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39829 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39830 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
39831 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39832 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39833 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39834 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39835 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
39836 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39837 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39838 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39839 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39840 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
39841 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39842 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39843 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39844 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39845 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39846 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39847 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39848 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39849 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39850 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39851 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39852 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39853 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39854 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39855 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39856 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39857 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39858 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39859 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39860 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39861 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39862 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39863 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39864 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39865 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39866 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39867 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39868 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39869 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39870 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39871 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39872 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39873 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39874 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39875 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39876 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39877 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39878 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39879 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39880 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39881 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39882 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39883 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39884 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
39885 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39886 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39887 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39888 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39889 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39890 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39891 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39892 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39893 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39894 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39895 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39896 { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_SetMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39897 { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_GetMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39898 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39899 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39900 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39901 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
39902 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39903 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39904 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39905 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
39906 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39907 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39908 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39909 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39910 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39911 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39912 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39913 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39914 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39915 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39916 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39917 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39918 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39919 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39920 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39921 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39922 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39923 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39924 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39925 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39926 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39927 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39928 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39929 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39930 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39931 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39932 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39933 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39934 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39935 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39936 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39937 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39938 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39939 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39940 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39941 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39942 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39943 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39944 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39945 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39946 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39947 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39948 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39949 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39950 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39951 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39952 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39953 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39954 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39955 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39956 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39957 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39958 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39959 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39960 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39961 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39962 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39963 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39964 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39965 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39966 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39967 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39968 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39969 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39970 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39971 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39972 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39973 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39974 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39975 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39976 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39977 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39978 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39979 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39980 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39981 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39982 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39983 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39984 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39985 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39986 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39987 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39988 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39989 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39990 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39991 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39992 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39993 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39994 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39995 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39996 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39997 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39998 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39999 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40000 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40001 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40002 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40003 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40004 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40005 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40006 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40007 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40008 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40009 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40010 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40011 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40012 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40013 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40014 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40015 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40016 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40017 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40018 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40019 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40020 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40021 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40022 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40023 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40024 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40025 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40026 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40027 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40028 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40029 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40030 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40031 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40032 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40033 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40034 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40035 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40036 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40037 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40038 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40039 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40040 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40041 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40042 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40043 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40044 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40045 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40046 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40047 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40048 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40049 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40050 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40051 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40052 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40053 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
40054 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40055 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40056 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40057 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40058 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40059 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40060 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40061 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40062 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40063 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40064 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40065 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40066 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40067 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40068 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40069 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40070 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40071 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40072 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40073 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40074 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40075 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40076 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40077 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40078 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40079 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40080 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40081 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40082 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40083 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40084 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40085 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40086 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40087 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40088 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40089 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
40090 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40091 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40092 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40093 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40094 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40095 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40096 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40097 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40098 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40099 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40100 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40101 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40102 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40103 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
40104 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40105 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40106 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
40107 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40108 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40109 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40110 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40111 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40112 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40113 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40114 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40115 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40116 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40117 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40118 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40119 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40120 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40121 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40122 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40123 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40124 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40125 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40126 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40127 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40128 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40129 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40130 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40131 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40132 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40133 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40134 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40135 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40136 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40137 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40138 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40139 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40140 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40141 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40142 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40143 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40144 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40145 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40146 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40147 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40148 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40149 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40150 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40151 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40152 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40153 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40154 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40155 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40156 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40157 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40158 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40159 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40160 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40161 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
40162 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40163 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40164 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40165 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40166 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40167 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40168 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40169 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40170 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40171 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40172 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40173 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40174 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40175 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40176 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40177 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40178 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40179 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40180 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40181 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40182 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40183 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40184 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40185 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40186 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40187 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40188 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
40189 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40190 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40191 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40192 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40193 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40194 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40195 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40196 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40197 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40198 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40199 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40200 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40201 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40202 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40203 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40204 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40205 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40206 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40207 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40208 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40209 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40210 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40211 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40212 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40213 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40214 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40215 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40216 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40217 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
40218 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40219 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40220 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40221 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40222 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40223 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40224 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
40225 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40226 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40227 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40228 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40229 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40230 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40231 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40232 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40233 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40234 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40235 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40236 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40237 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40238 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40239 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40240 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40241 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
40242 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
40243 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40244 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40245 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40246 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40247 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40248 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40249 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40250 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40251 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40252 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40253 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40254 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40255 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40256 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40257 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40258 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40259 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40260 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40261 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40262 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40263 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40264 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40265 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40266 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40267 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40268 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40269 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40270 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40271 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40272 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40273 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40274 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40275 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40276 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40277 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
40278 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40279 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40280 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40281 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40282 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40283 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40284 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40285 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40286 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40287 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40288 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40289 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40290 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40291 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40292 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40293 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40294 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40295 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40296 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40297 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40298 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40299 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40300 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40301 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40302 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40303 { (char *)"Sizer_Hide", (PyCFunction
) _wrap_Sizer_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40304 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40305 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40306 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
40307 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40308 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40309 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
40310 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40311 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40312 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40313 { (char *)"BoxSizer_RecalcSizes", (PyCFunction
) _wrap_BoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40314 { (char *)"BoxSizer_CalcMin", (PyCFunction
) _wrap_BoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40315 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
40316 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40317 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40318 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_StaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40319 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction
) _wrap_StaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40320 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
40321 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40322 { (char *)"GridSizer_RecalcSizes", (PyCFunction
) _wrap_GridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40323 { (char *)"GridSizer_CalcMin", (PyCFunction
) _wrap_GridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40324 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40325 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40326 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40327 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40328 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40329 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40330 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40331 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40332 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
40333 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40334 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_FlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40335 { (char *)"FlexGridSizer_CalcMin", (PyCFunction
) _wrap_FlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40336 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40337 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40338 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40339 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40340 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40341 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40342 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40343 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40344 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40345 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40346 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
40347 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40348 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40349 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40350 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40351 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40352 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40353 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40354 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40355 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40356 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
40357 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40358 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40359 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40360 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40361 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40362 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40363 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40364 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40365 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40366 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
40367 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40368 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40369 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40370 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40371 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40372 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40373 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40374 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40375 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects
, METH_VARARGS
, NULL
},
40376 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40377 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40378 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40379 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
40380 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40381 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40382 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40383 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40384 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40385 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
40386 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
40387 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
40388 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
40389 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
40390 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40391 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40392 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction
) _wrap_GridBagSizer_FindItemWithData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40393 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction
) _wrap_GridBagSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40394 { (char *)"GridBagSizer_CalcMin", (PyCFunction
) _wrap_GridBagSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40395 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
, NULL
},
40396 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
40397 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40398 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40399 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40400 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40401 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40402 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40403 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40404 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40405 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40406 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40407 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40408 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40409 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40410 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40411 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40412 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40413 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40414 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40415 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40416 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40417 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40418 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40419 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40420 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40421 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40422 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40423 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
40424 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40425 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40426 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40427 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40428 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40429 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40430 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40431 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40432 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40433 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40434 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
40435 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
40436 { NULL
, NULL
, 0, NULL
}
40440 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
40442 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
40443 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
40445 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
40446 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
40448 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
40449 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40451 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
40452 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40454 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
40455 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
40457 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
40458 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40460 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
40461 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
40463 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
40464 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40466 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
40467 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40469 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
40470 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
40472 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
40473 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
40475 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
40476 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
40478 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
40479 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
40481 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
40482 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
40484 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
40485 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
40487 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
40488 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
40490 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
40491 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
40493 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
40494 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40496 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
40497 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
40499 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
40500 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40502 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
40503 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40505 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
40506 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
40508 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
40509 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
40511 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
40512 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
40514 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
40515 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
40517 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
40518 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
40520 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
40521 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
40523 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
40524 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
40526 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
40527 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40529 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
40530 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40532 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
40533 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40535 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
40536 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40538 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
40539 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40541 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
40542 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
40544 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
40545 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
40547 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
40548 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40550 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
40551 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
40553 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
40554 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
40556 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
40557 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40559 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
40560 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40562 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
40563 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40565 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
40566 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
40568 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
40569 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
40571 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
40572 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40574 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
40575 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40577 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
40578 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40580 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
40581 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
40583 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
40584 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
40586 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
40587 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
40589 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
40590 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
40592 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
40593 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40595 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
40596 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
40598 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
40599 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
40601 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
40602 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
40604 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
40605 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
40607 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
40608 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
40610 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
40611 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
40613 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
40614 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
40616 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
40617 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
40619 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
40620 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
40622 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
40623 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
40625 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
40626 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40628 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
40629 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
40631 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
40632 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
40634 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
40635 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
40637 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
40638 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40640 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
40641 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
40643 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
40644 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
40646 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
40647 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
40649 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
40650 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
40652 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
40653 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
40655 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
40656 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
40658 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
40659 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
40661 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
40662 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
40664 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
40665 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
40667 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
40668 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
40670 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
40671 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
40673 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
40674 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
40676 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
40677 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
40679 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
40680 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40682 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
40683 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
40685 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
40686 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
40688 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
40689 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
40691 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
40692 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
40694 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
40695 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
40697 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
40698 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
40700 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
40701 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
40703 static void *_p_wxSizerTo_p_wxObject(void *x
) {
40704 return (void *)((wxObject
*) ((wxSizer
*) x
));
40706 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
40707 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
40709 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
40710 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40712 static void *_p_wxMenuTo_p_wxObject(void *x
) {
40713 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
40715 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
40716 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
40718 static void *_p_wxImageTo_p_wxObject(void *x
) {
40719 return (void *)((wxObject
*) ((wxImage
*) x
));
40721 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
40722 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
40724 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
40725 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40727 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
40728 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
40730 static void *_p_wxWindowTo_p_wxObject(void *x
) {
40731 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
40733 static void *_p_wxControlTo_p_wxObject(void *x
) {
40734 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
40736 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
40737 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
40739 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
40740 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
40742 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
40743 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40745 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
40746 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
40748 static void *_p_wxEventTo_p_wxObject(void *x
) {
40749 return (void *)((wxObject
*) ((wxEvent
*) x
));
40751 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
40752 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
40754 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
40755 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
40757 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
40758 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
40760 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
40761 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
40763 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
40764 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
40766 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
40767 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40769 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
40770 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40772 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
40773 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
40775 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
40776 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40778 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
40779 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
40781 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
40782 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
40784 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
40785 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
40787 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
40788 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
40790 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
40791 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
40793 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
40794 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
40796 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
40797 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40799 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
40800 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
40802 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
40803 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
40805 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
40806 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
40808 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
40809 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
40811 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
40812 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
40814 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
40815 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
40817 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
40818 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
40820 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
40821 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
40823 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
40824 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40826 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
40827 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40829 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
40830 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40832 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
40833 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40835 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
40836 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40838 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
40839 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
40841 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
40842 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
40844 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
40845 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40847 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
40848 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
40850 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
40851 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
40853 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
40854 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
40856 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
40857 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
40859 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
40860 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
40862 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
40863 return (void *)((wxObject
*) ((wxFSFile
*) x
));
40865 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
40866 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
40868 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
40869 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40871 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
40872 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
40874 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
40875 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40877 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
40878 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40880 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
40881 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40883 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
40884 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
40886 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
40887 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
40889 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
40890 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
40892 static void *_p_wxControlTo_p_wxWindow(void *x
) {
40893 return (void *)((wxWindow
*) ((wxControl
*) x
));
40895 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
40896 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
40898 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
40899 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
40901 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
40902 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40904 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
40905 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
40907 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
40908 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40910 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
40911 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40913 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
40914 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40916 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
40917 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40919 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
40920 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40922 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
40923 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40925 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
40926 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
40928 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}};
40929 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}};
40930 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}};
40931 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}};
40932 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}};
40933 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}};
40934 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}};
40935 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}};
40936 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}};
40937 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}};
40938 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}};
40939 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}};
40940 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}};
40941 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}};
40942 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}};
40943 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}};
40944 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}};
40945 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}};
40946 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}};
40947 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}};
40948 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}};
40949 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}};
40950 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}};
40951 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}};
40952 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}};
40953 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}};
40954 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}};
40955 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}};
40956 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}};
40957 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}};
40958 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}};
40959 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}};
40960 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}};
40961 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}};
40962 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}};
40963 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}};
40964 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}};
40965 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}};
40966 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}};
40967 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}};
40968 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}};
40969 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}};
40970 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}};
40971 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}};
40972 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}};
40973 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}};
40974 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}};
40975 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}};
40976 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}};
40977 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}};
40978 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}};
40979 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}};
40980 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}};
40981 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}};
40982 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}};
40983 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}};
40984 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}};
40985 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}};
40986 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}};
40987 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}};
40988 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}};
40989 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}};
40990 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}};
40991 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}};
40992 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}};
40993 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}};
40994 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}};
40995 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}};
40996 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}};
40997 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}};
40998 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}};
40999 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}};
41000 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}};
41001 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}};
41002 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}};
41003 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}};
41004 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}};
41005 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}};
41006 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}};
41007 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}};
41008 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}};
41009 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}};
41010 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}};
41011 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}};
41012 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}};
41013 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}};
41014 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}};
41015 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}};
41016 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}};
41017 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}};
41018 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}};
41019 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}};
41020 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}};
41021 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}};
41022 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}};
41023 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}};
41024 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}};
41025 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}};
41026 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}};
41027 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}};
41028 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}};
41029 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}};
41030 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}};
41031 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}};
41032 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}};
41033 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}};
41034 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}};
41035 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}};
41036 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}};
41037 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}};
41038 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}};
41039 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}};
41040 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}};
41041 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}};
41043 static swig_type_info
*swig_types_initial
[] = {
41044 _swigt__p_wxLayoutConstraints
,
41045 _swigt__p_wxRealPoint
,
41046 _swigt__p_wxSizerItem
,
41047 _swigt__p_wxGBSizerItem
,
41048 _swigt__p_wxScrollEvent
,
41049 _swigt__p_wxIndividualLayoutConstraint
,
41051 _swigt__p_wxBoxSizer
,
41052 _swigt__p_wxStaticBoxSizer
,
41053 _swigt__p_wxGridBagSizer
,
41054 _swigt__p_wxAcceleratorEntry
,
41055 _swigt__p_wxUpdateUIEvent
,
41058 _swigt__p_wxGridSizer
,
41059 _swigt__p_wxFlexGridSizer
,
41060 _swigt__p_wxInitDialogEvent
,
41061 _swigt__p_wxItemContainer
,
41062 _swigt__p_wxNcPaintEvent
,
41063 _swigt__p_wxPaintEvent
,
41064 _swigt__p_wxSysColourChangedEvent
,
41065 _swigt__p_wxMouseCaptureChangedEvent
,
41066 _swigt__p_wxDisplayChangedEvent
,
41067 _swigt__p_wxPaletteChangedEvent
,
41068 _swigt__p_wxControl
,
41070 _swigt__p_wxMenuBarBase
,
41071 _swigt__p_wxSetCursorEvent
,
41072 _swigt__p_wxFSFile
,
41074 _swigt__p_wxRegion
,
41075 _swigt__p_wxPoint2D
,
41079 _swigt__p_wxPySizer
,
41080 _swigt__p_wxNotifyEvent
,
41081 _swigt__p_wxPyEvent
,
41082 _swigt__p_wxPropagationDisabler
,
41083 _swigt__p_wxAppTraits
,
41084 _swigt__p_wxArrayString
,
41085 _swigt__p_wxShowEvent
,
41086 _swigt__p_wxToolTip
,
41087 _swigt__p_wxMaximizeEvent
,
41088 _swigt__p_wxIconizeEvent
,
41089 _swigt__p_wxActivateEvent
,
41090 _swigt__p_wxMoveEvent
,
41091 _swigt__p_wxSizeEvent
,
41092 _swigt__p_wxQueryNewPaletteEvent
,
41093 _swigt__p_wxWindowCreateEvent
,
41094 _swigt__p_wxIdleEvent
,
41095 _swigt__p_wxMenuItem
,
41096 _swigt__p_wxStaticBox
,
41098 _swigt__p_wxTIFFHandler
,
41099 _swigt__p_wxXPMHandler
,
41100 _swigt__p_wxPNMHandler
,
41101 _swigt__p_wxJPEGHandler
,
41102 _swigt__p_wxPCXHandler
,
41103 _swigt__p_wxGIFHandler
,
41104 _swigt__p_wxPNGHandler
,
41105 _swigt__p_wxANIHandler
,
41106 _swigt__p_wxMemoryFSHandler
,
41107 _swigt__p_wxEvtHandler
,
41108 _swigt__p_wxCURHandler
,
41109 _swigt__p_wxICOHandler
,
41110 _swigt__p_wxBMPHandler
,
41111 _swigt__p_wxImageHandler
,
41112 _swigt__p_wxFileSystemHandler
,
41113 _swigt__p_wxPyFileSystemHandler
,
41114 _swigt__p_wxInternetFSHandler
,
41115 _swigt__p_wxZipFSHandler
,
41117 _swigt__p_wxGBSpan
,
41118 _swigt__p_wxPropagateOnce
,
41119 _swigt__p_wxAcceleratorTable
,
41121 _swigt__p_wxGBPosition
,
41124 _swigt__p_wxScrollWinEvent
,
41125 _swigt__p_wxImageHistogram
,
41128 _swigt__p_wxCursor
,
41129 _swigt__p_wxObject
,
41130 _swigt__p_wxPyInputStream
,
41131 _swigt__p_wxOutputStream
,
41132 _swigt__p_wxInputStream
,
41133 _swigt__p_wxDateTime
,
41134 _swigt__p_wxKeyEvent
,
41135 _swigt__p_wxNavigationKeyEvent
,
41136 _swigt__p_wxWindowDestroyEvent
,
41137 _swigt__p_wxWindow
,
41138 _swigt__p_wxMenuBar
,
41139 _swigt__p_wxFileSystem
,
41140 _swigt__p_wxBitmap
,
41141 _swigt__p_wxMenuEvent
,
41142 _swigt__p_wxContextMenuEvent
,
41143 _swigt__p_unsigned_char
,
41144 _swigt__p_wxCloseEvent
,
41145 _swigt__p_wxEraseEvent
,
41146 _swigt__p_wxMouseEvent
,
41148 _swigt__p_wxCommandEvent
,
41149 _swigt__p_wxPyCommandEvent
,
41150 _swigt__p_wxPyDropTarget
,
41151 _swigt__p_wxChildFocusEvent
,
41152 _swigt__p_wxFocusEvent
,
41153 _swigt__p_wxDropFilesEvent
,
41154 _swigt__p_wxControlWithItems
,
41155 _swigt__p_wxColour
,
41156 _swigt__p_wxValidator
,
41157 _swigt__p_wxPyValidator
,
41162 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
41164 static swig_const_info swig_const_table
[] = {
41165 {0, 0, 0, 0.0, 0, 0}};
41174 SWIGEXPORT(void) SWIG_init(void) {
41175 static PyObject
*SWIG_globals
= 0;
41176 static int typeinit
= 0;
41179 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
41180 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
41181 d
= PyModule_GetDict(m
);
41184 for (i
= 0; swig_types_initial
[i
]; i
++) {
41185 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
41189 SWIG_InstallConstants(d
,swig_const_table
);
41192 #ifndef wxPyUSE_EXPORT
41193 // Make our API structure a CObject so other modules can import it
41194 // from this module.
41195 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
41196 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
41200 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_FromInt((int)wxNOT_FOUND
));
41201 PyDict_SetItemString(d
,"VSCROLL", SWIG_FromInt((int)wxVSCROLL
));
41202 PyDict_SetItemString(d
,"HSCROLL", SWIG_FromInt((int)wxHSCROLL
));
41203 PyDict_SetItemString(d
,"CAPTION", SWIG_FromInt((int)wxCAPTION
));
41204 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_FromInt((int)wxDOUBLE_BORDER
));
41205 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_FromInt((int)wxSUNKEN_BORDER
));
41206 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_FromInt((int)wxRAISED_BORDER
));
41207 PyDict_SetItemString(d
,"BORDER", SWIG_FromInt((int)wxBORDER
));
41208 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_FromInt((int)wxSIMPLE_BORDER
));
41209 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_FromInt((int)wxSTATIC_BORDER
));
41210 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_FromInt((int)wxTRANSPARENT_WINDOW
));
41211 PyDict_SetItemString(d
,"NO_BORDER", SWIG_FromInt((int)wxNO_BORDER
));
41212 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS
));
41213 PyDict_SetItemString(d
,"NO_3D", SWIG_FromInt((int)wxNO_3D
));
41214 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_FromInt((int)wxTAB_TRAVERSAL
));
41215 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_FromInt((int)wxWANTS_CHARS
));
41216 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_FromInt((int)wxPOPUP_WINDOW
));
41217 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_FromInt((int)wxCENTER_FRAME
));
41218 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_FromInt((int)wxCENTRE_ON_SCREEN
));
41219 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_FromInt((int)wxCENTER_ON_SCREEN
));
41220 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP
));
41221 PyDict_SetItemString(d
,"ICONIZE", SWIG_FromInt((int)wxICONIZE
));
41222 PyDict_SetItemString(d
,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE
));
41223 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE
));
41224 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX
));
41225 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME
));
41226 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU
));
41227 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX
));
41228 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX
));
41229 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ
));
41230 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT
));
41231 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX
));
41232 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER
));
41233 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL
));
41234 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS
));
41235 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT
));
41236 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE
));
41237 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE
));
41238 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW
));
41239 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT
));
41240 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU
));
41241 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR
));
41242 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED
));
41243 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_FromInt((int)wxED_CLIENT_MARGIN
));
41244 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_FromInt((int)wxED_BUTTONS_BOTTOM
));
41245 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_FromInt((int)wxED_BUTTONS_RIGHT
));
41246 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_FromInt((int)wxED_STATIC_LINE
));
41247 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_FromInt((int)wxEXT_DIALOG_STYLE
));
41248 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_FromInt((int)wxCLIP_CHILDREN
));
41249 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_FromInt((int)wxCLIP_SIBLINGS
));
41250 PyDict_SetItemString(d
,"RETAINED", SWIG_FromInt((int)wxRETAINED
));
41251 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_FromInt((int)wxBACKINGSTORE
));
41252 PyDict_SetItemString(d
,"COLOURED", SWIG_FromInt((int)wxCOLOURED
));
41253 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_FromInt((int)wxFIXED_LENGTH
));
41254 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_FromInt((int)wxLB_NEEDED_SB
));
41255 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_FromInt((int)wxLB_ALWAYS_SB
));
41256 PyDict_SetItemString(d
,"LB_SORT", SWIG_FromInt((int)wxLB_SORT
));
41257 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_FromInt((int)wxLB_SINGLE
));
41258 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_FromInt((int)wxLB_MULTIPLE
));
41259 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_FromInt((int)wxLB_EXTENDED
));
41260 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_FromInt((int)wxLB_OWNERDRAW
));
41261 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_FromInt((int)wxLB_HSCROLL
));
41262 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_FromInt((int)wxPROCESS_ENTER
));
41263 PyDict_SetItemString(d
,"PASSWORD", SWIG_FromInt((int)wxPASSWORD
));
41264 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_FromInt((int)wxCB_SIMPLE
));
41265 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_FromInt((int)wxCB_DROPDOWN
));
41266 PyDict_SetItemString(d
,"CB_SORT", SWIG_FromInt((int)wxCB_SORT
));
41267 PyDict_SetItemString(d
,"CB_READONLY", SWIG_FromInt((int)wxCB_READONLY
));
41268 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_FromInt((int)wxRA_HORIZONTAL
));
41269 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_FromInt((int)wxRA_VERTICAL
));
41270 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_FromInt((int)wxRA_SPECIFY_ROWS
));
41271 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_FromInt((int)wxRA_SPECIFY_COLS
));
41272 PyDict_SetItemString(d
,"RB_GROUP", SWIG_FromInt((int)wxRB_GROUP
));
41273 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_FromInt((int)wxRB_SINGLE
));
41274 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_FromInt((int)wxSL_HORIZONTAL
));
41275 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_FromInt((int)wxSL_VERTICAL
));
41276 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_FromInt((int)wxSL_AUTOTICKS
));
41277 PyDict_SetItemString(d
,"SL_LABELS", SWIG_FromInt((int)wxSL_LABELS
));
41278 PyDict_SetItemString(d
,"SL_LEFT", SWIG_FromInt((int)wxSL_LEFT
));
41279 PyDict_SetItemString(d
,"SL_TOP", SWIG_FromInt((int)wxSL_TOP
));
41280 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_FromInt((int)wxSL_RIGHT
));
41281 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_FromInt((int)wxSL_BOTTOM
));
41282 PyDict_SetItemString(d
,"SL_BOTH", SWIG_FromInt((int)wxSL_BOTH
));
41283 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_FromInt((int)wxSL_SELRANGE
));
41284 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_FromInt((int)wxSB_HORIZONTAL
));
41285 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_FromInt((int)wxSB_VERTICAL
));
41286 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_FromInt((int)wxST_SIZEGRIP
));
41287 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_FromInt((int)wxST_NO_AUTORESIZE
));
41288 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_FromInt((int)wxFLOOD_SURFACE
));
41289 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_FromInt((int)wxFLOOD_BORDER
));
41290 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_FromInt((int)wxODDEVEN_RULE
));
41291 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_FromInt((int)wxWINDING_RULE
));
41292 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_FromInt((int)wxTOOL_TOP
));
41293 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_FromInt((int)wxTOOL_BOTTOM
));
41294 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_FromInt((int)wxTOOL_LEFT
));
41295 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_FromInt((int)wxTOOL_RIGHT
));
41296 PyDict_SetItemString(d
,"OK", SWIG_FromInt((int)wxOK
));
41297 PyDict_SetItemString(d
,"YES_NO", SWIG_FromInt((int)wxYES_NO
));
41298 PyDict_SetItemString(d
,"CANCEL", SWIG_FromInt((int)wxCANCEL
));
41299 PyDict_SetItemString(d
,"YES", SWIG_FromInt((int)wxYES
));
41300 PyDict_SetItemString(d
,"NO", SWIG_FromInt((int)wxNO
));
41301 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_FromInt((int)wxNO_DEFAULT
));
41302 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_FromInt((int)wxYES_DEFAULT
));
41303 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_FromInt((int)wxICON_EXCLAMATION
));
41304 PyDict_SetItemString(d
,"ICON_HAND", SWIG_FromInt((int)wxICON_HAND
));
41305 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_FromInt((int)wxICON_QUESTION
));
41306 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_FromInt((int)wxICON_INFORMATION
));
41307 PyDict_SetItemString(d
,"ICON_STOP", SWIG_FromInt((int)wxICON_STOP
));
41308 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_FromInt((int)wxICON_ASTERISK
));
41309 PyDict_SetItemString(d
,"ICON_MASK", SWIG_FromInt((int)wxICON_MASK
));
41310 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_FromInt((int)wxICON_WARNING
));
41311 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_FromInt((int)wxICON_ERROR
));
41312 PyDict_SetItemString(d
,"FORWARD", SWIG_FromInt((int)wxFORWARD
));
41313 PyDict_SetItemString(d
,"BACKWARD", SWIG_FromInt((int)wxBACKWARD
));
41314 PyDict_SetItemString(d
,"RESET", SWIG_FromInt((int)wxRESET
));
41315 PyDict_SetItemString(d
,"HELP", SWIG_FromInt((int)wxHELP
));
41316 PyDict_SetItemString(d
,"MORE", SWIG_FromInt((int)wxMORE
));
41317 PyDict_SetItemString(d
,"SETUP", SWIG_FromInt((int)wxSETUP
));
41318 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_FromInt((int)wxSIZE_AUTO_WIDTH
));
41319 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_FromInt((int)wxSIZE_AUTO_HEIGHT
));
41320 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_FromInt((int)wxSIZE_AUTO
));
41321 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_FromInt((int)wxSIZE_USE_EXISTING
));
41322 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_FromInt((int)wxSIZE_ALLOW_MINUS_ONE
));
41323 PyDict_SetItemString(d
,"PORTRAIT", SWIG_FromInt((int)wxPORTRAIT
));
41324 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_FromInt((int)wxLANDSCAPE
));
41325 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_FromInt((int)wxPRINT_QUALITY_HIGH
));
41326 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_FromInt((int)wxPRINT_QUALITY_MEDIUM
));
41327 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_FromInt((int)wxPRINT_QUALITY_LOW
));
41328 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_FromInt((int)wxPRINT_QUALITY_DRAFT
));
41329 PyDict_SetItemString(d
,"ID_ANY", SWIG_FromInt((int)wxID_ANY
));
41330 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_FromInt((int)wxID_SEPARATOR
));
41331 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_FromInt((int)wxID_LOWEST
));
41332 PyDict_SetItemString(d
,"ID_OPEN", SWIG_FromInt((int)wxID_OPEN
));
41333 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_FromInt((int)wxID_CLOSE
));
41334 PyDict_SetItemString(d
,"ID_NEW", SWIG_FromInt((int)wxID_NEW
));
41335 PyDict_SetItemString(d
,"ID_SAVE", SWIG_FromInt((int)wxID_SAVE
));
41336 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_FromInt((int)wxID_SAVEAS
));
41337 PyDict_SetItemString(d
,"ID_REVERT", SWIG_FromInt((int)wxID_REVERT
));
41338 PyDict_SetItemString(d
,"ID_EXIT", SWIG_FromInt((int)wxID_EXIT
));
41339 PyDict_SetItemString(d
,"ID_UNDO", SWIG_FromInt((int)wxID_UNDO
));
41340 PyDict_SetItemString(d
,"ID_REDO", SWIG_FromInt((int)wxID_REDO
));
41341 PyDict_SetItemString(d
,"ID_HELP", SWIG_FromInt((int)wxID_HELP
));
41342 PyDict_SetItemString(d
,"ID_PRINT", SWIG_FromInt((int)wxID_PRINT
));
41343 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_FromInt((int)wxID_PRINT_SETUP
));
41344 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_FromInt((int)wxID_PREVIEW
));
41345 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_FromInt((int)wxID_ABOUT
));
41346 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_FromInt((int)wxID_HELP_CONTENTS
));
41347 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_FromInt((int)wxID_HELP_COMMANDS
));
41348 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_FromInt((int)wxID_HELP_PROCEDURES
));
41349 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_FromInt((int)wxID_HELP_CONTEXT
));
41350 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_FromInt((int)wxID_CLOSE_ALL
));
41351 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_FromInt((int)wxID_PREFERENCES
));
41352 PyDict_SetItemString(d
,"ID_CUT", SWIG_FromInt((int)wxID_CUT
));
41353 PyDict_SetItemString(d
,"ID_COPY", SWIG_FromInt((int)wxID_COPY
));
41354 PyDict_SetItemString(d
,"ID_PASTE", SWIG_FromInt((int)wxID_PASTE
));
41355 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_FromInt((int)wxID_CLEAR
));
41356 PyDict_SetItemString(d
,"ID_FIND", SWIG_FromInt((int)wxID_FIND
));
41357 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_FromInt((int)wxID_DUPLICATE
));
41358 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_FromInt((int)wxID_SELECTALL
));
41359 PyDict_SetItemString(d
,"ID_DELETE", SWIG_FromInt((int)wxID_DELETE
));
41360 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_FromInt((int)wxID_REPLACE
));
41361 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_FromInt((int)wxID_REPLACE_ALL
));
41362 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_FromInt((int)wxID_PROPERTIES
));
41363 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_FromInt((int)wxID_VIEW_DETAILS
));
41364 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_FromInt((int)wxID_VIEW_LARGEICONS
));
41365 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_FromInt((int)wxID_VIEW_SMALLICONS
));
41366 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_FromInt((int)wxID_VIEW_LIST
));
41367 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_FromInt((int)wxID_VIEW_SORTDATE
));
41368 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_FromInt((int)wxID_VIEW_SORTNAME
));
41369 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_FromInt((int)wxID_VIEW_SORTSIZE
));
41370 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_FromInt((int)wxID_VIEW_SORTTYPE
));
41371 PyDict_SetItemString(d
,"ID_FILE1", SWIG_FromInt((int)wxID_FILE1
));
41372 PyDict_SetItemString(d
,"ID_FILE2", SWIG_FromInt((int)wxID_FILE2
));
41373 PyDict_SetItemString(d
,"ID_FILE3", SWIG_FromInt((int)wxID_FILE3
));
41374 PyDict_SetItemString(d
,"ID_FILE4", SWIG_FromInt((int)wxID_FILE4
));
41375 PyDict_SetItemString(d
,"ID_FILE5", SWIG_FromInt((int)wxID_FILE5
));
41376 PyDict_SetItemString(d
,"ID_FILE6", SWIG_FromInt((int)wxID_FILE6
));
41377 PyDict_SetItemString(d
,"ID_FILE7", SWIG_FromInt((int)wxID_FILE7
));
41378 PyDict_SetItemString(d
,"ID_FILE8", SWIG_FromInt((int)wxID_FILE8
));
41379 PyDict_SetItemString(d
,"ID_FILE9", SWIG_FromInt((int)wxID_FILE9
));
41380 PyDict_SetItemString(d
,"ID_OK", SWIG_FromInt((int)wxID_OK
));
41381 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_FromInt((int)wxID_CANCEL
));
41382 PyDict_SetItemString(d
,"ID_APPLY", SWIG_FromInt((int)wxID_APPLY
));
41383 PyDict_SetItemString(d
,"ID_YES", SWIG_FromInt((int)wxID_YES
));
41384 PyDict_SetItemString(d
,"ID_NO", SWIG_FromInt((int)wxID_NO
));
41385 PyDict_SetItemString(d
,"ID_STATIC", SWIG_FromInt((int)wxID_STATIC
));
41386 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_FromInt((int)wxID_FORWARD
));
41387 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_FromInt((int)wxID_BACKWARD
));
41388 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_FromInt((int)wxID_DEFAULT
));
41389 PyDict_SetItemString(d
,"ID_MORE", SWIG_FromInt((int)wxID_MORE
));
41390 PyDict_SetItemString(d
,"ID_SETUP", SWIG_FromInt((int)wxID_SETUP
));
41391 PyDict_SetItemString(d
,"ID_RESET", SWIG_FromInt((int)wxID_RESET
));
41392 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_FromInt((int)wxID_CONTEXT_HELP
));
41393 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_FromInt((int)wxID_YESTOALL
));
41394 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_FromInt((int)wxID_NOTOALL
));
41395 PyDict_SetItemString(d
,"ID_ABORT", SWIG_FromInt((int)wxID_ABORT
));
41396 PyDict_SetItemString(d
,"ID_RETRY", SWIG_FromInt((int)wxID_RETRY
));
41397 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_FromInt((int)wxID_IGNORE
));
41398 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_FromInt((int)wxID_HIGHEST
));
41399 PyDict_SetItemString(d
,"OPEN", SWIG_FromInt((int)wxOPEN
));
41400 PyDict_SetItemString(d
,"SAVE", SWIG_FromInt((int)wxSAVE
));
41401 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_FromInt((int)wxHIDE_READONLY
));
41402 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_FromInt((int)wxOVERWRITE_PROMPT
));
41403 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_FromInt((int)wxFILE_MUST_EXIST
));
41404 PyDict_SetItemString(d
,"MULTIPLE", SWIG_FromInt((int)wxMULTIPLE
));
41405 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_FromInt((int)wxCHANGE_DIR
));
41406 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_FromInt((int)wxACCEL_ALT
));
41407 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_FromInt((int)wxACCEL_CTRL
));
41408 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_FromInt((int)wxACCEL_SHIFT
));
41409 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_FromInt((int)wxACCEL_NORMAL
));
41410 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_FromInt((int)wxPD_AUTO_HIDE
));
41411 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_FromInt((int)wxPD_APP_MODAL
));
41412 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_FromInt((int)wxPD_CAN_ABORT
));
41413 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_FromInt((int)wxPD_ELAPSED_TIME
));
41414 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_FromInt((int)wxPD_ESTIMATED_TIME
));
41415 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_FromInt((int)wxPD_REMAINING_TIME
));
41416 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_FromInt((int)wxDD_NEW_DIR_BUTTON
));
41417 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_FromInt((int)wxDD_DEFAULT_STYLE
));
41418 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_FromInt((int)wxMENU_TEAROFF
));
41419 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_FromInt((int)wxMB_DOCKABLE
));
41420 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE
));
41421 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxFULL_REPAINT_ON_RESIZE
));
41422 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_FromInt((int)wxLI_HORIZONTAL
));
41423 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_FromInt((int)wxLI_VERTICAL
));
41424 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY
));
41425 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_FromInt((int)wxWS_EX_BLOCK_EVENTS
));
41426 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_FromInt((int)wxWS_EX_TRANSIENT
));
41427 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_FromInt((int)wxWS_EX_THEMED_BACKGROUND
));
41428 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_FromInt((int)wxWS_EX_PROCESS_IDLE
));
41429 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES
));
41430 PyDict_SetItemString(d
,"MM_TEXT", SWIG_FromInt((int)wxMM_TEXT
));
41431 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_FromInt((int)wxMM_LOMETRIC
));
41432 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_FromInt((int)wxMM_HIMETRIC
));
41433 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_FromInt((int)wxMM_LOENGLISH
));
41434 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_FromInt((int)wxMM_HIENGLISH
));
41435 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_FromInt((int)wxMM_TWIPS
));
41436 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_FromInt((int)wxMM_ISOTROPIC
));
41437 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_FromInt((int)wxMM_ANISOTROPIC
));
41438 PyDict_SetItemString(d
,"MM_POINTS", SWIG_FromInt((int)wxMM_POINTS
));
41439 PyDict_SetItemString(d
,"MM_METRIC", SWIG_FromInt((int)wxMM_METRIC
));
41440 PyDict_SetItemString(d
,"CENTRE", SWIG_FromInt((int)wxCENTRE
));
41441 PyDict_SetItemString(d
,"CENTER", SWIG_FromInt((int)wxCENTER
));
41442 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_FromInt((int)wxHORIZONTAL
));
41443 PyDict_SetItemString(d
,"VERTICAL", SWIG_FromInt((int)wxVERTICAL
));
41444 PyDict_SetItemString(d
,"BOTH", SWIG_FromInt((int)wxBOTH
));
41445 PyDict_SetItemString(d
,"LEFT", SWIG_FromInt((int)wxLEFT
));
41446 PyDict_SetItemString(d
,"RIGHT", SWIG_FromInt((int)wxRIGHT
));
41447 PyDict_SetItemString(d
,"UP", SWIG_FromInt((int)wxUP
));
41448 PyDict_SetItemString(d
,"DOWN", SWIG_FromInt((int)wxDOWN
));
41449 PyDict_SetItemString(d
,"TOP", SWIG_FromInt((int)wxTOP
));
41450 PyDict_SetItemString(d
,"BOTTOM", SWIG_FromInt((int)wxBOTTOM
));
41451 PyDict_SetItemString(d
,"NORTH", SWIG_FromInt((int)wxNORTH
));
41452 PyDict_SetItemString(d
,"SOUTH", SWIG_FromInt((int)wxSOUTH
));
41453 PyDict_SetItemString(d
,"WEST", SWIG_FromInt((int)wxWEST
));
41454 PyDict_SetItemString(d
,"EAST", SWIG_FromInt((int)wxEAST
));
41455 PyDict_SetItemString(d
,"ALL", SWIG_FromInt((int)wxALL
));
41456 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_FromInt((int)wxALIGN_NOT
));
41457 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTER_HORIZONTAL
));
41458 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTRE_HORIZONTAL
));
41459 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_FromInt((int)wxALIGN_LEFT
));
41460 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_FromInt((int)wxALIGN_TOP
));
41461 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_FromInt((int)wxALIGN_RIGHT
));
41462 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_FromInt((int)wxALIGN_BOTTOM
));
41463 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTER_VERTICAL
));
41464 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTRE_VERTICAL
));
41465 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_FromInt((int)wxALIGN_CENTER
));
41466 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_FromInt((int)wxALIGN_CENTRE
));
41467 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_FromInt((int)wxALIGN_MASK
));
41468 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_FromInt((int)wxSTRETCH_NOT
));
41469 PyDict_SetItemString(d
,"SHRINK", SWIG_FromInt((int)wxSHRINK
));
41470 PyDict_SetItemString(d
,"GROW", SWIG_FromInt((int)wxGROW
));
41471 PyDict_SetItemString(d
,"EXPAND", SWIG_FromInt((int)wxEXPAND
));
41472 PyDict_SetItemString(d
,"SHAPED", SWIG_FromInt((int)wxSHAPED
));
41473 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_FromInt((int)wxADJUST_MINSIZE
));
41474 PyDict_SetItemString(d
,"TILE", SWIG_FromInt((int)wxTILE
));
41475 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_FromInt((int)wxBORDER_DEFAULT
));
41476 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_FromInt((int)wxBORDER_NONE
));
41477 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_FromInt((int)wxBORDER_STATIC
));
41478 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_FromInt((int)wxBORDER_SIMPLE
));
41479 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_FromInt((int)wxBORDER_RAISED
));
41480 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_FromInt((int)wxBORDER_SUNKEN
));
41481 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_FromInt((int)wxBORDER_DOUBLE
));
41482 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_FromInt((int)wxBORDER_MASK
));
41483 PyDict_SetItemString(d
,"DEFAULT", SWIG_FromInt((int)wxDEFAULT
));
41484 PyDict_SetItemString(d
,"DECORATIVE", SWIG_FromInt((int)wxDECORATIVE
));
41485 PyDict_SetItemString(d
,"ROMAN", SWIG_FromInt((int)wxROMAN
));
41486 PyDict_SetItemString(d
,"SCRIPT", SWIG_FromInt((int)wxSCRIPT
));
41487 PyDict_SetItemString(d
,"SWISS", SWIG_FromInt((int)wxSWISS
));
41488 PyDict_SetItemString(d
,"MODERN", SWIG_FromInt((int)wxMODERN
));
41489 PyDict_SetItemString(d
,"TELETYPE", SWIG_FromInt((int)wxTELETYPE
));
41490 PyDict_SetItemString(d
,"VARIABLE", SWIG_FromInt((int)wxVARIABLE
));
41491 PyDict_SetItemString(d
,"FIXED", SWIG_FromInt((int)wxFIXED
));
41492 PyDict_SetItemString(d
,"NORMAL", SWIG_FromInt((int)wxNORMAL
));
41493 PyDict_SetItemString(d
,"LIGHT", SWIG_FromInt((int)wxLIGHT
));
41494 PyDict_SetItemString(d
,"BOLD", SWIG_FromInt((int)wxBOLD
));
41495 PyDict_SetItemString(d
,"ITALIC", SWIG_FromInt((int)wxITALIC
));
41496 PyDict_SetItemString(d
,"SLANT", SWIG_FromInt((int)wxSLANT
));
41497 PyDict_SetItemString(d
,"SOLID", SWIG_FromInt((int)wxSOLID
));
41498 PyDict_SetItemString(d
,"DOT", SWIG_FromInt((int)wxDOT
));
41499 PyDict_SetItemString(d
,"LONG_DASH", SWIG_FromInt((int)wxLONG_DASH
));
41500 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_FromInt((int)wxSHORT_DASH
));
41501 PyDict_SetItemString(d
,"DOT_DASH", SWIG_FromInt((int)wxDOT_DASH
));
41502 PyDict_SetItemString(d
,"USER_DASH", SWIG_FromInt((int)wxUSER_DASH
));
41503 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_FromInt((int)wxTRANSPARENT
));
41504 PyDict_SetItemString(d
,"STIPPLE", SWIG_FromInt((int)wxSTIPPLE
));
41505 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_FromInt((int)wxBDIAGONAL_HATCH
));
41506 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_FromInt((int)wxCROSSDIAG_HATCH
));
41507 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_FromInt((int)wxFDIAGONAL_HATCH
));
41508 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_FromInt((int)wxCROSS_HATCH
));
41509 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_FromInt((int)wxHORIZONTAL_HATCH
));
41510 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_FromInt((int)wxVERTICAL_HATCH
));
41511 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_FromInt((int)wxJOIN_BEVEL
));
41512 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_FromInt((int)wxJOIN_MITER
));
41513 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_FromInt((int)wxJOIN_ROUND
));
41514 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_FromInt((int)wxCAP_ROUND
));
41515 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_FromInt((int)wxCAP_PROJECTING
));
41516 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_FromInt((int)wxCAP_BUTT
));
41517 PyDict_SetItemString(d
,"CLEAR", SWIG_FromInt((int)wxCLEAR
));
41518 PyDict_SetItemString(d
,"XOR", SWIG_FromInt((int)wxXOR
));
41519 PyDict_SetItemString(d
,"INVERT", SWIG_FromInt((int)wxINVERT
));
41520 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_FromInt((int)wxOR_REVERSE
));
41521 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_FromInt((int)wxAND_REVERSE
));
41522 PyDict_SetItemString(d
,"COPY", SWIG_FromInt((int)wxCOPY
));
41523 PyDict_SetItemString(d
,"AND", SWIG_FromInt((int)wxAND
));
41524 PyDict_SetItemString(d
,"AND_INVERT", SWIG_FromInt((int)wxAND_INVERT
));
41525 PyDict_SetItemString(d
,"NO_OP", SWIG_FromInt((int)wxNO_OP
));
41526 PyDict_SetItemString(d
,"NOR", SWIG_FromInt((int)wxNOR
));
41527 PyDict_SetItemString(d
,"EQUIV", SWIG_FromInt((int)wxEQUIV
));
41528 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_FromInt((int)wxSRC_INVERT
));
41529 PyDict_SetItemString(d
,"OR_INVERT", SWIG_FromInt((int)wxOR_INVERT
));
41530 PyDict_SetItemString(d
,"NAND", SWIG_FromInt((int)wxNAND
));
41531 PyDict_SetItemString(d
,"OR", SWIG_FromInt((int)wxOR
));
41532 PyDict_SetItemString(d
,"SET", SWIG_FromInt((int)wxSET
));
41533 PyDict_SetItemString(d
,"WXK_BACK", SWIG_FromInt((int)WXK_BACK
));
41534 PyDict_SetItemString(d
,"WXK_TAB", SWIG_FromInt((int)WXK_TAB
));
41535 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_FromInt((int)WXK_RETURN
));
41536 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_FromInt((int)WXK_ESCAPE
));
41537 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_FromInt((int)WXK_SPACE
));
41538 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_FromInt((int)WXK_DELETE
));
41539 PyDict_SetItemString(d
,"WXK_START", SWIG_FromInt((int)WXK_START
));
41540 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_FromInt((int)WXK_LBUTTON
));
41541 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_FromInt((int)WXK_RBUTTON
));
41542 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_FromInt((int)WXK_CANCEL
));
41543 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_FromInt((int)WXK_MBUTTON
));
41544 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_FromInt((int)WXK_CLEAR
));
41545 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_FromInt((int)WXK_SHIFT
));
41546 PyDict_SetItemString(d
,"WXK_ALT", SWIG_FromInt((int)WXK_ALT
));
41547 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_FromInt((int)WXK_CONTROL
));
41548 PyDict_SetItemString(d
,"WXK_MENU", SWIG_FromInt((int)WXK_MENU
));
41549 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_FromInt((int)WXK_PAUSE
));
41550 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_FromInt((int)WXK_CAPITAL
));
41551 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_FromInt((int)WXK_PRIOR
));
41552 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_FromInt((int)WXK_NEXT
));
41553 PyDict_SetItemString(d
,"WXK_END", SWIG_FromInt((int)WXK_END
));
41554 PyDict_SetItemString(d
,"WXK_HOME", SWIG_FromInt((int)WXK_HOME
));
41555 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_FromInt((int)WXK_LEFT
));
41556 PyDict_SetItemString(d
,"WXK_UP", SWIG_FromInt((int)WXK_UP
));
41557 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_FromInt((int)WXK_RIGHT
));
41558 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_FromInt((int)WXK_DOWN
));
41559 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_FromInt((int)WXK_SELECT
));
41560 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_FromInt((int)WXK_PRINT
));
41561 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_FromInt((int)WXK_EXECUTE
));
41562 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_FromInt((int)WXK_SNAPSHOT
));
41563 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_FromInt((int)WXK_INSERT
));
41564 PyDict_SetItemString(d
,"WXK_HELP", SWIG_FromInt((int)WXK_HELP
));
41565 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_FromInt((int)WXK_NUMPAD0
));
41566 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_FromInt((int)WXK_NUMPAD1
));
41567 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_FromInt((int)WXK_NUMPAD2
));
41568 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_FromInt((int)WXK_NUMPAD3
));
41569 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_FromInt((int)WXK_NUMPAD4
));
41570 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_FromInt((int)WXK_NUMPAD5
));
41571 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_FromInt((int)WXK_NUMPAD6
));
41572 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_FromInt((int)WXK_NUMPAD7
));
41573 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_FromInt((int)WXK_NUMPAD8
));
41574 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_FromInt((int)WXK_NUMPAD9
));
41575 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_FromInt((int)WXK_MULTIPLY
));
41576 PyDict_SetItemString(d
,"WXK_ADD", SWIG_FromInt((int)WXK_ADD
));
41577 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_FromInt((int)WXK_SEPARATOR
));
41578 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_FromInt((int)WXK_SUBTRACT
));
41579 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_FromInt((int)WXK_DECIMAL
));
41580 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_FromInt((int)WXK_DIVIDE
));
41581 PyDict_SetItemString(d
,"WXK_F1", SWIG_FromInt((int)WXK_F1
));
41582 PyDict_SetItemString(d
,"WXK_F2", SWIG_FromInt((int)WXK_F2
));
41583 PyDict_SetItemString(d
,"WXK_F3", SWIG_FromInt((int)WXK_F3
));
41584 PyDict_SetItemString(d
,"WXK_F4", SWIG_FromInt((int)WXK_F4
));
41585 PyDict_SetItemString(d
,"WXK_F5", SWIG_FromInt((int)WXK_F5
));
41586 PyDict_SetItemString(d
,"WXK_F6", SWIG_FromInt((int)WXK_F6
));
41587 PyDict_SetItemString(d
,"WXK_F7", SWIG_FromInt((int)WXK_F7
));
41588 PyDict_SetItemString(d
,"WXK_F8", SWIG_FromInt((int)WXK_F8
));
41589 PyDict_SetItemString(d
,"WXK_F9", SWIG_FromInt((int)WXK_F9
));
41590 PyDict_SetItemString(d
,"WXK_F10", SWIG_FromInt((int)WXK_F10
));
41591 PyDict_SetItemString(d
,"WXK_F11", SWIG_FromInt((int)WXK_F11
));
41592 PyDict_SetItemString(d
,"WXK_F12", SWIG_FromInt((int)WXK_F12
));
41593 PyDict_SetItemString(d
,"WXK_F13", SWIG_FromInt((int)WXK_F13
));
41594 PyDict_SetItemString(d
,"WXK_F14", SWIG_FromInt((int)WXK_F14
));
41595 PyDict_SetItemString(d
,"WXK_F15", SWIG_FromInt((int)WXK_F15
));
41596 PyDict_SetItemString(d
,"WXK_F16", SWIG_FromInt((int)WXK_F16
));
41597 PyDict_SetItemString(d
,"WXK_F17", SWIG_FromInt((int)WXK_F17
));
41598 PyDict_SetItemString(d
,"WXK_F18", SWIG_FromInt((int)WXK_F18
));
41599 PyDict_SetItemString(d
,"WXK_F19", SWIG_FromInt((int)WXK_F19
));
41600 PyDict_SetItemString(d
,"WXK_F20", SWIG_FromInt((int)WXK_F20
));
41601 PyDict_SetItemString(d
,"WXK_F21", SWIG_FromInt((int)WXK_F21
));
41602 PyDict_SetItemString(d
,"WXK_F22", SWIG_FromInt((int)WXK_F22
));
41603 PyDict_SetItemString(d
,"WXK_F23", SWIG_FromInt((int)WXK_F23
));
41604 PyDict_SetItemString(d
,"WXK_F24", SWIG_FromInt((int)WXK_F24
));
41605 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_FromInt((int)WXK_NUMLOCK
));
41606 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_FromInt((int)WXK_SCROLL
));
41607 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_FromInt((int)WXK_PAGEUP
));
41608 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_FromInt((int)WXK_PAGEDOWN
));
41609 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_FromInt((int)WXK_NUMPAD_SPACE
));
41610 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_FromInt((int)WXK_NUMPAD_TAB
));
41611 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_FromInt((int)WXK_NUMPAD_ENTER
));
41612 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_FromInt((int)WXK_NUMPAD_F1
));
41613 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_FromInt((int)WXK_NUMPAD_F2
));
41614 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_FromInt((int)WXK_NUMPAD_F3
));
41615 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_FromInt((int)WXK_NUMPAD_F4
));
41616 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_FromInt((int)WXK_NUMPAD_HOME
));
41617 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_FromInt((int)WXK_NUMPAD_LEFT
));
41618 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_FromInt((int)WXK_NUMPAD_UP
));
41619 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_FromInt((int)WXK_NUMPAD_RIGHT
));
41620 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_FromInt((int)WXK_NUMPAD_DOWN
));
41621 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_FromInt((int)WXK_NUMPAD_PRIOR
));
41622 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_FromInt((int)WXK_NUMPAD_PAGEUP
));
41623 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_FromInt((int)WXK_NUMPAD_NEXT
));
41624 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_FromInt((int)WXK_NUMPAD_PAGEDOWN
));
41625 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_FromInt((int)WXK_NUMPAD_END
));
41626 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_FromInt((int)WXK_NUMPAD_BEGIN
));
41627 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_FromInt((int)WXK_NUMPAD_INSERT
));
41628 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_FromInt((int)WXK_NUMPAD_DELETE
));
41629 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_FromInt((int)WXK_NUMPAD_EQUAL
));
41630 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_FromInt((int)WXK_NUMPAD_MULTIPLY
));
41631 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_FromInt((int)WXK_NUMPAD_ADD
));
41632 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_FromInt((int)WXK_NUMPAD_SEPARATOR
));
41633 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_FromInt((int)WXK_NUMPAD_SUBTRACT
));
41634 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_FromInt((int)WXK_NUMPAD_DECIMAL
));
41635 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_FromInt((int)WXK_NUMPAD_DIVIDE
));
41636 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_FromInt((int)WXK_WINDOWS_LEFT
));
41637 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_FromInt((int)WXK_WINDOWS_RIGHT
));
41638 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_FromInt((int)WXK_WINDOWS_MENU
));
41639 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_FromInt((int)wxPAPER_NONE
));
41640 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_FromInt((int)wxPAPER_LETTER
));
41641 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_FromInt((int)wxPAPER_LEGAL
));
41642 PyDict_SetItemString(d
,"PAPER_A4", SWIG_FromInt((int)wxPAPER_A4
));
41643 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_FromInt((int)wxPAPER_CSHEET
));
41644 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_FromInt((int)wxPAPER_DSHEET
));
41645 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_FromInt((int)wxPAPER_ESHEET
));
41646 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_FromInt((int)wxPAPER_LETTERSMALL
));
41647 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_FromInt((int)wxPAPER_TABLOID
));
41648 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_FromInt((int)wxPAPER_LEDGER
));
41649 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_FromInt((int)wxPAPER_STATEMENT
));
41650 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_FromInt((int)wxPAPER_EXECUTIVE
));
41651 PyDict_SetItemString(d
,"PAPER_A3", SWIG_FromInt((int)wxPAPER_A3
));
41652 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_FromInt((int)wxPAPER_A4SMALL
));
41653 PyDict_SetItemString(d
,"PAPER_A5", SWIG_FromInt((int)wxPAPER_A5
));
41654 PyDict_SetItemString(d
,"PAPER_B4", SWIG_FromInt((int)wxPAPER_B4
));
41655 PyDict_SetItemString(d
,"PAPER_B5", SWIG_FromInt((int)wxPAPER_B5
));
41656 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_FromInt((int)wxPAPER_FOLIO
));
41657 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_FromInt((int)wxPAPER_QUARTO
));
41658 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_FromInt((int)wxPAPER_10X14
));
41659 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_FromInt((int)wxPAPER_11X17
));
41660 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_FromInt((int)wxPAPER_NOTE
));
41661 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_FromInt((int)wxPAPER_ENV_9
));
41662 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_FromInt((int)wxPAPER_ENV_10
));
41663 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_FromInt((int)wxPAPER_ENV_11
));
41664 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_FromInt((int)wxPAPER_ENV_12
));
41665 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_FromInt((int)wxPAPER_ENV_14
));
41666 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_FromInt((int)wxPAPER_ENV_DL
));
41667 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_FromInt((int)wxPAPER_ENV_C5
));
41668 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_FromInt((int)wxPAPER_ENV_C3
));
41669 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_FromInt((int)wxPAPER_ENV_C4
));
41670 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_FromInt((int)wxPAPER_ENV_C6
));
41671 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_FromInt((int)wxPAPER_ENV_C65
));
41672 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_FromInt((int)wxPAPER_ENV_B4
));
41673 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_FromInt((int)wxPAPER_ENV_B5
));
41674 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_FromInt((int)wxPAPER_ENV_B6
));
41675 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_FromInt((int)wxPAPER_ENV_ITALY
));
41676 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_FromInt((int)wxPAPER_ENV_MONARCH
));
41677 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_FromInt((int)wxPAPER_ENV_PERSONAL
));
41678 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_FromInt((int)wxPAPER_FANFOLD_US
));
41679 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN
));
41680 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN
));
41681 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_FromInt((int)wxPAPER_ISO_B4
));
41682 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_FromInt((int)wxPAPER_JAPANESE_POSTCARD
));
41683 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_FromInt((int)wxPAPER_9X11
));
41684 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_FromInt((int)wxPAPER_10X11
));
41685 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_FromInt((int)wxPAPER_15X11
));
41686 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_FromInt((int)wxPAPER_ENV_INVITE
));
41687 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA
));
41688 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_FromInt((int)wxPAPER_LEGAL_EXTRA
));
41689 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_FromInt((int)wxPAPER_TABLOID_EXTRA
));
41690 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_FromInt((int)wxPAPER_A4_EXTRA
));
41691 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_TRANSVERSE
));
41692 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A4_TRANSVERSE
));
41693 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
41694 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_FromInt((int)wxPAPER_A_PLUS
));
41695 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_FromInt((int)wxPAPER_B_PLUS
));
41696 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_FromInt((int)wxPAPER_LETTER_PLUS
));
41697 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_FromInt((int)wxPAPER_A4_PLUS
));
41698 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A5_TRANSVERSE
));
41699 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_B5_TRANSVERSE
));
41700 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_FromInt((int)wxPAPER_A3_EXTRA
));
41701 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_FromInt((int)wxPAPER_A5_EXTRA
));
41702 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_FromInt((int)wxPAPER_B5_EXTRA
));
41703 PyDict_SetItemString(d
,"PAPER_A2", SWIG_FromInt((int)wxPAPER_A2
));
41704 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_TRANSVERSE
));
41705 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
41706 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_FromInt((int)wxDUPLEX_SIMPLEX
));
41707 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_FromInt((int)wxDUPLEX_HORIZONTAL
));
41708 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_FromInt((int)wxDUPLEX_VERTICAL
));
41709 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_FromInt((int)wxITEM_SEPARATOR
));
41710 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_FromInt((int)wxITEM_NORMAL
));
41711 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_FromInt((int)wxITEM_CHECK
));
41712 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_FromInt((int)wxITEM_RADIO
));
41713 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_FromInt((int)wxITEM_MAX
));
41714 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_FromInt((int)wxHT_NOWHERE
));
41715 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_FromInt((int)wxHT_SCROLLBAR_FIRST
));
41716 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
41717 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
41718 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
41719 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
41720 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_FromInt((int)wxHT_SCROLLBAR_THUMB
));
41721 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_1
));
41722 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_2
));
41723 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_FromInt((int)wxHT_SCROLLBAR_LAST
));
41724 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_FromInt((int)wxHT_WINDOW_OUTSIDE
));
41725 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_FromInt((int)wxHT_WINDOW_INSIDE
));
41726 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR
));
41727 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
41728 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_FromInt((int)wxHT_WINDOW_CORNER
));
41729 PyDict_SetItemString(d
,"HT_MAX", SWIG_FromInt((int)wxHT_MAX
));
41730 PyDict_SetItemString(d
,"MOD_NONE", SWIG_FromInt((int)wxMOD_NONE
));
41731 PyDict_SetItemString(d
,"MOD_ALT", SWIG_FromInt((int)wxMOD_ALT
));
41732 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_FromInt((int)wxMOD_CONTROL
));
41733 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_FromInt((int)wxMOD_SHIFT
));
41734 PyDict_SetItemString(d
,"MOD_WIN", SWIG_FromInt((int)wxMOD_WIN
));
41735 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_FromInt((int)wxUPDATE_UI_NONE
));
41736 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_FromInt((int)wxUPDATE_UI_RECURSE
));
41737 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_FromInt((int)wxUPDATE_UI_FROMIDLE
));
41738 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
41739 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
41740 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_FromInt((int)wxBITMAP_TYPE_INVALID
));
41741 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_FromInt((int)wxBITMAP_TYPE_BMP
));
41742 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_FromInt((int)wxBITMAP_TYPE_ICO
));
41743 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_FromInt((int)wxBITMAP_TYPE_CUR
));
41744 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_FromInt((int)wxBITMAP_TYPE_XBM
));
41745 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XBM_DATA
));
41746 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_FromInt((int)wxBITMAP_TYPE_XPM
));
41747 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XPM_DATA
));
41748 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_FromInt((int)wxBITMAP_TYPE_TIF
));
41749 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_FromInt((int)wxBITMAP_TYPE_GIF
));
41750 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_FromInt((int)wxBITMAP_TYPE_PNG
));
41751 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_FromInt((int)wxBITMAP_TYPE_JPEG
));
41752 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_FromInt((int)wxBITMAP_TYPE_PNM
));
41753 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_FromInt((int)wxBITMAP_TYPE_PCX
));
41754 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_FromInt((int)wxBITMAP_TYPE_PICT
));
41755 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_FromInt((int)wxBITMAP_TYPE_ICON
));
41756 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_FromInt((int)wxBITMAP_TYPE_ANI
));
41757 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_FromInt((int)wxBITMAP_TYPE_IFF
));
41758 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_FromInt((int)wxBITMAP_TYPE_MACCURSOR
));
41759 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_FromInt((int)wxBITMAP_TYPE_ANY
));
41760 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_FromInt((int)wxCURSOR_NONE
));
41761 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_FromInt((int)wxCURSOR_ARROW
));
41762 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_FromInt((int)wxCURSOR_RIGHT_ARROW
));
41763 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_FromInt((int)wxCURSOR_BULLSEYE
));
41764 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_FromInt((int)wxCURSOR_CHAR
));
41765 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_FromInt((int)wxCURSOR_CROSS
));
41766 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_FromInt((int)wxCURSOR_HAND
));
41767 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_FromInt((int)wxCURSOR_IBEAM
));
41768 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_FromInt((int)wxCURSOR_LEFT_BUTTON
));
41769 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_FromInt((int)wxCURSOR_MAGNIFIER
));
41770 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_FromInt((int)wxCURSOR_MIDDLE_BUTTON
));
41771 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_FromInt((int)wxCURSOR_NO_ENTRY
));
41772 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_FromInt((int)wxCURSOR_PAINT_BRUSH
));
41773 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_FromInt((int)wxCURSOR_PENCIL
));
41774 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_FromInt((int)wxCURSOR_POINT_LEFT
));
41775 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_FromInt((int)wxCURSOR_POINT_RIGHT
));
41776 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_FromInt((int)wxCURSOR_QUESTION_ARROW
));
41777 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_FromInt((int)wxCURSOR_RIGHT_BUTTON
));
41778 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_FromInt((int)wxCURSOR_SIZENESW
));
41779 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_FromInt((int)wxCURSOR_SIZENS
));
41780 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_FromInt((int)wxCURSOR_SIZENWSE
));
41781 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_FromInt((int)wxCURSOR_SIZEWE
));
41782 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_FromInt((int)wxCURSOR_SIZING
));
41783 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_FromInt((int)wxCURSOR_SPRAYCAN
));
41784 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_FromInt((int)wxCURSOR_WAIT
));
41785 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_FromInt((int)wxCURSOR_WATCH
));
41786 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_FromInt((int)wxCURSOR_BLANK
));
41787 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_FromInt((int)wxCURSOR_DEFAULT
));
41788 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_FromInt((int)wxCURSOR_COPY_ARROW
));
41789 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_FromInt((int)wxCURSOR_ARROWWAIT
));
41790 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_FromInt((int)wxCURSOR_MAX
));
41791 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
41792 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
41793 PyDict_SetItemString(d
,"FromStart", SWIG_FromInt((int)wxFromStart
));
41794 PyDict_SetItemString(d
,"FromCurrent", SWIG_FromInt((int)wxFromCurrent
));
41795 PyDict_SetItemString(d
,"FromEnd", SWIG_FromInt((int)wxFromEnd
));
41797 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
41800 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
41802 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
41803 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
41804 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
41805 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
41806 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
41807 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
41808 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_FromInt((int)wxIMAGE_RESOLUTION_INCHES
));
41809 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_FromInt((int)wxIMAGE_RESOLUTION_CM
));
41810 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_FromInt((int)wxBMP_24BPP
));
41811 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_FromInt((int)wxBMP_8BPP
));
41812 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_FromInt((int)wxBMP_8BPP_GREY
));
41813 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_FromInt((int)wxBMP_8BPP_GRAY
));
41814 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_FromInt((int)wxBMP_8BPP_RED
));
41815 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_FromInt((int)wxBMP_8BPP_PALETTE
));
41816 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_FromInt((int)wxBMP_4BPP
));
41817 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_FromInt((int)wxBMP_1BPP
));
41818 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_FromInt((int)wxBMP_1BPP_BW
));
41819 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_FromInt((int)wxEVENT_PROPAGATE_NONE
));
41820 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_FromInt((int)wxEVENT_PROPAGATE_MAX
));
41821 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
41822 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
41823 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
41824 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
41825 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
41826 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
41827 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
41828 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
41829 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
41830 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
41831 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
41832 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
41833 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
41834 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
41835 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
41836 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
41837 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
41838 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
41839 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
41840 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
41841 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
41842 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
41843 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
41844 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
41845 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
41846 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
41847 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
41848 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
41849 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
41850 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
41851 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
41852 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
41853 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
41854 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
41855 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
41856 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
41857 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
41858 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
41859 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
41860 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
41861 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
41862 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
41863 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
41864 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
41865 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
41866 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
41867 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
41868 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
41869 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
41870 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
41871 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
41872 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
41873 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
41874 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
41875 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
41876 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
41877 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
41878 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
41879 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
41880 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
41881 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
41882 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
41883 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
41884 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
41885 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
41886 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
41887 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
41888 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
41889 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
41890 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
41891 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
41892 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
41893 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
41894 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
41895 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
41896 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
41897 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
41898 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
41899 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
41900 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
41901 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
41902 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
41903 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
41904 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
41905 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
41906 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
41907 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
41908 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
41909 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
41910 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
41911 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
41912 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
41913 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
41914 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
41915 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
41916 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
41917 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
41918 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
41919 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
41920 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
41921 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
41922 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
41923 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
41924 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
41925 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
41926 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
41927 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
41928 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
41929 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
41930 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
41931 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
41932 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
41933 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
41934 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
41935 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_FromInt((int)wxMOUSE_BTN_ANY
));
41936 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_FromInt((int)wxMOUSE_BTN_NONE
));
41937 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_FromInt((int)wxMOUSE_BTN_LEFT
));
41938 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_FromInt((int)wxMOUSE_BTN_MIDDLE
));
41939 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_FromInt((int)wxMOUSE_BTN_RIGHT
));
41940 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_ALL
));
41941 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
41942 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_FromInt((int)wxIDLE_PROCESS_ALL
));
41943 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_FromInt((int)wxIDLE_PROCESS_SPECIFIED
));
41944 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_FromInt((int)wxPYAPP_ASSERT_SUPPRESS
));
41945 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_FromInt((int)wxPYAPP_ASSERT_EXCEPTION
));
41946 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_FromInt((int)wxPYAPP_ASSERT_DIALOG
));
41947 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_FromInt((int)wxPYAPP_ASSERT_LOG
));
41948 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_FromInt((int)wxPRINT_WINDOWS
));
41949 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_FromInt((int)wxPRINT_POSTSCRIPT
));
41950 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
41951 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
41952 PyDict_SetItemString(d
,"WINDOW_VARIANT_DEFAULT", SWIG_FromInt((int)wxWINDOW_VARIANT_DEFAULT
));
41953 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_FromInt((int)wxWINDOW_VARIANT_NORMAL
));
41954 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_FromInt((int)wxWINDOW_VARIANT_SMALL
));
41955 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_FromInt((int)wxWINDOW_VARIANT_MINI
));
41956 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_FromInt((int)wxWINDOW_VARIANT_LARGE
));
41957 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
41958 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
41959 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_FromInt((int)wxFLEX_GROWMODE_NONE
));
41960 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_FromInt((int)wxFLEX_GROWMODE_SPECIFIED
));
41961 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_FromInt((int)wxFLEX_GROWMODE_ALL
));
41962 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
41963 PyDict_SetItemString(d
,"Left", SWIG_FromInt((int)wxLeft
));
41964 PyDict_SetItemString(d
,"Top", SWIG_FromInt((int)wxTop
));
41965 PyDict_SetItemString(d
,"Right", SWIG_FromInt((int)wxRight
));
41966 PyDict_SetItemString(d
,"Bottom", SWIG_FromInt((int)wxBottom
));
41967 PyDict_SetItemString(d
,"Width", SWIG_FromInt((int)wxWidth
));
41968 PyDict_SetItemString(d
,"Height", SWIG_FromInt((int)wxHeight
));
41969 PyDict_SetItemString(d
,"Centre", SWIG_FromInt((int)wxCentre
));
41970 PyDict_SetItemString(d
,"Center", SWIG_FromInt((int)wxCenter
));
41971 PyDict_SetItemString(d
,"CentreX", SWIG_FromInt((int)wxCentreX
));
41972 PyDict_SetItemString(d
,"CentreY", SWIG_FromInt((int)wxCentreY
));
41973 PyDict_SetItemString(d
,"Unconstrained", SWIG_FromInt((int)wxUnconstrained
));
41974 PyDict_SetItemString(d
,"AsIs", SWIG_FromInt((int)wxAsIs
));
41975 PyDict_SetItemString(d
,"PercentOf", SWIG_FromInt((int)wxPercentOf
));
41976 PyDict_SetItemString(d
,"Above", SWIG_FromInt((int)wxAbove
));
41977 PyDict_SetItemString(d
,"Below", SWIG_FromInt((int)wxBelow
));
41978 PyDict_SetItemString(d
,"LeftOf", SWIG_FromInt((int)wxLeftOf
));
41979 PyDict_SetItemString(d
,"RightOf", SWIG_FromInt((int)wxRightOf
));
41980 PyDict_SetItemString(d
,"SameAs", SWIG_FromInt((int)wxSameAs
));
41981 PyDict_SetItemString(d
,"Absolute", SWIG_FromInt((int)wxAbsolute
));
41983 // Initialize threading, some globals and such
41987 // Although these are defined in __version__ they need to be here too so
41988 // that an assert can be done to ensure that the wxPython and the wxWindows
41990 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
41991 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
41992 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));