1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
210 #define SWIGTYPE_p_wxRealPoint swig_types[1]
211 #define SWIGTYPE_p_wxSizerItem swig_types[2]
212 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
213 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
214 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[5]
215 #define SWIGTYPE_p_wxSizer swig_types[6]
216 #define SWIGTYPE_p_wxBoxSizer swig_types[7]
217 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[8]
218 #define SWIGTYPE_p_wxGridBagSizer swig_types[9]
219 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[10]
220 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[11]
221 #define SWIGTYPE_p_wxMenu swig_types[12]
222 #define SWIGTYPE_p_wxEvent swig_types[13]
223 #define SWIGTYPE_p_wxGridSizer swig_types[14]
224 #define SWIGTYPE_p_wxFlexGridSizer swig_types[15]
225 #define SWIGTYPE_p_wxInitDialogEvent swig_types[16]
226 #define SWIGTYPE_p_wxItemContainer swig_types[17]
227 #define SWIGTYPE_p_wxNcPaintEvent swig_types[18]
228 #define SWIGTYPE_p_wxPaintEvent swig_types[19]
229 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[20]
230 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[21]
231 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[22]
232 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[23]
233 #define SWIGTYPE_p_wxControl swig_types[24]
234 #define SWIGTYPE_p_wxFont swig_types[25]
235 #define SWIGTYPE_p_wxMenuBarBase swig_types[26]
236 #define SWIGTYPE_p_wxSetCursorEvent swig_types[27]
237 #define SWIGTYPE_p_wxFSFile swig_types[28]
238 #define SWIGTYPE_p_wxCaret swig_types[29]
239 #define SWIGTYPE_p_wxRegion swig_types[30]
240 #define SWIGTYPE_p_wxPoint2D swig_types[31]
241 #define SWIGTYPE_p_int swig_types[32]
242 #define SWIGTYPE_p_wxSize swig_types[33]
243 #define SWIGTYPE_p_wxDC swig_types[34]
244 #define SWIGTYPE_p_wxPySizer swig_types[35]
245 #define SWIGTYPE_p_wxNotifyEvent swig_types[36]
246 #define SWIGTYPE_p_wxPyEvent swig_types[37]
247 #define SWIGTYPE_p_wxPropagationDisabler swig_types[38]
248 #define SWIGTYPE_p_wxAppTraits swig_types[39]
249 #define SWIGTYPE_p_wxArrayString swig_types[40]
250 #define SWIGTYPE_p_wxShowEvent swig_types[41]
251 #define SWIGTYPE_p_wxToolTip swig_types[42]
252 #define SWIGTYPE_p_wxMaximizeEvent swig_types[43]
253 #define SWIGTYPE_p_wxIconizeEvent swig_types[44]
254 #define SWIGTYPE_p_wxActivateEvent swig_types[45]
255 #define SWIGTYPE_p_wxMoveEvent swig_types[46]
256 #define SWIGTYPE_p_wxSizeEvent swig_types[47]
257 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[48]
258 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[49]
259 #define SWIGTYPE_p_wxIdleEvent swig_types[50]
260 #define SWIGTYPE_p_wxMenuItem swig_types[51]
261 #define SWIGTYPE_p_wxStaticBox swig_types[52]
262 #define SWIGTYPE_p_long swig_types[53]
263 #define SWIGTYPE_p_wxTIFFHandler swig_types[54]
264 #define SWIGTYPE_p_wxXPMHandler swig_types[55]
265 #define SWIGTYPE_p_wxPNMHandler swig_types[56]
266 #define SWIGTYPE_p_wxJPEGHandler swig_types[57]
267 #define SWIGTYPE_p_wxPCXHandler swig_types[58]
268 #define SWIGTYPE_p_wxGIFHandler swig_types[59]
269 #define SWIGTYPE_p_wxPNGHandler swig_types[60]
270 #define SWIGTYPE_p_wxANIHandler swig_types[61]
271 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[62]
272 #define SWIGTYPE_p_wxEvtHandler swig_types[63]
273 #define SWIGTYPE_p_wxCURHandler swig_types[64]
274 #define SWIGTYPE_p_wxICOHandler swig_types[65]
275 #define SWIGTYPE_p_wxBMPHandler swig_types[66]
276 #define SWIGTYPE_p_wxImageHandler swig_types[67]
277 #define SWIGTYPE_p_wxFileSystemHandler swig_types[68]
278 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[69]
279 #define SWIGTYPE_p_wxInternetFSHandler swig_types[70]
280 #define SWIGTYPE_p_wxZipFSHandler swig_types[71]
281 #define SWIGTYPE_p_wxRect swig_types[72]
282 #define SWIGTYPE_p_wxGBSpan swig_types[73]
283 #define SWIGTYPE_p_wxPropagateOnce swig_types[74]
284 #define SWIGTYPE_p_wxAcceleratorTable swig_types[75]
285 #define SWIGTYPE_p_char swig_types[76]
286 #define SWIGTYPE_p_wxGBPosition swig_types[77]
287 #define SWIGTYPE_p_wxImage swig_types[78]
288 #define SWIGTYPE_p_wxFrame swig_types[79]
289 #define SWIGTYPE_p_wxScrollWinEvent swig_types[80]
290 #define SWIGTYPE_p_wxImageHistogram swig_types[81]
291 #define SWIGTYPE_p_byte swig_types[82]
292 #define SWIGTYPE_p_wxPoint swig_types[83]
293 #define SWIGTYPE_p_wxCursor swig_types[84]
294 #define SWIGTYPE_p_wxObject swig_types[85]
295 #define SWIGTYPE_p_wxPyInputStream swig_types[86]
296 #define SWIGTYPE_p_wxOutputStream swig_types[87]
297 #define SWIGTYPE_p_wxInputStream swig_types[88]
298 #define SWIGTYPE_p_wxDateTime swig_types[89]
299 #define SWIGTYPE_p_wxKeyEvent swig_types[90]
300 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[91]
301 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[92]
302 #define SWIGTYPE_p_wxWindow swig_types[93]
303 #define SWIGTYPE_p_wxMenuBar swig_types[94]
304 #define SWIGTYPE_p_wxFileSystem swig_types[95]
305 #define SWIGTYPE_p_wxBitmap swig_types[96]
306 #define SWIGTYPE_p_wxMenuEvent swig_types[97]
307 #define SWIGTYPE_p_wxContextMenuEvent swig_types[98]
308 #define SWIGTYPE_p_unsigned_char swig_types[99]
309 #define SWIGTYPE_p_wxCloseEvent swig_types[100]
310 #define SWIGTYPE_p_wxEraseEvent swig_types[101]
311 #define SWIGTYPE_p_wxMouseEvent swig_types[102]
312 #define SWIGTYPE_p_wxPyApp swig_types[103]
313 #define SWIGTYPE_p_wxCommandEvent swig_types[104]
314 #define SWIGTYPE_p_wxPyCommandEvent swig_types[105]
315 #define SWIGTYPE_p_wxPyDropTarget swig_types[106]
316 #define SWIGTYPE_p_wxChildFocusEvent swig_types[107]
317 #define SWIGTYPE_p_wxFocusEvent swig_types[108]
318 #define SWIGTYPE_p_wxDropFilesEvent swig_types[109]
319 #define SWIGTYPE_p_wxControlWithItems swig_types[110]
320 #define SWIGTYPE_p_wxColour swig_types[111]
321 #define SWIGTYPE_p_wxValidator swig_types[112]
322 #define SWIGTYPE_p_wxPyValidator swig_types[113]
323 static swig_type_info
*swig_types
[115];
325 /* -------- TYPES TABLE (END) -------- */
328 /*-----------------------------------------------
330 ------------------------------------------------*/
331 #define SWIG_init init_core
333 #define SWIG_name "_core"
335 /* Auxiliar swig macros */
338 #define SWIGSTATICINLINE(a) static inline a
339 #define SWIGSTATIC(a) static a
340 #define swig_new_array(type, size) (new type[(size)])
341 #define swig_delete_array(cptr) delete[] cptr
342 #define swig_const_cast(type,a) const_cast<type>(a)
343 #define swig_static_cast(type,a) static_cast<type>(a)
344 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
346 #ifdef HAVE_NUMERIC_CAST
347 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
349 #define swig_numeric_cast(type,a) static_cast<type>(a)
354 #define SWIGSTATICINLINE(a) static a
355 #define SWIGSTATIC(a) static a
356 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
357 #define swig_delete_array(cptr) free((char*)cptr)
358 #define swig_const_cast(type,a) (type)(a)
359 #define swig_static_cast(type,a) (type)(a)
360 #define swig_reinterpret_cast(type,a) (type)(a)
361 #define swig_numeric_cast(type,a) (type)(a)
363 #endif /* __cplusplus */
366 #define SWIG_FromSignedChar PyInt_FromLong
367 #define SWIG_FromUnsignedChar PyInt_FromLong
368 #define SWIG_FromShort PyInt_FromLong
369 #define SWIG_FromUnsignedShort PyInt_FromLong
370 #define SWIG_FromInt PyInt_FromLong
371 #define SWIG_FromLong PyInt_FromLong
372 #define SWIG_FromFloat PyFloat_FromDouble
373 #define SWIG_FromDouble PyFloat_FromDouble
374 #define SWIG_FromFloat PyFloat_FromDouble
375 #define SWIG_FromDouble PyFloat_FromDouble
378 #include "wx/wxPython/wxPython_int.h"
379 #include "wx/wxPython/pyclasses.h"
382 #ifndef wxPyUSE_EXPORT
383 // Helper functions for dealing with SWIG objects and such. These are
384 // located here so they know about the SWIG types and functions declared
385 // in the wrapper code.
387 #include <wx/hashmap.h>
388 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
391 // Maintains a hashmap of className to swig_type_info pointers. Given the
392 // name of a class either looks up the type info in the cache, or scans the
393 // SWIG tables for it.
394 extern PyObject
* wxPyPtrTypeMap
;
396 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
398 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
400 if (typeInfoCache
== NULL
)
401 typeInfoCache
= new wxPyTypeInfoHashMap
;
403 wxString
name(className
);
404 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
407 // it wasn't in the cache, so look it up from SWIG
408 name
.Append(wxT(" *"));
409 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
411 // if it still wasn't found, try looking for a mapped name
416 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
417 (char*)(const char*)name
.mbc_str())) != NULL
) {
418 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
419 name
.Append(wxT(" *"));
420 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
424 // and add it to the map if found
425 (*typeInfoCache
)[className
] = swigType
;
432 // Check if a class name is a type known to SWIG
433 bool wxPyCheckSwigType(const wxChar
* className
) {
435 swig_type_info
* swigType
= wxPyFindSwigType(className
);
436 return swigType
!= NULL
;
440 // Given a pointer to a C++ object and a class name, construct a Python proxy
442 PyObject
* wxPyConstructObject(void* ptr
,
443 const wxChar
* className
,
446 swig_type_info
* swigType
= wxPyFindSwigType(className
);
447 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
449 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
453 // Extract a pointer to the wrapped C++ object from a Python proxy object.
454 // Ensures that the proxy object is of the specified (or derived) type. If
455 // not able to perform the conversion then a Python exception is set and the
456 // error should be handled properly in the caller. Returns True on success.
457 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
458 const wxChar
* className
) {
460 swig_type_info
* swigType
= wxPyFindSwigType(className
);
461 wxCHECK_MSG(swigType
!= NULL
, False
, wxT("Unknown type in wxPyConvertSwigPtr"));
463 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
467 // Make a SWIGified pointer object suitable for a .this attribute
468 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
470 PyObject
* robj
= NULL
;
472 swig_type_info
* swigType
= wxPyFindSwigType(className
);
473 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
475 #ifdef SWIG_COBJECT_TYPES
476 robj
= PyCObject_FromVoidPtrAndDesc((void *) ptr
, (char *) swigType
->name
, NULL
);
482 r
= SWIG_Python_PackData(r
, &ptr
, sizeof(void *));
483 strcpy(r
, swigType
->name
);
484 robj
= PyString_FromString(result
);
494 // Export a C API in a struct. Other modules will be able to load this from
495 // the wx.core module and will then have safe access to these functions, even if
496 // they are located in another shared library.
497 static wxPyCoreAPI API
= {
499 (p_SWIG_Python_TypeRegister_t
)SWIG_Python_TypeRegister
,
500 (p_SWIG_Python_TypeCheck_t
)SWIG_Python_TypeCheck
,
501 (p_SWIG_Python_TypeCast_t
)SWIG_Python_TypeCast
,
502 (p_SWIG_Python_TypeDynamicCast_t
)SWIG_Python_TypeDynamicCast
,
503 (p_SWIG_Python_TypeName_t
)SWIG_Python_TypeName
,
504 (p_SWIG_Python_TypeQuery_t
)SWIG_Python_TypeQuery
,
505 (p_SWIG_Python_TypeClientData_t
)SWIG_Python_TypeClientData
,
506 (p_SWIG_Python_newvarlink_t
)SWIG_Python_newvarlink
,
507 (p_SWIG_Python_addvarlink_t
)SWIG_Python_addvarlink
,
508 (p_SWIG_Python_ConvertPtr_t
)SWIG_Python_ConvertPtr
,
509 (p_SWIG_Python_ConvertPacked_t
)SWIG_Python_ConvertPacked
,
510 (p_SWIG_Python_PackData_t
)SWIG_Python_PackData
,
511 (p_SWIG_Python_UnpackData_t
)SWIG_Python_UnpackData
,
512 (p_SWIG_Python_NewPointerObj_t
)SWIG_Python_NewPointerObj
,
513 (p_SWIG_Python_NewPackedObj_t
)SWIG_Python_NewPackedObj
,
514 (p_SWIG_Python_InstallConstants_t
)SWIG_Python_InstallConstants
,
515 (p_SWIG_Python_MustGetPtr_t
)SWIG_Python_MustGetPtr
,
522 wxPyBeginAllowThreads
,
524 wxPyBeginBlockThreads
,
538 wxBitmap_LIST_helper
,
539 wxString_LIST_helper
,
540 wxAcceleratorEntry_LIST_helper
,
549 wxPySimple_typecheck
,
552 wxPyCBH_setCallbackInfo
,
553 wxPyCBH_findCallback
,
554 wxPyCBH_callCallback
,
555 wxPyCBH_callCallbackObj
,
563 wxArrayString2PyList_helper
,
564 wxArrayInt2PyList_helper
,
568 wxPyOORClientData_dtor
,
570 wxPyCBInputStream_create
,
573 wxPySwigInstance_Check
581 enum wxHotkeyModifier
589 #define wxEVT_HOTKEY 9999
592 static const wxString
wxPyEmptyString(wxEmptyString
);
593 wxString
wxObject_GetClassName(wxObject
*self
){
594 return self
->GetClassInfo()->GetClassName();
596 void wxObject_Destroy(wxObject
*self
){
601 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
608 SWIGSTATICINLINE(long)
609 SWIG_CheckLongInRange(long value
, const char* type
,
610 long min_value
, long max_value
)
612 if (!PyErr_Occurred()) {
613 if (value
< min_value
) {
615 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
616 value
, type
, min_value
);
618 PyErr_SetObject(PyExc_OverflowError
, err
);
620 } else if (value
> max_value
) {
622 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
623 value
, type
, max_value
);
624 PyErr_SetObject(PyExc_OverflowError
, err
);
632 SWIGSTATICINLINE(long)
633 SWIG_AsLong(PyObject
* obj
)
635 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
639 #if INT_MAX != LONG_MAX
640 SWIGSTATICINLINE(int)
641 SWIG_AsInt(PyObject
*obj
)
643 return swig_numeric_cast(int,
644 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
645 "int", INT_MIN
, INT_MAX
));
648 #define SWIG_AsInt SWIG_AsLong
652 SWIGSTATICINLINE(int)
653 SWIG_CheckInt(PyObject
* obj
)
656 if (PyErr_Occurred()) {
664 PyObject
*wxSize_Get(wxSize
*self
){
665 wxPyBeginBlockThreads();
666 PyObject
* tup
= PyTuple_New(2);
667 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
668 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
669 wxPyEndBlockThreads();
673 SWIGSTATICINLINE(double)
674 SWIG_AsDouble(PyObject
*obj
)
676 double val
= (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
678 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
680 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
682 if (PyErr_Occurred()) {
684 PyErr_SetString(PyExc_TypeError
, "a double is expected");
690 SWIGSTATICINLINE(int)
691 SWIG_CheckDouble(PyObject
* obj
)
694 if (PyErr_Occurred()) {
702 void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
706 PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
707 wxPyBeginBlockThreads();
708 PyObject
* tup
= PyTuple_New(2);
709 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
710 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
711 wxPyEndBlockThreads();
715 SWIGSTATICINLINE(int)
716 SWIG_CheckLong(PyObject
* obj
)
719 if (PyErr_Occurred()) {
727 void wxPoint_Set(wxPoint
*self
,long x
,long y
){
731 PyObject
*wxPoint_Get(wxPoint
*self
){
732 wxPyBeginBlockThreads();
733 PyObject
* tup
= PyTuple_New(2);
734 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
735 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
736 wxPyEndBlockThreads();
739 void wxRect_Set(wxRect
*self
,int x
,int y
,int width
,int height
){
743 self
->height
= height
;
745 PyObject
*wxRect_Get(wxRect
*self
){
746 wxPyBeginBlockThreads();
747 PyObject
* tup
= PyTuple_New(4);
748 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
749 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
750 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
751 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
752 wxPyEndBlockThreads();
756 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
759 wxRect
dest(0,0,0,0);
762 reg1
.Intersect(reg2
);
763 dest
= reg1
.GetBox();
765 if (dest
!= wxRect(0,0,0,0)) {
766 wxPyBeginBlockThreads();
767 wxRect
* newRect
= new wxRect(dest
);
768 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), True
);
769 wxPyEndBlockThreads();
777 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
783 } else if (target
== Py_None
) {
787 if (!PyTuple_Check(target
)) {
789 target
= PyTuple_New(1);
790 PyTuple_SetItem(target
, 0, o2
);
793 PyTuple_SetItem(o3
, 0, o
);
796 target
= PySequence_Concat(o2
, o3
);
803 void wxPoint2D_Set(wxPoint2D
*self
,double x
,double y
){
807 PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
808 wxPyBeginBlockThreads();
809 PyObject
* tup
= PyTuple_New(2);
810 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
811 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
812 wxPyEndBlockThreads();
816 #include "wx/wxPython/pyistream.h"
818 wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
819 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
821 return new wxPyInputStream(wxis
);
826 SWIGSTATICINLINE(PyObject
*)
827 SWIG_FromChar(char c
)
829 return PyString_FromStringAndSize(&c
,1);
833 SWIGSTATICINLINE(PyObject
* )
834 SWIG_FromUnsignedLong(unsigned long value
)
836 return (value
> LONG_MAX
) ?
837 PyLong_FromUnsignedLong(value
)
838 : PyInt_FromLong(swig_numeric_cast(long,value
));
842 /* returns '1' if the input is a raw char*, '0' if is a PyString */
844 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* size
)
846 static swig_type_info
* pchar_info
= 0;
848 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
850 if (SWIG_ConvertPtr(obj
, swig_reinterpret_cast(void **,cptr
), pchar_info
, 0) == -1) {
852 PyString_AsStringAndSize(obj
, cptr
, &psize
);
853 if (PyErr_Occurred()) {
855 PyErr_SetString(PyExc_TypeError
,"a string is expected");
857 if (size
) *size
= psize
;
860 if (size
) *size
= (*cptr
) ? (strlen(*cptr
) + 1) : 0;
867 SWIG_AsCharArray(PyObject
*obj
, char* carray
, size_t size
)
869 char* cptr
; size_t csize
;
870 SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
);
871 if (PyErr_Occurred()) {
874 PyString_FromFormat("a char array of size %d is expected", size
);
875 PyErr_SetObject(PyExc_TypeError
, err
);
878 /* in C (but not in C++) you can do:
882 ie, assing the array using an extra '0' char.
885 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
889 PyString_FromFormat("a char array of maximum size %d is expected",
891 PyErr_SetObject(PyExc_TypeError
, err
);
894 if (csize
) memcpy(carray
, cptr
, csize
);
895 if (csize
< size
) memset(carray
+ csize
, 0, size
- csize
);
901 SWIGSTATICINLINE(char)
902 SWIG_AsChar(PyObject
*obj
)
905 if (PyInt_Check(obj
) || PyLong_Check(obj
)) {
906 c
= swig_numeric_cast(char,
907 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
908 "char", CHAR_MIN
, CHAR_MAX
));
910 SWIG_AsCharArray(obj
, &c
, 1);
911 if (PyErr_Occurred()) {
913 PyErr_SetString(PyExc_TypeError
, "a char is expected");
920 SWIGSTATICINLINE(int)
921 SWIG_CheckChar(PyObject
* obj
)
924 if (PyErr_Occurred()) {
932 void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
933 // We use only strings for the streams, not unicode
934 PyObject
* str
= PyObject_Str(obj
);
936 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
939 self
->Write(PyString_AS_STRING(str
),
940 PyString_GET_SIZE(str
));
944 #include "wx/wxPython/pyistream.h"
947 class wxPyFileSystemHandler
: public wxFileSystemHandler
950 wxPyFileSystemHandler() : wxFileSystemHandler() {}
952 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
953 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
954 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
955 DEC_PYCALLBACK_STRING__pure(FindNext
);
957 wxString
GetProtocol(const wxString
& location
) {
958 return wxFileSystemHandler::GetProtocol(location
);
961 wxString
GetLeftLocation(const wxString
& location
) {
962 return wxFileSystemHandler::GetLeftLocation(location
);
965 wxString
GetAnchor(const wxString
& location
) {
966 return wxFileSystemHandler::GetAnchor(location
);
969 wxString
GetRightLocation(const wxString
& location
) {
970 return wxFileSystemHandler::GetRightLocation(location
);
973 wxString
GetMimeTypeFromExt(const wxString
& location
) {
974 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
981 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
982 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
983 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
984 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
987 SWIGSTATICINLINE(bool)
988 SWIG_AsBool(PyObject
*obj
)
990 return PyObject_IsTrue(obj
) ? true : false;
994 SWIGSTATICINLINE(int)
995 SWIG_CheckBool(PyObject
* obj
)
998 if (PyErr_Occurred()) {
1007 wxString
wxFileSystem_URLToFileName(const wxString
& url
) {
1008 wxFileName fname
= wxFileSystem::URLToFileName(url
);
1009 return fname
.GetFullPath();
1013 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
1016 wxMemoryFSHandler::AddFile(filename
, image
, type
);
1019 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
1020 const wxBitmap
& bitmap
,
1022 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
1025 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
1027 wxMemoryFSHandler::AddFile(filename
,
1028 // TODO: Verify data type
1029 (void*)PyString_AsString(data
),
1030 (size_t)PyString_Size(data
));
1034 #include "wx/wxPython/pyistream.h"
1037 SWIGSTATICINLINE(unsigned long)
1038 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
1039 unsigned long max_value
)
1041 if (!PyErr_Occurred()) {
1042 if (value
> max_value
) {
1044 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
1045 value
, type
, max_value
);
1046 PyErr_SetObject(PyExc_OverflowError
, err
);
1054 SWIGSTATICINLINE(unsigned long)
1055 SWIG_AsUnsignedLong(PyObject
* obj
)
1057 if (PyLong_Check(obj
)) {
1058 return PyLong_AsUnsignedLong(obj
);
1060 long i
= PyInt_AsLong(obj
);
1061 if ( !PyErr_Occurred() && (i
< 0)) {
1062 PyErr_SetString(PyExc_TypeError
, "negative value for unsigned type");
1069 SWIGSTATICINLINE(unsigned char)
1070 SWIG_AsUnsignedChar(PyObject
*obj
)
1072 return swig_numeric_cast(unsigned char,
1073 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
1074 "unsigned char", UCHAR_MAX
));
1078 SWIGSTATICINLINE(int)
1079 SWIG_CheckUnsignedChar(PyObject
* obj
)
1081 SWIG_AsUnsignedChar(obj
);
1082 if (PyErr_Occurred()) {
1090 wxImage
*new_wxImage(int width
,int height
,bool clear
){
1091 if (width
> 0 && height
> 0)
1092 return new wxImage(width
, height
, clear
);
1096 wxImage
*new_wxImage(wxBitmap
const &bitmap
){
1097 return new wxImage(bitmap
.ConvertToImage());
1099 wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
1100 // Copy the source data so the wxImage can clean it up later
1101 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
1106 memcpy(copy
, data
, width
*height
*3);
1107 return new wxImage(width
, height
, copy
, False
);
1109 PyObject
*wxImage_GetData(wxImage
*self
){
1110 unsigned char* data
= self
->GetData();
1111 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1113 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
1116 void wxImage_SetData(wxImage
*self
,PyObject
*data
){
1117 unsigned char* dataPtr
;
1119 if (! PyString_Check(data
)) {
1120 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1124 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
1125 dataPtr
= (unsigned char*) malloc(len
);
1126 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1127 self
->SetData(dataPtr
);
1128 // wxImage takes ownership of dataPtr...
1130 PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
1131 unsigned char* data
= self
->GetData();
1132 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1134 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1137 void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
1138 unsigned char* buffer
;
1141 wxPyBeginBlockThreads();
1142 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1145 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
1146 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1149 self
->SetData(buffer
);
1151 wxPyEndBlockThreads();
1153 PyObject
*wxImage_GetAlphaData(wxImage
*self
){
1154 unsigned char* data
= self
->GetAlpha();
1158 int len
= self
->GetWidth() * self
->GetHeight();
1160 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
1164 void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
1165 unsigned char* dataPtr
;
1167 if (! PyString_Check(data
)) {
1168 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1172 size_t len
= self
->GetWidth() * self
->GetHeight();
1173 dataPtr
= (unsigned char*) malloc(len
);
1174 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1175 self
->SetAlpha(dataPtr
);
1176 // wxImage takes ownership of dataPtr...
1178 PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
1179 unsigned char* data
= self
->GetAlpha();
1180 int len
= self
->GetWidth() * self
->GetHeight();
1182 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1185 void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
1186 unsigned char* buffer
;
1189 wxPyBeginBlockThreads();
1190 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1193 if (size
!= self
->GetWidth() * self
->GetHeight()) {
1194 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1197 self
->SetAlpha(buffer
);
1199 wxPyEndBlockThreads();
1202 SWIGSTATICINLINE(int)
1203 SWIG_CheckUnsignedLong(PyObject
* obj
)
1205 SWIG_AsUnsignedLong(obj
);
1206 if (PyErr_Occurred()) {
1214 wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
){
1215 wxBitmap
bitmap(*self
);
1218 wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
1219 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
1220 wxBitmap
bitmap( mono
, 1 );
1223 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
1224 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
1225 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
1226 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
1227 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
1228 void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
1229 if (PyCallable_Check(func
)) {
1230 self
->Connect(id
, lastId
, eventType
,
1231 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
1232 new wxPyCallback(func
));
1234 else if (func
== Py_None
) {
1235 self
->Disconnect(id
, lastId
, eventType
,
1236 (wxObjectEventFunction
)
1237 &wxPyCallback::EventThunker
);
1240 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None.");
1243 bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
){
1244 return self
->Disconnect(id
, lastId
, eventType
,
1245 (wxObjectEventFunction
)
1246 &wxPyCallback::EventThunker
);
1248 void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
){
1249 if (_self
&& _self
!= Py_None
) {
1250 self
->SetClientObject(new wxPyOORClientData(_self
));
1253 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
1255 self
->SetClientObject(NULL
); // This will delete it too
1259 int wxKeyEvent_GetUniChar(wxKeyEvent
*self
){
1261 return self
->m_uniChar
;
1267 #if UINT_MAX < LONG_MAX
1268 #define SWIG_FromUnsignedInt SWIG_FromLong
1270 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1274 #if UINT_MAX != ULONG_MAX
1275 SWIGSTATICINLINE(unsigned int)
1276 SWIG_AsUnsignedInt(PyObject
*obj
)
1278 return swig_numeric_cast(unsigned int,
1279 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
1280 "unsigned int", UINT_MAX
));
1283 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
1287 SWIGSTATICINLINE(int)
1288 SWIG_CheckUnsignedInt(PyObject
* obj
)
1290 SWIG_AsUnsignedInt(obj
);
1291 if (PyErr_Occurred()) {
1299 void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
1300 self
->m_size
= size
;
1302 void wxMoveEvent_SetPosition(wxMoveEvent
*self
,wxPoint pos
){
1305 PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
1306 int count
= self
->GetNumberOfFiles();
1307 wxString
* files
= self
->GetFiles();
1308 PyObject
* list
= PyList_New(count
);
1311 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
1315 for (int i
=0; i
<count
; i
++) {
1316 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
1322 wxPyApp
*new_wxPyApp(){
1323 wxPythonApp
= new wxPyApp();
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 wxPyBeginBlockThreads();
1573 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1574 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1575 data
= new wxPyUserData(userData
);
1576 wxPyEndBlockThreads();
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 wxPyBeginBlockThreads();
1591 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1592 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1593 data
= new wxPyUserData(userData
);
1594 wxPyEndBlockThreads();
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 wxPyBeginBlockThreads();
1609 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1610 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1611 data
= new wxPyUserData(userData
);
1612 wxPyEndBlockThreads();
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 wxPyBeginBlockThreads();
1625 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1626 wxPyEndBlockThreads();
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 wxPyBeginBlockThreads();
1638 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1639 wxPyEndBlockThreads();
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 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1688 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1690 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1694 bool wxGBPosition___eq__(wxGBPosition
*self
,wxGBPosition
const *other
){ return other
? (*self
== *other
) : False
; }
1695 bool wxGBPosition___ne__(wxGBPosition
*self
,wxGBPosition
const *other
){ return other
? (*self
!= *other
) : True
; }
1696 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1700 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1701 wxPyBeginBlockThreads();
1702 PyObject
* tup
= PyTuple_New(2);
1703 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1704 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1705 wxPyEndBlockThreads();
1708 bool wxGBSpan___eq__(wxGBSpan
*self
,wxGBSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1709 bool wxGBSpan___ne__(wxGBSpan
*self
,wxGBSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1710 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1711 self
->SetRowspan(rowspan
);
1712 self
->SetColspan(colspan
);
1714 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1715 wxPyBeginBlockThreads();
1716 PyObject
* tup
= PyTuple_New(2);
1717 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1718 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1719 wxPyEndBlockThreads();
1722 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1724 wxPyUserData
* data
= NULL
;
1725 wxPyBeginBlockThreads();
1726 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1727 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1728 data
= new wxPyUserData(userData
);
1729 wxPyEndBlockThreads();
1731 // Now call the real Add method if a valid item type was found
1733 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1734 else if ( info
.sizer
)
1735 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1736 else if (info
.gotSize
)
1737 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1738 pos
, span
, flag
, border
, data
);
1746 static int _wrap_EmptyString_set(PyObject
*_val
) {
1747 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
1752 static PyObject
*_wrap_EmptyString_get() {
1757 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1759 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1766 static PyObject
*_wrap_Object_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1767 PyObject
*resultobj
;
1768 wxObject
*arg1
= (wxObject
*) 0 ;
1770 PyObject
* obj0
= 0 ;
1772 (char *) "self", NULL
1775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1780 result
= wxObject_GetClassName(arg1
);
1782 wxPyEndAllowThreads(__tstate
);
1783 if (PyErr_Occurred()) SWIG_fail
;
1787 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1789 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1798 static PyObject
*_wrap_Object_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1799 PyObject
*resultobj
;
1800 wxObject
*arg1
= (wxObject
*) 0 ;
1801 PyObject
* obj0
= 0 ;
1803 (char *) "self", NULL
1806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1811 wxObject_Destroy(arg1
);
1813 wxPyEndAllowThreads(__tstate
);
1814 if (PyErr_Occurred()) SWIG_fail
;
1816 Py_INCREF(Py_None
); resultobj
= Py_None
;
1823 static PyObject
* Object_swigregister(PyObject
*self
, PyObject
*args
) {
1825 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1826 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1828 return Py_BuildValue((char *)"");
1830 static PyObject
*_wrap_Size_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1831 PyObject
*resultobj
;
1832 wxSize
*arg1
= (wxSize
*) 0 ;
1834 PyObject
* obj0
= 0 ;
1835 PyObject
* obj1
= 0 ;
1837 (char *) "self",(char *) "x", NULL
1840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1843 arg2
= (int) SWIG_AsInt(obj1
);
1844 if (PyErr_Occurred()) SWIG_fail
;
1845 if (arg1
) (arg1
)->x
= arg2
;
1847 Py_INCREF(Py_None
); resultobj
= Py_None
;
1854 static PyObject
*_wrap_Size_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1855 PyObject
*resultobj
;
1856 wxSize
*arg1
= (wxSize
*) 0 ;
1858 PyObject
* obj0
= 0 ;
1860 (char *) "self", NULL
1863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1866 result
= (int) ((arg1
)->x
);
1868 resultobj
= SWIG_FromInt((int)result
);
1875 static PyObject
*_wrap_Size_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1876 PyObject
*resultobj
;
1877 wxSize
*arg1
= (wxSize
*) 0 ;
1879 PyObject
* obj0
= 0 ;
1880 PyObject
* obj1
= 0 ;
1882 (char *) "self",(char *) "y", NULL
1885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1888 arg2
= (int) SWIG_AsInt(obj1
);
1889 if (PyErr_Occurred()) SWIG_fail
;
1890 if (arg1
) (arg1
)->y
= arg2
;
1892 Py_INCREF(Py_None
); resultobj
= Py_None
;
1899 static PyObject
*_wrap_Size_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1900 PyObject
*resultobj
;
1901 wxSize
*arg1
= (wxSize
*) 0 ;
1903 PyObject
* obj0
= 0 ;
1905 (char *) "self", NULL
1908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
1909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1911 result
= (int) ((arg1
)->y
);
1913 resultobj
= SWIG_FromInt((int)result
);
1920 static PyObject
*_wrap_new_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1921 PyObject
*resultobj
;
1922 int arg1
= (int) 0 ;
1923 int arg2
= (int) 0 ;
1925 PyObject
* obj0
= 0 ;
1926 PyObject
* obj1
= 0 ;
1928 (char *) "w",(char *) "h", NULL
1931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
1933 arg1
= (int) SWIG_AsInt(obj0
);
1934 if (PyErr_Occurred()) SWIG_fail
;
1937 arg2
= (int) SWIG_AsInt(obj1
);
1938 if (PyErr_Occurred()) SWIG_fail
;
1941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1942 result
= (wxSize
*)new wxSize(arg1
,arg2
);
1944 wxPyEndAllowThreads(__tstate
);
1945 if (PyErr_Occurred()) SWIG_fail
;
1947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
1954 static PyObject
*_wrap_delete_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1955 PyObject
*resultobj
;
1956 wxSize
*arg1
= (wxSize
*) 0 ;
1957 PyObject
* obj0
= 0 ;
1959 (char *) "self", NULL
1962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
1963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1969 wxPyEndAllowThreads(__tstate
);
1970 if (PyErr_Occurred()) SWIG_fail
;
1972 Py_INCREF(Py_None
); resultobj
= Py_None
;
1979 static PyObject
*_wrap_Size___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1980 PyObject
*resultobj
;
1981 wxSize
*arg1
= (wxSize
*) 0 ;
1985 PyObject
* obj0
= 0 ;
1986 PyObject
* obj1
= 0 ;
1988 (char *) "self",(char *) "sz", NULL
1991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1996 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2000 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2002 wxPyEndAllowThreads(__tstate
);
2003 if (PyErr_Occurred()) SWIG_fail
;
2005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2012 static PyObject
*_wrap_Size___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2013 PyObject
*resultobj
;
2014 wxSize
*arg1
= (wxSize
*) 0 ;
2018 PyObject
* obj0
= 0 ;
2019 PyObject
* obj1
= 0 ;
2021 (char *) "self",(char *) "sz", NULL
2024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2029 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2033 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2035 wxPyEndAllowThreads(__tstate
);
2036 if (PyErr_Occurred()) SWIG_fail
;
2038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2045 static PyObject
*_wrap_Size___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2046 PyObject
*resultobj
;
2047 wxSize
*arg1
= (wxSize
*) 0 ;
2051 PyObject
* obj0
= 0 ;
2052 PyObject
* obj1
= 0 ;
2054 (char *) "self",(char *) "sz", NULL
2057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2062 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2066 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2068 wxPyEndAllowThreads(__tstate
);
2069 if (PyErr_Occurred()) SWIG_fail
;
2073 resultptr
= new wxSize((wxSize
&) result
);
2074 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2082 static PyObject
*_wrap_Size___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2083 PyObject
*resultobj
;
2084 wxSize
*arg1
= (wxSize
*) 0 ;
2088 PyObject
* obj0
= 0 ;
2089 PyObject
* obj1
= 0 ;
2091 (char *) "self",(char *) "sz", NULL
2094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2099 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2103 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2105 wxPyEndAllowThreads(__tstate
);
2106 if (PyErr_Occurred()) SWIG_fail
;
2110 resultptr
= new wxSize((wxSize
&) result
);
2111 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2119 static PyObject
*_wrap_Size_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2120 PyObject
*resultobj
;
2121 wxSize
*arg1
= (wxSize
*) 0 ;
2124 PyObject
* obj0
= 0 ;
2125 PyObject
* obj1
= 0 ;
2127 (char *) "self",(char *) "sz", NULL
2130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2135 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2139 (arg1
)->IncTo((wxSize
const &)*arg2
);
2141 wxPyEndAllowThreads(__tstate
);
2142 if (PyErr_Occurred()) SWIG_fail
;
2144 Py_INCREF(Py_None
); resultobj
= Py_None
;
2151 static PyObject
*_wrap_Size_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2152 PyObject
*resultobj
;
2153 wxSize
*arg1
= (wxSize
*) 0 ;
2156 PyObject
* obj0
= 0 ;
2157 PyObject
* obj1
= 0 ;
2159 (char *) "self",(char *) "sz", NULL
2162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2167 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2171 (arg1
)->DecTo((wxSize
const &)*arg2
);
2173 wxPyEndAllowThreads(__tstate
);
2174 if (PyErr_Occurred()) SWIG_fail
;
2176 Py_INCREF(Py_None
); resultobj
= Py_None
;
2183 static PyObject
*_wrap_Size_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2184 PyObject
*resultobj
;
2185 wxSize
*arg1
= (wxSize
*) 0 ;
2188 PyObject
* obj0
= 0 ;
2189 PyObject
* obj1
= 0 ;
2190 PyObject
* obj2
= 0 ;
2192 (char *) "self",(char *) "w",(char *) "h", NULL
2195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2198 arg2
= (int) SWIG_AsInt(obj1
);
2199 if (PyErr_Occurred()) SWIG_fail
;
2200 arg3
= (int) SWIG_AsInt(obj2
);
2201 if (PyErr_Occurred()) SWIG_fail
;
2203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2204 (arg1
)->Set(arg2
,arg3
);
2206 wxPyEndAllowThreads(__tstate
);
2207 if (PyErr_Occurred()) SWIG_fail
;
2209 Py_INCREF(Py_None
); resultobj
= Py_None
;
2216 static PyObject
*_wrap_Size_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2217 PyObject
*resultobj
;
2218 wxSize
*arg1
= (wxSize
*) 0 ;
2220 PyObject
* obj0
= 0 ;
2221 PyObject
* obj1
= 0 ;
2223 (char *) "self",(char *) "w", NULL
2226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2229 arg2
= (int) SWIG_AsInt(obj1
);
2230 if (PyErr_Occurred()) SWIG_fail
;
2232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2233 (arg1
)->SetWidth(arg2
);
2235 wxPyEndAllowThreads(__tstate
);
2236 if (PyErr_Occurred()) SWIG_fail
;
2238 Py_INCREF(Py_None
); resultobj
= Py_None
;
2245 static PyObject
*_wrap_Size_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2246 PyObject
*resultobj
;
2247 wxSize
*arg1
= (wxSize
*) 0 ;
2249 PyObject
* obj0
= 0 ;
2250 PyObject
* obj1
= 0 ;
2252 (char *) "self",(char *) "h", NULL
2255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2258 arg2
= (int) SWIG_AsInt(obj1
);
2259 if (PyErr_Occurred()) SWIG_fail
;
2261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2262 (arg1
)->SetHeight(arg2
);
2264 wxPyEndAllowThreads(__tstate
);
2265 if (PyErr_Occurred()) SWIG_fail
;
2267 Py_INCREF(Py_None
); resultobj
= Py_None
;
2274 static PyObject
*_wrap_Size_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2275 PyObject
*resultobj
;
2276 wxSize
*arg1
= (wxSize
*) 0 ;
2278 PyObject
* obj0
= 0 ;
2280 (char *) "self", NULL
2283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2288 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2290 wxPyEndAllowThreads(__tstate
);
2291 if (PyErr_Occurred()) SWIG_fail
;
2293 resultobj
= SWIG_FromInt((int)result
);
2300 static PyObject
*_wrap_Size_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2301 PyObject
*resultobj
;
2302 wxSize
*arg1
= (wxSize
*) 0 ;
2304 PyObject
* obj0
= 0 ;
2306 (char *) "self", NULL
2309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2314 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2316 wxPyEndAllowThreads(__tstate
);
2317 if (PyErr_Occurred()) SWIG_fail
;
2319 resultobj
= SWIG_FromInt((int)result
);
2326 static PyObject
*_wrap_Size_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2327 PyObject
*resultobj
;
2328 wxSize
*arg1
= (wxSize
*) 0 ;
2330 PyObject
* obj0
= 0 ;
2332 (char *) "self", NULL
2335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2340 result
= (PyObject
*)wxSize_Get(arg1
);
2342 wxPyEndAllowThreads(__tstate
);
2343 if (PyErr_Occurred()) SWIG_fail
;
2352 static PyObject
* Size_swigregister(PyObject
*self
, PyObject
*args
) {
2354 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2355 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2357 return Py_BuildValue((char *)"");
2359 static PyObject
*_wrap_RealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2360 PyObject
*resultobj
;
2361 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2363 PyObject
* obj0
= 0 ;
2364 PyObject
* obj1
= 0 ;
2366 (char *) "self",(char *) "x", NULL
2369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2372 arg2
= (double) SWIG_AsDouble(obj1
);
2373 if (PyErr_Occurred()) SWIG_fail
;
2374 if (arg1
) (arg1
)->x
= arg2
;
2376 Py_INCREF(Py_None
); resultobj
= Py_None
;
2383 static PyObject
*_wrap_RealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2384 PyObject
*resultobj
;
2385 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2387 PyObject
* obj0
= 0 ;
2389 (char *) "self", NULL
2392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2395 result
= (double) ((arg1
)->x
);
2397 resultobj
= SWIG_FromDouble((double)result
);
2404 static PyObject
*_wrap_RealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2405 PyObject
*resultobj
;
2406 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2408 PyObject
* obj0
= 0 ;
2409 PyObject
* obj1
= 0 ;
2411 (char *) "self",(char *) "y", NULL
2414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2417 arg2
= (double) SWIG_AsDouble(obj1
);
2418 if (PyErr_Occurred()) SWIG_fail
;
2419 if (arg1
) (arg1
)->y
= arg2
;
2421 Py_INCREF(Py_None
); resultobj
= Py_None
;
2428 static PyObject
*_wrap_RealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2429 PyObject
*resultobj
;
2430 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2432 PyObject
* obj0
= 0 ;
2434 (char *) "self", NULL
2437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2440 result
= (double) ((arg1
)->y
);
2442 resultobj
= SWIG_FromDouble((double)result
);
2449 static PyObject
*_wrap_new_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2450 PyObject
*resultobj
;
2451 double arg1
= (double) 0.0 ;
2452 double arg2
= (double) 0.0 ;
2453 wxRealPoint
*result
;
2454 PyObject
* obj0
= 0 ;
2455 PyObject
* obj1
= 0 ;
2457 (char *) "x",(char *) "y", NULL
2460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2462 arg1
= (double) SWIG_AsDouble(obj0
);
2463 if (PyErr_Occurred()) SWIG_fail
;
2466 arg2
= (double) SWIG_AsDouble(obj1
);
2467 if (PyErr_Occurred()) SWIG_fail
;
2470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2471 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2473 wxPyEndAllowThreads(__tstate
);
2474 if (PyErr_Occurred()) SWIG_fail
;
2476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2483 static PyObject
*_wrap_delete_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2484 PyObject
*resultobj
;
2485 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2486 PyObject
* obj0
= 0 ;
2488 (char *) "self", NULL
2491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2498 wxPyEndAllowThreads(__tstate
);
2499 if (PyErr_Occurred()) SWIG_fail
;
2501 Py_INCREF(Py_None
); resultobj
= Py_None
;
2508 static PyObject
*_wrap_RealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2509 PyObject
*resultobj
;
2510 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2511 wxRealPoint
*arg2
= 0 ;
2514 PyObject
* obj0
= 0 ;
2515 PyObject
* obj1
= 0 ;
2517 (char *) "self",(char *) "pt", NULL
2520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2525 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2529 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2531 wxPyEndAllowThreads(__tstate
);
2532 if (PyErr_Occurred()) SWIG_fail
;
2534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2541 static PyObject
*_wrap_RealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2542 PyObject
*resultobj
;
2543 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2544 wxRealPoint
*arg2
= 0 ;
2547 PyObject
* obj0
= 0 ;
2548 PyObject
* obj1
= 0 ;
2550 (char *) "self",(char *) "pt", NULL
2553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2558 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2562 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2564 wxPyEndAllowThreads(__tstate
);
2565 if (PyErr_Occurred()) SWIG_fail
;
2567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2574 static PyObject
*_wrap_RealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2575 PyObject
*resultobj
;
2576 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2577 wxRealPoint
*arg2
= 0 ;
2580 PyObject
* obj0
= 0 ;
2581 PyObject
* obj1
= 0 ;
2583 (char *) "self",(char *) "pt", NULL
2586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2591 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2595 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2597 wxPyEndAllowThreads(__tstate
);
2598 if (PyErr_Occurred()) SWIG_fail
;
2601 wxRealPoint
* resultptr
;
2602 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2603 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2611 static PyObject
*_wrap_RealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2612 PyObject
*resultobj
;
2613 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2614 wxRealPoint
*arg2
= 0 ;
2617 PyObject
* obj0
= 0 ;
2618 PyObject
* obj1
= 0 ;
2620 (char *) "self",(char *) "pt", NULL
2623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2628 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2632 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2634 wxPyEndAllowThreads(__tstate
);
2635 if (PyErr_Occurred()) SWIG_fail
;
2638 wxRealPoint
* resultptr
;
2639 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2640 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2648 static PyObject
*_wrap_RealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2649 PyObject
*resultobj
;
2650 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2653 PyObject
* obj0
= 0 ;
2654 PyObject
* obj1
= 0 ;
2655 PyObject
* obj2
= 0 ;
2657 (char *) "self",(char *) "x",(char *) "y", NULL
2660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2663 arg2
= (double) SWIG_AsDouble(obj1
);
2664 if (PyErr_Occurred()) SWIG_fail
;
2665 arg3
= (double) SWIG_AsDouble(obj2
);
2666 if (PyErr_Occurred()) SWIG_fail
;
2668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2669 wxRealPoint_Set(arg1
,arg2
,arg3
);
2671 wxPyEndAllowThreads(__tstate
);
2672 if (PyErr_Occurred()) SWIG_fail
;
2674 Py_INCREF(Py_None
); resultobj
= Py_None
;
2681 static PyObject
*_wrap_RealPoint_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2682 PyObject
*resultobj
;
2683 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2685 PyObject
* obj0
= 0 ;
2687 (char *) "self", NULL
2690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
2691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2695 result
= (PyObject
*)wxRealPoint_Get(arg1
);
2697 wxPyEndAllowThreads(__tstate
);
2698 if (PyErr_Occurred()) SWIG_fail
;
2707 static PyObject
* RealPoint_swigregister(PyObject
*self
, PyObject
*args
) {
2709 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2710 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2712 return Py_BuildValue((char *)"");
2714 static PyObject
*_wrap_Point_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2715 PyObject
*resultobj
;
2716 wxPoint
*arg1
= (wxPoint
*) 0 ;
2718 PyObject
* obj0
= 0 ;
2719 PyObject
* obj1
= 0 ;
2721 (char *) "self",(char *) "x", NULL
2724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2727 arg2
= (int) SWIG_AsInt(obj1
);
2728 if (PyErr_Occurred()) SWIG_fail
;
2729 if (arg1
) (arg1
)->x
= arg2
;
2731 Py_INCREF(Py_None
); resultobj
= Py_None
;
2738 static PyObject
*_wrap_Point_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2739 PyObject
*resultobj
;
2740 wxPoint
*arg1
= (wxPoint
*) 0 ;
2742 PyObject
* obj0
= 0 ;
2744 (char *) "self", NULL
2747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2750 result
= (int) ((arg1
)->x
);
2752 resultobj
= SWIG_FromInt((int)result
);
2759 static PyObject
*_wrap_Point_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2760 PyObject
*resultobj
;
2761 wxPoint
*arg1
= (wxPoint
*) 0 ;
2763 PyObject
* obj0
= 0 ;
2764 PyObject
* obj1
= 0 ;
2766 (char *) "self",(char *) "y", NULL
2769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2772 arg2
= (int) SWIG_AsInt(obj1
);
2773 if (PyErr_Occurred()) SWIG_fail
;
2774 if (arg1
) (arg1
)->y
= arg2
;
2776 Py_INCREF(Py_None
); resultobj
= Py_None
;
2783 static PyObject
*_wrap_Point_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2784 PyObject
*resultobj
;
2785 wxPoint
*arg1
= (wxPoint
*) 0 ;
2787 PyObject
* obj0
= 0 ;
2789 (char *) "self", NULL
2792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2795 result
= (int) ((arg1
)->y
);
2797 resultobj
= SWIG_FromInt((int)result
);
2804 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2805 PyObject
*resultobj
;
2806 int arg1
= (int) 0 ;
2807 int arg2
= (int) 0 ;
2809 PyObject
* obj0
= 0 ;
2810 PyObject
* obj1
= 0 ;
2812 (char *) "x",(char *) "y", NULL
2815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
2817 arg1
= (int) SWIG_AsInt(obj0
);
2818 if (PyErr_Occurred()) SWIG_fail
;
2821 arg2
= (int) SWIG_AsInt(obj1
);
2822 if (PyErr_Occurred()) SWIG_fail
;
2825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2826 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2828 wxPyEndAllowThreads(__tstate
);
2829 if (PyErr_Occurred()) SWIG_fail
;
2831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
2838 static PyObject
*_wrap_delete_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2839 PyObject
*resultobj
;
2840 wxPoint
*arg1
= (wxPoint
*) 0 ;
2841 PyObject
* obj0
= 0 ;
2843 (char *) "self", NULL
2846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
2847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2853 wxPyEndAllowThreads(__tstate
);
2854 if (PyErr_Occurred()) SWIG_fail
;
2856 Py_INCREF(Py_None
); resultobj
= Py_None
;
2863 static PyObject
*_wrap_Point___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2864 PyObject
*resultobj
;
2865 wxPoint
*arg1
= (wxPoint
*) 0 ;
2869 PyObject
* obj0
= 0 ;
2870 PyObject
* obj1
= 0 ;
2872 (char *) "self",(char *) "pt", NULL
2875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2880 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2884 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
2886 wxPyEndAllowThreads(__tstate
);
2887 if (PyErr_Occurred()) SWIG_fail
;
2889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2896 static PyObject
*_wrap_Point___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2897 PyObject
*resultobj
;
2898 wxPoint
*arg1
= (wxPoint
*) 0 ;
2902 PyObject
* obj0
= 0 ;
2903 PyObject
* obj1
= 0 ;
2905 (char *) "self",(char *) "pt", NULL
2908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2913 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2917 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
2919 wxPyEndAllowThreads(__tstate
);
2920 if (PyErr_Occurred()) SWIG_fail
;
2922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2929 static PyObject
*_wrap_Point___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2930 PyObject
*resultobj
;
2931 wxPoint
*arg1
= (wxPoint
*) 0 ;
2935 PyObject
* obj0
= 0 ;
2936 PyObject
* obj1
= 0 ;
2938 (char *) "self",(char *) "pt", NULL
2941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2946 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2950 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
2952 wxPyEndAllowThreads(__tstate
);
2953 if (PyErr_Occurred()) SWIG_fail
;
2956 wxPoint
* resultptr
;
2957 resultptr
= new wxPoint((wxPoint
&) result
);
2958 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2966 static PyObject
*_wrap_Point___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2967 PyObject
*resultobj
;
2968 wxPoint
*arg1
= (wxPoint
*) 0 ;
2972 PyObject
* obj0
= 0 ;
2973 PyObject
* obj1
= 0 ;
2975 (char *) "self",(char *) "pt", NULL
2978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2983 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2987 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
2989 wxPyEndAllowThreads(__tstate
);
2990 if (PyErr_Occurred()) SWIG_fail
;
2993 wxPoint
* resultptr
;
2994 resultptr
= new wxPoint((wxPoint
&) result
);
2995 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3003 static PyObject
*_wrap_Point___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3004 PyObject
*resultobj
;
3005 wxPoint
*arg1
= (wxPoint
*) 0 ;
3009 PyObject
* obj0
= 0 ;
3010 PyObject
* obj1
= 0 ;
3012 (char *) "self",(char *) "pt", NULL
3015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3020 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3025 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3026 result
= (wxPoint
*) &_result_ref
;
3029 wxPyEndAllowThreads(__tstate
);
3030 if (PyErr_Occurred()) SWIG_fail
;
3032 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3039 static PyObject
*_wrap_Point___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3040 PyObject
*resultobj
;
3041 wxPoint
*arg1
= (wxPoint
*) 0 ;
3045 PyObject
* obj0
= 0 ;
3046 PyObject
* obj1
= 0 ;
3048 (char *) "self",(char *) "pt", NULL
3051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3056 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3061 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3062 result
= (wxPoint
*) &_result_ref
;
3065 wxPyEndAllowThreads(__tstate
);
3066 if (PyErr_Occurred()) SWIG_fail
;
3068 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3075 static PyObject
*_wrap_Point_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3076 PyObject
*resultobj
;
3077 wxPoint
*arg1
= (wxPoint
*) 0 ;
3080 PyObject
* obj0
= 0 ;
3081 PyObject
* obj1
= 0 ;
3082 PyObject
* obj2
= 0 ;
3084 (char *) "self",(char *) "x",(char *) "y", NULL
3087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3090 arg2
= (long) SWIG_AsLong(obj1
);
3091 if (PyErr_Occurred()) SWIG_fail
;
3092 arg3
= (long) SWIG_AsLong(obj2
);
3093 if (PyErr_Occurred()) SWIG_fail
;
3095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3096 wxPoint_Set(arg1
,arg2
,arg3
);
3098 wxPyEndAllowThreads(__tstate
);
3099 if (PyErr_Occurred()) SWIG_fail
;
3101 Py_INCREF(Py_None
); resultobj
= Py_None
;
3108 static PyObject
*_wrap_Point_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3109 PyObject
*resultobj
;
3110 wxPoint
*arg1
= (wxPoint
*) 0 ;
3112 PyObject
* obj0
= 0 ;
3114 (char *) "self", NULL
3117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3122 result
= (PyObject
*)wxPoint_Get(arg1
);
3124 wxPyEndAllowThreads(__tstate
);
3125 if (PyErr_Occurred()) SWIG_fail
;
3134 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
3136 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3137 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3139 return Py_BuildValue((char *)"");
3141 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3142 PyObject
*resultobj
;
3143 int arg1
= (int) 0 ;
3144 int arg2
= (int) 0 ;
3145 int arg3
= (int) 0 ;
3146 int arg4
= (int) 0 ;
3148 PyObject
* obj0
= 0 ;
3149 PyObject
* obj1
= 0 ;
3150 PyObject
* obj2
= 0 ;
3151 PyObject
* obj3
= 0 ;
3153 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3158 arg1
= (int) SWIG_AsInt(obj0
);
3159 if (PyErr_Occurred()) SWIG_fail
;
3162 arg2
= (int) SWIG_AsInt(obj1
);
3163 if (PyErr_Occurred()) SWIG_fail
;
3166 arg3
= (int) SWIG_AsInt(obj2
);
3167 if (PyErr_Occurred()) SWIG_fail
;
3170 arg4
= (int) SWIG_AsInt(obj3
);
3171 if (PyErr_Occurred()) SWIG_fail
;
3174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3175 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3177 wxPyEndAllowThreads(__tstate
);
3178 if (PyErr_Occurred()) SWIG_fail
;
3180 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3187 static PyObject
*_wrap_new_RectPP(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3188 PyObject
*resultobj
;
3194 PyObject
* obj0
= 0 ;
3195 PyObject
* obj1
= 0 ;
3197 (char *) "topLeft",(char *) "bottomRight", NULL
3200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3203 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3207 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3211 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3213 wxPyEndAllowThreads(__tstate
);
3214 if (PyErr_Occurred()) SWIG_fail
;
3216 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3223 static PyObject
*_wrap_new_RectPS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3224 PyObject
*resultobj
;
3230 PyObject
* obj0
= 0 ;
3231 PyObject
* obj1
= 0 ;
3233 (char *) "pos",(char *) "size", NULL
3236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3239 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3243 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3247 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3249 wxPyEndAllowThreads(__tstate
);
3250 if (PyErr_Occurred()) SWIG_fail
;
3252 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3259 static PyObject
*_wrap_delete_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3260 PyObject
*resultobj
;
3261 wxRect
*arg1
= (wxRect
*) 0 ;
3262 PyObject
* obj0
= 0 ;
3264 (char *) "self", NULL
3267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3274 wxPyEndAllowThreads(__tstate
);
3275 if (PyErr_Occurred()) SWIG_fail
;
3277 Py_INCREF(Py_None
); resultobj
= Py_None
;
3284 static PyObject
*_wrap_Rect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3285 PyObject
*resultobj
;
3286 wxRect
*arg1
= (wxRect
*) 0 ;
3288 PyObject
* obj0
= 0 ;
3290 (char *) "self", NULL
3293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3298 result
= (int)((wxRect
const *)arg1
)->GetX();
3300 wxPyEndAllowThreads(__tstate
);
3301 if (PyErr_Occurred()) SWIG_fail
;
3303 resultobj
= SWIG_FromInt((int)result
);
3310 static PyObject
*_wrap_Rect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3311 PyObject
*resultobj
;
3312 wxRect
*arg1
= (wxRect
*) 0 ;
3314 PyObject
* obj0
= 0 ;
3315 PyObject
* obj1
= 0 ;
3317 (char *) "self",(char *) "x", NULL
3320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3323 arg2
= (int) SWIG_AsInt(obj1
);
3324 if (PyErr_Occurred()) SWIG_fail
;
3326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3329 wxPyEndAllowThreads(__tstate
);
3330 if (PyErr_Occurred()) SWIG_fail
;
3332 Py_INCREF(Py_None
); resultobj
= Py_None
;
3339 static PyObject
*_wrap_Rect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3340 PyObject
*resultobj
;
3341 wxRect
*arg1
= (wxRect
*) 0 ;
3343 PyObject
* obj0
= 0 ;
3345 (char *) "self", NULL
3348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3353 result
= (int)(arg1
)->GetY();
3355 wxPyEndAllowThreads(__tstate
);
3356 if (PyErr_Occurred()) SWIG_fail
;
3358 resultobj
= SWIG_FromInt((int)result
);
3365 static PyObject
*_wrap_Rect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3366 PyObject
*resultobj
;
3367 wxRect
*arg1
= (wxRect
*) 0 ;
3369 PyObject
* obj0
= 0 ;
3370 PyObject
* obj1
= 0 ;
3372 (char *) "self",(char *) "y", NULL
3375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3378 arg2
= (int) SWIG_AsInt(obj1
);
3379 if (PyErr_Occurred()) SWIG_fail
;
3381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3384 wxPyEndAllowThreads(__tstate
);
3385 if (PyErr_Occurred()) SWIG_fail
;
3387 Py_INCREF(Py_None
); resultobj
= Py_None
;
3394 static PyObject
*_wrap_Rect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3395 PyObject
*resultobj
;
3396 wxRect
*arg1
= (wxRect
*) 0 ;
3398 PyObject
* obj0
= 0 ;
3400 (char *) "self", NULL
3403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3408 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3410 wxPyEndAllowThreads(__tstate
);
3411 if (PyErr_Occurred()) SWIG_fail
;
3413 resultobj
= SWIG_FromInt((int)result
);
3420 static PyObject
*_wrap_Rect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3421 PyObject
*resultobj
;
3422 wxRect
*arg1
= (wxRect
*) 0 ;
3424 PyObject
* obj0
= 0 ;
3425 PyObject
* obj1
= 0 ;
3427 (char *) "self",(char *) "w", NULL
3430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3433 arg2
= (int) SWIG_AsInt(obj1
);
3434 if (PyErr_Occurred()) SWIG_fail
;
3436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3437 (arg1
)->SetWidth(arg2
);
3439 wxPyEndAllowThreads(__tstate
);
3440 if (PyErr_Occurred()) SWIG_fail
;
3442 Py_INCREF(Py_None
); resultobj
= Py_None
;
3449 static PyObject
*_wrap_Rect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3450 PyObject
*resultobj
;
3451 wxRect
*arg1
= (wxRect
*) 0 ;
3453 PyObject
* obj0
= 0 ;
3455 (char *) "self", NULL
3458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3463 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3465 wxPyEndAllowThreads(__tstate
);
3466 if (PyErr_Occurred()) SWIG_fail
;
3468 resultobj
= SWIG_FromInt((int)result
);
3475 static PyObject
*_wrap_Rect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3476 PyObject
*resultobj
;
3477 wxRect
*arg1
= (wxRect
*) 0 ;
3479 PyObject
* obj0
= 0 ;
3480 PyObject
* obj1
= 0 ;
3482 (char *) "self",(char *) "h", NULL
3485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3488 arg2
= (int) SWIG_AsInt(obj1
);
3489 if (PyErr_Occurred()) SWIG_fail
;
3491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3492 (arg1
)->SetHeight(arg2
);
3494 wxPyEndAllowThreads(__tstate
);
3495 if (PyErr_Occurred()) SWIG_fail
;
3497 Py_INCREF(Py_None
); resultobj
= Py_None
;
3504 static PyObject
*_wrap_Rect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3505 PyObject
*resultobj
;
3506 wxRect
*arg1
= (wxRect
*) 0 ;
3508 PyObject
* obj0
= 0 ;
3510 (char *) "self", NULL
3513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3518 result
= ((wxRect
const *)arg1
)->GetPosition();
3520 wxPyEndAllowThreads(__tstate
);
3521 if (PyErr_Occurred()) SWIG_fail
;
3524 wxPoint
* resultptr
;
3525 resultptr
= new wxPoint((wxPoint
&) result
);
3526 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3534 static PyObject
*_wrap_Rect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3535 PyObject
*resultobj
;
3536 wxRect
*arg1
= (wxRect
*) 0 ;
3539 PyObject
* obj0
= 0 ;
3540 PyObject
* obj1
= 0 ;
3542 (char *) "self",(char *) "p", NULL
3545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3550 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3554 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3556 wxPyEndAllowThreads(__tstate
);
3557 if (PyErr_Occurred()) SWIG_fail
;
3559 Py_INCREF(Py_None
); resultobj
= Py_None
;
3566 static PyObject
*_wrap_Rect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3567 PyObject
*resultobj
;
3568 wxRect
*arg1
= (wxRect
*) 0 ;
3570 PyObject
* obj0
= 0 ;
3572 (char *) "self", NULL
3575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3580 result
= ((wxRect
const *)arg1
)->GetSize();
3582 wxPyEndAllowThreads(__tstate
);
3583 if (PyErr_Occurred()) SWIG_fail
;
3587 resultptr
= new wxSize((wxSize
&) result
);
3588 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3596 static PyObject
*_wrap_Rect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3597 PyObject
*resultobj
;
3598 wxRect
*arg1
= (wxRect
*) 0 ;
3601 PyObject
* obj0
= 0 ;
3602 PyObject
* obj1
= 0 ;
3604 (char *) "self",(char *) "s", NULL
3607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3612 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3616 (arg1
)->SetSize((wxSize
const &)*arg2
);
3618 wxPyEndAllowThreads(__tstate
);
3619 if (PyErr_Occurred()) SWIG_fail
;
3621 Py_INCREF(Py_None
); resultobj
= Py_None
;
3628 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3629 PyObject
*resultobj
;
3630 wxRect
*arg1
= (wxRect
*) 0 ;
3632 PyObject
* obj0
= 0 ;
3634 (char *) "self", NULL
3637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
3638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3642 result
= ((wxRect
const *)arg1
)->GetTopLeft();
3644 wxPyEndAllowThreads(__tstate
);
3645 if (PyErr_Occurred()) SWIG_fail
;
3648 wxPoint
* resultptr
;
3649 resultptr
= new wxPoint((wxPoint
&) result
);
3650 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3658 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3659 PyObject
*resultobj
;
3660 wxRect
*arg1
= (wxRect
*) 0 ;
3663 PyObject
* obj0
= 0 ;
3664 PyObject
* obj1
= 0 ;
3666 (char *) "self",(char *) "p", NULL
3669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3674 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3678 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
3680 wxPyEndAllowThreads(__tstate
);
3681 if (PyErr_Occurred()) SWIG_fail
;
3683 Py_INCREF(Py_None
); resultobj
= Py_None
;
3690 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3691 PyObject
*resultobj
;
3692 wxRect
*arg1
= (wxRect
*) 0 ;
3694 PyObject
* obj0
= 0 ;
3696 (char *) "self", NULL
3699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
3700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3704 result
= ((wxRect
const *)arg1
)->GetBottomRight();
3706 wxPyEndAllowThreads(__tstate
);
3707 if (PyErr_Occurred()) SWIG_fail
;
3710 wxPoint
* resultptr
;
3711 resultptr
= new wxPoint((wxPoint
&) result
);
3712 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3720 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3721 PyObject
*resultobj
;
3722 wxRect
*arg1
= (wxRect
*) 0 ;
3725 PyObject
* obj0
= 0 ;
3726 PyObject
* obj1
= 0 ;
3728 (char *) "self",(char *) "p", NULL
3731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3736 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3740 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
3742 wxPyEndAllowThreads(__tstate
);
3743 if (PyErr_Occurred()) SWIG_fail
;
3745 Py_INCREF(Py_None
); resultobj
= Py_None
;
3752 static PyObject
*_wrap_Rect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3753 PyObject
*resultobj
;
3754 wxRect
*arg1
= (wxRect
*) 0 ;
3756 PyObject
* obj0
= 0 ;
3758 (char *) "self", NULL
3761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3766 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3768 wxPyEndAllowThreads(__tstate
);
3769 if (PyErr_Occurred()) SWIG_fail
;
3771 resultobj
= SWIG_FromInt((int)result
);
3778 static PyObject
*_wrap_Rect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3779 PyObject
*resultobj
;
3780 wxRect
*arg1
= (wxRect
*) 0 ;
3782 PyObject
* obj0
= 0 ;
3784 (char *) "self", NULL
3787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3792 result
= (int)((wxRect
const *)arg1
)->GetTop();
3794 wxPyEndAllowThreads(__tstate
);
3795 if (PyErr_Occurred()) SWIG_fail
;
3797 resultobj
= SWIG_FromInt((int)result
);
3804 static PyObject
*_wrap_Rect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3805 PyObject
*resultobj
;
3806 wxRect
*arg1
= (wxRect
*) 0 ;
3808 PyObject
* obj0
= 0 ;
3810 (char *) "self", NULL
3813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3818 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3820 wxPyEndAllowThreads(__tstate
);
3821 if (PyErr_Occurred()) SWIG_fail
;
3823 resultobj
= SWIG_FromInt((int)result
);
3830 static PyObject
*_wrap_Rect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3831 PyObject
*resultobj
;
3832 wxRect
*arg1
= (wxRect
*) 0 ;
3834 PyObject
* obj0
= 0 ;
3836 (char *) "self", NULL
3839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
3840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3844 result
= (int)((wxRect
const *)arg1
)->GetRight();
3846 wxPyEndAllowThreads(__tstate
);
3847 if (PyErr_Occurred()) SWIG_fail
;
3849 resultobj
= SWIG_FromInt((int)result
);
3856 static PyObject
*_wrap_Rect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3857 PyObject
*resultobj
;
3858 wxRect
*arg1
= (wxRect
*) 0 ;
3860 PyObject
* obj0
= 0 ;
3861 PyObject
* obj1
= 0 ;
3863 (char *) "self",(char *) "left", NULL
3866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3869 arg2
= (int) SWIG_AsInt(obj1
);
3870 if (PyErr_Occurred()) SWIG_fail
;
3872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3873 (arg1
)->SetLeft(arg2
);
3875 wxPyEndAllowThreads(__tstate
);
3876 if (PyErr_Occurred()) SWIG_fail
;
3878 Py_INCREF(Py_None
); resultobj
= Py_None
;
3885 static PyObject
*_wrap_Rect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3886 PyObject
*resultobj
;
3887 wxRect
*arg1
= (wxRect
*) 0 ;
3889 PyObject
* obj0
= 0 ;
3890 PyObject
* obj1
= 0 ;
3892 (char *) "self",(char *) "right", NULL
3895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3898 arg2
= (int) SWIG_AsInt(obj1
);
3899 if (PyErr_Occurred()) SWIG_fail
;
3901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3902 (arg1
)->SetRight(arg2
);
3904 wxPyEndAllowThreads(__tstate
);
3905 if (PyErr_Occurred()) SWIG_fail
;
3907 Py_INCREF(Py_None
); resultobj
= Py_None
;
3914 static PyObject
*_wrap_Rect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3915 PyObject
*resultobj
;
3916 wxRect
*arg1
= (wxRect
*) 0 ;
3918 PyObject
* obj0
= 0 ;
3919 PyObject
* obj1
= 0 ;
3921 (char *) "self",(char *) "top", NULL
3924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
3925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3927 arg2
= (int) SWIG_AsInt(obj1
);
3928 if (PyErr_Occurred()) SWIG_fail
;
3930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3931 (arg1
)->SetTop(arg2
);
3933 wxPyEndAllowThreads(__tstate
);
3934 if (PyErr_Occurred()) SWIG_fail
;
3936 Py_INCREF(Py_None
); resultobj
= Py_None
;
3943 static PyObject
*_wrap_Rect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3944 PyObject
*resultobj
;
3945 wxRect
*arg1
= (wxRect
*) 0 ;
3947 PyObject
* obj0
= 0 ;
3948 PyObject
* obj1
= 0 ;
3950 (char *) "self",(char *) "bottom", NULL
3953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
3954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3956 arg2
= (int) SWIG_AsInt(obj1
);
3957 if (PyErr_Occurred()) SWIG_fail
;
3959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3960 (arg1
)->SetBottom(arg2
);
3962 wxPyEndAllowThreads(__tstate
);
3963 if (PyErr_Occurred()) SWIG_fail
;
3965 Py_INCREF(Py_None
); resultobj
= Py_None
;
3972 static PyObject
*_wrap_Rect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3973 PyObject
*resultobj
;
3974 wxRect
*arg1
= (wxRect
*) 0 ;
3978 PyObject
* obj0
= 0 ;
3979 PyObject
* obj1
= 0 ;
3980 PyObject
* obj2
= 0 ;
3982 (char *) "self",(char *) "dx",(char *) "dy", NULL
3985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3988 arg2
= (int) SWIG_AsInt(obj1
);
3989 if (PyErr_Occurred()) SWIG_fail
;
3990 arg3
= (int) SWIG_AsInt(obj2
);
3991 if (PyErr_Occurred()) SWIG_fail
;
3993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3995 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
3996 result
= (wxRect
*) &_result_ref
;
3999 wxPyEndAllowThreads(__tstate
);
4000 if (PyErr_Occurred()) SWIG_fail
;
4002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4009 static PyObject
*_wrap_Rect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4010 PyObject
*resultobj
;
4011 wxRect
*arg1
= (wxRect
*) 0 ;
4015 PyObject
* obj0
= 0 ;
4016 PyObject
* obj1
= 0 ;
4017 PyObject
* obj2
= 0 ;
4019 (char *) "self",(char *) "dx",(char *) "dy", NULL
4022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4025 arg2
= (int) SWIG_AsInt(obj1
);
4026 if (PyErr_Occurred()) SWIG_fail
;
4027 arg3
= (int) SWIG_AsInt(obj2
);
4028 if (PyErr_Occurred()) SWIG_fail
;
4030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4032 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4033 result
= (wxRect
*) &_result_ref
;
4036 wxPyEndAllowThreads(__tstate
);
4037 if (PyErr_Occurred()) SWIG_fail
;
4039 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4046 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4047 PyObject
*resultobj
;
4048 wxRect
*arg1
= (wxRect
*) 0 ;
4051 PyObject
* obj0
= 0 ;
4052 PyObject
* obj1
= 0 ;
4053 PyObject
* obj2
= 0 ;
4055 (char *) "self",(char *) "dx",(char *) "dy", NULL
4058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4061 arg2
= (int) SWIG_AsInt(obj1
);
4062 if (PyErr_Occurred()) SWIG_fail
;
4063 arg3
= (int) SWIG_AsInt(obj2
);
4064 if (PyErr_Occurred()) SWIG_fail
;
4066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4067 (arg1
)->Offset(arg2
,arg3
);
4069 wxPyEndAllowThreads(__tstate
);
4070 if (PyErr_Occurred()) SWIG_fail
;
4072 Py_INCREF(Py_None
); resultobj
= Py_None
;
4079 static PyObject
*_wrap_Rect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4080 PyObject
*resultobj
;
4081 wxRect
*arg1
= (wxRect
*) 0 ;
4084 PyObject
* obj0
= 0 ;
4085 PyObject
* obj1
= 0 ;
4087 (char *) "self",(char *) "pt", NULL
4090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4095 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4099 (arg1
)->Offset((wxPoint
const &)*arg2
);
4101 wxPyEndAllowThreads(__tstate
);
4102 if (PyErr_Occurred()) SWIG_fail
;
4104 Py_INCREF(Py_None
); resultobj
= Py_None
;
4111 static PyObject
*_wrap_Rect_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4112 PyObject
*resultobj
;
4113 wxRect
*arg1
= (wxRect
*) 0 ;
4117 PyObject
* obj0
= 0 ;
4118 PyObject
* obj1
= 0 ;
4120 (char *) "self",(char *) "rect", NULL
4123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4128 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4133 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4134 result
= (wxRect
*) &_result_ref
;
4137 wxPyEndAllowThreads(__tstate
);
4138 if (PyErr_Occurred()) SWIG_fail
;
4140 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4147 static PyObject
*_wrap_Rect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4148 PyObject
*resultobj
;
4149 wxRect
*arg1
= (wxRect
*) 0 ;
4153 PyObject
* obj0
= 0 ;
4154 PyObject
* obj1
= 0 ;
4156 (char *) "self",(char *) "rect", NULL
4159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4164 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4168 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4170 wxPyEndAllowThreads(__tstate
);
4171 if (PyErr_Occurred()) SWIG_fail
;
4175 resultptr
= new wxRect((wxRect
&) result
);
4176 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4184 static PyObject
*_wrap_Rect___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4185 PyObject
*resultobj
;
4186 wxRect
*arg1
= (wxRect
*) 0 ;
4190 PyObject
* obj0
= 0 ;
4191 PyObject
* obj1
= 0 ;
4193 (char *) "self",(char *) "rect", NULL
4196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4201 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4206 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4207 result
= (wxRect
*) &_result_ref
;
4210 wxPyEndAllowThreads(__tstate
);
4211 if (PyErr_Occurred()) SWIG_fail
;
4213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4220 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4221 PyObject
*resultobj
;
4222 wxRect
*arg1
= (wxRect
*) 0 ;
4226 PyObject
* obj0
= 0 ;
4227 PyObject
* obj1
= 0 ;
4229 (char *) "self",(char *) "rect", NULL
4232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4237 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4241 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4243 wxPyEndAllowThreads(__tstate
);
4244 if (PyErr_Occurred()) SWIG_fail
;
4246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4253 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4254 PyObject
*resultobj
;
4255 wxRect
*arg1
= (wxRect
*) 0 ;
4259 PyObject
* obj0
= 0 ;
4260 PyObject
* obj1
= 0 ;
4262 (char *) "self",(char *) "rect", NULL
4265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4270 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4274 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4276 wxPyEndAllowThreads(__tstate
);
4277 if (PyErr_Occurred()) SWIG_fail
;
4279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4286 static PyObject
*_wrap_Rect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4287 PyObject
*resultobj
;
4288 wxRect
*arg1
= (wxRect
*) 0 ;
4292 PyObject
* obj0
= 0 ;
4293 PyObject
* obj1
= 0 ;
4294 PyObject
* obj2
= 0 ;
4296 (char *) "self",(char *) "x",(char *) "y", NULL
4299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4302 arg2
= (int) SWIG_AsInt(obj1
);
4303 if (PyErr_Occurred()) SWIG_fail
;
4304 arg3
= (int) SWIG_AsInt(obj2
);
4305 if (PyErr_Occurred()) SWIG_fail
;
4307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4308 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4310 wxPyEndAllowThreads(__tstate
);
4311 if (PyErr_Occurred()) SWIG_fail
;
4313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4320 static PyObject
*_wrap_Rect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4321 PyObject
*resultobj
;
4322 wxRect
*arg1
= (wxRect
*) 0 ;
4326 PyObject
* obj0
= 0 ;
4327 PyObject
* obj1
= 0 ;
4329 (char *) "self",(char *) "pt", NULL
4332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4337 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4341 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4343 wxPyEndAllowThreads(__tstate
);
4344 if (PyErr_Occurred()) SWIG_fail
;
4346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4353 static PyObject
*_wrap_Rect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4354 PyObject
*resultobj
;
4355 wxRect
*arg1
= (wxRect
*) 0 ;
4359 PyObject
* obj0
= 0 ;
4360 PyObject
* obj1
= 0 ;
4362 (char *) "self",(char *) "rect", NULL
4365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4370 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4374 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4376 wxPyEndAllowThreads(__tstate
);
4377 if (PyErr_Occurred()) SWIG_fail
;
4379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4386 static PyObject
*_wrap_Rect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4387 PyObject
*resultobj
;
4388 wxRect
*arg1
= (wxRect
*) 0 ;
4390 PyObject
* obj0
= 0 ;
4391 PyObject
* obj1
= 0 ;
4393 (char *) "self",(char *) "x", NULL
4396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4399 arg2
= (int) SWIG_AsInt(obj1
);
4400 if (PyErr_Occurred()) SWIG_fail
;
4401 if (arg1
) (arg1
)->x
= arg2
;
4403 Py_INCREF(Py_None
); resultobj
= Py_None
;
4410 static PyObject
*_wrap_Rect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4411 PyObject
*resultobj
;
4412 wxRect
*arg1
= (wxRect
*) 0 ;
4414 PyObject
* obj0
= 0 ;
4416 (char *) "self", NULL
4419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4422 result
= (int) ((arg1
)->x
);
4424 resultobj
= SWIG_FromInt((int)result
);
4431 static PyObject
*_wrap_Rect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4432 PyObject
*resultobj
;
4433 wxRect
*arg1
= (wxRect
*) 0 ;
4435 PyObject
* obj0
= 0 ;
4436 PyObject
* obj1
= 0 ;
4438 (char *) "self",(char *) "y", NULL
4441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4444 arg2
= (int) SWIG_AsInt(obj1
);
4445 if (PyErr_Occurred()) SWIG_fail
;
4446 if (arg1
) (arg1
)->y
= arg2
;
4448 Py_INCREF(Py_None
); resultobj
= Py_None
;
4455 static PyObject
*_wrap_Rect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4456 PyObject
*resultobj
;
4457 wxRect
*arg1
= (wxRect
*) 0 ;
4459 PyObject
* obj0
= 0 ;
4461 (char *) "self", NULL
4464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4467 result
= (int) ((arg1
)->y
);
4469 resultobj
= SWIG_FromInt((int)result
);
4476 static PyObject
*_wrap_Rect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4477 PyObject
*resultobj
;
4478 wxRect
*arg1
= (wxRect
*) 0 ;
4480 PyObject
* obj0
= 0 ;
4481 PyObject
* obj1
= 0 ;
4483 (char *) "self",(char *) "width", NULL
4486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4489 arg2
= (int) SWIG_AsInt(obj1
);
4490 if (PyErr_Occurred()) SWIG_fail
;
4491 if (arg1
) (arg1
)->width
= arg2
;
4493 Py_INCREF(Py_None
); resultobj
= Py_None
;
4500 static PyObject
*_wrap_Rect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4501 PyObject
*resultobj
;
4502 wxRect
*arg1
= (wxRect
*) 0 ;
4504 PyObject
* obj0
= 0 ;
4506 (char *) "self", NULL
4509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4512 result
= (int) ((arg1
)->width
);
4514 resultobj
= SWIG_FromInt((int)result
);
4521 static PyObject
*_wrap_Rect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4522 PyObject
*resultobj
;
4523 wxRect
*arg1
= (wxRect
*) 0 ;
4525 PyObject
* obj0
= 0 ;
4526 PyObject
* obj1
= 0 ;
4528 (char *) "self",(char *) "height", NULL
4531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4534 arg2
= (int) SWIG_AsInt(obj1
);
4535 if (PyErr_Occurred()) SWIG_fail
;
4536 if (arg1
) (arg1
)->height
= arg2
;
4538 Py_INCREF(Py_None
); resultobj
= Py_None
;
4545 static PyObject
*_wrap_Rect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4546 PyObject
*resultobj
;
4547 wxRect
*arg1
= (wxRect
*) 0 ;
4549 PyObject
* obj0
= 0 ;
4551 (char *) "self", NULL
4554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4557 result
= (int) ((arg1
)->height
);
4559 resultobj
= SWIG_FromInt((int)result
);
4566 static PyObject
*_wrap_Rect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4567 PyObject
*resultobj
;
4568 wxRect
*arg1
= (wxRect
*) 0 ;
4569 int arg2
= (int) 0 ;
4570 int arg3
= (int) 0 ;
4571 int arg4
= (int) 0 ;
4572 int arg5
= (int) 0 ;
4573 PyObject
* obj0
= 0 ;
4574 PyObject
* obj1
= 0 ;
4575 PyObject
* obj2
= 0 ;
4576 PyObject
* obj3
= 0 ;
4577 PyObject
* obj4
= 0 ;
4579 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4586 arg2
= (int) SWIG_AsInt(obj1
);
4587 if (PyErr_Occurred()) SWIG_fail
;
4590 arg3
= (int) SWIG_AsInt(obj2
);
4591 if (PyErr_Occurred()) SWIG_fail
;
4594 arg4
= (int) SWIG_AsInt(obj3
);
4595 if (PyErr_Occurred()) SWIG_fail
;
4598 arg5
= (int) SWIG_AsInt(obj4
);
4599 if (PyErr_Occurred()) SWIG_fail
;
4602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4603 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
4605 wxPyEndAllowThreads(__tstate
);
4606 if (PyErr_Occurred()) SWIG_fail
;
4608 Py_INCREF(Py_None
); resultobj
= Py_None
;
4615 static PyObject
*_wrap_Rect_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4616 PyObject
*resultobj
;
4617 wxRect
*arg1
= (wxRect
*) 0 ;
4619 PyObject
* obj0
= 0 ;
4621 (char *) "self", NULL
4624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
4625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4629 result
= (PyObject
*)wxRect_Get(arg1
);
4631 wxPyEndAllowThreads(__tstate
);
4632 if (PyErr_Occurred()) SWIG_fail
;
4641 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
4643 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4644 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
4646 return Py_BuildValue((char *)"");
4648 static PyObject
*_wrap_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4649 PyObject
*resultobj
;
4650 wxRect
*arg1
= (wxRect
*) 0 ;
4651 wxRect
*arg2
= (wxRect
*) 0 ;
4653 PyObject
* obj0
= 0 ;
4654 PyObject
* obj1
= 0 ;
4656 (char *) "r1",(char *) "r2", NULL
4659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4662 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
4663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4666 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
4668 wxPyEndAllowThreads(__tstate
);
4669 if (PyErr_Occurred()) SWIG_fail
;
4678 static PyObject
*_wrap_new_Point2D(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4679 PyObject
*resultobj
;
4680 double arg1
= (double) 0.0 ;
4681 double arg2
= (double) 0.0 ;
4683 PyObject
* obj0
= 0 ;
4684 PyObject
* obj1
= 0 ;
4686 (char *) "x",(char *) "y", NULL
4689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
4691 arg1
= (double) SWIG_AsDouble(obj0
);
4692 if (PyErr_Occurred()) SWIG_fail
;
4695 arg2
= (double) SWIG_AsDouble(obj1
);
4696 if (PyErr_Occurred()) SWIG_fail
;
4699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4700 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
4702 wxPyEndAllowThreads(__tstate
);
4703 if (PyErr_Occurred()) SWIG_fail
;
4705 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4712 static PyObject
*_wrap_new_Point2DCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4713 PyObject
*resultobj
;
4714 wxPoint2D
*arg1
= 0 ;
4717 PyObject
* obj0
= 0 ;
4722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
4725 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
4728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4729 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
4731 wxPyEndAllowThreads(__tstate
);
4732 if (PyErr_Occurred()) SWIG_fail
;
4734 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4741 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4742 PyObject
*resultobj
;
4746 PyObject
* obj0
= 0 ;
4751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
4754 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4758 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
4760 wxPyEndAllowThreads(__tstate
);
4761 if (PyErr_Occurred()) SWIG_fail
;
4763 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4770 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4771 PyObject
*resultobj
;
4772 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4773 int *arg2
= (int *) 0 ;
4774 int *arg3
= (int *) 0 ;
4777 PyObject
* obj0
= 0 ;
4779 (char *) "self", NULL
4784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
4785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4789 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
4791 wxPyEndAllowThreads(__tstate
);
4792 if (PyErr_Occurred()) SWIG_fail
;
4794 Py_INCREF(Py_None
); resultobj
= Py_None
;
4796 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4797 resultobj
= t_output_helper(resultobj
,o
);
4800 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4801 resultobj
= t_output_helper(resultobj
,o
);
4809 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4810 PyObject
*resultobj
;
4811 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4812 int *arg2
= (int *) 0 ;
4813 int *arg3
= (int *) 0 ;
4816 PyObject
* obj0
= 0 ;
4818 (char *) "self", NULL
4823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
4824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4828 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
4830 wxPyEndAllowThreads(__tstate
);
4831 if (PyErr_Occurred()) SWIG_fail
;
4833 Py_INCREF(Py_None
); resultobj
= Py_None
;
4835 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4836 resultobj
= t_output_helper(resultobj
,o
);
4839 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4840 resultobj
= t_output_helper(resultobj
,o
);
4848 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4849 PyObject
*resultobj
;
4850 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4852 PyObject
* obj0
= 0 ;
4854 (char *) "self", NULL
4857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
4858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4862 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
4864 wxPyEndAllowThreads(__tstate
);
4865 if (PyErr_Occurred()) SWIG_fail
;
4867 resultobj
= SWIG_FromDouble((double)result
);
4874 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*self
, 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_GetVectorAngle",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
)->GetVectorAngle();
4890 wxPyEndAllowThreads(__tstate
);
4891 if (PyErr_Occurred()) SWIG_fail
;
4893 resultobj
= SWIG_FromDouble((double)result
);
4900 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4901 PyObject
*resultobj
;
4902 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4904 PyObject
* obj0
= 0 ;
4905 PyObject
* obj1
= 0 ;
4907 (char *) "self",(char *) "length", NULL
4910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
4911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4913 arg2
= (double) SWIG_AsDouble(obj1
);
4914 if (PyErr_Occurred()) SWIG_fail
;
4916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4917 (arg1
)->SetVectorLength(arg2
);
4919 wxPyEndAllowThreads(__tstate
);
4920 if (PyErr_Occurred()) SWIG_fail
;
4922 Py_INCREF(Py_None
); resultobj
= Py_None
;
4929 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4930 PyObject
*resultobj
;
4931 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4933 PyObject
* obj0
= 0 ;
4934 PyObject
* obj1
= 0 ;
4936 (char *) "self",(char *) "degrees", NULL
4939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
4940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4942 arg2
= (double) SWIG_AsDouble(obj1
);
4943 if (PyErr_Occurred()) SWIG_fail
;
4945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4946 (arg1
)->SetVectorAngle(arg2
);
4948 wxPyEndAllowThreads(__tstate
);
4949 if (PyErr_Occurred()) SWIG_fail
;
4951 Py_INCREF(Py_None
); resultobj
= Py_None
;
4958 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4959 PyObject
*resultobj
;
4960 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4961 wxPoint2D
*arg2
= 0 ;
4964 PyObject
* obj0
= 0 ;
4965 PyObject
* obj1
= 0 ;
4967 (char *) "self",(char *) "pt", NULL
4970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
4971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4975 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4979 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
4981 wxPyEndAllowThreads(__tstate
);
4982 if (PyErr_Occurred()) SWIG_fail
;
4984 resultobj
= SWIG_FromDouble((double)result
);
4991 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4992 PyObject
*resultobj
;
4993 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4994 wxPoint2D
*arg2
= 0 ;
4997 PyObject
* obj0
= 0 ;
4998 PyObject
* obj1
= 0 ;
5000 (char *) "self",(char *) "pt", NULL
5003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5008 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5012 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5014 wxPyEndAllowThreads(__tstate
);
5015 if (PyErr_Occurred()) SWIG_fail
;
5017 resultobj
= SWIG_FromDouble((double)result
);
5024 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5025 PyObject
*resultobj
;
5026 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5027 wxPoint2D
*arg2
= 0 ;
5030 PyObject
* obj0
= 0 ;
5031 PyObject
* obj1
= 0 ;
5033 (char *) "self",(char *) "vec", NULL
5036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5041 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5045 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5047 wxPyEndAllowThreads(__tstate
);
5048 if (PyErr_Occurred()) SWIG_fail
;
5050 resultobj
= SWIG_FromDouble((double)result
);
5057 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5058 PyObject
*resultobj
;
5059 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5060 wxPoint2D
*arg2
= 0 ;
5063 PyObject
* obj0
= 0 ;
5064 PyObject
* obj1
= 0 ;
5066 (char *) "self",(char *) "vec", NULL
5069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5074 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5078 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5080 wxPyEndAllowThreads(__tstate
);
5081 if (PyErr_Occurred()) SWIG_fail
;
5083 resultobj
= SWIG_FromDouble((double)result
);
5090 static PyObject
*_wrap_Point2D___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5091 PyObject
*resultobj
;
5092 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5094 PyObject
* obj0
= 0 ;
5096 (char *) "self", NULL
5099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5104 result
= (arg1
)->operator -();
5106 wxPyEndAllowThreads(__tstate
);
5107 if (PyErr_Occurred()) SWIG_fail
;
5110 wxPoint2D
* resultptr
;
5111 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5112 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5120 static PyObject
*_wrap_Point2D___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5121 PyObject
*resultobj
;
5122 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5123 wxPoint2D
*arg2
= 0 ;
5126 PyObject
* obj0
= 0 ;
5127 PyObject
* obj1
= 0 ;
5129 (char *) "self",(char *) "pt", NULL
5132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5137 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5142 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5143 result
= (wxPoint2D
*) &_result_ref
;
5146 wxPyEndAllowThreads(__tstate
);
5147 if (PyErr_Occurred()) SWIG_fail
;
5149 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5156 static PyObject
*_wrap_Point2D___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5157 PyObject
*resultobj
;
5158 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5159 wxPoint2D
*arg2
= 0 ;
5162 PyObject
* obj0
= 0 ;
5163 PyObject
* obj1
= 0 ;
5165 (char *) "self",(char *) "pt", NULL
5168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5173 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5178 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5179 result
= (wxPoint2D
*) &_result_ref
;
5182 wxPyEndAllowThreads(__tstate
);
5183 if (PyErr_Occurred()) SWIG_fail
;
5185 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5192 static PyObject
*_wrap_Point2D___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5193 PyObject
*resultobj
;
5194 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5195 wxPoint2D
*arg2
= 0 ;
5198 PyObject
* obj0
= 0 ;
5199 PyObject
* obj1
= 0 ;
5201 (char *) "self",(char *) "pt", NULL
5204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5209 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5214 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5215 result
= (wxPoint2D
*) &_result_ref
;
5218 wxPyEndAllowThreads(__tstate
);
5219 if (PyErr_Occurred()) SWIG_fail
;
5221 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5228 static PyObject
*_wrap_Point2D___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5229 PyObject
*resultobj
;
5230 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5231 wxPoint2D
*arg2
= 0 ;
5234 PyObject
* obj0
= 0 ;
5235 PyObject
* obj1
= 0 ;
5237 (char *) "self",(char *) "pt", NULL
5240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5245 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5250 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5251 result
= (wxPoint2D
*) &_result_ref
;
5254 wxPyEndAllowThreads(__tstate
);
5255 if (PyErr_Occurred()) SWIG_fail
;
5257 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5264 static PyObject
*_wrap_Point2D___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5265 PyObject
*resultobj
;
5266 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5267 wxPoint2D
*arg2
= 0 ;
5270 PyObject
* obj0
= 0 ;
5271 PyObject
* obj1
= 0 ;
5273 (char *) "self",(char *) "pt", NULL
5276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5281 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5285 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5287 wxPyEndAllowThreads(__tstate
);
5288 if (PyErr_Occurred()) SWIG_fail
;
5290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5297 static PyObject
*_wrap_Point2D___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5298 PyObject
*resultobj
;
5299 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5300 wxPoint2D
*arg2
= 0 ;
5303 PyObject
* obj0
= 0 ;
5304 PyObject
* obj1
= 0 ;
5306 (char *) "self",(char *) "pt", NULL
5309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5314 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5318 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5320 wxPyEndAllowThreads(__tstate
);
5321 if (PyErr_Occurred()) SWIG_fail
;
5323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5330 static PyObject
*_wrap_Point2D_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5331 PyObject
*resultobj
;
5332 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5334 PyObject
* obj0
= 0 ;
5335 PyObject
* obj1
= 0 ;
5337 (char *) "self",(char *) "m_x", NULL
5340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5343 arg2
= (double) SWIG_AsDouble(obj1
);
5344 if (PyErr_Occurred()) SWIG_fail
;
5345 if (arg1
) (arg1
)->m_x
= arg2
;
5347 Py_INCREF(Py_None
); resultobj
= Py_None
;
5354 static PyObject
*_wrap_Point2D_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5355 PyObject
*resultobj
;
5356 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5358 PyObject
* obj0
= 0 ;
5360 (char *) "self", NULL
5363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5366 result
= (double) ((arg1
)->m_x
);
5368 resultobj
= SWIG_FromDouble((double)result
);
5375 static PyObject
*_wrap_Point2D_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5376 PyObject
*resultobj
;
5377 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5379 PyObject
* obj0
= 0 ;
5380 PyObject
* obj1
= 0 ;
5382 (char *) "self",(char *) "m_y", NULL
5385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5388 arg2
= (double) SWIG_AsDouble(obj1
);
5389 if (PyErr_Occurred()) SWIG_fail
;
5390 if (arg1
) (arg1
)->m_y
= arg2
;
5392 Py_INCREF(Py_None
); resultobj
= Py_None
;
5399 static PyObject
*_wrap_Point2D_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5400 PyObject
*resultobj
;
5401 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5403 PyObject
* obj0
= 0 ;
5405 (char *) "self", NULL
5408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5411 result
= (double) ((arg1
)->m_y
);
5413 resultobj
= SWIG_FromDouble((double)result
);
5420 static PyObject
*_wrap_Point2D_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5421 PyObject
*resultobj
;
5422 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5423 double arg2
= (double) 0 ;
5424 double arg3
= (double) 0 ;
5425 PyObject
* obj0
= 0 ;
5426 PyObject
* obj1
= 0 ;
5427 PyObject
* obj2
= 0 ;
5429 (char *) "self",(char *) "x",(char *) "y", NULL
5432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5436 arg2
= (double) SWIG_AsDouble(obj1
);
5437 if (PyErr_Occurred()) SWIG_fail
;
5440 arg3
= (double) SWIG_AsDouble(obj2
);
5441 if (PyErr_Occurred()) SWIG_fail
;
5444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5445 wxPoint2D_Set(arg1
,arg2
,arg3
);
5447 wxPyEndAllowThreads(__tstate
);
5448 if (PyErr_Occurred()) SWIG_fail
;
5450 Py_INCREF(Py_None
); resultobj
= Py_None
;
5457 static PyObject
*_wrap_Point2D_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5458 PyObject
*resultobj
;
5459 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5461 PyObject
* obj0
= 0 ;
5463 (char *) "self", NULL
5466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5471 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5473 wxPyEndAllowThreads(__tstate
);
5474 if (PyErr_Occurred()) SWIG_fail
;
5483 static PyObject
* Point2D_swigregister(PyObject
*self
, PyObject
*args
) {
5485 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5486 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5488 return Py_BuildValue((char *)"");
5490 static int _wrap_DefaultPosition_set(PyObject
*_val
) {
5491 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5496 static PyObject
*_wrap_DefaultPosition_get() {
5499 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
5504 static int _wrap_DefaultSize_set(PyObject
*_val
) {
5505 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5510 static PyObject
*_wrap_DefaultSize_get() {
5513 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
5518 static PyObject
*_wrap_new_InputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5519 PyObject
*resultobj
;
5520 PyObject
*arg1
= (PyObject
*) 0 ;
5521 wxPyInputStream
*result
;
5522 PyObject
* obj0
= 0 ;
5527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5531 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5533 wxPyEndAllowThreads(__tstate
);
5534 if (PyErr_Occurred()) SWIG_fail
;
5536 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
5543 static PyObject
*_wrap_InputStream_close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5544 PyObject
*resultobj
;
5545 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5546 PyObject
* obj0
= 0 ;
5548 (char *) "self", NULL
5551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
5552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5558 wxPyEndAllowThreads(__tstate
);
5559 if (PyErr_Occurred()) SWIG_fail
;
5561 Py_INCREF(Py_None
); resultobj
= Py_None
;
5568 static PyObject
*_wrap_InputStream_flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5569 PyObject
*resultobj
;
5570 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5571 PyObject
* obj0
= 0 ;
5573 (char *) "self", NULL
5576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
5577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5583 wxPyEndAllowThreads(__tstate
);
5584 if (PyErr_Occurred()) SWIG_fail
;
5586 Py_INCREF(Py_None
); resultobj
= Py_None
;
5593 static PyObject
*_wrap_InputStream_eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5594 PyObject
*resultobj
;
5595 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5597 PyObject
* obj0
= 0 ;
5599 (char *) "self", NULL
5602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
5603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5607 result
= (bool)(arg1
)->eof();
5609 wxPyEndAllowThreads(__tstate
);
5610 if (PyErr_Occurred()) SWIG_fail
;
5612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5619 static PyObject
*_wrap_InputStream_read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5620 PyObject
*resultobj
;
5621 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5622 int arg2
= (int) -1 ;
5624 PyObject
* obj0
= 0 ;
5625 PyObject
* obj1
= 0 ;
5627 (char *) "self",(char *) "size", NULL
5630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
5631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5634 arg2
= (int) SWIG_AsInt(obj1
);
5635 if (PyErr_Occurred()) SWIG_fail
;
5638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5639 result
= (PyObject
*)(arg1
)->read(arg2
);
5641 wxPyEndAllowThreads(__tstate
);
5642 if (PyErr_Occurred()) SWIG_fail
;
5651 static PyObject
*_wrap_InputStream_readline(PyObject
*self
, 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_readline",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
)->readline(arg2
);
5673 wxPyEndAllowThreads(__tstate
);
5674 if (PyErr_Occurred()) SWIG_fail
;
5683 static PyObject
*_wrap_InputStream_readlines(PyObject
*self
, 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 *) "sizehint", NULL
5694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",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
)->readlines(arg2
);
5705 wxPyEndAllowThreads(__tstate
);
5706 if (PyErr_Occurred()) SWIG_fail
;
5715 static PyObject
*_wrap_InputStream_seek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5716 PyObject
*resultobj
;
5717 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5719 int arg3
= (int) 0 ;
5720 PyObject
* obj0
= 0 ;
5721 PyObject
* obj1
= 0 ;
5722 PyObject
* obj2
= 0 ;
5724 (char *) "self",(char *) "offset",(char *) "whence", NULL
5727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5730 arg2
= (int) SWIG_AsInt(obj1
);
5731 if (PyErr_Occurred()) SWIG_fail
;
5733 arg3
= (int) SWIG_AsInt(obj2
);
5734 if (PyErr_Occurred()) SWIG_fail
;
5737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5738 (arg1
)->seek(arg2
,arg3
);
5740 wxPyEndAllowThreads(__tstate
);
5741 if (PyErr_Occurred()) SWIG_fail
;
5743 Py_INCREF(Py_None
); resultobj
= Py_None
;
5750 static PyObject
*_wrap_InputStream_tell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5751 PyObject
*resultobj
;
5752 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5754 PyObject
* obj0
= 0 ;
5756 (char *) "self", NULL
5759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
5760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5764 result
= (int)(arg1
)->tell();
5766 wxPyEndAllowThreads(__tstate
);
5767 if (PyErr_Occurred()) SWIG_fail
;
5769 resultobj
= SWIG_FromInt((int)result
);
5776 static PyObject
*_wrap_InputStream_Peek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5777 PyObject
*resultobj
;
5778 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5780 PyObject
* obj0
= 0 ;
5782 (char *) "self", NULL
5785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
5786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5790 result
= (char)(arg1
)->Peek();
5792 wxPyEndAllowThreads(__tstate
);
5793 if (PyErr_Occurred()) SWIG_fail
;
5795 resultobj
= SWIG_FromChar((char)result
);
5802 static PyObject
*_wrap_InputStream_GetC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5803 PyObject
*resultobj
;
5804 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5806 PyObject
* obj0
= 0 ;
5808 (char *) "self", NULL
5811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
5812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5816 result
= (char)(arg1
)->GetC();
5818 wxPyEndAllowThreads(__tstate
);
5819 if (PyErr_Occurred()) SWIG_fail
;
5821 resultobj
= SWIG_FromChar((char)result
);
5828 static PyObject
*_wrap_InputStream_LastRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5829 PyObject
*resultobj
;
5830 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5832 PyObject
* obj0
= 0 ;
5834 (char *) "self", NULL
5837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
5838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5842 result
= (size_t)(arg1
)->LastRead();
5844 wxPyEndAllowThreads(__tstate
);
5845 if (PyErr_Occurred()) SWIG_fail
;
5847 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
5854 static PyObject
*_wrap_InputStream_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5855 PyObject
*resultobj
;
5856 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5858 PyObject
* obj0
= 0 ;
5860 (char *) "self", NULL
5863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
5864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5868 result
= (bool)(arg1
)->CanRead();
5870 wxPyEndAllowThreads(__tstate
);
5871 if (PyErr_Occurred()) SWIG_fail
;
5873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5880 static PyObject
*_wrap_InputStream_Eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5881 PyObject
*resultobj
;
5882 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5884 PyObject
* obj0
= 0 ;
5886 (char *) "self", NULL
5889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
5890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5894 result
= (bool)(arg1
)->Eof();
5896 wxPyEndAllowThreads(__tstate
);
5897 if (PyErr_Occurred()) SWIG_fail
;
5899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5906 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5907 PyObject
*resultobj
;
5908 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5911 PyObject
* obj0
= 0 ;
5912 PyObject
* obj1
= 0 ;
5914 (char *) "self",(char *) "c", NULL
5917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
5918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5920 arg2
= (char) SWIG_AsChar(obj1
);
5921 if (PyErr_Occurred()) SWIG_fail
;
5923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5924 result
= (bool)(arg1
)->Ungetch(arg2
);
5926 wxPyEndAllowThreads(__tstate
);
5927 if (PyErr_Occurred()) SWIG_fail
;
5929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5936 static PyObject
*_wrap_InputStream_SeekI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5937 PyObject
*resultobj
;
5938 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5940 int arg3
= (int) wxFromStart
;
5942 PyObject
* obj0
= 0 ;
5943 PyObject
* obj1
= 0 ;
5944 PyObject
* obj2
= 0 ;
5946 (char *) "self",(char *) "pos",(char *) "mode", NULL
5949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5952 arg2
= (long) SWIG_AsLong(obj1
);
5953 if (PyErr_Occurred()) SWIG_fail
;
5955 arg3
= (wxSeekMode
) SWIG_AsInt(obj2
);
5956 if (PyErr_Occurred()) SWIG_fail
;
5959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5960 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
5962 wxPyEndAllowThreads(__tstate
);
5963 if (PyErr_Occurred()) SWIG_fail
;
5965 resultobj
= SWIG_FromLong((long)result
);
5972 static PyObject
*_wrap_InputStream_TellI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5973 PyObject
*resultobj
;
5974 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5976 PyObject
* obj0
= 0 ;
5978 (char *) "self", NULL
5981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
5982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5986 result
= (long)(arg1
)->TellI();
5988 wxPyEndAllowThreads(__tstate
);
5989 if (PyErr_Occurred()) SWIG_fail
;
5991 resultobj
= SWIG_FromLong((long)result
);
5998 static PyObject
* InputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6000 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6001 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6003 return Py_BuildValue((char *)"");
6005 static PyObject
*_wrap_OutputStream_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6006 PyObject
*resultobj
;
6007 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6008 PyObject
*arg2
= (PyObject
*) 0 ;
6009 PyObject
* obj0
= 0 ;
6010 PyObject
* obj1
= 0 ;
6012 (char *) "self",(char *) "obj", NULL
6015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6021 wxOutputStream_write(arg1
,arg2
);
6023 wxPyEndAllowThreads(__tstate
);
6024 if (PyErr_Occurred()) SWIG_fail
;
6026 Py_INCREF(Py_None
); resultobj
= Py_None
;
6033 static PyObject
* OutputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6035 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6036 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6038 return Py_BuildValue((char *)"");
6040 static PyObject
*_wrap_new_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6041 PyObject
*resultobj
;
6042 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6043 wxString
*arg2
= 0 ;
6044 wxString
*arg3
= 0 ;
6045 wxString
*arg4
= 0 ;
6048 wxPyInputStream
*temp1
;
6050 bool temp2
= False
;
6051 bool temp3
= False
;
6052 bool temp4
= False
;
6054 PyObject
* obj0
= 0 ;
6055 PyObject
* obj1
= 0 ;
6056 PyObject
* obj2
= 0 ;
6057 PyObject
* obj3
= 0 ;
6058 PyObject
* obj4
= 0 ;
6060 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6065 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6066 arg1
= temp1
->m_wxis
;
6069 PyErr_Clear(); // clear the failure of the wxPyConvert above
6070 arg1
= wxPyCBInputStream_create(obj0
, False
);
6072 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6079 arg2
= wxString_in_helper(obj1
);
6080 if (arg2
== NULL
) SWIG_fail
;
6084 arg3
= wxString_in_helper(obj2
);
6085 if (arg3
== NULL
) SWIG_fail
;
6089 arg4
= wxString_in_helper(obj3
);
6090 if (arg4
== NULL
) SWIG_fail
;
6093 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6094 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6098 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6100 wxPyEndAllowThreads(__tstate
);
6101 if (PyErr_Occurred()) SWIG_fail
;
6104 resultobj
= wxPyMake_wxObject(result
);
6144 static PyObject
*_wrap_delete_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6145 PyObject
*resultobj
;
6146 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6147 PyObject
* obj0
= 0 ;
6149 (char *) "self", NULL
6152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6159 wxPyEndAllowThreads(__tstate
);
6160 if (PyErr_Occurred()) SWIG_fail
;
6162 Py_INCREF(Py_None
); resultobj
= Py_None
;
6169 static PyObject
*_wrap_FSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6170 PyObject
*resultobj
;
6171 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6172 wxInputStream
*result
;
6173 PyObject
* obj0
= 0 ;
6175 (char *) "self", NULL
6178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6183 result
= (wxInputStream
*)(arg1
)->GetStream();
6185 wxPyEndAllowThreads(__tstate
);
6186 if (PyErr_Occurred()) SWIG_fail
;
6189 wxPyInputStream
* _ptr
= NULL
;
6192 _ptr
= new wxPyInputStream(result
);
6194 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
6202 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6203 PyObject
*resultobj
;
6204 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6206 PyObject
* obj0
= 0 ;
6208 (char *) "self", NULL
6211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6217 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6218 result
= (wxString
*) &_result_ref
;
6221 wxPyEndAllowThreads(__tstate
);
6222 if (PyErr_Occurred()) SWIG_fail
;
6226 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6228 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6237 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6238 PyObject
*resultobj
;
6239 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6241 PyObject
* obj0
= 0 ;
6243 (char *) "self", NULL
6246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6252 wxString
const &_result_ref
= (arg1
)->GetLocation();
6253 result
= (wxString
*) &_result_ref
;
6256 wxPyEndAllowThreads(__tstate
);
6257 if (PyErr_Occurred()) SWIG_fail
;
6261 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6263 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6272 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6273 PyObject
*resultobj
;
6274 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6276 PyObject
* obj0
= 0 ;
6278 (char *) "self", NULL
6281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6287 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6288 result
= (wxString
*) &_result_ref
;
6291 wxPyEndAllowThreads(__tstate
);
6292 if (PyErr_Occurred()) SWIG_fail
;
6296 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6298 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6307 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6308 PyObject
*resultobj
;
6309 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6311 PyObject
* obj0
= 0 ;
6313 (char *) "self", NULL
6316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6321 result
= (arg1
)->GetModificationTime();
6323 wxPyEndAllowThreads(__tstate
);
6324 if (PyErr_Occurred()) SWIG_fail
;
6327 wxDateTime
* resultptr
;
6328 resultptr
= new wxDateTime((wxDateTime
&) result
);
6329 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6337 static PyObject
* FSFile_swigregister(PyObject
*self
, PyObject
*args
) {
6339 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6340 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6342 return Py_BuildValue((char *)"");
6344 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6346 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6347 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6349 return Py_BuildValue((char *)"");
6351 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6352 PyObject
*resultobj
;
6353 wxPyFileSystemHandler
*result
;
6358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6361 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6363 wxPyEndAllowThreads(__tstate
);
6364 if (PyErr_Occurred()) SWIG_fail
;
6366 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6373 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6374 PyObject
*resultobj
;
6375 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6376 PyObject
*arg2
= (PyObject
*) 0 ;
6377 PyObject
*arg3
= (PyObject
*) 0 ;
6378 PyObject
* obj0
= 0 ;
6379 PyObject
* obj1
= 0 ;
6380 PyObject
* obj2
= 0 ;
6382 (char *) "self",(char *) "self",(char *) "_class", NULL
6385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6392 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6394 wxPyEndAllowThreads(__tstate
);
6395 if (PyErr_Occurred()) SWIG_fail
;
6397 Py_INCREF(Py_None
); resultobj
= Py_None
;
6404 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6405 PyObject
*resultobj
;
6406 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6407 wxString
*arg2
= 0 ;
6409 bool temp2
= False
;
6410 PyObject
* obj0
= 0 ;
6411 PyObject
* obj1
= 0 ;
6413 (char *) "self",(char *) "location", NULL
6416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6420 arg2
= wxString_in_helper(obj1
);
6421 if (arg2
== NULL
) SWIG_fail
;
6425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6426 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6428 wxPyEndAllowThreads(__tstate
);
6429 if (PyErr_Occurred()) SWIG_fail
;
6431 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6446 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6447 PyObject
*resultobj
;
6448 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6449 wxFileSystem
*arg2
= 0 ;
6450 wxString
*arg3
= 0 ;
6452 bool temp3
= False
;
6453 PyObject
* obj0
= 0 ;
6454 PyObject
* obj1
= 0 ;
6455 PyObject
* obj2
= 0 ;
6457 (char *) "self",(char *) "fs",(char *) "location", NULL
6460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6463 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
6464 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6467 PyErr_SetString(PyExc_TypeError
,"null reference");
6471 arg3
= wxString_in_helper(obj2
);
6472 if (arg3
== NULL
) SWIG_fail
;
6476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6477 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6479 wxPyEndAllowThreads(__tstate
);
6480 if (PyErr_Occurred()) SWIG_fail
;
6483 resultobj
= wxPyMake_wxObject(result
);
6499 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6500 PyObject
*resultobj
;
6501 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6502 wxString
*arg2
= 0 ;
6503 int arg3
= (int) 0 ;
6505 bool temp2
= False
;
6506 PyObject
* obj0
= 0 ;
6507 PyObject
* obj1
= 0 ;
6508 PyObject
* obj2
= 0 ;
6510 (char *) "self",(char *) "spec",(char *) "flags", NULL
6513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6517 arg2
= wxString_in_helper(obj1
);
6518 if (arg2
== NULL
) SWIG_fail
;
6522 arg3
= (int) SWIG_AsInt(obj2
);
6523 if (PyErr_Occurred()) SWIG_fail
;
6526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6527 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6529 wxPyEndAllowThreads(__tstate
);
6530 if (PyErr_Occurred()) SWIG_fail
;
6534 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6536 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6553 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6554 PyObject
*resultobj
;
6555 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6557 PyObject
* obj0
= 0 ;
6559 (char *) "self", NULL
6562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6567 result
= (arg1
)->FindNext();
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());
6585 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6586 PyObject
*resultobj
;
6587 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6588 wxString
*arg2
= 0 ;
6590 bool temp2
= False
;
6591 PyObject
* obj0
= 0 ;
6592 PyObject
* obj1
= 0 ;
6594 (char *) "self",(char *) "location", NULL
6597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
6598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6601 arg2
= wxString_in_helper(obj1
);
6602 if (arg2
== NULL
) SWIG_fail
;
6606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6607 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
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());
6633 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6634 PyObject
*resultobj
;
6635 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6636 wxString
*arg2
= 0 ;
6638 bool temp2
= False
;
6639 PyObject
* obj0
= 0 ;
6640 PyObject
* obj1
= 0 ;
6642 (char *) "self",(char *) "location", NULL
6645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6649 arg2
= wxString_in_helper(obj1
);
6650 if (arg2
== NULL
) SWIG_fail
;
6654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6655 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
6657 wxPyEndAllowThreads(__tstate
);
6658 if (PyErr_Occurred()) SWIG_fail
;
6662 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6664 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6681 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6682 PyObject
*resultobj
;
6683 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6684 wxString
*arg2
= 0 ;
6686 bool temp2
= False
;
6687 PyObject
* obj0
= 0 ;
6688 PyObject
* obj1
= 0 ;
6690 (char *) "self",(char *) "location", NULL
6693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
6694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6697 arg2
= wxString_in_helper(obj1
);
6698 if (arg2
== NULL
) SWIG_fail
;
6702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6703 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
6705 wxPyEndAllowThreads(__tstate
);
6706 if (PyErr_Occurred()) SWIG_fail
;
6710 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6712 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6729 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6730 PyObject
*resultobj
;
6731 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6732 wxString
*arg2
= 0 ;
6734 bool temp2
= False
;
6735 PyObject
* obj0
= 0 ;
6736 PyObject
* obj1
= 0 ;
6738 (char *) "self",(char *) "location", NULL
6741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6745 arg2
= wxString_in_helper(obj1
);
6746 if (arg2
== NULL
) SWIG_fail
;
6750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6751 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
6753 wxPyEndAllowThreads(__tstate
);
6754 if (PyErr_Occurred()) SWIG_fail
;
6758 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6760 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6777 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6778 PyObject
*resultobj
;
6779 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6780 wxString
*arg2
= 0 ;
6782 bool temp2
= False
;
6783 PyObject
* obj0
= 0 ;
6784 PyObject
* obj1
= 0 ;
6786 (char *) "self",(char *) "location", NULL
6789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
6790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6793 arg2
= wxString_in_helper(obj1
);
6794 if (arg2
== NULL
) SWIG_fail
;
6798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6799 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
6801 wxPyEndAllowThreads(__tstate
);
6802 if (PyErr_Occurred()) SWIG_fail
;
6806 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6808 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6825 static PyObject
* FileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6827 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6828 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
6830 return Py_BuildValue((char *)"");
6832 static PyObject
*_wrap_new_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6833 PyObject
*resultobj
;
6834 wxFileSystem
*result
;
6839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
6841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6842 result
= (wxFileSystem
*)new wxFileSystem();
6844 wxPyEndAllowThreads(__tstate
);
6845 if (PyErr_Occurred()) SWIG_fail
;
6848 resultobj
= wxPyMake_wxObject(result
);
6856 static PyObject
*_wrap_delete_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6857 PyObject
*resultobj
;
6858 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6859 PyObject
* obj0
= 0 ;
6861 (char *) "self", NULL
6864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
6865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
6866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6871 wxPyEndAllowThreads(__tstate
);
6872 if (PyErr_Occurred()) SWIG_fail
;
6874 Py_INCREF(Py_None
); resultobj
= Py_None
;
6881 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6882 PyObject
*resultobj
;
6883 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6884 wxString
*arg2
= 0 ;
6885 bool arg3
= (bool) False
;
6886 bool temp2
= False
;
6887 PyObject
* obj0
= 0 ;
6888 PyObject
* obj1
= 0 ;
6889 PyObject
* obj2
= 0 ;
6891 (char *) "self",(char *) "location",(char *) "is_dir", NULL
6894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
6896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6898 arg2
= wxString_in_helper(obj1
);
6899 if (arg2
== NULL
) SWIG_fail
;
6903 arg3
= (bool) SWIG_AsBool(obj2
);
6904 if (PyErr_Occurred()) SWIG_fail
;
6907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6908 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
6910 wxPyEndAllowThreads(__tstate
);
6911 if (PyErr_Occurred()) SWIG_fail
;
6913 Py_INCREF(Py_None
); resultobj
= Py_None
;
6928 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6929 PyObject
*resultobj
;
6930 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6932 PyObject
* obj0
= 0 ;
6934 (char *) "self", NULL
6937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
6938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
6939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6942 result
= (arg1
)->GetPath();
6944 wxPyEndAllowThreads(__tstate
);
6945 if (PyErr_Occurred()) SWIG_fail
;
6949 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6951 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6960 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6961 PyObject
*resultobj
;
6962 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6963 wxString
*arg2
= 0 ;
6965 bool temp2
= False
;
6966 PyObject
* obj0
= 0 ;
6967 PyObject
* obj1
= 0 ;
6969 (char *) "self",(char *) "location", NULL
6972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
6974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6976 arg2
= wxString_in_helper(obj1
);
6977 if (arg2
== NULL
) SWIG_fail
;
6981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6982 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
6984 wxPyEndAllowThreads(__tstate
);
6985 if (PyErr_Occurred()) SWIG_fail
;
6988 resultobj
= wxPyMake_wxObject(result
);
7004 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7005 PyObject
*resultobj
;
7006 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7007 wxString
*arg2
= 0 ;
7008 int arg3
= (int) 0 ;
7010 bool temp2
= False
;
7011 PyObject
* obj0
= 0 ;
7012 PyObject
* obj1
= 0 ;
7013 PyObject
* obj2
= 0 ;
7015 (char *) "self",(char *) "spec",(char *) "flags", NULL
7018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7022 arg2
= wxString_in_helper(obj1
);
7023 if (arg2
== NULL
) SWIG_fail
;
7027 arg3
= (int) SWIG_AsInt(obj2
);
7028 if (PyErr_Occurred()) SWIG_fail
;
7031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7032 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7034 wxPyEndAllowThreads(__tstate
);
7035 if (PyErr_Occurred()) SWIG_fail
;
7039 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7041 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7058 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7059 PyObject
*resultobj
;
7060 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7062 PyObject
* obj0
= 0 ;
7064 (char *) "self", NULL
7067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7072 result
= (arg1
)->FindNext();
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());
7090 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7091 PyObject
*resultobj
;
7092 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7093 PyObject
* obj0
= 0 ;
7095 (char *) "handler", NULL
7098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7103 wxFileSystem::AddHandler(arg1
);
7105 wxPyEndAllowThreads(__tstate
);
7106 if (PyErr_Occurred()) SWIG_fail
;
7108 Py_INCREF(Py_None
); resultobj
= Py_None
;
7115 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7116 PyObject
*resultobj
;
7121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7124 wxFileSystem::CleanUpHandlers();
7126 wxPyEndAllowThreads(__tstate
);
7127 if (PyErr_Occurred()) SWIG_fail
;
7129 Py_INCREF(Py_None
); resultobj
= Py_None
;
7136 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7137 PyObject
*resultobj
;
7138 wxString
*arg1
= 0 ;
7140 bool temp1
= False
;
7141 PyObject
* obj0
= 0 ;
7143 (char *) "filename", NULL
7146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7148 arg1
= wxString_in_helper(obj0
);
7149 if (arg1
== NULL
) SWIG_fail
;
7153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7154 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7156 wxPyEndAllowThreads(__tstate
);
7157 if (PyErr_Occurred()) SWIG_fail
;
7161 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7163 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7180 static PyObject
* FileSystem_swigregister(PyObject
*self
, PyObject
*args
) {
7182 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7183 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7185 return Py_BuildValue((char *)"");
7187 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7188 PyObject
*resultobj
;
7189 wxString
*arg1
= 0 ;
7191 bool temp1
= False
;
7192 PyObject
* obj0
= 0 ;
7194 (char *) "url", NULL
7197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7199 arg1
= wxString_in_helper(obj0
);
7200 if (arg1
== NULL
) SWIG_fail
;
7204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7205 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
7207 wxPyEndAllowThreads(__tstate
);
7208 if (PyErr_Occurred()) SWIG_fail
;
7212 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7214 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7231 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7232 PyObject
*resultobj
;
7233 wxInternetFSHandler
*result
;
7238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7241 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7243 wxPyEndAllowThreads(__tstate
);
7244 if (PyErr_Occurred()) SWIG_fail
;
7246 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7253 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7254 PyObject
*resultobj
;
7255 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7256 wxString
*arg2
= 0 ;
7258 bool temp2
= False
;
7259 PyObject
* obj0
= 0 ;
7260 PyObject
* obj1
= 0 ;
7262 (char *) "self",(char *) "location", NULL
7265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7269 arg2
= wxString_in_helper(obj1
);
7270 if (arg2
== NULL
) SWIG_fail
;
7274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7275 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7277 wxPyEndAllowThreads(__tstate
);
7278 if (PyErr_Occurred()) SWIG_fail
;
7280 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7295 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7296 PyObject
*resultobj
;
7297 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7298 wxFileSystem
*arg2
= 0 ;
7299 wxString
*arg3
= 0 ;
7301 bool temp3
= False
;
7302 PyObject
* obj0
= 0 ;
7303 PyObject
* obj1
= 0 ;
7304 PyObject
* obj2
= 0 ;
7306 (char *) "self",(char *) "fs",(char *) "location", NULL
7309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7312 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7313 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7316 PyErr_SetString(PyExc_TypeError
,"null reference");
7320 arg3
= wxString_in_helper(obj2
);
7321 if (arg3
== NULL
) SWIG_fail
;
7325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7326 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7328 wxPyEndAllowThreads(__tstate
);
7329 if (PyErr_Occurred()) SWIG_fail
;
7332 resultobj
= wxPyMake_wxObject(result
);
7348 static PyObject
* InternetFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7350 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7351 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7353 return Py_BuildValue((char *)"");
7355 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7356 PyObject
*resultobj
;
7357 wxZipFSHandler
*result
;
7362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7365 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7367 wxPyEndAllowThreads(__tstate
);
7368 if (PyErr_Occurred()) SWIG_fail
;
7370 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7377 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7378 PyObject
*resultobj
;
7379 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7380 wxString
*arg2
= 0 ;
7382 bool temp2
= False
;
7383 PyObject
* obj0
= 0 ;
7384 PyObject
* obj1
= 0 ;
7386 (char *) "self",(char *) "location", NULL
7389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7393 arg2
= wxString_in_helper(obj1
);
7394 if (arg2
== NULL
) SWIG_fail
;
7398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7399 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7401 wxPyEndAllowThreads(__tstate
);
7402 if (PyErr_Occurred()) SWIG_fail
;
7404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7419 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7420 PyObject
*resultobj
;
7421 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7422 wxFileSystem
*arg2
= 0 ;
7423 wxString
*arg3
= 0 ;
7425 bool temp3
= False
;
7426 PyObject
* obj0
= 0 ;
7427 PyObject
* obj1
= 0 ;
7428 PyObject
* obj2
= 0 ;
7430 (char *) "self",(char *) "fs",(char *) "location", NULL
7433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7436 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7437 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7440 PyErr_SetString(PyExc_TypeError
,"null reference");
7444 arg3
= wxString_in_helper(obj2
);
7445 if (arg3
== NULL
) SWIG_fail
;
7449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7450 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7452 wxPyEndAllowThreads(__tstate
);
7453 if (PyErr_Occurred()) SWIG_fail
;
7456 resultobj
= wxPyMake_wxObject(result
);
7472 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7473 PyObject
*resultobj
;
7474 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7475 wxString
*arg2
= 0 ;
7476 int arg3
= (int) 0 ;
7478 bool temp2
= False
;
7479 PyObject
* obj0
= 0 ;
7480 PyObject
* obj1
= 0 ;
7481 PyObject
* obj2
= 0 ;
7483 (char *) "self",(char *) "spec",(char *) "flags", NULL
7486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7490 arg2
= wxString_in_helper(obj1
);
7491 if (arg2
== NULL
) SWIG_fail
;
7495 arg3
= (int) SWIG_AsInt(obj2
);
7496 if (PyErr_Occurred()) SWIG_fail
;
7499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7500 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7502 wxPyEndAllowThreads(__tstate
);
7503 if (PyErr_Occurred()) SWIG_fail
;
7507 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7509 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7526 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7527 PyObject
*resultobj
;
7528 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7530 PyObject
* obj0
= 0 ;
7532 (char *) "self", NULL
7535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7540 result
= (arg1
)->FindNext();
7542 wxPyEndAllowThreads(__tstate
);
7543 if (PyErr_Occurred()) SWIG_fail
;
7547 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7549 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7558 static PyObject
* ZipFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7560 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7561 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
7563 return Py_BuildValue((char *)"");
7565 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7566 PyObject
*resultobj
;
7567 wxString
*arg1
= 0 ;
7570 bool temp1
= False
;
7571 PyObject
* obj0
= 0 ;
7572 PyObject
* obj1
= 0 ;
7573 PyObject
* obj2
= 0 ;
7575 (char *) "filename",(char *) "image",(char *) "type", NULL
7578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7580 arg1
= wxString_in_helper(obj0
);
7581 if (arg1
== NULL
) SWIG_fail
;
7584 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
7585 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7588 PyErr_SetString(PyExc_TypeError
,"null reference");
7591 arg3
= (long) SWIG_AsLong(obj2
);
7592 if (PyErr_Occurred()) SWIG_fail
;
7594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7595 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
7597 wxPyEndAllowThreads(__tstate
);
7598 if (PyErr_Occurred()) SWIG_fail
;
7600 Py_INCREF(Py_None
); resultobj
= Py_None
;
7615 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7616 PyObject
*resultobj
;
7617 wxString
*arg1
= 0 ;
7618 wxBitmap
*arg2
= 0 ;
7620 bool temp1
= False
;
7621 PyObject
* obj0
= 0 ;
7622 PyObject
* obj1
= 0 ;
7623 PyObject
* obj2
= 0 ;
7625 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7630 arg1
= wxString_in_helper(obj0
);
7631 if (arg1
== NULL
) SWIG_fail
;
7634 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
7635 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7638 PyErr_SetString(PyExc_TypeError
,"null reference");
7641 arg3
= (long) SWIG_AsLong(obj2
);
7642 if (PyErr_Occurred()) SWIG_fail
;
7644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7645 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
7647 wxPyEndAllowThreads(__tstate
);
7648 if (PyErr_Occurred()) SWIG_fail
;
7650 Py_INCREF(Py_None
); resultobj
= Py_None
;
7665 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7666 PyObject
*resultobj
;
7667 wxString
*arg1
= 0 ;
7668 PyObject
*arg2
= (PyObject
*) 0 ;
7669 bool temp1
= False
;
7670 PyObject
* obj0
= 0 ;
7671 PyObject
* obj1
= 0 ;
7673 (char *) "filename",(char *) "data", NULL
7676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
7678 arg1
= wxString_in_helper(obj0
);
7679 if (arg1
== NULL
) SWIG_fail
;
7684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7685 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
7687 wxPyEndAllowThreads(__tstate
);
7688 if (PyErr_Occurred()) SWIG_fail
;
7690 Py_INCREF(Py_None
); resultobj
= Py_None
;
7705 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7706 PyObject
*resultobj
;
7707 wxMemoryFSHandler
*result
;
7712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
7714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7715 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
7717 wxPyEndAllowThreads(__tstate
);
7718 if (PyErr_Occurred()) SWIG_fail
;
7720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
7727 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7728 PyObject
*resultobj
;
7729 wxString
*arg1
= 0 ;
7730 bool temp1
= False
;
7731 PyObject
* obj0
= 0 ;
7733 (char *) "filename", NULL
7736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
7738 arg1
= wxString_in_helper(obj0
);
7739 if (arg1
== NULL
) SWIG_fail
;
7743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7744 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
7746 wxPyEndAllowThreads(__tstate
);
7747 if (PyErr_Occurred()) SWIG_fail
;
7749 Py_INCREF(Py_None
); resultobj
= Py_None
;
7764 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7765 PyObject
*resultobj
;
7766 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7767 wxString
*arg2
= 0 ;
7769 bool temp2
= False
;
7770 PyObject
* obj0
= 0 ;
7771 PyObject
* obj1
= 0 ;
7773 (char *) "self",(char *) "location", NULL
7776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7780 arg2
= wxString_in_helper(obj1
);
7781 if (arg2
== NULL
) SWIG_fail
;
7785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7786 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7788 wxPyEndAllowThreads(__tstate
);
7789 if (PyErr_Occurred()) SWIG_fail
;
7791 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7806 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7807 PyObject
*resultobj
;
7808 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7809 wxFileSystem
*arg2
= 0 ;
7810 wxString
*arg3
= 0 ;
7812 bool temp3
= False
;
7813 PyObject
* obj0
= 0 ;
7814 PyObject
* obj1
= 0 ;
7815 PyObject
* obj2
= 0 ;
7817 (char *) "self",(char *) "fs",(char *) "location", NULL
7820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7823 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7824 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7827 PyErr_SetString(PyExc_TypeError
,"null reference");
7831 arg3
= wxString_in_helper(obj2
);
7832 if (arg3
== NULL
) SWIG_fail
;
7836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7837 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7839 wxPyEndAllowThreads(__tstate
);
7840 if (PyErr_Occurred()) SWIG_fail
;
7843 resultobj
= wxPyMake_wxObject(result
);
7859 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7860 PyObject
*resultobj
;
7861 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7862 wxString
*arg2
= 0 ;
7863 int arg3
= (int) 0 ;
7865 bool temp2
= False
;
7866 PyObject
* obj0
= 0 ;
7867 PyObject
* obj1
= 0 ;
7868 PyObject
* obj2
= 0 ;
7870 (char *) "self",(char *) "spec",(char *) "flags", NULL
7873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7877 arg2
= wxString_in_helper(obj1
);
7878 if (arg2
== NULL
) SWIG_fail
;
7882 arg3
= (int) SWIG_AsInt(obj2
);
7883 if (PyErr_Occurred()) SWIG_fail
;
7886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7887 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7889 wxPyEndAllowThreads(__tstate
);
7890 if (PyErr_Occurred()) SWIG_fail
;
7894 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7896 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7913 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7914 PyObject
*resultobj
;
7915 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7917 PyObject
* obj0
= 0 ;
7919 (char *) "self", NULL
7922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7927 result
= (arg1
)->FindNext();
7929 wxPyEndAllowThreads(__tstate
);
7930 if (PyErr_Occurred()) SWIG_fail
;
7934 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7936 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7945 static PyObject
* MemoryFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7947 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7948 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
7950 return Py_BuildValue((char *)"");
7952 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7953 PyObject
*resultobj
;
7954 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7956 PyObject
* obj0
= 0 ;
7958 (char *) "self", NULL
7961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
7962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
7963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7966 result
= (arg1
)->GetName();
7968 wxPyEndAllowThreads(__tstate
);
7969 if (PyErr_Occurred()) SWIG_fail
;
7973 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7975 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7984 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7985 PyObject
*resultobj
;
7986 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7988 PyObject
* obj0
= 0 ;
7990 (char *) "self", NULL
7993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
7994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
7995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7998 result
= (arg1
)->GetExtension();
8000 wxPyEndAllowThreads(__tstate
);
8001 if (PyErr_Occurred()) SWIG_fail
;
8005 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8007 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8016 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8017 PyObject
*resultobj
;
8018 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8020 PyObject
* obj0
= 0 ;
8022 (char *) "self", NULL
8025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8030 result
= (long)(arg1
)->GetType();
8032 wxPyEndAllowThreads(__tstate
);
8033 if (PyErr_Occurred()) SWIG_fail
;
8035 resultobj
= SWIG_FromLong((long)result
);
8042 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8043 PyObject
*resultobj
;
8044 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8046 PyObject
* obj0
= 0 ;
8048 (char *) "self", NULL
8051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8056 result
= (arg1
)->GetMimeType();
8058 wxPyEndAllowThreads(__tstate
);
8059 if (PyErr_Occurred()) SWIG_fail
;
8063 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8065 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8074 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8075 PyObject
*resultobj
;
8076 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8077 wxString
*arg2
= 0 ;
8079 bool temp2
= False
;
8080 PyObject
* obj0
= 0 ;
8081 PyObject
* obj1
= 0 ;
8083 (char *) "self",(char *) "name", NULL
8086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8090 arg2
= wxString_in_helper(obj1
);
8091 if (arg2
== NULL
) SWIG_fail
;
8095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8096 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8098 wxPyEndAllowThreads(__tstate
);
8099 if (PyErr_Occurred()) SWIG_fail
;
8101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8116 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8117 PyObject
*resultobj
;
8118 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8119 wxString
*arg2
= 0 ;
8120 bool temp2
= False
;
8121 PyObject
* obj0
= 0 ;
8122 PyObject
* obj1
= 0 ;
8124 (char *) "self",(char *) "name", NULL
8127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8131 arg2
= wxString_in_helper(obj1
);
8132 if (arg2
== NULL
) SWIG_fail
;
8136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8137 (arg1
)->SetName((wxString
const &)*arg2
);
8139 wxPyEndAllowThreads(__tstate
);
8140 if (PyErr_Occurred()) SWIG_fail
;
8142 Py_INCREF(Py_None
); resultobj
= Py_None
;
8157 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8158 PyObject
*resultobj
;
8159 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8160 wxString
*arg2
= 0 ;
8161 bool temp2
= False
;
8162 PyObject
* obj0
= 0 ;
8163 PyObject
* obj1
= 0 ;
8165 (char *) "self",(char *) "extension", NULL
8168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8172 arg2
= wxString_in_helper(obj1
);
8173 if (arg2
== NULL
) SWIG_fail
;
8177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8178 (arg1
)->SetExtension((wxString
const &)*arg2
);
8180 wxPyEndAllowThreads(__tstate
);
8181 if (PyErr_Occurred()) SWIG_fail
;
8183 Py_INCREF(Py_None
); resultobj
= Py_None
;
8198 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8199 PyObject
*resultobj
;
8200 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8202 PyObject
* obj0
= 0 ;
8203 PyObject
* obj1
= 0 ;
8205 (char *) "self",(char *) "type", NULL
8208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8211 arg2
= (long) SWIG_AsLong(obj1
);
8212 if (PyErr_Occurred()) SWIG_fail
;
8214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8215 (arg1
)->SetType(arg2
);
8217 wxPyEndAllowThreads(__tstate
);
8218 if (PyErr_Occurred()) SWIG_fail
;
8220 Py_INCREF(Py_None
); resultobj
= Py_None
;
8227 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8228 PyObject
*resultobj
;
8229 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8230 wxString
*arg2
= 0 ;
8231 bool temp2
= False
;
8232 PyObject
* obj0
= 0 ;
8233 PyObject
* obj1
= 0 ;
8235 (char *) "self",(char *) "mimetype", NULL
8238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8242 arg2
= wxString_in_helper(obj1
);
8243 if (arg2
== NULL
) SWIG_fail
;
8247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8248 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8250 wxPyEndAllowThreads(__tstate
);
8251 if (PyErr_Occurred()) SWIG_fail
;
8253 Py_INCREF(Py_None
); resultobj
= Py_None
;
8268 static PyObject
* ImageHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8270 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8271 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8273 return Py_BuildValue((char *)"");
8275 static PyObject
*_wrap_new_ImageHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8276 PyObject
*resultobj
;
8277 wxImageHistogram
*result
;
8282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8285 result
= (wxImageHistogram
*)new wxImageHistogram();
8287 wxPyEndAllowThreads(__tstate
);
8288 if (PyErr_Occurred()) SWIG_fail
;
8290 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8297 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8298 PyObject
*resultobj
;
8299 unsigned char arg1
;
8300 unsigned char arg2
;
8301 unsigned char arg3
;
8302 unsigned long result
;
8303 PyObject
* obj0
= 0 ;
8304 PyObject
* obj1
= 0 ;
8305 PyObject
* obj2
= 0 ;
8307 (char *) "r",(char *) "g",(char *) "b", NULL
8310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8311 arg1
= (unsigned char) SWIG_AsUnsignedChar(obj0
);
8312 if (PyErr_Occurred()) SWIG_fail
;
8313 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8314 if (PyErr_Occurred()) SWIG_fail
;
8315 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8316 if (PyErr_Occurred()) SWIG_fail
;
8318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8319 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8321 wxPyEndAllowThreads(__tstate
);
8322 if (PyErr_Occurred()) SWIG_fail
;
8324 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8331 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8332 PyObject
*resultobj
;
8333 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8334 unsigned char *arg2
= (unsigned char *) 0 ;
8335 unsigned char *arg3
= (unsigned char *) 0 ;
8336 unsigned char *arg4
= (unsigned char *) 0 ;
8337 unsigned char arg5
= (unsigned char) 1 ;
8338 unsigned char arg6
= (unsigned char) 0 ;
8339 unsigned char arg7
= (unsigned char) 0 ;
8341 unsigned char temp2
;
8342 unsigned char temp3
;
8343 unsigned char temp4
;
8344 PyObject
* obj0
= 0 ;
8345 PyObject
* obj1
= 0 ;
8346 PyObject
* obj2
= 0 ;
8347 PyObject
* obj3
= 0 ;
8349 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8359 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8360 if (PyErr_Occurred()) SWIG_fail
;
8363 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8364 if (PyErr_Occurred()) SWIG_fail
;
8367 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
8368 if (PyErr_Occurred()) SWIG_fail
;
8371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8372 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8374 wxPyEndAllowThreads(__tstate
);
8375 if (PyErr_Occurred()) SWIG_fail
;
8377 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8379 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8380 resultobj
= t_output_helper(resultobj
,o
);
8383 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8384 resultobj
= t_output_helper(resultobj
,o
);
8387 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8388 resultobj
= t_output_helper(resultobj
,o
);
8396 static PyObject
* ImageHistogram_swigregister(PyObject
*self
, PyObject
*args
) {
8398 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8399 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8401 return Py_BuildValue((char *)"");
8403 static PyObject
*_wrap_new_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8404 PyObject
*resultobj
;
8405 wxString
*arg1
= 0 ;
8406 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8407 int arg3
= (int) -1 ;
8409 bool temp1
= False
;
8410 PyObject
* obj0
= 0 ;
8411 PyObject
* obj1
= 0 ;
8412 PyObject
* obj2
= 0 ;
8414 (char *) "name",(char *) "type",(char *) "index", NULL
8417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8419 arg1
= wxString_in_helper(obj0
);
8420 if (arg1
== NULL
) SWIG_fail
;
8424 arg2
= (long) SWIG_AsLong(obj1
);
8425 if (PyErr_Occurred()) SWIG_fail
;
8428 arg3
= (int) SWIG_AsInt(obj2
);
8429 if (PyErr_Occurred()) SWIG_fail
;
8432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8433 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8435 wxPyEndAllowThreads(__tstate
);
8436 if (PyErr_Occurred()) SWIG_fail
;
8438 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8453 static PyObject
*_wrap_delete_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8454 PyObject
*resultobj
;
8455 wxImage
*arg1
= (wxImage
*) 0 ;
8456 PyObject
* obj0
= 0 ;
8458 (char *) "self", NULL
8461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8468 wxPyEndAllowThreads(__tstate
);
8469 if (PyErr_Occurred()) SWIG_fail
;
8471 Py_INCREF(Py_None
); resultobj
= Py_None
;
8478 static PyObject
*_wrap_new_ImageFromMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8479 PyObject
*resultobj
;
8480 wxString
*arg1
= 0 ;
8481 wxString
*arg2
= 0 ;
8482 int arg3
= (int) -1 ;
8484 bool temp1
= False
;
8485 bool temp2
= False
;
8486 PyObject
* obj0
= 0 ;
8487 PyObject
* obj1
= 0 ;
8488 PyObject
* obj2
= 0 ;
8490 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8495 arg1
= wxString_in_helper(obj0
);
8496 if (arg1
== NULL
) SWIG_fail
;
8500 arg2
= wxString_in_helper(obj1
);
8501 if (arg2
== NULL
) SWIG_fail
;
8505 arg3
= (int) SWIG_AsInt(obj2
);
8506 if (PyErr_Occurred()) SWIG_fail
;
8509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8510 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8512 wxPyEndAllowThreads(__tstate
);
8513 if (PyErr_Occurred()) SWIG_fail
;
8515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8538 static PyObject
*_wrap_new_ImageFromStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8539 PyObject
*resultobj
;
8540 wxInputStream
*arg1
= 0 ;
8541 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8542 int arg3
= (int) -1 ;
8544 wxPyInputStream
*temp1
;
8546 PyObject
* obj0
= 0 ;
8547 PyObject
* obj1
= 0 ;
8548 PyObject
* obj2
= 0 ;
8550 (char *) "stream",(char *) "type",(char *) "index", NULL
8553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8555 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8556 arg1
= temp1
->m_wxis
;
8559 PyErr_Clear(); // clear the failure of the wxPyConvert above
8560 arg1
= wxPyCBInputStream_create(obj0
, False
);
8562 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8569 arg2
= (long) SWIG_AsLong(obj1
);
8570 if (PyErr_Occurred()) SWIG_fail
;
8573 arg3
= (int) SWIG_AsInt(obj2
);
8574 if (PyErr_Occurred()) SWIG_fail
;
8577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8578 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
8580 wxPyEndAllowThreads(__tstate
);
8581 if (PyErr_Occurred()) SWIG_fail
;
8583 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8598 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8599 PyObject
*resultobj
;
8600 wxInputStream
*arg1
= 0 ;
8601 wxString
*arg2
= 0 ;
8602 int arg3
= (int) -1 ;
8604 wxPyInputStream
*temp1
;
8606 bool temp2
= False
;
8607 PyObject
* obj0
= 0 ;
8608 PyObject
* obj1
= 0 ;
8609 PyObject
* obj2
= 0 ;
8611 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8616 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8617 arg1
= temp1
->m_wxis
;
8620 PyErr_Clear(); // clear the failure of the wxPyConvert above
8621 arg1
= wxPyCBInputStream_create(obj0
, False
);
8623 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8630 arg2
= wxString_in_helper(obj1
);
8631 if (arg2
== NULL
) SWIG_fail
;
8635 arg3
= (int) SWIG_AsInt(obj2
);
8636 if (PyErr_Occurred()) SWIG_fail
;
8639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8640 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
8642 wxPyEndAllowThreads(__tstate
);
8643 if (PyErr_Occurred()) SWIG_fail
;
8645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8668 static PyObject
*_wrap_new_EmptyImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8669 PyObject
*resultobj
;
8670 int arg1
= (int) 0 ;
8671 int arg2
= (int) 0 ;
8672 bool arg3
= (bool) True
;
8674 PyObject
* obj0
= 0 ;
8675 PyObject
* obj1
= 0 ;
8676 PyObject
* obj2
= 0 ;
8678 (char *) "width",(char *) "height",(char *) "clear", NULL
8681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8683 arg1
= (int) SWIG_AsInt(obj0
);
8684 if (PyErr_Occurred()) SWIG_fail
;
8687 arg2
= (int) SWIG_AsInt(obj1
);
8688 if (PyErr_Occurred()) SWIG_fail
;
8691 arg3
= (bool) SWIG_AsBool(obj2
);
8692 if (PyErr_Occurred()) SWIG_fail
;
8695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8696 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8698 wxPyEndAllowThreads(__tstate
);
8699 if (PyErr_Occurred()) SWIG_fail
;
8701 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8708 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8709 PyObject
*resultobj
;
8710 wxBitmap
*arg1
= 0 ;
8712 PyObject
* obj0
= 0 ;
8714 (char *) "bitmap", NULL
8717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
8718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
8719 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8722 PyErr_SetString(PyExc_TypeError
,"null reference");
8726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8727 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
8729 wxPyEndAllowThreads(__tstate
);
8730 if (PyErr_Occurred()) SWIG_fail
;
8732 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8739 static PyObject
*_wrap_new_ImageFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8740 PyObject
*resultobj
;
8743 unsigned char *arg3
= (unsigned char *) 0 ;
8745 PyObject
* obj0
= 0 ;
8746 PyObject
* obj1
= 0 ;
8747 PyObject
* obj2
= 0 ;
8749 (char *) "width",(char *) "height",(char *) "data", NULL
8752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8753 arg1
= (int) SWIG_AsInt(obj0
);
8754 if (PyErr_Occurred()) SWIG_fail
;
8755 arg2
= (int) SWIG_AsInt(obj1
);
8756 if (PyErr_Occurred()) SWIG_fail
;
8757 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
8758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8761 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8763 wxPyEndAllowThreads(__tstate
);
8764 if (PyErr_Occurred()) SWIG_fail
;
8766 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8773 static PyObject
*_wrap_Image_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8774 PyObject
*resultobj
;
8775 wxImage
*arg1
= (wxImage
*) 0 ;
8778 PyObject
* obj0
= 0 ;
8779 PyObject
* obj1
= 0 ;
8780 PyObject
* obj2
= 0 ;
8782 (char *) "self",(char *) "width",(char *) "height", NULL
8785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8788 arg2
= (int) SWIG_AsInt(obj1
);
8789 if (PyErr_Occurred()) SWIG_fail
;
8790 arg3
= (int) SWIG_AsInt(obj2
);
8791 if (PyErr_Occurred()) SWIG_fail
;
8793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8794 (arg1
)->Create(arg2
,arg3
);
8796 wxPyEndAllowThreads(__tstate
);
8797 if (PyErr_Occurred()) SWIG_fail
;
8799 Py_INCREF(Py_None
); resultobj
= Py_None
;
8806 static PyObject
*_wrap_Image_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8807 PyObject
*resultobj
;
8808 wxImage
*arg1
= (wxImage
*) 0 ;
8809 PyObject
* obj0
= 0 ;
8811 (char *) "self", NULL
8814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
8815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8821 wxPyEndAllowThreads(__tstate
);
8822 if (PyErr_Occurred()) SWIG_fail
;
8824 Py_INCREF(Py_None
); resultobj
= Py_None
;
8831 static PyObject
*_wrap_Image_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8832 PyObject
*resultobj
;
8833 wxImage
*arg1
= (wxImage
*) 0 ;
8836 SwigValueWrapper
< wxImage
> result
;
8837 PyObject
* obj0
= 0 ;
8838 PyObject
* obj1
= 0 ;
8839 PyObject
* obj2
= 0 ;
8841 (char *) "self",(char *) "width",(char *) "height", NULL
8844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8847 arg2
= (int) SWIG_AsInt(obj1
);
8848 if (PyErr_Occurred()) SWIG_fail
;
8849 arg3
= (int) SWIG_AsInt(obj2
);
8850 if (PyErr_Occurred()) SWIG_fail
;
8852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8853 result
= (arg1
)->Scale(arg2
,arg3
);
8855 wxPyEndAllowThreads(__tstate
);
8856 if (PyErr_Occurred()) SWIG_fail
;
8859 wxImage
* resultptr
;
8860 resultptr
= new wxImage((wxImage
&) result
);
8861 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
8869 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8870 PyObject
*resultobj
;
8871 wxImage
*arg1
= (wxImage
*) 0 ;
8874 SwigValueWrapper
< wxImage
> result
;
8875 PyObject
* obj0
= 0 ;
8876 PyObject
* obj1
= 0 ;
8877 PyObject
* obj2
= 0 ;
8879 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
8882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8885 arg2
= (int) SWIG_AsInt(obj1
);
8886 if (PyErr_Occurred()) SWIG_fail
;
8887 arg3
= (int) SWIG_AsInt(obj2
);
8888 if (PyErr_Occurred()) SWIG_fail
;
8890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8891 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
8893 wxPyEndAllowThreads(__tstate
);
8894 if (PyErr_Occurred()) SWIG_fail
;
8897 wxImage
* resultptr
;
8898 resultptr
= new wxImage((wxImage
&) result
);
8899 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
8907 static PyObject
*_wrap_Image_Rescale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8908 PyObject
*resultobj
;
8909 wxImage
*arg1
= (wxImage
*) 0 ;
8913 PyObject
* obj0
= 0 ;
8914 PyObject
* obj1
= 0 ;
8915 PyObject
* obj2
= 0 ;
8917 (char *) "self",(char *) "width",(char *) "height", NULL
8920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8923 arg2
= (int) SWIG_AsInt(obj1
);
8924 if (PyErr_Occurred()) SWIG_fail
;
8925 arg3
= (int) SWIG_AsInt(obj2
);
8926 if (PyErr_Occurred()) SWIG_fail
;
8928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8930 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
8931 result
= (wxImage
*) &_result_ref
;
8934 wxPyEndAllowThreads(__tstate
);
8935 if (PyErr_Occurred()) SWIG_fail
;
8937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
8944 static PyObject
*_wrap_Image_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8945 PyObject
*resultobj
;
8946 wxImage
*arg1
= (wxImage
*) 0 ;
8949 unsigned char arg4
;
8950 unsigned char arg5
;
8951 unsigned char arg6
;
8952 PyObject
* obj0
= 0 ;
8953 PyObject
* obj1
= 0 ;
8954 PyObject
* obj2
= 0 ;
8955 PyObject
* obj3
= 0 ;
8956 PyObject
* obj4
= 0 ;
8957 PyObject
* obj5
= 0 ;
8959 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
8962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8965 arg2
= (int) SWIG_AsInt(obj1
);
8966 if (PyErr_Occurred()) SWIG_fail
;
8967 arg3
= (int) SWIG_AsInt(obj2
);
8968 if (PyErr_Occurred()) SWIG_fail
;
8969 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
8970 if (PyErr_Occurred()) SWIG_fail
;
8971 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
8972 if (PyErr_Occurred()) SWIG_fail
;
8973 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
8974 if (PyErr_Occurred()) SWIG_fail
;
8976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8977 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
8979 wxPyEndAllowThreads(__tstate
);
8980 if (PyErr_Occurred()) SWIG_fail
;
8982 Py_INCREF(Py_None
); resultobj
= Py_None
;
8989 static PyObject
*_wrap_Image_GetRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8990 PyObject
*resultobj
;
8991 wxImage
*arg1
= (wxImage
*) 0 ;
8994 unsigned char result
;
8995 PyObject
* obj0
= 0 ;
8996 PyObject
* obj1
= 0 ;
8997 PyObject
* obj2
= 0 ;
8999 (char *) "self",(char *) "x",(char *) "y", NULL
9002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9005 arg2
= (int) SWIG_AsInt(obj1
);
9006 if (PyErr_Occurred()) SWIG_fail
;
9007 arg3
= (int) SWIG_AsInt(obj2
);
9008 if (PyErr_Occurred()) SWIG_fail
;
9010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9011 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9013 wxPyEndAllowThreads(__tstate
);
9014 if (PyErr_Occurred()) SWIG_fail
;
9016 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9023 static PyObject
*_wrap_Image_GetGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9024 PyObject
*resultobj
;
9025 wxImage
*arg1
= (wxImage
*) 0 ;
9028 unsigned char result
;
9029 PyObject
* obj0
= 0 ;
9030 PyObject
* obj1
= 0 ;
9031 PyObject
* obj2
= 0 ;
9033 (char *) "self",(char *) "x",(char *) "y", NULL
9036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9039 arg2
= (int) SWIG_AsInt(obj1
);
9040 if (PyErr_Occurred()) SWIG_fail
;
9041 arg3
= (int) SWIG_AsInt(obj2
);
9042 if (PyErr_Occurred()) SWIG_fail
;
9044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9045 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9047 wxPyEndAllowThreads(__tstate
);
9048 if (PyErr_Occurred()) SWIG_fail
;
9050 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9057 static PyObject
*_wrap_Image_GetBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9058 PyObject
*resultobj
;
9059 wxImage
*arg1
= (wxImage
*) 0 ;
9062 unsigned char result
;
9063 PyObject
* obj0
= 0 ;
9064 PyObject
* obj1
= 0 ;
9065 PyObject
* obj2
= 0 ;
9067 (char *) "self",(char *) "x",(char *) "y", NULL
9070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9073 arg2
= (int) SWIG_AsInt(obj1
);
9074 if (PyErr_Occurred()) SWIG_fail
;
9075 arg3
= (int) SWIG_AsInt(obj2
);
9076 if (PyErr_Occurred()) SWIG_fail
;
9078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9079 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9081 wxPyEndAllowThreads(__tstate
);
9082 if (PyErr_Occurred()) SWIG_fail
;
9084 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9091 static PyObject
*_wrap_Image_SetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9092 PyObject
*resultobj
;
9093 wxImage
*arg1
= (wxImage
*) 0 ;
9096 unsigned char arg4
;
9097 PyObject
* obj0
= 0 ;
9098 PyObject
* obj1
= 0 ;
9099 PyObject
* obj2
= 0 ;
9100 PyObject
* obj3
= 0 ;
9102 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9108 arg2
= (int) SWIG_AsInt(obj1
);
9109 if (PyErr_Occurred()) SWIG_fail
;
9110 arg3
= (int) SWIG_AsInt(obj2
);
9111 if (PyErr_Occurred()) SWIG_fail
;
9112 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9113 if (PyErr_Occurred()) SWIG_fail
;
9115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9116 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9118 wxPyEndAllowThreads(__tstate
);
9119 if (PyErr_Occurred()) SWIG_fail
;
9121 Py_INCREF(Py_None
); resultobj
= Py_None
;
9128 static PyObject
*_wrap_Image_GetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9129 PyObject
*resultobj
;
9130 wxImage
*arg1
= (wxImage
*) 0 ;
9133 unsigned char result
;
9134 PyObject
* obj0
= 0 ;
9135 PyObject
* obj1
= 0 ;
9136 PyObject
* obj2
= 0 ;
9138 (char *) "self",(char *) "x",(char *) "y", NULL
9141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9144 arg2
= (int) SWIG_AsInt(obj1
);
9145 if (PyErr_Occurred()) SWIG_fail
;
9146 arg3
= (int) SWIG_AsInt(obj2
);
9147 if (PyErr_Occurred()) SWIG_fail
;
9149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9150 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9152 wxPyEndAllowThreads(__tstate
);
9153 if (PyErr_Occurred()) SWIG_fail
;
9155 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9162 static PyObject
*_wrap_Image_HasAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9163 PyObject
*resultobj
;
9164 wxImage
*arg1
= (wxImage
*) 0 ;
9166 PyObject
* obj0
= 0 ;
9168 (char *) "self", NULL
9171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9176 result
= (bool)(arg1
)->HasAlpha();
9178 wxPyEndAllowThreads(__tstate
);
9179 if (PyErr_Occurred()) SWIG_fail
;
9181 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9188 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9189 PyObject
*resultobj
;
9190 wxImage
*arg1
= (wxImage
*) 0 ;
9191 byte
*arg2
= (byte
*) 0 ;
9192 byte
*arg3
= (byte
*) 0 ;
9193 byte
*arg4
= (byte
*) 0 ;
9194 byte arg5
= (byte
) 0 ;
9195 byte arg6
= (byte
) 0 ;
9196 byte arg7
= (byte
) 0 ;
9201 PyObject
* obj0
= 0 ;
9202 PyObject
* obj1
= 0 ;
9203 PyObject
* obj2
= 0 ;
9204 PyObject
* obj3
= 0 ;
9206 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9216 arg5
= (byte
) SWIG_AsUnsignedChar(obj1
);
9217 if (PyErr_Occurred()) SWIG_fail
;
9220 arg6
= (byte
) SWIG_AsUnsignedChar(obj2
);
9221 if (PyErr_Occurred()) SWIG_fail
;
9224 arg7
= (byte
) SWIG_AsUnsignedChar(obj3
);
9225 if (PyErr_Occurred()) SWIG_fail
;
9228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9229 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9231 wxPyEndAllowThreads(__tstate
);
9232 if (PyErr_Occurred()) SWIG_fail
;
9234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9236 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
9237 resultobj
= t_output_helper(resultobj
,o
);
9240 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9241 resultobj
= t_output_helper(resultobj
,o
);
9244 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9245 resultobj
= t_output_helper(resultobj
,o
);
9253 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9254 PyObject
*resultobj
;
9255 wxImage
*arg1
= (wxImage
*) 0 ;
9261 PyObject
* obj0
= 0 ;
9262 PyObject
* obj1
= 0 ;
9263 PyObject
* obj2
= 0 ;
9264 PyObject
* obj3
= 0 ;
9265 PyObject
* obj4
= 0 ;
9267 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9273 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9274 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9277 PyErr_SetString(PyExc_TypeError
,"null reference");
9280 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
9281 if (PyErr_Occurred()) SWIG_fail
;
9282 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
9283 if (PyErr_Occurred()) SWIG_fail
;
9284 arg5
= (byte
) SWIG_AsUnsignedChar(obj4
);
9285 if (PyErr_Occurred()) SWIG_fail
;
9287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9288 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9290 wxPyEndAllowThreads(__tstate
);
9291 if (PyErr_Occurred()) SWIG_fail
;
9293 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9300 static PyObject
*_wrap_Image_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9301 PyObject
*resultobj
;
9302 wxString
*arg1
= 0 ;
9304 bool temp1
= False
;
9305 PyObject
* obj0
= 0 ;
9307 (char *) "name", NULL
9310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9312 arg1
= wxString_in_helper(obj0
);
9313 if (arg1
== NULL
) SWIG_fail
;
9317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9318 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9320 wxPyEndAllowThreads(__tstate
);
9321 if (PyErr_Occurred()) SWIG_fail
;
9323 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9338 static PyObject
*_wrap_Image_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9339 PyObject
*resultobj
;
9340 wxString
*arg1
= 0 ;
9341 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9343 bool temp1
= False
;
9344 PyObject
* obj0
= 0 ;
9345 PyObject
* obj1
= 0 ;
9347 (char *) "name",(char *) "type", NULL
9350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9352 arg1
= wxString_in_helper(obj0
);
9353 if (arg1
== NULL
) SWIG_fail
;
9357 arg2
= (long) SWIG_AsLong(obj1
);
9358 if (PyErr_Occurred()) SWIG_fail
;
9361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9362 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9364 wxPyEndAllowThreads(__tstate
);
9365 if (PyErr_Occurred()) SWIG_fail
;
9367 resultobj
= SWIG_FromInt((int)result
);
9382 static PyObject
*_wrap_Image_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9383 PyObject
*resultobj
;
9384 wxImage
*arg1
= (wxImage
*) 0 ;
9385 wxString
*arg2
= 0 ;
9386 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9387 int arg4
= (int) -1 ;
9389 bool temp2
= False
;
9390 PyObject
* obj0
= 0 ;
9391 PyObject
* obj1
= 0 ;
9392 PyObject
* obj2
= 0 ;
9393 PyObject
* obj3
= 0 ;
9395 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9402 arg2
= wxString_in_helper(obj1
);
9403 if (arg2
== NULL
) SWIG_fail
;
9407 arg3
= (long) SWIG_AsLong(obj2
);
9408 if (PyErr_Occurred()) SWIG_fail
;
9411 arg4
= (int) SWIG_AsInt(obj3
);
9412 if (PyErr_Occurred()) SWIG_fail
;
9415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9416 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9418 wxPyEndAllowThreads(__tstate
);
9419 if (PyErr_Occurred()) SWIG_fail
;
9421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9436 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9437 PyObject
*resultobj
;
9438 wxImage
*arg1
= (wxImage
*) 0 ;
9439 wxString
*arg2
= 0 ;
9440 wxString
*arg3
= 0 ;
9441 int arg4
= (int) -1 ;
9443 bool temp2
= False
;
9444 bool temp3
= False
;
9445 PyObject
* obj0
= 0 ;
9446 PyObject
* obj1
= 0 ;
9447 PyObject
* obj2
= 0 ;
9448 PyObject
* obj3
= 0 ;
9450 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9457 arg2
= wxString_in_helper(obj1
);
9458 if (arg2
== NULL
) SWIG_fail
;
9462 arg3
= wxString_in_helper(obj2
);
9463 if (arg3
== NULL
) SWIG_fail
;
9467 arg4
= (int) SWIG_AsInt(obj3
);
9468 if (PyErr_Occurred()) SWIG_fail
;
9471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9472 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9474 wxPyEndAllowThreads(__tstate
);
9475 if (PyErr_Occurred()) SWIG_fail
;
9477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9500 static PyObject
*_wrap_Image_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9501 PyObject
*resultobj
;
9502 wxImage
*arg1
= (wxImage
*) 0 ;
9503 wxString
*arg2
= 0 ;
9506 bool temp2
= False
;
9507 PyObject
* obj0
= 0 ;
9508 PyObject
* obj1
= 0 ;
9509 PyObject
* obj2
= 0 ;
9511 (char *) "self",(char *) "name",(char *) "type", NULL
9514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9518 arg2
= wxString_in_helper(obj1
);
9519 if (arg2
== NULL
) SWIG_fail
;
9522 arg3
= (int) SWIG_AsInt(obj2
);
9523 if (PyErr_Occurred()) SWIG_fail
;
9525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9526 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
9528 wxPyEndAllowThreads(__tstate
);
9529 if (PyErr_Occurred()) SWIG_fail
;
9531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9546 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9547 PyObject
*resultobj
;
9548 wxImage
*arg1
= (wxImage
*) 0 ;
9549 wxString
*arg2
= 0 ;
9550 wxString
*arg3
= 0 ;
9552 bool temp2
= False
;
9553 bool temp3
= False
;
9554 PyObject
* obj0
= 0 ;
9555 PyObject
* obj1
= 0 ;
9556 PyObject
* obj2
= 0 ;
9558 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9565 arg2
= wxString_in_helper(obj1
);
9566 if (arg2
== NULL
) SWIG_fail
;
9570 arg3
= wxString_in_helper(obj2
);
9571 if (arg3
== NULL
) SWIG_fail
;
9575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9576 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9578 wxPyEndAllowThreads(__tstate
);
9579 if (PyErr_Occurred()) SWIG_fail
;
9581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9604 static PyObject
*_wrap_Image_CanReadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9605 PyObject
*resultobj
;
9606 wxInputStream
*arg1
= 0 ;
9608 wxPyInputStream
*temp1
;
9610 PyObject
* obj0
= 0 ;
9612 (char *) "stream", NULL
9615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
9617 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9618 arg1
= temp1
->m_wxis
;
9621 PyErr_Clear(); // clear the failure of the wxPyConvert above
9622 arg1
= wxPyCBInputStream_create(obj0
, False
);
9624 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9632 result
= (bool)wxImage::CanRead(*arg1
);
9634 wxPyEndAllowThreads(__tstate
);
9635 if (PyErr_Occurred()) SWIG_fail
;
9637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9652 static PyObject
*_wrap_Image_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9653 PyObject
*resultobj
;
9654 wxImage
*arg1
= (wxImage
*) 0 ;
9655 wxInputStream
*arg2
= 0 ;
9656 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9657 int arg4
= (int) -1 ;
9659 wxPyInputStream
*temp2
;
9661 PyObject
* obj0
= 0 ;
9662 PyObject
* obj1
= 0 ;
9663 PyObject
* obj2
= 0 ;
9664 PyObject
* obj3
= 0 ;
9666 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9673 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9674 arg2
= temp2
->m_wxis
;
9677 PyErr_Clear(); // clear the failure of the wxPyConvert above
9678 arg2
= wxPyCBInputStream_create(obj1
, False
);
9680 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9687 arg3
= (long) SWIG_AsLong(obj2
);
9688 if (PyErr_Occurred()) SWIG_fail
;
9691 arg4
= (int) SWIG_AsInt(obj3
);
9692 if (PyErr_Occurred()) SWIG_fail
;
9695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9696 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
9698 wxPyEndAllowThreads(__tstate
);
9699 if (PyErr_Occurred()) SWIG_fail
;
9701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9716 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9717 PyObject
*resultobj
;
9718 wxImage
*arg1
= (wxImage
*) 0 ;
9719 wxInputStream
*arg2
= 0 ;
9720 wxString
*arg3
= 0 ;
9721 int arg4
= (int) -1 ;
9723 wxPyInputStream
*temp2
;
9725 bool temp3
= False
;
9726 PyObject
* obj0
= 0 ;
9727 PyObject
* obj1
= 0 ;
9728 PyObject
* obj2
= 0 ;
9729 PyObject
* obj3
= 0 ;
9731 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9738 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9739 arg2
= temp2
->m_wxis
;
9742 PyErr_Clear(); // clear the failure of the wxPyConvert above
9743 arg2
= wxPyCBInputStream_create(obj1
, False
);
9745 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9752 arg3
= wxString_in_helper(obj2
);
9753 if (arg3
== NULL
) SWIG_fail
;
9757 arg4
= (int) SWIG_AsInt(obj3
);
9758 if (PyErr_Occurred()) SWIG_fail
;
9761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9762 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
9764 wxPyEndAllowThreads(__tstate
);
9765 if (PyErr_Occurred()) SWIG_fail
;
9767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9790 static PyObject
*_wrap_Image_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9791 PyObject
*resultobj
;
9792 wxImage
*arg1
= (wxImage
*) 0 ;
9794 PyObject
* obj0
= 0 ;
9796 (char *) "self", NULL
9799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
9800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9804 result
= (bool)(arg1
)->Ok();
9806 wxPyEndAllowThreads(__tstate
);
9807 if (PyErr_Occurred()) SWIG_fail
;
9809 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9816 static PyObject
*_wrap_Image_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9817 PyObject
*resultobj
;
9818 wxImage
*arg1
= (wxImage
*) 0 ;
9820 PyObject
* obj0
= 0 ;
9822 (char *) "self", NULL
9825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
9826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9830 result
= (int)(arg1
)->GetWidth();
9832 wxPyEndAllowThreads(__tstate
);
9833 if (PyErr_Occurred()) SWIG_fail
;
9835 resultobj
= SWIG_FromInt((int)result
);
9842 static PyObject
*_wrap_Image_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9843 PyObject
*resultobj
;
9844 wxImage
*arg1
= (wxImage
*) 0 ;
9846 PyObject
* obj0
= 0 ;
9848 (char *) "self", NULL
9851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
9852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9856 result
= (int)(arg1
)->GetHeight();
9858 wxPyEndAllowThreads(__tstate
);
9859 if (PyErr_Occurred()) SWIG_fail
;
9861 resultobj
= SWIG_FromInt((int)result
);
9868 static PyObject
*_wrap_Image_GetSubImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9869 PyObject
*resultobj
;
9870 wxImage
*arg1
= (wxImage
*) 0 ;
9872 SwigValueWrapper
< wxImage
> result
;
9874 PyObject
* obj0
= 0 ;
9875 PyObject
* obj1
= 0 ;
9877 (char *) "self",(char *) "rect", NULL
9880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
9881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9885 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9889 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
9891 wxPyEndAllowThreads(__tstate
);
9892 if (PyErr_Occurred()) SWIG_fail
;
9895 wxImage
* resultptr
;
9896 resultptr
= new wxImage((wxImage
&) result
);
9897 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9905 static PyObject
*_wrap_Image_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9906 PyObject
*resultobj
;
9907 wxImage
*arg1
= (wxImage
*) 0 ;
9908 SwigValueWrapper
< wxImage
> result
;
9909 PyObject
* obj0
= 0 ;
9911 (char *) "self", NULL
9914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
9915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9919 result
= (arg1
)->Copy();
9921 wxPyEndAllowThreads(__tstate
);
9922 if (PyErr_Occurred()) SWIG_fail
;
9925 wxImage
* resultptr
;
9926 resultptr
= new wxImage((wxImage
&) result
);
9927 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9935 static PyObject
*_wrap_Image_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9936 PyObject
*resultobj
;
9937 wxImage
*arg1
= (wxImage
*) 0 ;
9941 PyObject
* obj0
= 0 ;
9942 PyObject
* obj1
= 0 ;
9943 PyObject
* obj2
= 0 ;
9944 PyObject
* obj3
= 0 ;
9946 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
9949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9952 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9953 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9956 PyErr_SetString(PyExc_TypeError
,"null reference");
9959 arg3
= (int) SWIG_AsInt(obj2
);
9960 if (PyErr_Occurred()) SWIG_fail
;
9961 arg4
= (int) SWIG_AsInt(obj3
);
9962 if (PyErr_Occurred()) SWIG_fail
;
9964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9965 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
9967 wxPyEndAllowThreads(__tstate
);
9968 if (PyErr_Occurred()) SWIG_fail
;
9970 Py_INCREF(Py_None
); resultobj
= Py_None
;
9977 static PyObject
*_wrap_Image_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9978 PyObject
*resultobj
;
9979 wxImage
*arg1
= (wxImage
*) 0 ;
9981 PyObject
* obj0
= 0 ;
9983 (char *) "self", NULL
9986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
9987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9991 result
= (PyObject
*)wxImage_GetData(arg1
);
9993 wxPyEndAllowThreads(__tstate
);
9994 if (PyErr_Occurred()) SWIG_fail
;
10003 static PyObject
*_wrap_Image_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10004 PyObject
*resultobj
;
10005 wxImage
*arg1
= (wxImage
*) 0 ;
10006 PyObject
*arg2
= (PyObject
*) 0 ;
10007 PyObject
* obj0
= 0 ;
10008 PyObject
* obj1
= 0 ;
10009 char *kwnames
[] = {
10010 (char *) "self",(char *) "data", NULL
10013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10019 wxImage_SetData(arg1
,arg2
);
10021 wxPyEndAllowThreads(__tstate
);
10022 if (PyErr_Occurred()) SWIG_fail
;
10024 Py_INCREF(Py_None
); resultobj
= Py_None
;
10031 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10032 PyObject
*resultobj
;
10033 wxImage
*arg1
= (wxImage
*) 0 ;
10035 PyObject
* obj0
= 0 ;
10036 char *kwnames
[] = {
10037 (char *) "self", NULL
10040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10045 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10047 wxPyEndAllowThreads(__tstate
);
10048 if (PyErr_Occurred()) SWIG_fail
;
10050 resultobj
= result
;
10057 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10058 PyObject
*resultobj
;
10059 wxImage
*arg1
= (wxImage
*) 0 ;
10060 PyObject
*arg2
= (PyObject
*) 0 ;
10061 PyObject
* obj0
= 0 ;
10062 PyObject
* obj1
= 0 ;
10063 char *kwnames
[] = {
10064 (char *) "self",(char *) "data", NULL
10067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10073 wxImage_SetDataBuffer(arg1
,arg2
);
10075 wxPyEndAllowThreads(__tstate
);
10076 if (PyErr_Occurred()) SWIG_fail
;
10078 Py_INCREF(Py_None
); resultobj
= Py_None
;
10085 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10086 PyObject
*resultobj
;
10087 wxImage
*arg1
= (wxImage
*) 0 ;
10089 PyObject
* obj0
= 0 ;
10090 char *kwnames
[] = {
10091 (char *) "self", NULL
10094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10099 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10101 wxPyEndAllowThreads(__tstate
);
10102 if (PyErr_Occurred()) SWIG_fail
;
10104 resultobj
= result
;
10111 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10112 PyObject
*resultobj
;
10113 wxImage
*arg1
= (wxImage
*) 0 ;
10114 PyObject
*arg2
= (PyObject
*) 0 ;
10115 PyObject
* obj0
= 0 ;
10116 PyObject
* obj1
= 0 ;
10117 char *kwnames
[] = {
10118 (char *) "self",(char *) "data", NULL
10121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10127 wxImage_SetAlphaData(arg1
,arg2
);
10129 wxPyEndAllowThreads(__tstate
);
10130 if (PyErr_Occurred()) SWIG_fail
;
10132 Py_INCREF(Py_None
); resultobj
= Py_None
;
10139 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10140 PyObject
*resultobj
;
10141 wxImage
*arg1
= (wxImage
*) 0 ;
10143 PyObject
* obj0
= 0 ;
10144 char *kwnames
[] = {
10145 (char *) "self", NULL
10148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10153 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10155 wxPyEndAllowThreads(__tstate
);
10156 if (PyErr_Occurred()) SWIG_fail
;
10158 resultobj
= result
;
10165 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10166 PyObject
*resultobj
;
10167 wxImage
*arg1
= (wxImage
*) 0 ;
10168 PyObject
*arg2
= (PyObject
*) 0 ;
10169 PyObject
* obj0
= 0 ;
10170 PyObject
* obj1
= 0 ;
10171 char *kwnames
[] = {
10172 (char *) "self",(char *) "data", NULL
10175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10181 wxImage_SetAlphaBuffer(arg1
,arg2
);
10183 wxPyEndAllowThreads(__tstate
);
10184 if (PyErr_Occurred()) SWIG_fail
;
10186 Py_INCREF(Py_None
); resultobj
= Py_None
;
10193 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10194 PyObject
*resultobj
;
10195 wxImage
*arg1
= (wxImage
*) 0 ;
10196 unsigned char arg2
;
10197 unsigned char arg3
;
10198 unsigned char arg4
;
10199 PyObject
* obj0
= 0 ;
10200 PyObject
* obj1
= 0 ;
10201 PyObject
* obj2
= 0 ;
10202 PyObject
* obj3
= 0 ;
10203 char *kwnames
[] = {
10204 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10210 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10211 if (PyErr_Occurred()) SWIG_fail
;
10212 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10213 if (PyErr_Occurred()) SWIG_fail
;
10214 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10215 if (PyErr_Occurred()) SWIG_fail
;
10217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10218 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10220 wxPyEndAllowThreads(__tstate
);
10221 if (PyErr_Occurred()) SWIG_fail
;
10223 Py_INCREF(Py_None
); resultobj
= Py_None
;
10230 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10231 PyObject
*resultobj
;
10232 wxImage
*arg1
= (wxImage
*) 0 ;
10233 unsigned char result
;
10234 PyObject
* obj0
= 0 ;
10235 char *kwnames
[] = {
10236 (char *) "self", NULL
10239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10244 result
= (unsigned char)(arg1
)->GetMaskRed();
10246 wxPyEndAllowThreads(__tstate
);
10247 if (PyErr_Occurred()) SWIG_fail
;
10249 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10256 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10257 PyObject
*resultobj
;
10258 wxImage
*arg1
= (wxImage
*) 0 ;
10259 unsigned char result
;
10260 PyObject
* obj0
= 0 ;
10261 char *kwnames
[] = {
10262 (char *) "self", NULL
10265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10270 result
= (unsigned char)(arg1
)->GetMaskGreen();
10272 wxPyEndAllowThreads(__tstate
);
10273 if (PyErr_Occurred()) SWIG_fail
;
10275 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10282 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10283 PyObject
*resultobj
;
10284 wxImage
*arg1
= (wxImage
*) 0 ;
10285 unsigned char result
;
10286 PyObject
* obj0
= 0 ;
10287 char *kwnames
[] = {
10288 (char *) "self", NULL
10291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10296 result
= (unsigned char)(arg1
)->GetMaskBlue();
10298 wxPyEndAllowThreads(__tstate
);
10299 if (PyErr_Occurred()) SWIG_fail
;
10301 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10308 static PyObject
*_wrap_Image_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10309 PyObject
*resultobj
;
10310 wxImage
*arg1
= (wxImage
*) 0 ;
10311 bool arg2
= (bool) True
;
10312 PyObject
* obj0
= 0 ;
10313 PyObject
* obj1
= 0 ;
10314 char *kwnames
[] = {
10315 (char *) "self",(char *) "mask", NULL
10318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10322 arg2
= (bool) SWIG_AsBool(obj1
);
10323 if (PyErr_Occurred()) SWIG_fail
;
10326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10327 (arg1
)->SetMask(arg2
);
10329 wxPyEndAllowThreads(__tstate
);
10330 if (PyErr_Occurred()) SWIG_fail
;
10332 Py_INCREF(Py_None
); resultobj
= Py_None
;
10339 static PyObject
*_wrap_Image_HasMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10340 PyObject
*resultobj
;
10341 wxImage
*arg1
= (wxImage
*) 0 ;
10343 PyObject
* obj0
= 0 ;
10344 char *kwnames
[] = {
10345 (char *) "self", NULL
10348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10353 result
= (bool)(arg1
)->HasMask();
10355 wxPyEndAllowThreads(__tstate
);
10356 if (PyErr_Occurred()) SWIG_fail
;
10358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10365 static PyObject
*_wrap_Image_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10366 PyObject
*resultobj
;
10367 wxImage
*arg1
= (wxImage
*) 0 ;
10369 wxPoint
*arg3
= 0 ;
10370 bool arg4
= (bool) True
;
10371 wxPoint
*arg5
= (wxPoint
*) NULL
;
10372 SwigValueWrapper
< wxImage
> result
;
10374 PyObject
* obj0
= 0 ;
10375 PyObject
* obj1
= 0 ;
10376 PyObject
* obj2
= 0 ;
10377 PyObject
* obj3
= 0 ;
10378 PyObject
* obj4
= 0 ;
10379 char *kwnames
[] = {
10380 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10386 arg2
= (double) SWIG_AsDouble(obj1
);
10387 if (PyErr_Occurred()) SWIG_fail
;
10390 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10393 arg4
= (bool) SWIG_AsBool(obj3
);
10394 if (PyErr_Occurred()) SWIG_fail
;
10397 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
10398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10402 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10404 wxPyEndAllowThreads(__tstate
);
10405 if (PyErr_Occurred()) SWIG_fail
;
10408 wxImage
* resultptr
;
10409 resultptr
= new wxImage((wxImage
&) result
);
10410 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10418 static PyObject
*_wrap_Image_Rotate90(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10419 PyObject
*resultobj
;
10420 wxImage
*arg1
= (wxImage
*) 0 ;
10421 bool arg2
= (bool) True
;
10422 SwigValueWrapper
< wxImage
> result
;
10423 PyObject
* obj0
= 0 ;
10424 PyObject
* obj1
= 0 ;
10425 char *kwnames
[] = {
10426 (char *) "self",(char *) "clockwise", NULL
10429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10433 arg2
= (bool) SWIG_AsBool(obj1
);
10434 if (PyErr_Occurred()) SWIG_fail
;
10437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10438 result
= (arg1
)->Rotate90(arg2
);
10440 wxPyEndAllowThreads(__tstate
);
10441 if (PyErr_Occurred()) SWIG_fail
;
10444 wxImage
* resultptr
;
10445 resultptr
= new wxImage((wxImage
&) result
);
10446 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10454 static PyObject
*_wrap_Image_Mirror(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10455 PyObject
*resultobj
;
10456 wxImage
*arg1
= (wxImage
*) 0 ;
10457 bool arg2
= (bool) True
;
10458 SwigValueWrapper
< wxImage
> result
;
10459 PyObject
* obj0
= 0 ;
10460 PyObject
* obj1
= 0 ;
10461 char *kwnames
[] = {
10462 (char *) "self",(char *) "horizontally", NULL
10465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
10466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10469 arg2
= (bool) SWIG_AsBool(obj1
);
10470 if (PyErr_Occurred()) SWIG_fail
;
10473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10474 result
= (arg1
)->Mirror(arg2
);
10476 wxPyEndAllowThreads(__tstate
);
10477 if (PyErr_Occurred()) SWIG_fail
;
10480 wxImage
* resultptr
;
10481 resultptr
= new wxImage((wxImage
&) result
);
10482 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10490 static PyObject
*_wrap_Image_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10491 PyObject
*resultobj
;
10492 wxImage
*arg1
= (wxImage
*) 0 ;
10493 unsigned char arg2
;
10494 unsigned char arg3
;
10495 unsigned char arg4
;
10496 unsigned char arg5
;
10497 unsigned char arg6
;
10498 unsigned char arg7
;
10499 PyObject
* obj0
= 0 ;
10500 PyObject
* obj1
= 0 ;
10501 PyObject
* obj2
= 0 ;
10502 PyObject
* obj3
= 0 ;
10503 PyObject
* obj4
= 0 ;
10504 PyObject
* obj5
= 0 ;
10505 PyObject
* obj6
= 0 ;
10506 char *kwnames
[] = {
10507 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10513 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10514 if (PyErr_Occurred()) SWIG_fail
;
10515 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10516 if (PyErr_Occurred()) SWIG_fail
;
10517 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10518 if (PyErr_Occurred()) SWIG_fail
;
10519 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
10520 if (PyErr_Occurred()) SWIG_fail
;
10521 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
10522 if (PyErr_Occurred()) SWIG_fail
;
10523 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj6
);
10524 if (PyErr_Occurred()) SWIG_fail
;
10526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10527 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10529 wxPyEndAllowThreads(__tstate
);
10530 if (PyErr_Occurred()) SWIG_fail
;
10532 Py_INCREF(Py_None
); resultobj
= Py_None
;
10539 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10540 PyObject
*resultobj
;
10541 wxImage
*arg1
= (wxImage
*) 0 ;
10542 unsigned char arg2
;
10543 unsigned char arg3
;
10544 unsigned char arg4
;
10545 SwigValueWrapper
< wxImage
> result
;
10546 PyObject
* obj0
= 0 ;
10547 PyObject
* obj1
= 0 ;
10548 PyObject
* obj2
= 0 ;
10549 PyObject
* obj3
= 0 ;
10550 char *kwnames
[] = {
10551 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10557 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10558 if (PyErr_Occurred()) SWIG_fail
;
10559 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10560 if (PyErr_Occurred()) SWIG_fail
;
10561 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10562 if (PyErr_Occurred()) SWIG_fail
;
10564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10565 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
10567 wxPyEndAllowThreads(__tstate
);
10568 if (PyErr_Occurred()) SWIG_fail
;
10571 wxImage
* resultptr
;
10572 resultptr
= new wxImage((wxImage
&) result
);
10573 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10581 static PyObject
*_wrap_Image_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10582 PyObject
*resultobj
;
10583 wxImage
*arg1
= (wxImage
*) 0 ;
10584 wxString
*arg2
= 0 ;
10585 wxString
*arg3
= 0 ;
10586 bool temp2
= False
;
10587 bool temp3
= False
;
10588 PyObject
* obj0
= 0 ;
10589 PyObject
* obj1
= 0 ;
10590 PyObject
* obj2
= 0 ;
10591 char *kwnames
[] = {
10592 (char *) "self",(char *) "name",(char *) "value", NULL
10595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10599 arg2
= wxString_in_helper(obj1
);
10600 if (arg2
== NULL
) SWIG_fail
;
10604 arg3
= wxString_in_helper(obj2
);
10605 if (arg3
== NULL
) SWIG_fail
;
10609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10610 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10612 wxPyEndAllowThreads(__tstate
);
10613 if (PyErr_Occurred()) SWIG_fail
;
10615 Py_INCREF(Py_None
); resultobj
= Py_None
;
10638 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10639 PyObject
*resultobj
;
10640 wxImage
*arg1
= (wxImage
*) 0 ;
10641 wxString
*arg2
= 0 ;
10643 bool temp2
= False
;
10644 PyObject
* obj0
= 0 ;
10645 PyObject
* obj1
= 0 ;
10646 PyObject
* obj2
= 0 ;
10647 char *kwnames
[] = {
10648 (char *) "self",(char *) "name",(char *) "value", NULL
10651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10655 arg2
= wxString_in_helper(obj1
);
10656 if (arg2
== NULL
) SWIG_fail
;
10659 arg3
= (int) SWIG_AsInt(obj2
);
10660 if (PyErr_Occurred()) SWIG_fail
;
10662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10663 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
10665 wxPyEndAllowThreads(__tstate
);
10666 if (PyErr_Occurred()) SWIG_fail
;
10668 Py_INCREF(Py_None
); resultobj
= Py_None
;
10683 static PyObject
*_wrap_Image_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10684 PyObject
*resultobj
;
10685 wxImage
*arg1
= (wxImage
*) 0 ;
10686 wxString
*arg2
= 0 ;
10688 bool temp2
= False
;
10689 PyObject
* obj0
= 0 ;
10690 PyObject
* obj1
= 0 ;
10691 char *kwnames
[] = {
10692 (char *) "self",(char *) "name", NULL
10695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10699 arg2
= wxString_in_helper(obj1
);
10700 if (arg2
== NULL
) SWIG_fail
;
10704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10705 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
10707 wxPyEndAllowThreads(__tstate
);
10708 if (PyErr_Occurred()) SWIG_fail
;
10712 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10714 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10731 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10732 PyObject
*resultobj
;
10733 wxImage
*arg1
= (wxImage
*) 0 ;
10734 wxString
*arg2
= 0 ;
10736 bool temp2
= False
;
10737 PyObject
* obj0
= 0 ;
10738 PyObject
* obj1
= 0 ;
10739 char *kwnames
[] = {
10740 (char *) "self",(char *) "name", NULL
10743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
10744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10747 arg2
= wxString_in_helper(obj1
);
10748 if (arg2
== NULL
) SWIG_fail
;
10752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10753 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
10755 wxPyEndAllowThreads(__tstate
);
10756 if (PyErr_Occurred()) SWIG_fail
;
10758 resultobj
= SWIG_FromInt((int)result
);
10773 static PyObject
*_wrap_Image_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10774 PyObject
*resultobj
;
10775 wxImage
*arg1
= (wxImage
*) 0 ;
10776 wxString
*arg2
= 0 ;
10778 bool temp2
= False
;
10779 PyObject
* obj0
= 0 ;
10780 PyObject
* obj1
= 0 ;
10781 char *kwnames
[] = {
10782 (char *) "self",(char *) "name", NULL
10785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10789 arg2
= wxString_in_helper(obj1
);
10790 if (arg2
== NULL
) SWIG_fail
;
10794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10795 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
10797 wxPyEndAllowThreads(__tstate
);
10798 if (PyErr_Occurred()) SWIG_fail
;
10800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10815 static PyObject
*_wrap_Image_CountColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10816 PyObject
*resultobj
;
10817 wxImage
*arg1
= (wxImage
*) 0 ;
10818 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
10819 unsigned long result
;
10820 PyObject
* obj0
= 0 ;
10821 PyObject
* obj1
= 0 ;
10822 char *kwnames
[] = {
10823 (char *) "self",(char *) "stopafter", NULL
10826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
10827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10830 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
10831 if (PyErr_Occurred()) SWIG_fail
;
10834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10835 result
= (unsigned long)(arg1
)->CountColours(arg2
);
10837 wxPyEndAllowThreads(__tstate
);
10838 if (PyErr_Occurred()) SWIG_fail
;
10840 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
10847 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10848 PyObject
*resultobj
;
10849 wxImage
*arg1
= (wxImage
*) 0 ;
10850 wxImageHistogram
*arg2
= 0 ;
10851 unsigned long result
;
10852 PyObject
* obj0
= 0 ;
10853 PyObject
* obj1
= 0 ;
10854 char *kwnames
[] = {
10855 (char *) "self",(char *) "h", NULL
10858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
10859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10861 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
10862 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10864 if (arg2
== NULL
) {
10865 PyErr_SetString(PyExc_TypeError
,"null reference");
10869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10870 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
10872 wxPyEndAllowThreads(__tstate
);
10873 if (PyErr_Occurred()) SWIG_fail
;
10875 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
10882 static PyObject
*_wrap_Image_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10883 PyObject
*resultobj
;
10884 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10885 PyObject
* obj0
= 0 ;
10886 char *kwnames
[] = {
10887 (char *) "handler", NULL
10890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
10891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
10892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10895 wxImage::AddHandler(arg1
);
10897 wxPyEndAllowThreads(__tstate
);
10898 if (PyErr_Occurred()) SWIG_fail
;
10900 Py_INCREF(Py_None
); resultobj
= Py_None
;
10907 static PyObject
*_wrap_Image_InsertHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10908 PyObject
*resultobj
;
10909 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10910 PyObject
* obj0
= 0 ;
10911 char *kwnames
[] = {
10912 (char *) "handler", NULL
10915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
10916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
10917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10920 wxImage::InsertHandler(arg1
);
10922 wxPyEndAllowThreads(__tstate
);
10923 if (PyErr_Occurred()) SWIG_fail
;
10925 Py_INCREF(Py_None
); resultobj
= Py_None
;
10932 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10933 PyObject
*resultobj
;
10934 wxString
*arg1
= 0 ;
10936 bool temp1
= False
;
10937 PyObject
* obj0
= 0 ;
10938 char *kwnames
[] = {
10939 (char *) "name", NULL
10942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
10944 arg1
= wxString_in_helper(obj0
);
10945 if (arg1
== NULL
) SWIG_fail
;
10949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10950 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
10952 wxPyEndAllowThreads(__tstate
);
10953 if (PyErr_Occurred()) SWIG_fail
;
10955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10970 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10971 PyObject
*resultobj
;
10973 char *kwnames
[] = {
10977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
10979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10980 result
= wxImage::GetImageExtWildcard();
10982 wxPyEndAllowThreads(__tstate
);
10983 if (PyErr_Occurred()) SWIG_fail
;
10987 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10989 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10998 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10999 PyObject
*resultobj
;
11000 wxImage
*arg1
= (wxImage
*) 0 ;
11002 PyObject
* obj0
= 0 ;
11003 char *kwnames
[] = {
11004 (char *) "self", NULL
11007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
11008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11012 result
= wxImage_ConvertToBitmap(arg1
);
11014 wxPyEndAllowThreads(__tstate
);
11015 if (PyErr_Occurred()) SWIG_fail
;
11018 wxBitmap
* resultptr
;
11019 resultptr
= new wxBitmap((wxBitmap
&) result
);
11020 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11028 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11029 PyObject
*resultobj
;
11030 wxImage
*arg1
= (wxImage
*) 0 ;
11031 unsigned char arg2
;
11032 unsigned char arg3
;
11033 unsigned char arg4
;
11035 PyObject
* obj0
= 0 ;
11036 PyObject
* obj1
= 0 ;
11037 PyObject
* obj2
= 0 ;
11038 PyObject
* obj3
= 0 ;
11039 char *kwnames
[] = {
11040 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11046 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
11047 if (PyErr_Occurred()) SWIG_fail
;
11048 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
11049 if (PyErr_Occurred()) SWIG_fail
;
11050 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
11051 if (PyErr_Occurred()) SWIG_fail
;
11053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11054 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11056 wxPyEndAllowThreads(__tstate
);
11057 if (PyErr_Occurred()) SWIG_fail
;
11060 wxBitmap
* resultptr
;
11061 resultptr
= new wxBitmap((wxBitmap
&) result
);
11062 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11070 static PyObject
* Image_swigregister(PyObject
*self
, PyObject
*args
) {
11072 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11073 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11075 return Py_BuildValue((char *)"");
11077 static PyObject
*_wrap_InitAllImageHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11078 PyObject
*resultobj
;
11079 char *kwnames
[] = {
11083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":InitAllImageHandlers",kwnames
)) goto fail
;
11085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11086 wxInitAllImageHandlers();
11088 wxPyEndAllowThreads(__tstate
);
11089 if (PyErr_Occurred()) SWIG_fail
;
11091 Py_INCREF(Py_None
); resultobj
= Py_None
;
11098 static int _wrap_NullImage_set(PyObject
*_val
) {
11099 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11104 static PyObject
*_wrap_NullImage_get() {
11107 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11112 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*_val
) {
11113 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11118 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11123 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11125 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11132 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*_val
) {
11133 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11138 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11143 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11145 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11152 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*_val
) {
11153 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11158 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11163 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11165 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11172 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*_val
) {
11173 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11178 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11183 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11185 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11192 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*_val
) {
11193 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11198 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11203 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11205 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11212 static PyObject
*_wrap_new_BMPHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11213 PyObject
*resultobj
;
11214 wxBMPHandler
*result
;
11215 char *kwnames
[] = {
11219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11222 result
= (wxBMPHandler
*)new wxBMPHandler();
11224 wxPyEndAllowThreads(__tstate
);
11225 if (PyErr_Occurred()) SWIG_fail
;
11227 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11234 static PyObject
* BMPHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11236 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11237 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11239 return Py_BuildValue((char *)"");
11241 static PyObject
*_wrap_new_ICOHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11242 PyObject
*resultobj
;
11243 wxICOHandler
*result
;
11244 char *kwnames
[] = {
11248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11251 result
= (wxICOHandler
*)new wxICOHandler();
11253 wxPyEndAllowThreads(__tstate
);
11254 if (PyErr_Occurred()) SWIG_fail
;
11256 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11263 static PyObject
* ICOHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11265 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11266 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11268 return Py_BuildValue((char *)"");
11270 static PyObject
*_wrap_new_CURHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11271 PyObject
*resultobj
;
11272 wxCURHandler
*result
;
11273 char *kwnames
[] = {
11277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11280 result
= (wxCURHandler
*)new wxCURHandler();
11282 wxPyEndAllowThreads(__tstate
);
11283 if (PyErr_Occurred()) SWIG_fail
;
11285 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11292 static PyObject
* CURHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11294 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11295 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11297 return Py_BuildValue((char *)"");
11299 static PyObject
*_wrap_new_ANIHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11300 PyObject
*resultobj
;
11301 wxANIHandler
*result
;
11302 char *kwnames
[] = {
11306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11309 result
= (wxANIHandler
*)new wxANIHandler();
11311 wxPyEndAllowThreads(__tstate
);
11312 if (PyErr_Occurred()) SWIG_fail
;
11314 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11321 static PyObject
* ANIHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11323 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11324 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11326 return Py_BuildValue((char *)"");
11328 static PyObject
*_wrap_new_PNGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11329 PyObject
*resultobj
;
11330 wxPNGHandler
*result
;
11331 char *kwnames
[] = {
11335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11338 result
= (wxPNGHandler
*)new wxPNGHandler();
11340 wxPyEndAllowThreads(__tstate
);
11341 if (PyErr_Occurred()) SWIG_fail
;
11343 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11350 static PyObject
* PNGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11352 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11353 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11355 return Py_BuildValue((char *)"");
11357 static PyObject
*_wrap_new_GIFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11358 PyObject
*resultobj
;
11359 wxGIFHandler
*result
;
11360 char *kwnames
[] = {
11364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11367 result
= (wxGIFHandler
*)new wxGIFHandler();
11369 wxPyEndAllowThreads(__tstate
);
11370 if (PyErr_Occurred()) SWIG_fail
;
11372 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
11379 static PyObject
* GIFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11381 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11382 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11384 return Py_BuildValue((char *)"");
11386 static PyObject
*_wrap_new_PCXHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11387 PyObject
*resultobj
;
11388 wxPCXHandler
*result
;
11389 char *kwnames
[] = {
11393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11396 result
= (wxPCXHandler
*)new wxPCXHandler();
11398 wxPyEndAllowThreads(__tstate
);
11399 if (PyErr_Occurred()) SWIG_fail
;
11401 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
11408 static PyObject
* PCXHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11410 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11411 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11413 return Py_BuildValue((char *)"");
11415 static PyObject
*_wrap_new_JPEGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11416 PyObject
*resultobj
;
11417 wxJPEGHandler
*result
;
11418 char *kwnames
[] = {
11422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11425 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11427 wxPyEndAllowThreads(__tstate
);
11428 if (PyErr_Occurred()) SWIG_fail
;
11430 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
11437 static PyObject
* JPEGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11439 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11440 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11442 return Py_BuildValue((char *)"");
11444 static PyObject
*_wrap_new_PNMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11445 PyObject
*resultobj
;
11446 wxPNMHandler
*result
;
11447 char *kwnames
[] = {
11451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11454 result
= (wxPNMHandler
*)new wxPNMHandler();
11456 wxPyEndAllowThreads(__tstate
);
11457 if (PyErr_Occurred()) SWIG_fail
;
11459 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
11466 static PyObject
* PNMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11468 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11469 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11471 return Py_BuildValue((char *)"");
11473 static PyObject
*_wrap_new_XPMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11474 PyObject
*resultobj
;
11475 wxXPMHandler
*result
;
11476 char *kwnames
[] = {
11480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11483 result
= (wxXPMHandler
*)new wxXPMHandler();
11485 wxPyEndAllowThreads(__tstate
);
11486 if (PyErr_Occurred()) SWIG_fail
;
11488 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
11495 static PyObject
* XPMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11497 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11498 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
11500 return Py_BuildValue((char *)"");
11502 static PyObject
*_wrap_new_TIFFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11503 PyObject
*resultobj
;
11504 wxTIFFHandler
*result
;
11505 char *kwnames
[] = {
11509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
11511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11512 result
= (wxTIFFHandler
*)new wxTIFFHandler();
11514 wxPyEndAllowThreads(__tstate
);
11515 if (PyErr_Occurred()) SWIG_fail
;
11517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
11524 static PyObject
* TIFFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11526 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11527 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
11529 return Py_BuildValue((char *)"");
11531 static PyObject
*_wrap_new_EvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11532 PyObject
*resultobj
;
11533 wxEvtHandler
*result
;
11534 char *kwnames
[] = {
11538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
11540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11541 result
= (wxEvtHandler
*)new wxEvtHandler();
11543 wxPyEndAllowThreads(__tstate
);
11544 if (PyErr_Occurred()) SWIG_fail
;
11547 resultobj
= wxPyMake_wxObject(result
);
11555 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11556 PyObject
*resultobj
;
11557 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11558 wxEvtHandler
*result
;
11559 PyObject
* obj0
= 0 ;
11560 char *kwnames
[] = {
11561 (char *) "self", NULL
11564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
11565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11569 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
11571 wxPyEndAllowThreads(__tstate
);
11572 if (PyErr_Occurred()) SWIG_fail
;
11575 resultobj
= wxPyMake_wxObject(result
);
11583 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11584 PyObject
*resultobj
;
11585 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11586 wxEvtHandler
*result
;
11587 PyObject
* obj0
= 0 ;
11588 char *kwnames
[] = {
11589 (char *) "self", NULL
11592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
11593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11597 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
11599 wxPyEndAllowThreads(__tstate
);
11600 if (PyErr_Occurred()) SWIG_fail
;
11603 resultobj
= wxPyMake_wxObject(result
);
11611 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11612 PyObject
*resultobj
;
11613 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11614 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11615 PyObject
* obj0
= 0 ;
11616 PyObject
* obj1
= 0 ;
11617 char *kwnames
[] = {
11618 (char *) "self",(char *) "handler", NULL
11621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11624 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11628 (arg1
)->SetNextHandler(arg2
);
11630 wxPyEndAllowThreads(__tstate
);
11631 if (PyErr_Occurred()) SWIG_fail
;
11633 Py_INCREF(Py_None
); resultobj
= Py_None
;
11640 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11641 PyObject
*resultobj
;
11642 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11643 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11644 PyObject
* obj0
= 0 ;
11645 PyObject
* obj1
= 0 ;
11646 char *kwnames
[] = {
11647 (char *) "self",(char *) "handler", NULL
11650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11653 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11657 (arg1
)->SetPreviousHandler(arg2
);
11659 wxPyEndAllowThreads(__tstate
);
11660 if (PyErr_Occurred()) SWIG_fail
;
11662 Py_INCREF(Py_None
); resultobj
= Py_None
;
11669 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11670 PyObject
*resultobj
;
11671 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11673 PyObject
* obj0
= 0 ;
11674 char *kwnames
[] = {
11675 (char *) "self", NULL
11678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
11679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11683 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
11685 wxPyEndAllowThreads(__tstate
);
11686 if (PyErr_Occurred()) SWIG_fail
;
11688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11695 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11696 PyObject
*resultobj
;
11697 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11699 PyObject
* obj0
= 0 ;
11700 PyObject
* obj1
= 0 ;
11701 char *kwnames
[] = {
11702 (char *) "self",(char *) "enabled", NULL
11705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
11706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11708 arg2
= (bool) SWIG_AsBool(obj1
);
11709 if (PyErr_Occurred()) SWIG_fail
;
11711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11712 (arg1
)->SetEvtHandlerEnabled(arg2
);
11714 wxPyEndAllowThreads(__tstate
);
11715 if (PyErr_Occurred()) SWIG_fail
;
11717 Py_INCREF(Py_None
); resultobj
= Py_None
;
11724 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11725 PyObject
*resultobj
;
11726 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11727 wxEvent
*arg2
= 0 ;
11729 PyObject
* obj0
= 0 ;
11730 PyObject
* obj1
= 0 ;
11731 char *kwnames
[] = {
11732 (char *) "self",(char *) "event", NULL
11735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11738 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
11739 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11741 if (arg2
== NULL
) {
11742 PyErr_SetString(PyExc_TypeError
,"null reference");
11746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11747 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
11749 wxPyEndAllowThreads(__tstate
);
11750 if (PyErr_Occurred()) SWIG_fail
;
11752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11759 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11760 PyObject
*resultobj
;
11761 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11762 wxEvent
*arg2
= 0 ;
11763 PyObject
* obj0
= 0 ;
11764 PyObject
* obj1
= 0 ;
11765 char *kwnames
[] = {
11766 (char *) "self",(char *) "event", NULL
11769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11772 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
11773 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11775 if (arg2
== NULL
) {
11776 PyErr_SetString(PyExc_TypeError
,"null reference");
11780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11781 (arg1
)->AddPendingEvent(*arg2
);
11783 wxPyEndAllowThreads(__tstate
);
11784 if (PyErr_Occurred()) SWIG_fail
;
11786 Py_INCREF(Py_None
); resultobj
= Py_None
;
11793 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11794 PyObject
*resultobj
;
11795 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11796 PyObject
* obj0
= 0 ;
11797 char *kwnames
[] = {
11798 (char *) "self", NULL
11801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
11802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11806 (arg1
)->ProcessPendingEvents();
11808 wxPyEndAllowThreads(__tstate
);
11809 if (PyErr_Occurred()) SWIG_fail
;
11811 Py_INCREF(Py_None
); resultobj
= Py_None
;
11818 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11819 PyObject
*resultobj
;
11820 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11824 PyObject
*arg5
= (PyObject
*) 0 ;
11825 PyObject
* obj0
= 0 ;
11826 PyObject
* obj1
= 0 ;
11827 PyObject
* obj2
= 0 ;
11828 PyObject
* obj3
= 0 ;
11829 PyObject
* obj4
= 0 ;
11830 char *kwnames
[] = {
11831 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
11834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11837 arg2
= (int) SWIG_AsInt(obj1
);
11838 if (PyErr_Occurred()) SWIG_fail
;
11839 arg3
= (int) SWIG_AsInt(obj2
);
11840 if (PyErr_Occurred()) SWIG_fail
;
11841 arg4
= (int) SWIG_AsInt(obj3
);
11842 if (PyErr_Occurred()) SWIG_fail
;
11845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11846 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
11848 wxPyEndAllowThreads(__tstate
);
11849 if (PyErr_Occurred()) SWIG_fail
;
11851 Py_INCREF(Py_None
); resultobj
= Py_None
;
11858 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11859 PyObject
*resultobj
;
11860 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11862 int arg3
= (int) -1 ;
11863 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
11865 PyObject
* obj0
= 0 ;
11866 PyObject
* obj1
= 0 ;
11867 PyObject
* obj2
= 0 ;
11868 PyObject
* obj3
= 0 ;
11869 char *kwnames
[] = {
11870 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
11873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11876 arg2
= (int) SWIG_AsInt(obj1
);
11877 if (PyErr_Occurred()) SWIG_fail
;
11879 arg3
= (int) SWIG_AsInt(obj2
);
11880 if (PyErr_Occurred()) SWIG_fail
;
11883 arg4
= (wxEventType
) SWIG_AsInt(obj3
);
11884 if (PyErr_Occurred()) SWIG_fail
;
11887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11888 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
11890 wxPyEndAllowThreads(__tstate
);
11891 if (PyErr_Occurred()) SWIG_fail
;
11893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11900 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11901 PyObject
*resultobj
;
11902 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11903 PyObject
*arg2
= (PyObject
*) 0 ;
11904 PyObject
* obj0
= 0 ;
11905 PyObject
* obj1
= 0 ;
11906 char *kwnames
[] = {
11907 (char *) "self",(char *) "_self", NULL
11910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
11911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11916 wxEvtHandler__setOORInfo(arg1
,arg2
);
11918 wxPyEndAllowThreads(__tstate
);
11919 if (PyErr_Occurred()) SWIG_fail
;
11921 Py_INCREF(Py_None
); resultobj
= Py_None
;
11928 static PyObject
* EvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11930 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11931 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
11933 return Py_BuildValue((char *)"");
11935 static PyObject
*_wrap_NewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11936 PyObject
*resultobj
;
11937 wxEventType result
;
11938 char *kwnames
[] = {
11942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
11944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11945 result
= (wxEventType
)wxNewEventType();
11947 wxPyEndAllowThreads(__tstate
);
11948 if (PyErr_Occurred()) SWIG_fail
;
11950 resultobj
= SWIG_FromInt((int)result
);
11957 static PyObject
*_wrap_delete_Event(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11958 PyObject
*resultobj
;
11959 wxEvent
*arg1
= (wxEvent
*) 0 ;
11960 PyObject
* obj0
= 0 ;
11961 char *kwnames
[] = {
11962 (char *) "self", NULL
11965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
11966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
11967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11972 wxPyEndAllowThreads(__tstate
);
11973 if (PyErr_Occurred()) SWIG_fail
;
11975 Py_INCREF(Py_None
); resultobj
= Py_None
;
11982 static PyObject
*_wrap_Event_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11983 PyObject
*resultobj
;
11984 wxEvent
*arg1
= (wxEvent
*) 0 ;
11986 PyObject
* obj0
= 0 ;
11987 PyObject
* obj1
= 0 ;
11988 char *kwnames
[] = {
11989 (char *) "self",(char *) "typ", NULL
11992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
11993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
11994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11995 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
11996 if (PyErr_Occurred()) SWIG_fail
;
11998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11999 (arg1
)->SetEventType(arg2
);
12001 wxPyEndAllowThreads(__tstate
);
12002 if (PyErr_Occurred()) SWIG_fail
;
12004 Py_INCREF(Py_None
); resultobj
= Py_None
;
12011 static PyObject
*_wrap_Event_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12012 PyObject
*resultobj
;
12013 wxEvent
*arg1
= (wxEvent
*) 0 ;
12014 wxEventType result
;
12015 PyObject
* obj0
= 0 ;
12016 char *kwnames
[] = {
12017 (char *) "self", NULL
12020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12025 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12027 wxPyEndAllowThreads(__tstate
);
12028 if (PyErr_Occurred()) SWIG_fail
;
12030 resultobj
= SWIG_FromInt((int)result
);
12037 static PyObject
*_wrap_Event_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12038 PyObject
*resultobj
;
12039 wxEvent
*arg1
= (wxEvent
*) 0 ;
12041 PyObject
* obj0
= 0 ;
12042 char *kwnames
[] = {
12043 (char *) "self", NULL
12046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12051 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12053 wxPyEndAllowThreads(__tstate
);
12054 if (PyErr_Occurred()) SWIG_fail
;
12057 resultobj
= wxPyMake_wxObject(result
);
12065 static PyObject
*_wrap_Event_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12066 PyObject
*resultobj
;
12067 wxEvent
*arg1
= (wxEvent
*) 0 ;
12068 wxObject
*arg2
= (wxObject
*) 0 ;
12069 PyObject
* obj0
= 0 ;
12070 PyObject
* obj1
= 0 ;
12071 char *kwnames
[] = {
12072 (char *) "self",(char *) "obj", NULL
12075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12078 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12082 (arg1
)->SetEventObject(arg2
);
12084 wxPyEndAllowThreads(__tstate
);
12085 if (PyErr_Occurred()) SWIG_fail
;
12087 Py_INCREF(Py_None
); resultobj
= Py_None
;
12094 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12095 PyObject
*resultobj
;
12096 wxEvent
*arg1
= (wxEvent
*) 0 ;
12098 PyObject
* obj0
= 0 ;
12099 char *kwnames
[] = {
12100 (char *) "self", NULL
12103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12108 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12110 wxPyEndAllowThreads(__tstate
);
12111 if (PyErr_Occurred()) SWIG_fail
;
12113 resultobj
= SWIG_FromLong((long)result
);
12120 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12121 PyObject
*resultobj
;
12122 wxEvent
*arg1
= (wxEvent
*) 0 ;
12123 long arg2
= (long) 0 ;
12124 PyObject
* obj0
= 0 ;
12125 PyObject
* obj1
= 0 ;
12126 char *kwnames
[] = {
12127 (char *) "self",(char *) "ts", NULL
12130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12134 arg2
= (long) SWIG_AsLong(obj1
);
12135 if (PyErr_Occurred()) SWIG_fail
;
12138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12139 (arg1
)->SetTimestamp(arg2
);
12141 wxPyEndAllowThreads(__tstate
);
12142 if (PyErr_Occurred()) SWIG_fail
;
12144 Py_INCREF(Py_None
); resultobj
= Py_None
;
12151 static PyObject
*_wrap_Event_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12152 PyObject
*resultobj
;
12153 wxEvent
*arg1
= (wxEvent
*) 0 ;
12155 PyObject
* obj0
= 0 ;
12156 char *kwnames
[] = {
12157 (char *) "self", NULL
12160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12165 result
= (int)((wxEvent
const *)arg1
)->GetId();
12167 wxPyEndAllowThreads(__tstate
);
12168 if (PyErr_Occurred()) SWIG_fail
;
12170 resultobj
= SWIG_FromInt((int)result
);
12177 static PyObject
*_wrap_Event_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12178 PyObject
*resultobj
;
12179 wxEvent
*arg1
= (wxEvent
*) 0 ;
12181 PyObject
* obj0
= 0 ;
12182 PyObject
* obj1
= 0 ;
12183 char *kwnames
[] = {
12184 (char *) "self",(char *) "Id", NULL
12187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12190 arg2
= (int) SWIG_AsInt(obj1
);
12191 if (PyErr_Occurred()) SWIG_fail
;
12193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12194 (arg1
)->SetId(arg2
);
12196 wxPyEndAllowThreads(__tstate
);
12197 if (PyErr_Occurred()) SWIG_fail
;
12199 Py_INCREF(Py_None
); resultobj
= Py_None
;
12206 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12207 PyObject
*resultobj
;
12208 wxEvent
*arg1
= (wxEvent
*) 0 ;
12210 PyObject
* obj0
= 0 ;
12211 char *kwnames
[] = {
12212 (char *) "self", NULL
12215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12220 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12222 wxPyEndAllowThreads(__tstate
);
12223 if (PyErr_Occurred()) SWIG_fail
;
12225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12232 static PyObject
*_wrap_Event_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12233 PyObject
*resultobj
;
12234 wxEvent
*arg1
= (wxEvent
*) 0 ;
12235 bool arg2
= (bool) True
;
12236 PyObject
* obj0
= 0 ;
12237 PyObject
* obj1
= 0 ;
12238 char *kwnames
[] = {
12239 (char *) "self",(char *) "skip", NULL
12242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12246 arg2
= (bool) SWIG_AsBool(obj1
);
12247 if (PyErr_Occurred()) SWIG_fail
;
12250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12251 (arg1
)->Skip(arg2
);
12253 wxPyEndAllowThreads(__tstate
);
12254 if (PyErr_Occurred()) SWIG_fail
;
12256 Py_INCREF(Py_None
); resultobj
= Py_None
;
12263 static PyObject
*_wrap_Event_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12264 PyObject
*resultobj
;
12265 wxEvent
*arg1
= (wxEvent
*) 0 ;
12267 PyObject
* obj0
= 0 ;
12268 char *kwnames
[] = {
12269 (char *) "self", NULL
12272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12277 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12279 wxPyEndAllowThreads(__tstate
);
12280 if (PyErr_Occurred()) SWIG_fail
;
12282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12289 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12290 PyObject
*resultobj
;
12291 wxEvent
*arg1
= (wxEvent
*) 0 ;
12293 PyObject
* obj0
= 0 ;
12294 char *kwnames
[] = {
12295 (char *) "self", NULL
12298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12303 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12305 wxPyEndAllowThreads(__tstate
);
12306 if (PyErr_Occurred()) SWIG_fail
;
12308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12315 static PyObject
*_wrap_Event_StopPropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12316 PyObject
*resultobj
;
12317 wxEvent
*arg1
= (wxEvent
*) 0 ;
12319 PyObject
* obj0
= 0 ;
12320 char *kwnames
[] = {
12321 (char *) "self", NULL
12324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12329 result
= (int)(arg1
)->StopPropagation();
12331 wxPyEndAllowThreads(__tstate
);
12332 if (PyErr_Occurred()) SWIG_fail
;
12334 resultobj
= SWIG_FromInt((int)result
);
12341 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12342 PyObject
*resultobj
;
12343 wxEvent
*arg1
= (wxEvent
*) 0 ;
12345 PyObject
* obj0
= 0 ;
12346 PyObject
* obj1
= 0 ;
12347 char *kwnames
[] = {
12348 (char *) "self",(char *) "propagationLevel", NULL
12351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12354 arg2
= (int) SWIG_AsInt(obj1
);
12355 if (PyErr_Occurred()) SWIG_fail
;
12357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12358 (arg1
)->ResumePropagation(arg2
);
12360 wxPyEndAllowThreads(__tstate
);
12361 if (PyErr_Occurred()) SWIG_fail
;
12363 Py_INCREF(Py_None
); resultobj
= Py_None
;
12370 static PyObject
*_wrap_Event_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12371 PyObject
*resultobj
;
12372 wxEvent
*arg1
= (wxEvent
*) 0 ;
12374 PyObject
* obj0
= 0 ;
12375 char *kwnames
[] = {
12376 (char *) "self", NULL
12379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12384 result
= (wxEvent
*)(arg1
)->Clone();
12386 wxPyEndAllowThreads(__tstate
);
12387 if (PyErr_Occurred()) SWIG_fail
;
12389 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12396 static PyObject
* Event_swigregister(PyObject
*self
, PyObject
*args
) {
12398 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12399 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12401 return Py_BuildValue((char *)"");
12403 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12404 PyObject
*resultobj
;
12405 wxEvent
*arg1
= 0 ;
12406 wxPropagationDisabler
*result
;
12407 PyObject
* obj0
= 0 ;
12408 char *kwnames
[] = {
12409 (char *) "event", NULL
12412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12414 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12416 if (arg1
== NULL
) {
12417 PyErr_SetString(PyExc_TypeError
,"null reference");
12421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12422 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
12424 wxPyEndAllowThreads(__tstate
);
12425 if (PyErr_Occurred()) SWIG_fail
;
12427 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
12434 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12435 PyObject
*resultobj
;
12436 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
12437 PyObject
* obj0
= 0 ;
12438 char *kwnames
[] = {
12439 (char *) "self", NULL
12442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
12444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12449 wxPyEndAllowThreads(__tstate
);
12450 if (PyErr_Occurred()) SWIG_fail
;
12452 Py_INCREF(Py_None
); resultobj
= Py_None
;
12459 static PyObject
* PropagationDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
12461 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12462 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
12464 return Py_BuildValue((char *)"");
12466 static PyObject
*_wrap_new_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12467 PyObject
*resultobj
;
12468 wxEvent
*arg1
= 0 ;
12469 wxPropagateOnce
*result
;
12470 PyObject
* obj0
= 0 ;
12471 char *kwnames
[] = {
12472 (char *) "event", NULL
12475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12477 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12479 if (arg1
== NULL
) {
12480 PyErr_SetString(PyExc_TypeError
,"null reference");
12484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12485 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
12487 wxPyEndAllowThreads(__tstate
);
12488 if (PyErr_Occurred()) SWIG_fail
;
12490 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
12497 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12498 PyObject
*resultobj
;
12499 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
12500 PyObject
* obj0
= 0 ;
12501 char *kwnames
[] = {
12502 (char *) "self", NULL
12505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
12507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12512 wxPyEndAllowThreads(__tstate
);
12513 if (PyErr_Occurred()) SWIG_fail
;
12515 Py_INCREF(Py_None
); resultobj
= Py_None
;
12522 static PyObject
* PropagateOnce_swigregister(PyObject
*self
, PyObject
*args
) {
12524 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12525 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
12527 return Py_BuildValue((char *)"");
12529 static PyObject
*_wrap_new_CommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12530 PyObject
*resultobj
;
12531 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12532 int arg2
= (int) 0 ;
12533 wxCommandEvent
*result
;
12534 PyObject
* obj0
= 0 ;
12535 PyObject
* obj1
= 0 ;
12536 char *kwnames
[] = {
12537 (char *) "commandType",(char *) "winid", NULL
12540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12542 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
12543 if (PyErr_Occurred()) SWIG_fail
;
12546 arg2
= (int) SWIG_AsInt(obj1
);
12547 if (PyErr_Occurred()) SWIG_fail
;
12550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12551 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
12553 wxPyEndAllowThreads(__tstate
);
12554 if (PyErr_Occurred()) SWIG_fail
;
12556 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
12563 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12564 PyObject
*resultobj
;
12565 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12567 PyObject
* obj0
= 0 ;
12568 char *kwnames
[] = {
12569 (char *) "self", NULL
12572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
12573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12577 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
12579 wxPyEndAllowThreads(__tstate
);
12580 if (PyErr_Occurred()) SWIG_fail
;
12582 resultobj
= SWIG_FromInt((int)result
);
12589 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12590 PyObject
*resultobj
;
12591 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12592 wxString
*arg2
= 0 ;
12593 bool temp2
= False
;
12594 PyObject
* obj0
= 0 ;
12595 PyObject
* obj1
= 0 ;
12596 char *kwnames
[] = {
12597 (char *) "self",(char *) "s", NULL
12600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12604 arg2
= wxString_in_helper(obj1
);
12605 if (arg2
== NULL
) SWIG_fail
;
12609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12610 (arg1
)->SetString((wxString
const &)*arg2
);
12612 wxPyEndAllowThreads(__tstate
);
12613 if (PyErr_Occurred()) SWIG_fail
;
12615 Py_INCREF(Py_None
); resultobj
= Py_None
;
12630 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12631 PyObject
*resultobj
;
12632 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12634 PyObject
* obj0
= 0 ;
12635 char *kwnames
[] = {
12636 (char *) "self", NULL
12639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
12640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12644 result
= ((wxCommandEvent
const *)arg1
)->GetString();
12646 wxPyEndAllowThreads(__tstate
);
12647 if (PyErr_Occurred()) SWIG_fail
;
12651 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12653 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12662 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12663 PyObject
*resultobj
;
12664 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12666 PyObject
* obj0
= 0 ;
12667 char *kwnames
[] = {
12668 (char *) "self", NULL
12671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
12672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12676 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
12678 wxPyEndAllowThreads(__tstate
);
12679 if (PyErr_Occurred()) SWIG_fail
;
12681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12688 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12689 PyObject
*resultobj
;
12690 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12692 PyObject
* obj0
= 0 ;
12693 char *kwnames
[] = {
12694 (char *) "self", NULL
12697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
12698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12702 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
12704 wxPyEndAllowThreads(__tstate
);
12705 if (PyErr_Occurred()) SWIG_fail
;
12707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12714 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12715 PyObject
*resultobj
;
12716 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12718 PyObject
* obj0
= 0 ;
12719 PyObject
* obj1
= 0 ;
12720 char *kwnames
[] = {
12721 (char *) "self",(char *) "extraLong", NULL
12724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
12725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12727 arg2
= (long) SWIG_AsLong(obj1
);
12728 if (PyErr_Occurred()) SWIG_fail
;
12730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12731 (arg1
)->SetExtraLong(arg2
);
12733 wxPyEndAllowThreads(__tstate
);
12734 if (PyErr_Occurred()) SWIG_fail
;
12736 Py_INCREF(Py_None
); resultobj
= Py_None
;
12743 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12744 PyObject
*resultobj
;
12745 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12747 PyObject
* obj0
= 0 ;
12748 char *kwnames
[] = {
12749 (char *) "self", NULL
12752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
12753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12757 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
12759 wxPyEndAllowThreads(__tstate
);
12760 if (PyErr_Occurred()) SWIG_fail
;
12762 resultobj
= SWIG_FromLong((long)result
);
12769 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12770 PyObject
*resultobj
;
12771 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12773 PyObject
* obj0
= 0 ;
12774 PyObject
* obj1
= 0 ;
12775 char *kwnames
[] = {
12776 (char *) "self",(char *) "i", NULL
12779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
12780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12782 arg2
= (int) SWIG_AsInt(obj1
);
12783 if (PyErr_Occurred()) SWIG_fail
;
12785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12786 (arg1
)->SetInt(arg2
);
12788 wxPyEndAllowThreads(__tstate
);
12789 if (PyErr_Occurred()) SWIG_fail
;
12791 Py_INCREF(Py_None
); resultobj
= Py_None
;
12798 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12799 PyObject
*resultobj
;
12800 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12802 PyObject
* obj0
= 0 ;
12803 char *kwnames
[] = {
12804 (char *) "self", NULL
12807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
12808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12812 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
12814 wxPyEndAllowThreads(__tstate
);
12815 if (PyErr_Occurred()) SWIG_fail
;
12817 resultobj
= SWIG_FromLong((long)result
);
12824 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12825 PyObject
*resultobj
;
12826 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12828 PyObject
* obj0
= 0 ;
12829 char *kwnames
[] = {
12830 (char *) "self", NULL
12833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
12834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12838 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
12840 wxPyEndAllowThreads(__tstate
);
12841 if (PyErr_Occurred()) SWIG_fail
;
12843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12850 static PyObject
* CommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12852 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12853 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
12855 return Py_BuildValue((char *)"");
12857 static PyObject
*_wrap_new_NotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12858 PyObject
*resultobj
;
12859 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12860 int arg2
= (int) 0 ;
12861 wxNotifyEvent
*result
;
12862 PyObject
* obj0
= 0 ;
12863 PyObject
* obj1
= 0 ;
12864 char *kwnames
[] = {
12865 (char *) "commandType",(char *) "winid", NULL
12868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12870 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
12871 if (PyErr_Occurred()) SWIG_fail
;
12874 arg2
= (int) SWIG_AsInt(obj1
);
12875 if (PyErr_Occurred()) SWIG_fail
;
12878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12879 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
12881 wxPyEndAllowThreads(__tstate
);
12882 if (PyErr_Occurred()) SWIG_fail
;
12884 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
12891 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12892 PyObject
*resultobj
;
12893 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
12894 PyObject
* obj0
= 0 ;
12895 char *kwnames
[] = {
12896 (char *) "self", NULL
12899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
12900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
12901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12906 wxPyEndAllowThreads(__tstate
);
12907 if (PyErr_Occurred()) SWIG_fail
;
12909 Py_INCREF(Py_None
); resultobj
= Py_None
;
12916 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12917 PyObject
*resultobj
;
12918 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
12919 PyObject
* obj0
= 0 ;
12920 char *kwnames
[] = {
12921 (char *) "self", NULL
12924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
12925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
12926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12931 wxPyEndAllowThreads(__tstate
);
12932 if (PyErr_Occurred()) SWIG_fail
;
12934 Py_INCREF(Py_None
); resultobj
= Py_None
;
12941 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12942 PyObject
*resultobj
;
12943 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
12945 PyObject
* obj0
= 0 ;
12946 char *kwnames
[] = {
12947 (char *) "self", NULL
12950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
12951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
12952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12955 result
= (bool)(arg1
)->IsAllowed();
12957 wxPyEndAllowThreads(__tstate
);
12958 if (PyErr_Occurred()) SWIG_fail
;
12960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12967 static PyObject
* NotifyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12969 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12970 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
12972 return Py_BuildValue((char *)"");
12974 static PyObject
*_wrap_new_ScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12975 PyObject
*resultobj
;
12976 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12977 int arg2
= (int) 0 ;
12978 int arg3
= (int) 0 ;
12979 int arg4
= (int) 0 ;
12980 wxScrollEvent
*result
;
12981 PyObject
* obj0
= 0 ;
12982 PyObject
* obj1
= 0 ;
12983 PyObject
* obj2
= 0 ;
12984 PyObject
* obj3
= 0 ;
12985 char *kwnames
[] = {
12986 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
12989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12991 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
12992 if (PyErr_Occurred()) SWIG_fail
;
12995 arg2
= (int) SWIG_AsInt(obj1
);
12996 if (PyErr_Occurred()) SWIG_fail
;
12999 arg3
= (int) SWIG_AsInt(obj2
);
13000 if (PyErr_Occurred()) SWIG_fail
;
13003 arg4
= (int) SWIG_AsInt(obj3
);
13004 if (PyErr_Occurred()) SWIG_fail
;
13007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13008 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13010 wxPyEndAllowThreads(__tstate
);
13011 if (PyErr_Occurred()) SWIG_fail
;
13013 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13020 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13021 PyObject
*resultobj
;
13022 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13024 PyObject
* obj0
= 0 ;
13025 char *kwnames
[] = {
13026 (char *) "self", NULL
13029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13034 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13036 wxPyEndAllowThreads(__tstate
);
13037 if (PyErr_Occurred()) SWIG_fail
;
13039 resultobj
= SWIG_FromInt((int)result
);
13046 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13047 PyObject
*resultobj
;
13048 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13050 PyObject
* obj0
= 0 ;
13051 char *kwnames
[] = {
13052 (char *) "self", NULL
13055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13060 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13062 wxPyEndAllowThreads(__tstate
);
13063 if (PyErr_Occurred()) SWIG_fail
;
13065 resultobj
= SWIG_FromInt((int)result
);
13072 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13073 PyObject
*resultobj
;
13074 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13076 PyObject
* obj0
= 0 ;
13077 PyObject
* obj1
= 0 ;
13078 char *kwnames
[] = {
13079 (char *) "self",(char *) "orient", NULL
13082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13085 arg2
= (int) SWIG_AsInt(obj1
);
13086 if (PyErr_Occurred()) SWIG_fail
;
13088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13089 (arg1
)->SetOrientation(arg2
);
13091 wxPyEndAllowThreads(__tstate
);
13092 if (PyErr_Occurred()) SWIG_fail
;
13094 Py_INCREF(Py_None
); resultobj
= Py_None
;
13101 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13102 PyObject
*resultobj
;
13103 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13105 PyObject
* obj0
= 0 ;
13106 PyObject
* obj1
= 0 ;
13107 char *kwnames
[] = {
13108 (char *) "self",(char *) "pos", NULL
13111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13114 arg2
= (int) SWIG_AsInt(obj1
);
13115 if (PyErr_Occurred()) SWIG_fail
;
13117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13118 (arg1
)->SetPosition(arg2
);
13120 wxPyEndAllowThreads(__tstate
);
13121 if (PyErr_Occurred()) SWIG_fail
;
13123 Py_INCREF(Py_None
); resultobj
= Py_None
;
13130 static PyObject
* ScrollEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13132 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13133 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13135 return Py_BuildValue((char *)"");
13137 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13138 PyObject
*resultobj
;
13139 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13140 int arg2
= (int) 0 ;
13141 int arg3
= (int) 0 ;
13142 wxScrollWinEvent
*result
;
13143 PyObject
* obj0
= 0 ;
13144 PyObject
* obj1
= 0 ;
13145 PyObject
* obj2
= 0 ;
13146 char *kwnames
[] = {
13147 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13152 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13153 if (PyErr_Occurred()) SWIG_fail
;
13156 arg2
= (int) SWIG_AsInt(obj1
);
13157 if (PyErr_Occurred()) SWIG_fail
;
13160 arg3
= (int) SWIG_AsInt(obj2
);
13161 if (PyErr_Occurred()) SWIG_fail
;
13164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13165 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13167 wxPyEndAllowThreads(__tstate
);
13168 if (PyErr_Occurred()) SWIG_fail
;
13170 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13177 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13178 PyObject
*resultobj
;
13179 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13181 PyObject
* obj0
= 0 ;
13182 char *kwnames
[] = {
13183 (char *) "self", NULL
13186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13191 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13193 wxPyEndAllowThreads(__tstate
);
13194 if (PyErr_Occurred()) SWIG_fail
;
13196 resultobj
= SWIG_FromInt((int)result
);
13203 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13204 PyObject
*resultobj
;
13205 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13207 PyObject
* obj0
= 0 ;
13208 char *kwnames
[] = {
13209 (char *) "self", NULL
13212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13217 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13219 wxPyEndAllowThreads(__tstate
);
13220 if (PyErr_Occurred()) SWIG_fail
;
13222 resultobj
= SWIG_FromInt((int)result
);
13229 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13230 PyObject
*resultobj
;
13231 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13233 PyObject
* obj0
= 0 ;
13234 PyObject
* obj1
= 0 ;
13235 char *kwnames
[] = {
13236 (char *) "self",(char *) "orient", NULL
13239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13242 arg2
= (int) SWIG_AsInt(obj1
);
13243 if (PyErr_Occurred()) SWIG_fail
;
13245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13246 (arg1
)->SetOrientation(arg2
);
13248 wxPyEndAllowThreads(__tstate
);
13249 if (PyErr_Occurred()) SWIG_fail
;
13251 Py_INCREF(Py_None
); resultobj
= Py_None
;
13258 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13259 PyObject
*resultobj
;
13260 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13262 PyObject
* obj0
= 0 ;
13263 PyObject
* obj1
= 0 ;
13264 char *kwnames
[] = {
13265 (char *) "self",(char *) "pos", NULL
13268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13271 arg2
= (int) SWIG_AsInt(obj1
);
13272 if (PyErr_Occurred()) SWIG_fail
;
13274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13275 (arg1
)->SetPosition(arg2
);
13277 wxPyEndAllowThreads(__tstate
);
13278 if (PyErr_Occurred()) SWIG_fail
;
13280 Py_INCREF(Py_None
); resultobj
= Py_None
;
13287 static PyObject
* ScrollWinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13289 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13290 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13292 return Py_BuildValue((char *)"");
13294 static PyObject
*_wrap_new_MouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13295 PyObject
*resultobj
;
13296 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13297 wxMouseEvent
*result
;
13298 PyObject
* obj0
= 0 ;
13299 char *kwnames
[] = {
13300 (char *) "mouseType", NULL
13303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13305 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13306 if (PyErr_Occurred()) SWIG_fail
;
13309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13310 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13312 wxPyEndAllowThreads(__tstate
);
13313 if (PyErr_Occurred()) SWIG_fail
;
13316 resultobj
= wxPyMake_wxObject(result
);
13324 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13325 PyObject
*resultobj
;
13326 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13328 PyObject
* obj0
= 0 ;
13329 char *kwnames
[] = {
13330 (char *) "self", NULL
13333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13338 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13340 wxPyEndAllowThreads(__tstate
);
13341 if (PyErr_Occurred()) SWIG_fail
;
13343 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13350 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13351 PyObject
*resultobj
;
13352 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13353 int arg2
= (int) wxMOUSE_BTN_ANY
;
13355 PyObject
* obj0
= 0 ;
13356 PyObject
* obj1
= 0 ;
13357 char *kwnames
[] = {
13358 (char *) "self",(char *) "but", NULL
13361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13365 arg2
= (int) SWIG_AsInt(obj1
);
13366 if (PyErr_Occurred()) SWIG_fail
;
13369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13370 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13372 wxPyEndAllowThreads(__tstate
);
13373 if (PyErr_Occurred()) SWIG_fail
;
13375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13382 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13383 PyObject
*resultobj
;
13384 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13385 int arg2
= (int) wxMOUSE_BTN_ANY
;
13387 PyObject
* obj0
= 0 ;
13388 PyObject
* obj1
= 0 ;
13389 char *kwnames
[] = {
13390 (char *) "self",(char *) "but", NULL
13393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13397 arg2
= (int) SWIG_AsInt(obj1
);
13398 if (PyErr_Occurred()) SWIG_fail
;
13401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13402 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13404 wxPyEndAllowThreads(__tstate
);
13405 if (PyErr_Occurred()) SWIG_fail
;
13407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13414 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13415 PyObject
*resultobj
;
13416 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13417 int arg2
= (int) wxMOUSE_BTN_ANY
;
13419 PyObject
* obj0
= 0 ;
13420 PyObject
* obj1
= 0 ;
13421 char *kwnames
[] = {
13422 (char *) "self",(char *) "but", NULL
13425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13429 arg2
= (int) SWIG_AsInt(obj1
);
13430 if (PyErr_Occurred()) SWIG_fail
;
13433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13434 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
13436 wxPyEndAllowThreads(__tstate
);
13437 if (PyErr_Occurred()) SWIG_fail
;
13439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13446 static PyObject
*_wrap_MouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13447 PyObject
*resultobj
;
13448 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13451 PyObject
* obj0
= 0 ;
13452 PyObject
* obj1
= 0 ;
13453 char *kwnames
[] = {
13454 (char *) "self",(char *) "but", NULL
13457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
13458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13460 arg2
= (int) SWIG_AsInt(obj1
);
13461 if (PyErr_Occurred()) SWIG_fail
;
13463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13464 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
13466 wxPyEndAllowThreads(__tstate
);
13467 if (PyErr_Occurred()) SWIG_fail
;
13469 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13476 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13477 PyObject
*resultobj
;
13478 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13481 PyObject
* obj0
= 0 ;
13482 PyObject
* obj1
= 0 ;
13483 char *kwnames
[] = {
13484 (char *) "self",(char *) "but", NULL
13487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13490 arg2
= (int) SWIG_AsInt(obj1
);
13491 if (PyErr_Occurred()) SWIG_fail
;
13493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13494 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
13496 wxPyEndAllowThreads(__tstate
);
13497 if (PyErr_Occurred()) SWIG_fail
;
13499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13506 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13507 PyObject
*resultobj
;
13508 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13510 PyObject
* obj0
= 0 ;
13511 char *kwnames
[] = {
13512 (char *) "self", NULL
13515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
13516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13520 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
13522 wxPyEndAllowThreads(__tstate
);
13523 if (PyErr_Occurred()) SWIG_fail
;
13525 resultobj
= SWIG_FromInt((int)result
);
13532 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13533 PyObject
*resultobj
;
13534 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13536 PyObject
* obj0
= 0 ;
13537 char *kwnames
[] = {
13538 (char *) "self", NULL
13541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13546 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
13548 wxPyEndAllowThreads(__tstate
);
13549 if (PyErr_Occurred()) SWIG_fail
;
13551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13558 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13559 PyObject
*resultobj
;
13560 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13562 PyObject
* obj0
= 0 ;
13563 char *kwnames
[] = {
13564 (char *) "self", NULL
13567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13572 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
13574 wxPyEndAllowThreads(__tstate
);
13575 if (PyErr_Occurred()) SWIG_fail
;
13577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13584 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13585 PyObject
*resultobj
;
13586 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13588 PyObject
* obj0
= 0 ;
13589 char *kwnames
[] = {
13590 (char *) "self", NULL
13593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13598 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
13600 wxPyEndAllowThreads(__tstate
);
13601 if (PyErr_Occurred()) SWIG_fail
;
13603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13610 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13611 PyObject
*resultobj
;
13612 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13614 PyObject
* obj0
= 0 ;
13615 char *kwnames
[] = {
13616 (char *) "self", NULL
13619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13624 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
13626 wxPyEndAllowThreads(__tstate
);
13627 if (PyErr_Occurred()) SWIG_fail
;
13629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13636 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13637 PyObject
*resultobj
;
13638 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13640 PyObject
* obj0
= 0 ;
13641 char *kwnames
[] = {
13642 (char *) "self", NULL
13645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
13646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13650 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
13652 wxPyEndAllowThreads(__tstate
);
13653 if (PyErr_Occurred()) SWIG_fail
;
13655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13662 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13663 PyObject
*resultobj
;
13664 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13666 PyObject
* obj0
= 0 ;
13667 char *kwnames
[] = {
13668 (char *) "self", NULL
13671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
13672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13676 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
13678 wxPyEndAllowThreads(__tstate
);
13679 if (PyErr_Occurred()) SWIG_fail
;
13681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13688 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13689 PyObject
*resultobj
;
13690 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13692 PyObject
* obj0
= 0 ;
13693 char *kwnames
[] = {
13694 (char *) "self", NULL
13697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
13698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13702 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
13704 wxPyEndAllowThreads(__tstate
);
13705 if (PyErr_Occurred()) SWIG_fail
;
13707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13714 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13715 PyObject
*resultobj
;
13716 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13718 PyObject
* obj0
= 0 ;
13719 char *kwnames
[] = {
13720 (char *) "self", NULL
13723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
13724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13728 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
13730 wxPyEndAllowThreads(__tstate
);
13731 if (PyErr_Occurred()) SWIG_fail
;
13733 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13740 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13741 PyObject
*resultobj
;
13742 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13744 PyObject
* obj0
= 0 ;
13745 char *kwnames
[] = {
13746 (char *) "self", NULL
13749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
13750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13754 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
13756 wxPyEndAllowThreads(__tstate
);
13757 if (PyErr_Occurred()) SWIG_fail
;
13759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13766 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13767 PyObject
*resultobj
;
13768 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13770 PyObject
* obj0
= 0 ;
13771 char *kwnames
[] = {
13772 (char *) "self", NULL
13775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
13776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13780 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
13782 wxPyEndAllowThreads(__tstate
);
13783 if (PyErr_Occurred()) SWIG_fail
;
13785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13792 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13793 PyObject
*resultobj
;
13794 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13796 PyObject
* obj0
= 0 ;
13797 char *kwnames
[] = {
13798 (char *) "self", NULL
13801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
13802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13806 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
13808 wxPyEndAllowThreads(__tstate
);
13809 if (PyErr_Occurred()) SWIG_fail
;
13811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13818 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13819 PyObject
*resultobj
;
13820 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13822 PyObject
* obj0
= 0 ;
13823 char *kwnames
[] = {
13824 (char *) "self", NULL
13827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
13828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13832 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
13834 wxPyEndAllowThreads(__tstate
);
13835 if (PyErr_Occurred()) SWIG_fail
;
13837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13844 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13845 PyObject
*resultobj
;
13846 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13848 PyObject
* obj0
= 0 ;
13849 char *kwnames
[] = {
13850 (char *) "self", NULL
13853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
13854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13858 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
13860 wxPyEndAllowThreads(__tstate
);
13861 if (PyErr_Occurred()) SWIG_fail
;
13863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13870 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13871 PyObject
*resultobj
;
13872 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13874 PyObject
* obj0
= 0 ;
13875 char *kwnames
[] = {
13876 (char *) "self", NULL
13879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
13880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13884 result
= (bool)(arg1
)->LeftIsDown();
13886 wxPyEndAllowThreads(__tstate
);
13887 if (PyErr_Occurred()) SWIG_fail
;
13889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13896 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13897 PyObject
*resultobj
;
13898 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13900 PyObject
* obj0
= 0 ;
13901 char *kwnames
[] = {
13902 (char *) "self", NULL
13905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
13906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13910 result
= (bool)(arg1
)->MiddleIsDown();
13912 wxPyEndAllowThreads(__tstate
);
13913 if (PyErr_Occurred()) SWIG_fail
;
13915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13922 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*self
, 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_RightIsDown",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)(arg1
)->RightIsDown();
13938 wxPyEndAllowThreads(__tstate
);
13939 if (PyErr_Occurred()) SWIG_fail
;
13941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13948 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13949 PyObject
*resultobj
;
13950 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13952 PyObject
* obj0
= 0 ;
13953 char *kwnames
[] = {
13954 (char *) "self", NULL
13957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
13958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13962 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
13964 wxPyEndAllowThreads(__tstate
);
13965 if (PyErr_Occurred()) SWIG_fail
;
13967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13974 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13975 PyObject
*resultobj
;
13976 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13978 PyObject
* obj0
= 0 ;
13979 char *kwnames
[] = {
13980 (char *) "self", NULL
13983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
13984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13988 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
13990 wxPyEndAllowThreads(__tstate
);
13991 if (PyErr_Occurred()) SWIG_fail
;
13993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14000 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14001 PyObject
*resultobj
;
14002 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14004 PyObject
* obj0
= 0 ;
14005 char *kwnames
[] = {
14006 (char *) "self", NULL
14009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14014 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14016 wxPyEndAllowThreads(__tstate
);
14017 if (PyErr_Occurred()) SWIG_fail
;
14019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14026 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14027 PyObject
*resultobj
;
14028 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14030 PyObject
* obj0
= 0 ;
14031 char *kwnames
[] = {
14032 (char *) "self", NULL
14035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14040 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14042 wxPyEndAllowThreads(__tstate
);
14043 if (PyErr_Occurred()) SWIG_fail
;
14045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14052 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14053 PyObject
*resultobj
;
14054 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14056 PyObject
* obj0
= 0 ;
14057 char *kwnames
[] = {
14058 (char *) "self", NULL
14061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14066 result
= (arg1
)->GetPosition();
14068 wxPyEndAllowThreads(__tstate
);
14069 if (PyErr_Occurred()) SWIG_fail
;
14072 wxPoint
* resultptr
;
14073 resultptr
= new wxPoint((wxPoint
&) result
);
14074 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14082 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14083 PyObject
*resultobj
;
14084 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14085 long *arg2
= (long *) 0 ;
14086 long *arg3
= (long *) 0 ;
14089 PyObject
* obj0
= 0 ;
14090 char *kwnames
[] = {
14091 (char *) "self", NULL
14096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14101 (arg1
)->GetPosition(arg2
,arg3
);
14103 wxPyEndAllowThreads(__tstate
);
14104 if (PyErr_Occurred()) SWIG_fail
;
14106 Py_INCREF(Py_None
); resultobj
= Py_None
;
14108 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14109 resultobj
= t_output_helper(resultobj
,o
);
14112 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14113 resultobj
= t_output_helper(resultobj
,o
);
14121 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14122 PyObject
*resultobj
;
14123 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14126 PyObject
* obj0
= 0 ;
14127 PyObject
* obj1
= 0 ;
14128 char *kwnames
[] = {
14129 (char *) "self",(char *) "dc", NULL
14132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14135 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14136 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14138 if (arg2
== NULL
) {
14139 PyErr_SetString(PyExc_TypeError
,"null reference");
14143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14144 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14146 wxPyEndAllowThreads(__tstate
);
14147 if (PyErr_Occurred()) SWIG_fail
;
14150 wxPoint
* resultptr
;
14151 resultptr
= new wxPoint((wxPoint
&) result
);
14152 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14160 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14161 PyObject
*resultobj
;
14162 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14164 PyObject
* obj0
= 0 ;
14165 char *kwnames
[] = {
14166 (char *) "self", NULL
14169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
14170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14174 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14176 wxPyEndAllowThreads(__tstate
);
14177 if (PyErr_Occurred()) SWIG_fail
;
14179 resultobj
= SWIG_FromInt((int)result
);
14186 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14187 PyObject
*resultobj
;
14188 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14190 PyObject
* obj0
= 0 ;
14191 char *kwnames
[] = {
14192 (char *) "self", NULL
14195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14200 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14202 wxPyEndAllowThreads(__tstate
);
14203 if (PyErr_Occurred()) SWIG_fail
;
14205 resultobj
= SWIG_FromInt((int)result
);
14212 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14213 PyObject
*resultobj
;
14214 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14216 PyObject
* obj0
= 0 ;
14217 char *kwnames
[] = {
14218 (char *) "self", NULL
14221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
14222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14226 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
14228 wxPyEndAllowThreads(__tstate
);
14229 if (PyErr_Occurred()) SWIG_fail
;
14231 resultobj
= SWIG_FromInt((int)result
);
14238 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14239 PyObject
*resultobj
;
14240 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14242 PyObject
* obj0
= 0 ;
14243 char *kwnames
[] = {
14244 (char *) "self", NULL
14247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
14248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14252 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14254 wxPyEndAllowThreads(__tstate
);
14255 if (PyErr_Occurred()) SWIG_fail
;
14257 resultobj
= SWIG_FromInt((int)result
);
14264 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14265 PyObject
*resultobj
;
14266 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14268 PyObject
* obj0
= 0 ;
14269 char *kwnames
[] = {
14270 (char *) "self", NULL
14273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14278 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14280 wxPyEndAllowThreads(__tstate
);
14281 if (PyErr_Occurred()) SWIG_fail
;
14283 resultobj
= SWIG_FromInt((int)result
);
14290 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14291 PyObject
*resultobj
;
14292 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14294 PyObject
* obj0
= 0 ;
14295 char *kwnames
[] = {
14296 (char *) "self", NULL
14299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14304 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14306 wxPyEndAllowThreads(__tstate
);
14307 if (PyErr_Occurred()) SWIG_fail
;
14309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14316 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14317 PyObject
*resultobj
;
14318 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14320 PyObject
* obj0
= 0 ;
14321 PyObject
* obj1
= 0 ;
14322 char *kwnames
[] = {
14323 (char *) "self",(char *) "m_x", NULL
14326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14329 arg2
= (int) SWIG_AsInt(obj1
);
14330 if (PyErr_Occurred()) SWIG_fail
;
14331 if (arg1
) (arg1
)->m_x
= arg2
;
14333 Py_INCREF(Py_None
); resultobj
= Py_None
;
14340 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14341 PyObject
*resultobj
;
14342 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14344 PyObject
* obj0
= 0 ;
14345 char *kwnames
[] = {
14346 (char *) "self", NULL
14349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14352 result
= (int) ((arg1
)->m_x
);
14354 resultobj
= SWIG_FromInt((int)result
);
14361 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14362 PyObject
*resultobj
;
14363 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14365 PyObject
* obj0
= 0 ;
14366 PyObject
* obj1
= 0 ;
14367 char *kwnames
[] = {
14368 (char *) "self",(char *) "m_y", NULL
14371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14374 arg2
= (int) SWIG_AsInt(obj1
);
14375 if (PyErr_Occurred()) SWIG_fail
;
14376 if (arg1
) (arg1
)->m_y
= arg2
;
14378 Py_INCREF(Py_None
); resultobj
= Py_None
;
14385 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14386 PyObject
*resultobj
;
14387 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14389 PyObject
* obj0
= 0 ;
14390 char *kwnames
[] = {
14391 (char *) "self", NULL
14394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
14395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14397 result
= (int) ((arg1
)->m_y
);
14399 resultobj
= SWIG_FromInt((int)result
);
14406 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14407 PyObject
*resultobj
;
14408 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14410 PyObject
* obj0
= 0 ;
14411 PyObject
* obj1
= 0 ;
14412 char *kwnames
[] = {
14413 (char *) "self",(char *) "m_leftDown", NULL
14416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14419 arg2
= (bool) SWIG_AsBool(obj1
);
14420 if (PyErr_Occurred()) SWIG_fail
;
14421 if (arg1
) (arg1
)->m_leftDown
= arg2
;
14423 Py_INCREF(Py_None
); resultobj
= Py_None
;
14430 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14431 PyObject
*resultobj
;
14432 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14434 PyObject
* obj0
= 0 ;
14435 char *kwnames
[] = {
14436 (char *) "self", NULL
14439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
14440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14442 result
= (bool) ((arg1
)->m_leftDown
);
14444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14451 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14452 PyObject
*resultobj
;
14453 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14455 PyObject
* obj0
= 0 ;
14456 PyObject
* obj1
= 0 ;
14457 char *kwnames
[] = {
14458 (char *) "self",(char *) "m_middleDown", NULL
14461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14464 arg2
= (bool) SWIG_AsBool(obj1
);
14465 if (PyErr_Occurred()) SWIG_fail
;
14466 if (arg1
) (arg1
)->m_middleDown
= arg2
;
14468 Py_INCREF(Py_None
); resultobj
= Py_None
;
14475 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14476 PyObject
*resultobj
;
14477 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14479 PyObject
* obj0
= 0 ;
14480 char *kwnames
[] = {
14481 (char *) "self", NULL
14484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
14485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14487 result
= (bool) ((arg1
)->m_middleDown
);
14489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14496 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14497 PyObject
*resultobj
;
14498 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14500 PyObject
* obj0
= 0 ;
14501 PyObject
* obj1
= 0 ;
14502 char *kwnames
[] = {
14503 (char *) "self",(char *) "m_rightDown", NULL
14506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14509 arg2
= (bool) SWIG_AsBool(obj1
);
14510 if (PyErr_Occurred()) SWIG_fail
;
14511 if (arg1
) (arg1
)->m_rightDown
= arg2
;
14513 Py_INCREF(Py_None
); resultobj
= Py_None
;
14520 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14521 PyObject
*resultobj
;
14522 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14524 PyObject
* obj0
= 0 ;
14525 char *kwnames
[] = {
14526 (char *) "self", NULL
14529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
14530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14532 result
= (bool) ((arg1
)->m_rightDown
);
14534 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14541 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14542 PyObject
*resultobj
;
14543 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14545 PyObject
* obj0
= 0 ;
14546 PyObject
* obj1
= 0 ;
14547 char *kwnames
[] = {
14548 (char *) "self",(char *) "m_controlDown", NULL
14551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14554 arg2
= (bool) SWIG_AsBool(obj1
);
14555 if (PyErr_Occurred()) SWIG_fail
;
14556 if (arg1
) (arg1
)->m_controlDown
= arg2
;
14558 Py_INCREF(Py_None
); resultobj
= Py_None
;
14565 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14566 PyObject
*resultobj
;
14567 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14569 PyObject
* obj0
= 0 ;
14570 char *kwnames
[] = {
14571 (char *) "self", NULL
14574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
14575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14577 result
= (bool) ((arg1
)->m_controlDown
);
14579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14586 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14587 PyObject
*resultobj
;
14588 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14590 PyObject
* obj0
= 0 ;
14591 PyObject
* obj1
= 0 ;
14592 char *kwnames
[] = {
14593 (char *) "self",(char *) "m_shiftDown", NULL
14596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14599 arg2
= (bool) SWIG_AsBool(obj1
);
14600 if (PyErr_Occurred()) SWIG_fail
;
14601 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
14603 Py_INCREF(Py_None
); resultobj
= Py_None
;
14610 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14611 PyObject
*resultobj
;
14612 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14614 PyObject
* obj0
= 0 ;
14615 char *kwnames
[] = {
14616 (char *) "self", NULL
14619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
14620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14622 result
= (bool) ((arg1
)->m_shiftDown
);
14624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14631 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14632 PyObject
*resultobj
;
14633 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14635 PyObject
* obj0
= 0 ;
14636 PyObject
* obj1
= 0 ;
14637 char *kwnames
[] = {
14638 (char *) "self",(char *) "m_altDown", NULL
14641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14644 arg2
= (bool) SWIG_AsBool(obj1
);
14645 if (PyErr_Occurred()) SWIG_fail
;
14646 if (arg1
) (arg1
)->m_altDown
= arg2
;
14648 Py_INCREF(Py_None
); resultobj
= Py_None
;
14655 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14656 PyObject
*resultobj
;
14657 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14659 PyObject
* obj0
= 0 ;
14660 char *kwnames
[] = {
14661 (char *) "self", NULL
14664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
14665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14667 result
= (bool) ((arg1
)->m_altDown
);
14669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14676 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14677 PyObject
*resultobj
;
14678 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14680 PyObject
* obj0
= 0 ;
14681 PyObject
* obj1
= 0 ;
14682 char *kwnames
[] = {
14683 (char *) "self",(char *) "m_metaDown", NULL
14686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14689 arg2
= (bool) SWIG_AsBool(obj1
);
14690 if (PyErr_Occurred()) SWIG_fail
;
14691 if (arg1
) (arg1
)->m_metaDown
= arg2
;
14693 Py_INCREF(Py_None
); resultobj
= Py_None
;
14700 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14701 PyObject
*resultobj
;
14702 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14704 PyObject
* obj0
= 0 ;
14705 char *kwnames
[] = {
14706 (char *) "self", NULL
14709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
14710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14712 result
= (bool) ((arg1
)->m_metaDown
);
14714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14721 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14722 PyObject
*resultobj
;
14723 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14725 PyObject
* obj0
= 0 ;
14726 PyObject
* obj1
= 0 ;
14727 char *kwnames
[] = {
14728 (char *) "self",(char *) "m_wheelRotation", NULL
14731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14734 arg2
= (int) SWIG_AsInt(obj1
);
14735 if (PyErr_Occurred()) SWIG_fail
;
14736 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
14738 Py_INCREF(Py_None
); resultobj
= Py_None
;
14745 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14746 PyObject
*resultobj
;
14747 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14749 PyObject
* obj0
= 0 ;
14750 char *kwnames
[] = {
14751 (char *) "self", NULL
14754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
14755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14757 result
= (int) ((arg1
)->m_wheelRotation
);
14759 resultobj
= SWIG_FromInt((int)result
);
14766 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14767 PyObject
*resultobj
;
14768 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14770 PyObject
* obj0
= 0 ;
14771 PyObject
* obj1
= 0 ;
14772 char *kwnames
[] = {
14773 (char *) "self",(char *) "m_wheelDelta", NULL
14776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14779 arg2
= (int) SWIG_AsInt(obj1
);
14780 if (PyErr_Occurred()) SWIG_fail
;
14781 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
14783 Py_INCREF(Py_None
); resultobj
= Py_None
;
14790 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14791 PyObject
*resultobj
;
14792 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14794 PyObject
* obj0
= 0 ;
14795 char *kwnames
[] = {
14796 (char *) "self", NULL
14799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
14800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14802 result
= (int) ((arg1
)->m_wheelDelta
);
14804 resultobj
= SWIG_FromInt((int)result
);
14811 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14812 PyObject
*resultobj
;
14813 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14815 PyObject
* obj0
= 0 ;
14816 PyObject
* obj1
= 0 ;
14817 char *kwnames
[] = {
14818 (char *) "self",(char *) "m_linesPerAction", NULL
14821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14824 arg2
= (int) SWIG_AsInt(obj1
);
14825 if (PyErr_Occurred()) SWIG_fail
;
14826 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
14828 Py_INCREF(Py_None
); resultobj
= Py_None
;
14835 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14836 PyObject
*resultobj
;
14837 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14839 PyObject
* obj0
= 0 ;
14840 char *kwnames
[] = {
14841 (char *) "self", NULL
14844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
14845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14847 result
= (int) ((arg1
)->m_linesPerAction
);
14849 resultobj
= SWIG_FromInt((int)result
);
14856 static PyObject
* MouseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14858 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14859 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
14861 return Py_BuildValue((char *)"");
14863 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14864 PyObject
*resultobj
;
14865 int arg1
= (int) 0 ;
14866 int arg2
= (int) 0 ;
14867 wxSetCursorEvent
*result
;
14868 PyObject
* obj0
= 0 ;
14869 PyObject
* obj1
= 0 ;
14870 char *kwnames
[] = {
14871 (char *) "x",(char *) "y", NULL
14874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14876 arg1
= (int) SWIG_AsInt(obj0
);
14877 if (PyErr_Occurred()) SWIG_fail
;
14880 arg2
= (int) SWIG_AsInt(obj1
);
14881 if (PyErr_Occurred()) SWIG_fail
;
14884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14885 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
14887 wxPyEndAllowThreads(__tstate
);
14888 if (PyErr_Occurred()) SWIG_fail
;
14890 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
14897 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14898 PyObject
*resultobj
;
14899 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
14901 PyObject
* obj0
= 0 ;
14902 char *kwnames
[] = {
14903 (char *) "self", NULL
14906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
14907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
14908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14911 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
14913 wxPyEndAllowThreads(__tstate
);
14914 if (PyErr_Occurred()) SWIG_fail
;
14916 resultobj
= SWIG_FromInt((int)result
);
14923 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14924 PyObject
*resultobj
;
14925 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
14927 PyObject
* obj0
= 0 ;
14928 char *kwnames
[] = {
14929 (char *) "self", NULL
14932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
14933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
14934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14937 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
14939 wxPyEndAllowThreads(__tstate
);
14940 if (PyErr_Occurred()) SWIG_fail
;
14942 resultobj
= SWIG_FromInt((int)result
);
14949 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14950 PyObject
*resultobj
;
14951 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
14952 wxCursor
*arg2
= 0 ;
14953 PyObject
* obj0
= 0 ;
14954 PyObject
* obj1
= 0 ;
14955 char *kwnames
[] = {
14956 (char *) "self",(char *) "cursor", NULL
14959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
14960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
14961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14962 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
14963 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14965 if (arg2
== NULL
) {
14966 PyErr_SetString(PyExc_TypeError
,"null reference");
14970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14971 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
14973 wxPyEndAllowThreads(__tstate
);
14974 if (PyErr_Occurred()) SWIG_fail
;
14976 Py_INCREF(Py_None
); resultobj
= Py_None
;
14983 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14984 PyObject
*resultobj
;
14985 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
14987 PyObject
* obj0
= 0 ;
14988 char *kwnames
[] = {
14989 (char *) "self", NULL
14992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
14993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
14994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14998 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
14999 result
= (wxCursor
*) &_result_ref
;
15002 wxPyEndAllowThreads(__tstate
);
15003 if (PyErr_Occurred()) SWIG_fail
;
15006 wxCursor
* resultptr
= new wxCursor(*result
);
15007 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15015 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15016 PyObject
*resultobj
;
15017 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15019 PyObject
* obj0
= 0 ;
15020 char *kwnames
[] = {
15021 (char *) "self", NULL
15024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15029 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15031 wxPyEndAllowThreads(__tstate
);
15032 if (PyErr_Occurred()) SWIG_fail
;
15034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15041 static PyObject
* SetCursorEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15043 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15044 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15046 return Py_BuildValue((char *)"");
15048 static PyObject
*_wrap_new_KeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15049 PyObject
*resultobj
;
15050 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15051 wxKeyEvent
*result
;
15052 PyObject
* obj0
= 0 ;
15053 char *kwnames
[] = {
15054 (char *) "keyType", NULL
15057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15059 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15060 if (PyErr_Occurred()) SWIG_fail
;
15063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15064 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15066 wxPyEndAllowThreads(__tstate
);
15067 if (PyErr_Occurred()) SWIG_fail
;
15069 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15076 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15077 PyObject
*resultobj
;
15078 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15080 PyObject
* obj0
= 0 ;
15081 char *kwnames
[] = {
15082 (char *) "self", NULL
15085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15090 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15092 wxPyEndAllowThreads(__tstate
);
15093 if (PyErr_Occurred()) SWIG_fail
;
15095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15102 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15103 PyObject
*resultobj
;
15104 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15106 PyObject
* obj0
= 0 ;
15107 char *kwnames
[] = {
15108 (char *) "self", NULL
15111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15116 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15118 wxPyEndAllowThreads(__tstate
);
15119 if (PyErr_Occurred()) SWIG_fail
;
15121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15128 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15129 PyObject
*resultobj
;
15130 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15132 PyObject
* obj0
= 0 ;
15133 char *kwnames
[] = {
15134 (char *) "self", NULL
15137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15142 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15144 wxPyEndAllowThreads(__tstate
);
15145 if (PyErr_Occurred()) SWIG_fail
;
15147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15154 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15155 PyObject
*resultobj
;
15156 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15158 PyObject
* obj0
= 0 ;
15159 char *kwnames
[] = {
15160 (char *) "self", NULL
15163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15168 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15170 wxPyEndAllowThreads(__tstate
);
15171 if (PyErr_Occurred()) SWIG_fail
;
15173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15180 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15181 PyObject
*resultobj
;
15182 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15184 PyObject
* obj0
= 0 ;
15185 char *kwnames
[] = {
15186 (char *) "self", NULL
15189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
15190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15194 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
15196 wxPyEndAllowThreads(__tstate
);
15197 if (PyErr_Occurred()) SWIG_fail
;
15199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15206 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15207 PyObject
*resultobj
;
15208 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15210 PyObject
* obj0
= 0 ;
15211 char *kwnames
[] = {
15212 (char *) "self", NULL
15215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
15216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15220 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
15222 wxPyEndAllowThreads(__tstate
);
15223 if (PyErr_Occurred()) SWIG_fail
;
15225 resultobj
= SWIG_FromInt((int)result
);
15232 static PyObject
*_wrap_KeyEvent_GetUniChar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15233 PyObject
*resultobj
;
15234 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15236 PyObject
* obj0
= 0 ;
15237 char *kwnames
[] = {
15238 (char *) "self", NULL
15241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUniChar",kwnames
,&obj0
)) goto fail
;
15242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15246 result
= (int)wxKeyEvent_GetUniChar(arg1
);
15248 wxPyEndAllowThreads(__tstate
);
15249 if (PyErr_Occurred()) SWIG_fail
;
15251 resultobj
= SWIG_FromInt((int)result
);
15258 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15259 PyObject
*resultobj
;
15260 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15261 unsigned int result
;
15262 PyObject
* obj0
= 0 ;
15263 char *kwnames
[] = {
15264 (char *) "self", NULL
15267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
15268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15272 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15274 wxPyEndAllowThreads(__tstate
);
15275 if (PyErr_Occurred()) SWIG_fail
;
15277 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15284 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15285 PyObject
*resultobj
;
15286 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15287 unsigned int result
;
15288 PyObject
* obj0
= 0 ;
15289 char *kwnames
[] = {
15290 (char *) "self", NULL
15293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
15294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15298 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
15300 wxPyEndAllowThreads(__tstate
);
15301 if (PyErr_Occurred()) SWIG_fail
;
15303 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15310 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15311 PyObject
*resultobj
;
15312 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15314 PyObject
* obj0
= 0 ;
15315 char *kwnames
[] = {
15316 (char *) "self", NULL
15319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15324 result
= (arg1
)->GetPosition();
15326 wxPyEndAllowThreads(__tstate
);
15327 if (PyErr_Occurred()) SWIG_fail
;
15330 wxPoint
* resultptr
;
15331 resultptr
= new wxPoint((wxPoint
&) result
);
15332 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15340 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15341 PyObject
*resultobj
;
15342 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15343 long *arg2
= (long *) 0 ;
15344 long *arg3
= (long *) 0 ;
15347 PyObject
* obj0
= 0 ;
15348 char *kwnames
[] = {
15349 (char *) "self", NULL
15354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
15355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15359 (arg1
)->GetPosition(arg2
,arg3
);
15361 wxPyEndAllowThreads(__tstate
);
15362 if (PyErr_Occurred()) SWIG_fail
;
15364 Py_INCREF(Py_None
); resultobj
= Py_None
;
15366 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15367 resultobj
= t_output_helper(resultobj
,o
);
15370 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15371 resultobj
= t_output_helper(resultobj
,o
);
15379 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15380 PyObject
*resultobj
;
15381 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15383 PyObject
* obj0
= 0 ;
15384 char *kwnames
[] = {
15385 (char *) "self", NULL
15388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
15389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15393 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
15395 wxPyEndAllowThreads(__tstate
);
15396 if (PyErr_Occurred()) SWIG_fail
;
15398 resultobj
= SWIG_FromInt((int)result
);
15405 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15406 PyObject
*resultobj
;
15407 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15409 PyObject
* obj0
= 0 ;
15410 char *kwnames
[] = {
15411 (char *) "self", NULL
15414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
15415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15419 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
15421 wxPyEndAllowThreads(__tstate
);
15422 if (PyErr_Occurred()) SWIG_fail
;
15424 resultobj
= SWIG_FromInt((int)result
);
15431 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15432 PyObject
*resultobj
;
15433 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15435 PyObject
* obj0
= 0 ;
15436 PyObject
* obj1
= 0 ;
15437 char *kwnames
[] = {
15438 (char *) "self",(char *) "m_x", NULL
15441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15444 arg2
= (int) SWIG_AsInt(obj1
);
15445 if (PyErr_Occurred()) SWIG_fail
;
15446 if (arg1
) (arg1
)->m_x
= arg2
;
15448 Py_INCREF(Py_None
); resultobj
= Py_None
;
15455 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15456 PyObject
*resultobj
;
15457 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15459 PyObject
* obj0
= 0 ;
15460 char *kwnames
[] = {
15461 (char *) "self", NULL
15464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15467 result
= (int) ((arg1
)->m_x
);
15469 resultobj
= SWIG_FromInt((int)result
);
15476 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15477 PyObject
*resultobj
;
15478 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15480 PyObject
* obj0
= 0 ;
15481 PyObject
* obj1
= 0 ;
15482 char *kwnames
[] = {
15483 (char *) "self",(char *) "m_y", NULL
15486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15489 arg2
= (int) SWIG_AsInt(obj1
);
15490 if (PyErr_Occurred()) SWIG_fail
;
15491 if (arg1
) (arg1
)->m_y
= arg2
;
15493 Py_INCREF(Py_None
); resultobj
= Py_None
;
15500 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15501 PyObject
*resultobj
;
15502 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15504 PyObject
* obj0
= 0 ;
15505 char *kwnames
[] = {
15506 (char *) "self", NULL
15509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15512 result
= (int) ((arg1
)->m_y
);
15514 resultobj
= SWIG_FromInt((int)result
);
15521 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15522 PyObject
*resultobj
;
15523 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15525 PyObject
* obj0
= 0 ;
15526 PyObject
* obj1
= 0 ;
15527 char *kwnames
[] = {
15528 (char *) "self",(char *) "m_keyCode", NULL
15531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15534 arg2
= (long) SWIG_AsLong(obj1
);
15535 if (PyErr_Occurred()) SWIG_fail
;
15536 if (arg1
) (arg1
)->m_keyCode
= arg2
;
15538 Py_INCREF(Py_None
); resultobj
= Py_None
;
15545 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15546 PyObject
*resultobj
;
15547 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15549 PyObject
* obj0
= 0 ;
15550 char *kwnames
[] = {
15551 (char *) "self", NULL
15554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
15555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15557 result
= (long) ((arg1
)->m_keyCode
);
15559 resultobj
= SWIG_FromLong((long)result
);
15566 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15567 PyObject
*resultobj
;
15568 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15570 PyObject
* obj0
= 0 ;
15571 PyObject
* obj1
= 0 ;
15572 char *kwnames
[] = {
15573 (char *) "self",(char *) "m_controlDown", NULL
15576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15579 arg2
= (bool) SWIG_AsBool(obj1
);
15580 if (PyErr_Occurred()) SWIG_fail
;
15581 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15583 Py_INCREF(Py_None
); resultobj
= Py_None
;
15590 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15591 PyObject
*resultobj
;
15592 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15594 PyObject
* obj0
= 0 ;
15595 char *kwnames
[] = {
15596 (char *) "self", NULL
15599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15602 result
= (bool) ((arg1
)->m_controlDown
);
15604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15611 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15612 PyObject
*resultobj
;
15613 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15615 PyObject
* obj0
= 0 ;
15616 PyObject
* obj1
= 0 ;
15617 char *kwnames
[] = {
15618 (char *) "self",(char *) "m_shiftDown", NULL
15621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15624 arg2
= (bool) SWIG_AsBool(obj1
);
15625 if (PyErr_Occurred()) SWIG_fail
;
15626 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15628 Py_INCREF(Py_None
); resultobj
= Py_None
;
15635 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15636 PyObject
*resultobj
;
15637 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15639 PyObject
* obj0
= 0 ;
15640 char *kwnames
[] = {
15641 (char *) "self", NULL
15644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15647 result
= (bool) ((arg1
)->m_shiftDown
);
15649 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15656 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15657 PyObject
*resultobj
;
15658 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15660 PyObject
* obj0
= 0 ;
15661 PyObject
* obj1
= 0 ;
15662 char *kwnames
[] = {
15663 (char *) "self",(char *) "m_altDown", NULL
15666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15669 arg2
= (bool) SWIG_AsBool(obj1
);
15670 if (PyErr_Occurred()) SWIG_fail
;
15671 if (arg1
) (arg1
)->m_altDown
= arg2
;
15673 Py_INCREF(Py_None
); resultobj
= Py_None
;
15680 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15681 PyObject
*resultobj
;
15682 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15684 PyObject
* obj0
= 0 ;
15685 char *kwnames
[] = {
15686 (char *) "self", NULL
15689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15692 result
= (bool) ((arg1
)->m_altDown
);
15694 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15701 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15702 PyObject
*resultobj
;
15703 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15705 PyObject
* obj0
= 0 ;
15706 PyObject
* obj1
= 0 ;
15707 char *kwnames
[] = {
15708 (char *) "self",(char *) "m_metaDown", NULL
15711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15714 arg2
= (bool) SWIG_AsBool(obj1
);
15715 if (PyErr_Occurred()) SWIG_fail
;
15716 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15718 Py_INCREF(Py_None
); resultobj
= Py_None
;
15725 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15726 PyObject
*resultobj
;
15727 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15729 PyObject
* obj0
= 0 ;
15730 char *kwnames
[] = {
15731 (char *) "self", NULL
15734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15737 result
= (bool) ((arg1
)->m_metaDown
);
15739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15746 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15747 PyObject
*resultobj
;
15748 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15750 PyObject
* obj0
= 0 ;
15751 PyObject
* obj1
= 0 ;
15752 char *kwnames
[] = {
15753 (char *) "self",(char *) "m_scanCode", NULL
15756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15759 arg2
= (bool) SWIG_AsBool(obj1
);
15760 if (PyErr_Occurred()) SWIG_fail
;
15761 if (arg1
) (arg1
)->m_scanCode
= arg2
;
15763 Py_INCREF(Py_None
); resultobj
= Py_None
;
15770 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15771 PyObject
*resultobj
;
15772 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15774 PyObject
* obj0
= 0 ;
15775 char *kwnames
[] = {
15776 (char *) "self", NULL
15779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
15780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15782 result
= (bool) ((arg1
)->m_scanCode
);
15784 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15791 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15792 PyObject
*resultobj
;
15793 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15794 unsigned int arg2
;
15795 PyObject
* obj0
= 0 ;
15796 PyObject
* obj1
= 0 ;
15797 char *kwnames
[] = {
15798 (char *) "self",(char *) "m_rawCode", NULL
15801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_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
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
15805 if (PyErr_Occurred()) SWIG_fail
;
15806 if (arg1
) (arg1
)->m_rawCode
= arg2
;
15808 Py_INCREF(Py_None
); resultobj
= Py_None
;
15815 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15816 PyObject
*resultobj
;
15817 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15818 unsigned int result
;
15819 PyObject
* obj0
= 0 ;
15820 char *kwnames
[] = {
15821 (char *) "self", NULL
15824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_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
= (unsigned int) ((arg1
)->m_rawCode
);
15829 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15836 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15837 PyObject
*resultobj
;
15838 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15839 unsigned int arg2
;
15840 PyObject
* obj0
= 0 ;
15841 PyObject
* obj1
= 0 ;
15842 char *kwnames
[] = {
15843 (char *) "self",(char *) "m_rawFlags", NULL
15846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15849 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
15850 if (PyErr_Occurred()) SWIG_fail
;
15851 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
15853 Py_INCREF(Py_None
); resultobj
= Py_None
;
15860 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15861 PyObject
*resultobj
;
15862 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15863 unsigned int result
;
15864 PyObject
* obj0
= 0 ;
15865 char *kwnames
[] = {
15866 (char *) "self", NULL
15869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
15870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15872 result
= (unsigned int) ((arg1
)->m_rawFlags
);
15874 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15881 static PyObject
* KeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15883 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15884 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
15886 return Py_BuildValue((char *)"");
15888 static PyObject
*_wrap_new_SizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15889 PyObject
*resultobj
;
15890 wxSize
const &arg1_defvalue
= wxDefaultSize
;
15891 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
15892 int arg2
= (int) 0 ;
15893 wxSizeEvent
*result
;
15895 PyObject
* obj0
= 0 ;
15896 PyObject
* obj1
= 0 ;
15897 char *kwnames
[] = {
15898 (char *) "sz",(char *) "winid", NULL
15901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15905 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
15909 arg2
= (int) SWIG_AsInt(obj1
);
15910 if (PyErr_Occurred()) SWIG_fail
;
15913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15914 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
15916 wxPyEndAllowThreads(__tstate
);
15917 if (PyErr_Occurred()) SWIG_fail
;
15919 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
15926 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15927 PyObject
*resultobj
;
15928 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15930 PyObject
* obj0
= 0 ;
15931 char *kwnames
[] = {
15932 (char *) "self", NULL
15935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
15936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
15937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15940 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
15942 wxPyEndAllowThreads(__tstate
);
15943 if (PyErr_Occurred()) SWIG_fail
;
15946 wxSize
* resultptr
;
15947 resultptr
= new wxSize((wxSize
&) result
);
15948 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15956 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15957 PyObject
*resultobj
;
15958 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15960 PyObject
* obj0
= 0 ;
15961 char *kwnames
[] = {
15962 (char *) "self", NULL
15965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
15966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
15967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15970 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
15972 wxPyEndAllowThreads(__tstate
);
15973 if (PyErr_Occurred()) SWIG_fail
;
15976 wxRect
* resultptr
;
15977 resultptr
= new wxRect((wxRect
&) result
);
15978 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
15986 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15987 PyObject
*resultobj
;
15988 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15991 PyObject
* obj0
= 0 ;
15992 PyObject
* obj1
= 0 ;
15993 char *kwnames
[] = {
15994 (char *) "self",(char *) "rect", NULL
15997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
15998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
15999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16000 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16001 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16005 (arg1
)->SetRect(arg2
);
16007 wxPyEndAllowThreads(__tstate
);
16008 if (PyErr_Occurred()) SWIG_fail
;
16010 Py_INCREF(Py_None
); resultobj
= Py_None
;
16017 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16018 PyObject
*resultobj
;
16019 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16022 PyObject
* obj0
= 0 ;
16023 PyObject
* obj1
= 0 ;
16024 char *kwnames
[] = {
16025 (char *) "self",(char *) "size", NULL
16028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16031 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16032 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16036 wxSizeEvent_SetSize(arg1
,arg2
);
16038 wxPyEndAllowThreads(__tstate
);
16039 if (PyErr_Occurred()) SWIG_fail
;
16041 Py_INCREF(Py_None
); resultobj
= Py_None
;
16048 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16049 PyObject
*resultobj
;
16050 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16051 wxSize
*arg2
= (wxSize
*) 0 ;
16052 PyObject
* obj0
= 0 ;
16053 PyObject
* obj1
= 0 ;
16054 char *kwnames
[] = {
16055 (char *) "self",(char *) "m_size", NULL
16058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16061 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16063 if (arg1
) (arg1
)->m_size
= *arg2
;
16065 Py_INCREF(Py_None
); resultobj
= Py_None
;
16072 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16073 PyObject
*resultobj
;
16074 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16076 PyObject
* obj0
= 0 ;
16077 char *kwnames
[] = {
16078 (char *) "self", NULL
16081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16084 result
= (wxSize
*)& ((arg1
)->m_size
);
16086 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16093 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16094 PyObject
*resultobj
;
16095 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16096 wxRect
*arg2
= (wxRect
*) 0 ;
16097 PyObject
* obj0
= 0 ;
16098 PyObject
* obj1
= 0 ;
16099 char *kwnames
[] = {
16100 (char *) "self",(char *) "m_rect", NULL
16103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16106 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16108 if (arg1
) (arg1
)->m_rect
= *arg2
;
16110 Py_INCREF(Py_None
); resultobj
= Py_None
;
16117 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16118 PyObject
*resultobj
;
16119 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16121 PyObject
* obj0
= 0 ;
16122 char *kwnames
[] = {
16123 (char *) "self", NULL
16126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16129 result
= (wxRect
*)& ((arg1
)->m_rect
);
16131 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16138 static PyObject
* SizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16140 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16141 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16143 return Py_BuildValue((char *)"");
16145 static PyObject
*_wrap_new_MoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16146 PyObject
*resultobj
;
16147 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16148 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16149 int arg2
= (int) 0 ;
16150 wxMoveEvent
*result
;
16152 PyObject
* obj0
= 0 ;
16153 PyObject
* obj1
= 0 ;
16154 char *kwnames
[] = {
16155 (char *) "pos",(char *) "winid", NULL
16158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16162 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
16166 arg2
= (int) SWIG_AsInt(obj1
);
16167 if (PyErr_Occurred()) SWIG_fail
;
16170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16171 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
16173 wxPyEndAllowThreads(__tstate
);
16174 if (PyErr_Occurred()) SWIG_fail
;
16176 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
16183 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16184 PyObject
*resultobj
;
16185 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16187 PyObject
* obj0
= 0 ;
16188 char *kwnames
[] = {
16189 (char *) "self", NULL
16192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16197 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
16199 wxPyEndAllowThreads(__tstate
);
16200 if (PyErr_Occurred()) SWIG_fail
;
16203 wxPoint
* resultptr
;
16204 resultptr
= new wxPoint((wxPoint
&) result
);
16205 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16213 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16214 PyObject
*resultobj
;
16215 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16217 PyObject
* obj0
= 0 ;
16218 char *kwnames
[] = {
16219 (char *) "self", NULL
16222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16227 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
16229 wxPyEndAllowThreads(__tstate
);
16230 if (PyErr_Occurred()) SWIG_fail
;
16233 wxRect
* resultptr
;
16234 resultptr
= new wxRect((wxRect
&) result
);
16235 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16243 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16244 PyObject
*resultobj
;
16245 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16248 PyObject
* obj0
= 0 ;
16249 PyObject
* obj1
= 0 ;
16250 char *kwnames
[] = {
16251 (char *) "self",(char *) "rect", NULL
16254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16257 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16258 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16262 (arg1
)->SetRect(arg2
);
16264 wxPyEndAllowThreads(__tstate
);
16265 if (PyErr_Occurred()) SWIG_fail
;
16267 Py_INCREF(Py_None
); resultobj
= Py_None
;
16274 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16275 PyObject
*resultobj
;
16276 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16279 PyObject
* obj0
= 0 ;
16280 PyObject
* obj1
= 0 ;
16281 char *kwnames
[] = {
16282 (char *) "self",(char *) "pos", NULL
16285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16288 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
16289 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16293 wxMoveEvent_SetPosition(arg1
,arg2
);
16295 wxPyEndAllowThreads(__tstate
);
16296 if (PyErr_Occurred()) SWIG_fail
;
16298 Py_INCREF(Py_None
); resultobj
= Py_None
;
16305 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16306 PyObject
*resultobj
;
16307 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16308 wxPoint
*arg2
= (wxPoint
*) 0 ;
16309 PyObject
* obj0
= 0 ;
16310 PyObject
* obj1
= 0 ;
16311 char *kwnames
[] = {
16312 (char *) "self",(char *) "m_pos", NULL
16315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16318 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
16319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16320 if (arg1
) (arg1
)->m_pos
= *arg2
;
16322 Py_INCREF(Py_None
); resultobj
= Py_None
;
16329 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16330 PyObject
*resultobj
;
16331 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16333 PyObject
* obj0
= 0 ;
16334 char *kwnames
[] = {
16335 (char *) "self", NULL
16338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
16339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16341 result
= (wxPoint
*)& ((arg1
)->m_pos
);
16343 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
16350 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16351 PyObject
*resultobj
;
16352 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16353 wxRect
*arg2
= (wxRect
*) 0 ;
16354 PyObject
* obj0
= 0 ;
16355 PyObject
* obj1
= 0 ;
16356 char *kwnames
[] = {
16357 (char *) "self",(char *) "m_rect", NULL
16360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16363 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16365 if (arg1
) (arg1
)->m_rect
= *arg2
;
16367 Py_INCREF(Py_None
); resultobj
= Py_None
;
16374 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16375 PyObject
*resultobj
;
16376 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16378 PyObject
* obj0
= 0 ;
16379 char *kwnames
[] = {
16380 (char *) "self", NULL
16383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16386 result
= (wxRect
*)& ((arg1
)->m_rect
);
16388 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16395 static PyObject
* MoveEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16397 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16398 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
16400 return Py_BuildValue((char *)"");
16402 static PyObject
*_wrap_new_PaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16403 PyObject
*resultobj
;
16404 int arg1
= (int) 0 ;
16405 wxPaintEvent
*result
;
16406 PyObject
* obj0
= 0 ;
16407 char *kwnames
[] = {
16408 (char *) "Id", NULL
16411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
16413 arg1
= (int) SWIG_AsInt(obj0
);
16414 if (PyErr_Occurred()) SWIG_fail
;
16417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16418 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
16420 wxPyEndAllowThreads(__tstate
);
16421 if (PyErr_Occurred()) SWIG_fail
;
16423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
16430 static PyObject
* PaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16432 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16433 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
16435 return Py_BuildValue((char *)"");
16437 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16438 PyObject
*resultobj
;
16439 int arg1
= (int) 0 ;
16440 wxNcPaintEvent
*result
;
16441 PyObject
* obj0
= 0 ;
16442 char *kwnames
[] = {
16443 (char *) "winid", NULL
16446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
16448 arg1
= (int) SWIG_AsInt(obj0
);
16449 if (PyErr_Occurred()) SWIG_fail
;
16452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16453 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
16455 wxPyEndAllowThreads(__tstate
);
16456 if (PyErr_Occurred()) SWIG_fail
;
16458 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
16465 static PyObject
* NcPaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16467 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16468 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
16470 return Py_BuildValue((char *)"");
16472 static PyObject
*_wrap_new_EraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16473 PyObject
*resultobj
;
16474 int arg1
= (int) 0 ;
16475 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
16476 wxEraseEvent
*result
;
16477 PyObject
* obj0
= 0 ;
16478 PyObject
* obj1
= 0 ;
16479 char *kwnames
[] = {
16480 (char *) "Id",(char *) "dc", NULL
16483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16485 arg1
= (int) SWIG_AsInt(obj0
);
16486 if (PyErr_Occurred()) SWIG_fail
;
16489 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16494 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
16496 wxPyEndAllowThreads(__tstate
);
16497 if (PyErr_Occurred()) SWIG_fail
;
16499 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
16506 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16507 PyObject
*resultobj
;
16508 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
16510 PyObject
* obj0
= 0 ;
16511 char *kwnames
[] = {
16512 (char *) "self", NULL
16515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
16516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
16517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16520 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
16522 wxPyEndAllowThreads(__tstate
);
16523 if (PyErr_Occurred()) SWIG_fail
;
16526 resultobj
= wxPyMake_wxObject(result
);
16534 static PyObject
* EraseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16536 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16537 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
16539 return Py_BuildValue((char *)"");
16541 static PyObject
*_wrap_new_FocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16542 PyObject
*resultobj
;
16543 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16544 int arg2
= (int) 0 ;
16545 wxFocusEvent
*result
;
16546 PyObject
* obj0
= 0 ;
16547 PyObject
* obj1
= 0 ;
16548 char *kwnames
[] = {
16549 (char *) "type",(char *) "winid", NULL
16552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16554 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16555 if (PyErr_Occurred()) SWIG_fail
;
16558 arg2
= (int) SWIG_AsInt(obj1
);
16559 if (PyErr_Occurred()) SWIG_fail
;
16562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16563 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
16565 wxPyEndAllowThreads(__tstate
);
16566 if (PyErr_Occurred()) SWIG_fail
;
16568 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
16575 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16576 PyObject
*resultobj
;
16577 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16579 PyObject
* obj0
= 0 ;
16580 char *kwnames
[] = {
16581 (char *) "self", NULL
16584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16589 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
16591 wxPyEndAllowThreads(__tstate
);
16592 if (PyErr_Occurred()) SWIG_fail
;
16595 resultobj
= wxPyMake_wxObject(result
);
16603 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16604 PyObject
*resultobj
;
16605 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16606 wxWindow
*arg2
= (wxWindow
*) 0 ;
16607 PyObject
* obj0
= 0 ;
16608 PyObject
* obj1
= 0 ;
16609 char *kwnames
[] = {
16610 (char *) "self",(char *) "win", NULL
16613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
16614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16616 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16620 (arg1
)->SetWindow(arg2
);
16622 wxPyEndAllowThreads(__tstate
);
16623 if (PyErr_Occurred()) SWIG_fail
;
16625 Py_INCREF(Py_None
); resultobj
= Py_None
;
16632 static PyObject
* FocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16634 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16635 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
16637 return Py_BuildValue((char *)"");
16639 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16640 PyObject
*resultobj
;
16641 wxWindow
*arg1
= (wxWindow
*) NULL
;
16642 wxChildFocusEvent
*result
;
16643 PyObject
* obj0
= 0 ;
16644 char *kwnames
[] = {
16645 (char *) "win", NULL
16648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
16650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16655 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
16657 wxPyEndAllowThreads(__tstate
);
16658 if (PyErr_Occurred()) SWIG_fail
;
16660 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
16667 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16668 PyObject
*resultobj
;
16669 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
16671 PyObject
* obj0
= 0 ;
16672 char *kwnames
[] = {
16673 (char *) "self", NULL
16676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
16678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16681 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
16683 wxPyEndAllowThreads(__tstate
);
16684 if (PyErr_Occurred()) SWIG_fail
;
16687 resultobj
= wxPyMake_wxObject(result
);
16695 static PyObject
* ChildFocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16697 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16698 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
16700 return Py_BuildValue((char *)"");
16702 static PyObject
*_wrap_new_ActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16703 PyObject
*resultobj
;
16704 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16705 bool arg2
= (bool) True
;
16706 int arg3
= (int) 0 ;
16707 wxActivateEvent
*result
;
16708 PyObject
* obj0
= 0 ;
16709 PyObject
* obj1
= 0 ;
16710 PyObject
* obj2
= 0 ;
16711 char *kwnames
[] = {
16712 (char *) "type",(char *) "active",(char *) "Id", NULL
16715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16717 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16718 if (PyErr_Occurred()) SWIG_fail
;
16721 arg2
= (bool) SWIG_AsBool(obj1
);
16722 if (PyErr_Occurred()) SWIG_fail
;
16725 arg3
= (int) SWIG_AsInt(obj2
);
16726 if (PyErr_Occurred()) SWIG_fail
;
16729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16730 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
16732 wxPyEndAllowThreads(__tstate
);
16733 if (PyErr_Occurred()) SWIG_fail
;
16735 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
16742 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16743 PyObject
*resultobj
;
16744 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
16746 PyObject
* obj0
= 0 ;
16747 char *kwnames
[] = {
16748 (char *) "self", NULL
16751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
16752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
16753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16756 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
16758 wxPyEndAllowThreads(__tstate
);
16759 if (PyErr_Occurred()) SWIG_fail
;
16761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16768 static PyObject
* ActivateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16770 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16771 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
16773 return Py_BuildValue((char *)"");
16775 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16776 PyObject
*resultobj
;
16777 int arg1
= (int) 0 ;
16778 wxInitDialogEvent
*result
;
16779 PyObject
* obj0
= 0 ;
16780 char *kwnames
[] = {
16781 (char *) "Id", NULL
16784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
16786 arg1
= (int) SWIG_AsInt(obj0
);
16787 if (PyErr_Occurred()) SWIG_fail
;
16790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16791 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
16793 wxPyEndAllowThreads(__tstate
);
16794 if (PyErr_Occurred()) SWIG_fail
;
16796 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
16803 static PyObject
* InitDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16805 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16806 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
16808 return Py_BuildValue((char *)"");
16810 static PyObject
*_wrap_new_MenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16811 PyObject
*resultobj
;
16812 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16813 int arg2
= (int) 0 ;
16814 wxMenu
*arg3
= (wxMenu
*) NULL
;
16815 wxMenuEvent
*result
;
16816 PyObject
* obj0
= 0 ;
16817 PyObject
* obj1
= 0 ;
16818 PyObject
* obj2
= 0 ;
16819 char *kwnames
[] = {
16820 (char *) "type",(char *) "winid",(char *) "menu", NULL
16823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16825 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16826 if (PyErr_Occurred()) SWIG_fail
;
16829 arg2
= (int) SWIG_AsInt(obj1
);
16830 if (PyErr_Occurred()) SWIG_fail
;
16833 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
16834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16838 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
16840 wxPyEndAllowThreads(__tstate
);
16841 if (PyErr_Occurred()) SWIG_fail
;
16843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
16850 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16851 PyObject
*resultobj
;
16852 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
16854 PyObject
* obj0
= 0 ;
16855 char *kwnames
[] = {
16856 (char *) "self", NULL
16859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
16860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
16861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16864 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
16866 wxPyEndAllowThreads(__tstate
);
16867 if (PyErr_Occurred()) SWIG_fail
;
16869 resultobj
= SWIG_FromInt((int)result
);
16876 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16877 PyObject
*resultobj
;
16878 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
16880 PyObject
* obj0
= 0 ;
16881 char *kwnames
[] = {
16882 (char *) "self", NULL
16885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
16886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
16887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16890 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
16892 wxPyEndAllowThreads(__tstate
);
16893 if (PyErr_Occurred()) SWIG_fail
;
16895 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16902 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16903 PyObject
*resultobj
;
16904 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
16906 PyObject
* obj0
= 0 ;
16907 char *kwnames
[] = {
16908 (char *) "self", NULL
16911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
16912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
16913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16916 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
16918 wxPyEndAllowThreads(__tstate
);
16919 if (PyErr_Occurred()) SWIG_fail
;
16922 resultobj
= wxPyMake_wxObject(result
);
16930 static PyObject
* MenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16932 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16933 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
16935 return Py_BuildValue((char *)"");
16937 static PyObject
*_wrap_new_CloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16938 PyObject
*resultobj
;
16939 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16940 int arg2
= (int) 0 ;
16941 wxCloseEvent
*result
;
16942 PyObject
* obj0
= 0 ;
16943 PyObject
* obj1
= 0 ;
16944 char *kwnames
[] = {
16945 (char *) "type",(char *) "winid", NULL
16948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16950 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16951 if (PyErr_Occurred()) SWIG_fail
;
16954 arg2
= (int) SWIG_AsInt(obj1
);
16955 if (PyErr_Occurred()) SWIG_fail
;
16958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16959 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
16961 wxPyEndAllowThreads(__tstate
);
16962 if (PyErr_Occurred()) SWIG_fail
;
16964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
16971 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16972 PyObject
*resultobj
;
16973 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
16975 PyObject
* obj0
= 0 ;
16976 PyObject
* obj1
= 0 ;
16977 char *kwnames
[] = {
16978 (char *) "self",(char *) "logOff", NULL
16981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
16982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
16983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16984 arg2
= (bool) SWIG_AsBool(obj1
);
16985 if (PyErr_Occurred()) SWIG_fail
;
16987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16988 (arg1
)->SetLoggingOff(arg2
);
16990 wxPyEndAllowThreads(__tstate
);
16991 if (PyErr_Occurred()) SWIG_fail
;
16993 Py_INCREF(Py_None
); resultobj
= Py_None
;
17000 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17001 PyObject
*resultobj
;
17002 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17004 PyObject
* obj0
= 0 ;
17005 char *kwnames
[] = {
17006 (char *) "self", NULL
17009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17014 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17016 wxPyEndAllowThreads(__tstate
);
17017 if (PyErr_Occurred()) SWIG_fail
;
17019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17026 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17027 PyObject
*resultobj
;
17028 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17029 bool arg2
= (bool) True
;
17030 PyObject
* obj0
= 0 ;
17031 PyObject
* obj1
= 0 ;
17032 char *kwnames
[] = {
17033 (char *) "self",(char *) "veto", NULL
17036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17040 arg2
= (bool) SWIG_AsBool(obj1
);
17041 if (PyErr_Occurred()) SWIG_fail
;
17044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17045 (arg1
)->Veto(arg2
);
17047 wxPyEndAllowThreads(__tstate
);
17048 if (PyErr_Occurred()) SWIG_fail
;
17050 Py_INCREF(Py_None
); resultobj
= Py_None
;
17057 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17058 PyObject
*resultobj
;
17059 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17061 PyObject
* obj0
= 0 ;
17062 PyObject
* obj1
= 0 ;
17063 char *kwnames
[] = {
17064 (char *) "self",(char *) "canVeto", NULL
17067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17070 arg2
= (bool) SWIG_AsBool(obj1
);
17071 if (PyErr_Occurred()) SWIG_fail
;
17073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17074 (arg1
)->SetCanVeto(arg2
);
17076 wxPyEndAllowThreads(__tstate
);
17077 if (PyErr_Occurred()) SWIG_fail
;
17079 Py_INCREF(Py_None
); resultobj
= Py_None
;
17086 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17087 PyObject
*resultobj
;
17088 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17090 PyObject
* obj0
= 0 ;
17091 char *kwnames
[] = {
17092 (char *) "self", NULL
17095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
17096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17100 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
17102 wxPyEndAllowThreads(__tstate
);
17103 if (PyErr_Occurred()) SWIG_fail
;
17105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17112 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17113 PyObject
*resultobj
;
17114 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17116 PyObject
* obj0
= 0 ;
17117 char *kwnames
[] = {
17118 (char *) "self", NULL
17121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17126 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17128 wxPyEndAllowThreads(__tstate
);
17129 if (PyErr_Occurred()) SWIG_fail
;
17131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17138 static PyObject
* CloseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17140 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17141 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17143 return Py_BuildValue((char *)"");
17145 static PyObject
*_wrap_new_ShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17146 PyObject
*resultobj
;
17147 int arg1
= (int) 0 ;
17148 bool arg2
= (bool) False
;
17149 wxShowEvent
*result
;
17150 PyObject
* obj0
= 0 ;
17151 PyObject
* obj1
= 0 ;
17152 char *kwnames
[] = {
17153 (char *) "winid",(char *) "show", NULL
17156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17158 arg1
= (int) SWIG_AsInt(obj0
);
17159 if (PyErr_Occurred()) SWIG_fail
;
17162 arg2
= (bool) SWIG_AsBool(obj1
);
17163 if (PyErr_Occurred()) SWIG_fail
;
17166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17167 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
17169 wxPyEndAllowThreads(__tstate
);
17170 if (PyErr_Occurred()) SWIG_fail
;
17172 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
17179 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17180 PyObject
*resultobj
;
17181 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17183 PyObject
* obj0
= 0 ;
17184 PyObject
* obj1
= 0 ;
17185 char *kwnames
[] = {
17186 (char *) "self",(char *) "show", NULL
17189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
17190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17192 arg2
= (bool) SWIG_AsBool(obj1
);
17193 if (PyErr_Occurred()) SWIG_fail
;
17195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17196 (arg1
)->SetShow(arg2
);
17198 wxPyEndAllowThreads(__tstate
);
17199 if (PyErr_Occurred()) SWIG_fail
;
17201 Py_INCREF(Py_None
); resultobj
= Py_None
;
17208 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17209 PyObject
*resultobj
;
17210 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17212 PyObject
* obj0
= 0 ;
17213 char *kwnames
[] = {
17214 (char *) "self", NULL
17217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
17218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17222 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
17224 wxPyEndAllowThreads(__tstate
);
17225 if (PyErr_Occurred()) SWIG_fail
;
17227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17234 static PyObject
* ShowEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17236 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17237 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
17239 return Py_BuildValue((char *)"");
17241 static PyObject
*_wrap_new_IconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17242 PyObject
*resultobj
;
17243 int arg1
= (int) 0 ;
17244 bool arg2
= (bool) True
;
17245 wxIconizeEvent
*result
;
17246 PyObject
* obj0
= 0 ;
17247 PyObject
* obj1
= 0 ;
17248 char *kwnames
[] = {
17249 (char *) "id",(char *) "iconized", NULL
17252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17254 arg1
= (int) SWIG_AsInt(obj0
);
17255 if (PyErr_Occurred()) SWIG_fail
;
17258 arg2
= (bool) SWIG_AsBool(obj1
);
17259 if (PyErr_Occurred()) SWIG_fail
;
17262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17263 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
17265 wxPyEndAllowThreads(__tstate
);
17266 if (PyErr_Occurred()) SWIG_fail
;
17268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
17275 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17276 PyObject
*resultobj
;
17277 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
17279 PyObject
* obj0
= 0 ;
17280 char *kwnames
[] = {
17281 (char *) "self", NULL
17284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
17285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
17286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17289 result
= (bool)(arg1
)->Iconized();
17291 wxPyEndAllowThreads(__tstate
);
17292 if (PyErr_Occurred()) SWIG_fail
;
17294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17301 static PyObject
* IconizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17303 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17304 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
17306 return Py_BuildValue((char *)"");
17308 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17309 PyObject
*resultobj
;
17310 int arg1
= (int) 0 ;
17311 wxMaximizeEvent
*result
;
17312 PyObject
* obj0
= 0 ;
17313 char *kwnames
[] = {
17314 (char *) "id", NULL
17317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
17319 arg1
= (int) SWIG_AsInt(obj0
);
17320 if (PyErr_Occurred()) SWIG_fail
;
17323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17324 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
17326 wxPyEndAllowThreads(__tstate
);
17327 if (PyErr_Occurred()) SWIG_fail
;
17329 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
17336 static PyObject
* MaximizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17338 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17339 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
17341 return Py_BuildValue((char *)"");
17343 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17344 PyObject
*resultobj
;
17345 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17347 PyObject
* obj0
= 0 ;
17348 char *kwnames
[] = {
17349 (char *) "self", NULL
17352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17357 result
= (arg1
)->GetPosition();
17359 wxPyEndAllowThreads(__tstate
);
17360 if (PyErr_Occurred()) SWIG_fail
;
17363 wxPoint
* resultptr
;
17364 resultptr
= new wxPoint((wxPoint
&) result
);
17365 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17373 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17374 PyObject
*resultobj
;
17375 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17377 PyObject
* obj0
= 0 ;
17378 char *kwnames
[] = {
17379 (char *) "self", NULL
17382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
17383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17387 result
= (int)(arg1
)->GetNumberOfFiles();
17389 wxPyEndAllowThreads(__tstate
);
17390 if (PyErr_Occurred()) SWIG_fail
;
17392 resultobj
= SWIG_FromInt((int)result
);
17399 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17400 PyObject
*resultobj
;
17401 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17403 PyObject
* obj0
= 0 ;
17404 char *kwnames
[] = {
17405 (char *) "self", NULL
17408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
17409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17413 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
17415 wxPyEndAllowThreads(__tstate
);
17416 if (PyErr_Occurred()) SWIG_fail
;
17418 resultobj
= result
;
17425 static PyObject
* DropFilesEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17427 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17428 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
17430 return Py_BuildValue((char *)"");
17432 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17433 PyObject
*resultobj
;
17434 int arg1
= (int) 0 ;
17435 wxUpdateUIEvent
*result
;
17436 PyObject
* obj0
= 0 ;
17437 char *kwnames
[] = {
17438 (char *) "commandId", NULL
17441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
17443 arg1
= (int) SWIG_AsInt(obj0
);
17444 if (PyErr_Occurred()) SWIG_fail
;
17447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17448 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
17450 wxPyEndAllowThreads(__tstate
);
17451 if (PyErr_Occurred()) SWIG_fail
;
17453 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
17460 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17461 PyObject
*resultobj
;
17462 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17464 PyObject
* obj0
= 0 ;
17465 char *kwnames
[] = {
17466 (char *) "self", NULL
17469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
17470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17474 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
17476 wxPyEndAllowThreads(__tstate
);
17477 if (PyErr_Occurred()) SWIG_fail
;
17479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17486 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17487 PyObject
*resultobj
;
17488 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17490 PyObject
* obj0
= 0 ;
17491 char *kwnames
[] = {
17492 (char *) "self", NULL
17495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
17496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17500 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
17502 wxPyEndAllowThreads(__tstate
);
17503 if (PyErr_Occurred()) SWIG_fail
;
17505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17512 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17513 PyObject
*resultobj
;
17514 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17516 PyObject
* obj0
= 0 ;
17517 char *kwnames
[] = {
17518 (char *) "self", NULL
17521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
17522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17526 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
17528 wxPyEndAllowThreads(__tstate
);
17529 if (PyErr_Occurred()) SWIG_fail
;
17533 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17535 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17544 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17545 PyObject
*resultobj
;
17546 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17548 PyObject
* obj0
= 0 ;
17549 char *kwnames
[] = {
17550 (char *) "self", NULL
17553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
17554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17558 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
17560 wxPyEndAllowThreads(__tstate
);
17561 if (PyErr_Occurred()) SWIG_fail
;
17563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17570 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17571 PyObject
*resultobj
;
17572 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17574 PyObject
* obj0
= 0 ;
17575 char *kwnames
[] = {
17576 (char *) "self", NULL
17579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
17580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17584 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
17586 wxPyEndAllowThreads(__tstate
);
17587 if (PyErr_Occurred()) SWIG_fail
;
17589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17596 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17597 PyObject
*resultobj
;
17598 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17600 PyObject
* obj0
= 0 ;
17601 char *kwnames
[] = {
17602 (char *) "self", NULL
17605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
17606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17610 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
17612 wxPyEndAllowThreads(__tstate
);
17613 if (PyErr_Occurred()) SWIG_fail
;
17615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17622 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17623 PyObject
*resultobj
;
17624 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17626 PyObject
* obj0
= 0 ;
17627 PyObject
* obj1
= 0 ;
17628 char *kwnames
[] = {
17629 (char *) "self",(char *) "check", NULL
17632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
17633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17635 arg2
= (bool) SWIG_AsBool(obj1
);
17636 if (PyErr_Occurred()) SWIG_fail
;
17638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17639 (arg1
)->Check(arg2
);
17641 wxPyEndAllowThreads(__tstate
);
17642 if (PyErr_Occurred()) SWIG_fail
;
17644 Py_INCREF(Py_None
); resultobj
= Py_None
;
17651 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17652 PyObject
*resultobj
;
17653 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17655 PyObject
* obj0
= 0 ;
17656 PyObject
* obj1
= 0 ;
17657 char *kwnames
[] = {
17658 (char *) "self",(char *) "enable", NULL
17661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
17662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17664 arg2
= (bool) SWIG_AsBool(obj1
);
17665 if (PyErr_Occurred()) SWIG_fail
;
17667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17668 (arg1
)->Enable(arg2
);
17670 wxPyEndAllowThreads(__tstate
);
17671 if (PyErr_Occurred()) SWIG_fail
;
17673 Py_INCREF(Py_None
); resultobj
= Py_None
;
17680 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17681 PyObject
*resultobj
;
17682 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17683 wxString
*arg2
= 0 ;
17684 bool temp2
= False
;
17685 PyObject
* obj0
= 0 ;
17686 PyObject
* obj1
= 0 ;
17687 char *kwnames
[] = {
17688 (char *) "self",(char *) "text", NULL
17691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
17692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17695 arg2
= wxString_in_helper(obj1
);
17696 if (arg2
== NULL
) SWIG_fail
;
17700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17701 (arg1
)->SetText((wxString
const &)*arg2
);
17703 wxPyEndAllowThreads(__tstate
);
17704 if (PyErr_Occurred()) SWIG_fail
;
17706 Py_INCREF(Py_None
); resultobj
= Py_None
;
17721 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17722 PyObject
*resultobj
;
17724 PyObject
* obj0
= 0 ;
17725 char *kwnames
[] = {
17726 (char *) "updateInterval", NULL
17729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
17730 arg1
= (long) SWIG_AsLong(obj0
);
17731 if (PyErr_Occurred()) SWIG_fail
;
17733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17734 wxUpdateUIEvent::SetUpdateInterval(arg1
);
17736 wxPyEndAllowThreads(__tstate
);
17737 if (PyErr_Occurred()) SWIG_fail
;
17739 Py_INCREF(Py_None
); resultobj
= Py_None
;
17746 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17747 PyObject
*resultobj
;
17749 char *kwnames
[] = {
17753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
17755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17756 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
17758 wxPyEndAllowThreads(__tstate
);
17759 if (PyErr_Occurred()) SWIG_fail
;
17761 resultobj
= SWIG_FromLong((long)result
);
17768 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17769 PyObject
*resultobj
;
17770 wxWindow
*arg1
= (wxWindow
*) 0 ;
17772 PyObject
* obj0
= 0 ;
17773 char *kwnames
[] = {
17774 (char *) "win", NULL
17777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
17778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17782 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
17784 wxPyEndAllowThreads(__tstate
);
17785 if (PyErr_Occurred()) SWIG_fail
;
17787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17794 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17795 PyObject
*resultobj
;
17796 char *kwnames
[] = {
17800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
17802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17803 wxUpdateUIEvent::ResetUpdateTime();
17805 wxPyEndAllowThreads(__tstate
);
17806 if (PyErr_Occurred()) SWIG_fail
;
17808 Py_INCREF(Py_None
); resultobj
= Py_None
;
17815 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17816 PyObject
*resultobj
;
17818 PyObject
* obj0
= 0 ;
17819 char *kwnames
[] = {
17820 (char *) "mode", NULL
17823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
17824 arg1
= (wxUpdateUIMode
) SWIG_AsInt(obj0
);
17825 if (PyErr_Occurred()) SWIG_fail
;
17827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17828 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
17830 wxPyEndAllowThreads(__tstate
);
17831 if (PyErr_Occurred()) SWIG_fail
;
17833 Py_INCREF(Py_None
); resultobj
= Py_None
;
17840 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17841 PyObject
*resultobj
;
17843 char *kwnames
[] = {
17847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
17849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17850 result
= (int)wxUpdateUIEvent::GetMode();
17852 wxPyEndAllowThreads(__tstate
);
17853 if (PyErr_Occurred()) SWIG_fail
;
17855 resultobj
= SWIG_FromInt((int)result
);
17862 static PyObject
* UpdateUIEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17864 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17865 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
17867 return Py_BuildValue((char *)"");
17869 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17870 PyObject
*resultobj
;
17871 wxSysColourChangedEvent
*result
;
17872 char *kwnames
[] = {
17876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
17878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17879 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
17881 wxPyEndAllowThreads(__tstate
);
17882 if (PyErr_Occurred()) SWIG_fail
;
17884 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
17891 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17893 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17894 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
17896 return Py_BuildValue((char *)"");
17898 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17899 PyObject
*resultobj
;
17900 int arg1
= (int) 0 ;
17901 wxWindow
*arg2
= (wxWindow
*) NULL
;
17902 wxMouseCaptureChangedEvent
*result
;
17903 PyObject
* obj0
= 0 ;
17904 PyObject
* obj1
= 0 ;
17905 char *kwnames
[] = {
17906 (char *) "winid",(char *) "gainedCapture", NULL
17909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17911 arg1
= (int) SWIG_AsInt(obj0
);
17912 if (PyErr_Occurred()) SWIG_fail
;
17915 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17920 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
17922 wxPyEndAllowThreads(__tstate
);
17923 if (PyErr_Occurred()) SWIG_fail
;
17925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
17932 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17933 PyObject
*resultobj
;
17934 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
17936 PyObject
* obj0
= 0 ;
17937 char *kwnames
[] = {
17938 (char *) "self", NULL
17941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
17942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
17943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17946 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
17948 wxPyEndAllowThreads(__tstate
);
17949 if (PyErr_Occurred()) SWIG_fail
;
17952 resultobj
= wxPyMake_wxObject(result
);
17960 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17962 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17963 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
17965 return Py_BuildValue((char *)"");
17967 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17968 PyObject
*resultobj
;
17969 wxDisplayChangedEvent
*result
;
17970 char *kwnames
[] = {
17974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
17976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17977 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
17979 wxPyEndAllowThreads(__tstate
);
17980 if (PyErr_Occurred()) SWIG_fail
;
17982 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
17989 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17991 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17992 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
17994 return Py_BuildValue((char *)"");
17996 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17997 PyObject
*resultobj
;
17998 int arg1
= (int) 0 ;
17999 wxPaletteChangedEvent
*result
;
18000 PyObject
* obj0
= 0 ;
18001 char *kwnames
[] = {
18002 (char *) "id", NULL
18005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18007 arg1
= (int) SWIG_AsInt(obj0
);
18008 if (PyErr_Occurred()) SWIG_fail
;
18011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18012 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18014 wxPyEndAllowThreads(__tstate
);
18015 if (PyErr_Occurred()) SWIG_fail
;
18017 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18024 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18025 PyObject
*resultobj
;
18026 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18027 wxWindow
*arg2
= (wxWindow
*) 0 ;
18028 PyObject
* obj0
= 0 ;
18029 PyObject
* obj1
= 0 ;
18030 char *kwnames
[] = {
18031 (char *) "self",(char *) "win", NULL
18034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18037 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18041 (arg1
)->SetChangedWindow(arg2
);
18043 wxPyEndAllowThreads(__tstate
);
18044 if (PyErr_Occurred()) SWIG_fail
;
18046 Py_INCREF(Py_None
); resultobj
= Py_None
;
18053 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18054 PyObject
*resultobj
;
18055 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18057 PyObject
* obj0
= 0 ;
18058 char *kwnames
[] = {
18059 (char *) "self", NULL
18062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18067 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18069 wxPyEndAllowThreads(__tstate
);
18070 if (PyErr_Occurred()) SWIG_fail
;
18073 resultobj
= wxPyMake_wxObject(result
);
18081 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18083 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18084 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18086 return Py_BuildValue((char *)"");
18088 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18089 PyObject
*resultobj
;
18090 int arg1
= (int) 0 ;
18091 wxQueryNewPaletteEvent
*result
;
18092 PyObject
* obj0
= 0 ;
18093 char *kwnames
[] = {
18094 (char *) "winid", NULL
18097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18099 arg1
= (int) SWIG_AsInt(obj0
);
18100 if (PyErr_Occurred()) SWIG_fail
;
18103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18104 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18106 wxPyEndAllowThreads(__tstate
);
18107 if (PyErr_Occurred()) SWIG_fail
;
18109 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18116 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18117 PyObject
*resultobj
;
18118 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18120 PyObject
* obj0
= 0 ;
18121 PyObject
* obj1
= 0 ;
18122 char *kwnames
[] = {
18123 (char *) "self",(char *) "realized", NULL
18126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18129 arg2
= (bool) SWIG_AsBool(obj1
);
18130 if (PyErr_Occurred()) SWIG_fail
;
18132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18133 (arg1
)->SetPaletteRealized(arg2
);
18135 wxPyEndAllowThreads(__tstate
);
18136 if (PyErr_Occurred()) SWIG_fail
;
18138 Py_INCREF(Py_None
); resultobj
= Py_None
;
18145 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18146 PyObject
*resultobj
;
18147 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18149 PyObject
* obj0
= 0 ;
18150 char *kwnames
[] = {
18151 (char *) "self", NULL
18154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
18155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18159 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
18161 wxPyEndAllowThreads(__tstate
);
18162 if (PyErr_Occurred()) SWIG_fail
;
18164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18171 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18173 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18174 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
18176 return Py_BuildValue((char *)"");
18178 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18179 PyObject
*resultobj
;
18180 wxNavigationKeyEvent
*result
;
18181 char *kwnames
[] = {
18185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
18187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18188 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
18190 wxPyEndAllowThreads(__tstate
);
18191 if (PyErr_Occurred()) SWIG_fail
;
18193 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
18200 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18201 PyObject
*resultobj
;
18202 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18204 PyObject
* obj0
= 0 ;
18205 char *kwnames
[] = {
18206 (char *) "self", NULL
18209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
18210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18214 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
18216 wxPyEndAllowThreads(__tstate
);
18217 if (PyErr_Occurred()) SWIG_fail
;
18219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18226 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18227 PyObject
*resultobj
;
18228 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18230 PyObject
* obj0
= 0 ;
18231 PyObject
* obj1
= 0 ;
18232 char *kwnames
[] = {
18233 (char *) "self",(char *) "bForward", NULL
18236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
18237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18239 arg2
= (bool) SWIG_AsBool(obj1
);
18240 if (PyErr_Occurred()) SWIG_fail
;
18242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18243 (arg1
)->SetDirection(arg2
);
18245 wxPyEndAllowThreads(__tstate
);
18246 if (PyErr_Occurred()) SWIG_fail
;
18248 Py_INCREF(Py_None
); resultobj
= Py_None
;
18255 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18256 PyObject
*resultobj
;
18257 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18259 PyObject
* obj0
= 0 ;
18260 char *kwnames
[] = {
18261 (char *) "self", NULL
18264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
18265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18269 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
18271 wxPyEndAllowThreads(__tstate
);
18272 if (PyErr_Occurred()) SWIG_fail
;
18274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18281 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18282 PyObject
*resultobj
;
18283 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18285 PyObject
* obj0
= 0 ;
18286 PyObject
* obj1
= 0 ;
18287 char *kwnames
[] = {
18288 (char *) "self",(char *) "bIs", NULL
18291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
18292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18294 arg2
= (bool) SWIG_AsBool(obj1
);
18295 if (PyErr_Occurred()) SWIG_fail
;
18297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18298 (arg1
)->SetWindowChange(arg2
);
18300 wxPyEndAllowThreads(__tstate
);
18301 if (PyErr_Occurred()) SWIG_fail
;
18303 Py_INCREF(Py_None
); resultobj
= Py_None
;
18310 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18311 PyObject
*resultobj
;
18312 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18314 PyObject
* obj0
= 0 ;
18315 char *kwnames
[] = {
18316 (char *) "self", NULL
18319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
18320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18324 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
18326 wxPyEndAllowThreads(__tstate
);
18327 if (PyErr_Occurred()) SWIG_fail
;
18330 resultobj
= wxPyMake_wxObject(result
);
18338 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18339 PyObject
*resultobj
;
18340 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18341 wxWindow
*arg2
= (wxWindow
*) 0 ;
18342 PyObject
* obj0
= 0 ;
18343 PyObject
* obj1
= 0 ;
18344 char *kwnames
[] = {
18345 (char *) "self",(char *) "win", NULL
18348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
18349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18351 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18355 (arg1
)->SetCurrentFocus(arg2
);
18357 wxPyEndAllowThreads(__tstate
);
18358 if (PyErr_Occurred()) SWIG_fail
;
18360 Py_INCREF(Py_None
); resultobj
= Py_None
;
18367 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18369 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18370 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
18372 return Py_BuildValue((char *)"");
18374 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18375 PyObject
*resultobj
;
18376 wxWindow
*arg1
= (wxWindow
*) NULL
;
18377 wxWindowCreateEvent
*result
;
18378 PyObject
* obj0
= 0 ;
18379 char *kwnames
[] = {
18380 (char *) "win", NULL
18383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
18385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18390 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
18392 wxPyEndAllowThreads(__tstate
);
18393 if (PyErr_Occurred()) SWIG_fail
;
18395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
18402 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18403 PyObject
*resultobj
;
18404 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
18406 PyObject
* obj0
= 0 ;
18407 char *kwnames
[] = {
18408 (char *) "self", NULL
18411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
18413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18416 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
18418 wxPyEndAllowThreads(__tstate
);
18419 if (PyErr_Occurred()) SWIG_fail
;
18422 resultobj
= wxPyMake_wxObject(result
);
18430 static PyObject
* WindowCreateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18432 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18433 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
18435 return Py_BuildValue((char *)"");
18437 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18438 PyObject
*resultobj
;
18439 wxWindow
*arg1
= (wxWindow
*) NULL
;
18440 wxWindowDestroyEvent
*result
;
18441 PyObject
* obj0
= 0 ;
18442 char *kwnames
[] = {
18443 (char *) "win", NULL
18446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
18448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18453 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
18455 wxPyEndAllowThreads(__tstate
);
18456 if (PyErr_Occurred()) SWIG_fail
;
18458 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
18465 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18466 PyObject
*resultobj
;
18467 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
18469 PyObject
* obj0
= 0 ;
18470 char *kwnames
[] = {
18471 (char *) "self", NULL
18474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
18476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18479 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
18481 wxPyEndAllowThreads(__tstate
);
18482 if (PyErr_Occurred()) SWIG_fail
;
18485 resultobj
= wxPyMake_wxObject(result
);
18493 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18495 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18496 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
18498 return Py_BuildValue((char *)"");
18500 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18501 PyObject
*resultobj
;
18502 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18503 int arg2
= (int) 0 ;
18504 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18505 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18506 wxContextMenuEvent
*result
;
18508 PyObject
* obj0
= 0 ;
18509 PyObject
* obj1
= 0 ;
18510 PyObject
* obj2
= 0 ;
18511 char *kwnames
[] = {
18512 (char *) "type",(char *) "winid",(char *) "pt", NULL
18515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18517 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
18518 if (PyErr_Occurred()) SWIG_fail
;
18521 arg2
= (int) SWIG_AsInt(obj1
);
18522 if (PyErr_Occurred()) SWIG_fail
;
18527 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18532 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
18534 wxPyEndAllowThreads(__tstate
);
18535 if (PyErr_Occurred()) SWIG_fail
;
18537 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
18544 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18545 PyObject
*resultobj
;
18546 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18548 PyObject
* obj0
= 0 ;
18549 char *kwnames
[] = {
18550 (char *) "self", NULL
18553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18559 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
18560 result
= (wxPoint
*) &_result_ref
;
18563 wxPyEndAllowThreads(__tstate
);
18564 if (PyErr_Occurred()) SWIG_fail
;
18566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
18573 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18574 PyObject
*resultobj
;
18575 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18576 wxPoint
*arg2
= 0 ;
18578 PyObject
* obj0
= 0 ;
18579 PyObject
* obj1
= 0 ;
18580 char *kwnames
[] = {
18581 (char *) "self",(char *) "pos", NULL
18584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
18585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18589 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18593 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
18595 wxPyEndAllowThreads(__tstate
);
18596 if (PyErr_Occurred()) SWIG_fail
;
18598 Py_INCREF(Py_None
); resultobj
= Py_None
;
18605 static PyObject
* ContextMenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18607 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18608 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
18610 return Py_BuildValue((char *)"");
18612 static PyObject
*_wrap_new_IdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18613 PyObject
*resultobj
;
18614 wxIdleEvent
*result
;
18615 char *kwnames
[] = {
18619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
18621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18622 result
= (wxIdleEvent
*)new wxIdleEvent();
18624 wxPyEndAllowThreads(__tstate
);
18625 if (PyErr_Occurred()) SWIG_fail
;
18627 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
18634 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18635 PyObject
*resultobj
;
18636 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18637 bool arg2
= (bool) True
;
18638 PyObject
* obj0
= 0 ;
18639 PyObject
* obj1
= 0 ;
18640 char *kwnames
[] = {
18641 (char *) "self",(char *) "needMore", NULL
18644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
18645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
18646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18648 arg2
= (bool) SWIG_AsBool(obj1
);
18649 if (PyErr_Occurred()) SWIG_fail
;
18652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18653 (arg1
)->RequestMore(arg2
);
18655 wxPyEndAllowThreads(__tstate
);
18656 if (PyErr_Occurred()) SWIG_fail
;
18658 Py_INCREF(Py_None
); resultobj
= Py_None
;
18665 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18666 PyObject
*resultobj
;
18667 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18669 PyObject
* obj0
= 0 ;
18670 char *kwnames
[] = {
18671 (char *) "self", NULL
18674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
18675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
18676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18679 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
18681 wxPyEndAllowThreads(__tstate
);
18682 if (PyErr_Occurred()) SWIG_fail
;
18684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18691 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18692 PyObject
*resultobj
;
18694 PyObject
* obj0
= 0 ;
18695 char *kwnames
[] = {
18696 (char *) "mode", NULL
18699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18700 arg1
= (wxIdleMode
) SWIG_AsInt(obj0
);
18701 if (PyErr_Occurred()) SWIG_fail
;
18703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18704 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
18706 wxPyEndAllowThreads(__tstate
);
18707 if (PyErr_Occurred()) SWIG_fail
;
18709 Py_INCREF(Py_None
); resultobj
= Py_None
;
18716 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18717 PyObject
*resultobj
;
18719 char *kwnames
[] = {
18723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
18725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18726 result
= (int)wxIdleEvent::GetMode();
18728 wxPyEndAllowThreads(__tstate
);
18729 if (PyErr_Occurred()) SWIG_fail
;
18731 resultobj
= SWIG_FromInt((int)result
);
18738 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18739 PyObject
*resultobj
;
18740 wxWindow
*arg1
= (wxWindow
*) 0 ;
18742 PyObject
* obj0
= 0 ;
18743 char *kwnames
[] = {
18744 (char *) "win", NULL
18747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
18748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18752 result
= (bool)wxIdleEvent::CanSend(arg1
);
18754 wxPyEndAllowThreads(__tstate
);
18755 if (PyErr_Occurred()) SWIG_fail
;
18757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18764 static PyObject
* IdleEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18766 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18767 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
18769 return Py_BuildValue((char *)"");
18771 static PyObject
*_wrap_new_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18772 PyObject
*resultobj
;
18773 int arg1
= (int) 0 ;
18774 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
18776 PyObject
* obj0
= 0 ;
18777 PyObject
* obj1
= 0 ;
18778 char *kwnames
[] = {
18779 (char *) "winid",(char *) "commandType", NULL
18782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18784 arg1
= (int) SWIG_AsInt(obj0
);
18785 if (PyErr_Occurred()) SWIG_fail
;
18788 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
18789 if (PyErr_Occurred()) SWIG_fail
;
18792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18793 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
18795 wxPyEndAllowThreads(__tstate
);
18796 if (PyErr_Occurred()) SWIG_fail
;
18798 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
18805 static PyObject
*_wrap_delete_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18806 PyObject
*resultobj
;
18807 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
18808 PyObject
* obj0
= 0 ;
18809 char *kwnames
[] = {
18810 (char *) "self", NULL
18813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
18814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
18815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18820 wxPyEndAllowThreads(__tstate
);
18821 if (PyErr_Occurred()) SWIG_fail
;
18823 Py_INCREF(Py_None
); resultobj
= Py_None
;
18830 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18831 PyObject
*resultobj
;
18832 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
18833 PyObject
*arg2
= (PyObject
*) 0 ;
18834 PyObject
* obj0
= 0 ;
18835 PyObject
* obj1
= 0 ;
18836 char *kwnames
[] = {
18837 (char *) "self",(char *) "self", NULL
18840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
18841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
18842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18846 (arg1
)->SetSelf(arg2
);
18848 wxPyEndAllowThreads(__tstate
);
18849 if (PyErr_Occurred()) SWIG_fail
;
18851 Py_INCREF(Py_None
); resultobj
= Py_None
;
18858 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18859 PyObject
*resultobj
;
18860 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
18862 PyObject
* obj0
= 0 ;
18863 char *kwnames
[] = {
18864 (char *) "self", NULL
18867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
18868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
18869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18872 result
= (PyObject
*)(arg1
)->GetSelf();
18874 wxPyEndAllowThreads(__tstate
);
18875 if (PyErr_Occurred()) SWIG_fail
;
18877 resultobj
= result
;
18884 static PyObject
* PyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18886 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18887 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
18889 return Py_BuildValue((char *)"");
18891 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18892 PyObject
*resultobj
;
18893 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18894 int arg2
= (int) 0 ;
18895 wxPyCommandEvent
*result
;
18896 PyObject
* obj0
= 0 ;
18897 PyObject
* obj1
= 0 ;
18898 char *kwnames
[] = {
18899 (char *) "commandType",(char *) "id", NULL
18902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18904 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
18905 if (PyErr_Occurred()) SWIG_fail
;
18908 arg2
= (int) SWIG_AsInt(obj1
);
18909 if (PyErr_Occurred()) SWIG_fail
;
18912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18913 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
18915 wxPyEndAllowThreads(__tstate
);
18916 if (PyErr_Occurred()) SWIG_fail
;
18918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
18925 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18926 PyObject
*resultobj
;
18927 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
18928 PyObject
* obj0
= 0 ;
18929 char *kwnames
[] = {
18930 (char *) "self", NULL
18933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
18934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
18935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18940 wxPyEndAllowThreads(__tstate
);
18941 if (PyErr_Occurred()) SWIG_fail
;
18943 Py_INCREF(Py_None
); resultobj
= Py_None
;
18950 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18951 PyObject
*resultobj
;
18952 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
18953 PyObject
*arg2
= (PyObject
*) 0 ;
18954 PyObject
* obj0
= 0 ;
18955 PyObject
* obj1
= 0 ;
18956 char *kwnames
[] = {
18957 (char *) "self",(char *) "self", NULL
18960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
18961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
18962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18966 (arg1
)->SetSelf(arg2
);
18968 wxPyEndAllowThreads(__tstate
);
18969 if (PyErr_Occurred()) SWIG_fail
;
18971 Py_INCREF(Py_None
); resultobj
= Py_None
;
18978 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18979 PyObject
*resultobj
;
18980 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
18982 PyObject
* obj0
= 0 ;
18983 char *kwnames
[] = {
18984 (char *) "self", NULL
18987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
18988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
18989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18992 result
= (PyObject
*)(arg1
)->GetSelf();
18994 wxPyEndAllowThreads(__tstate
);
18995 if (PyErr_Occurred()) SWIG_fail
;
18997 resultobj
= result
;
19004 static PyObject
* PyCommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19006 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19007 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19009 return Py_BuildValue((char *)"");
19011 static PyObject
*_wrap_new_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19012 PyObject
*resultobj
;
19014 char *kwnames
[] = {
19018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19021 result
= (wxPyApp
*)new_wxPyApp();
19023 wxPyEndAllowThreads(__tstate
);
19024 if (PyErr_Occurred()) SWIG_fail
;
19027 resultobj
= wxPyMake_wxObject(result
);
19035 static PyObject
*_wrap_delete_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19036 PyObject
*resultobj
;
19037 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19038 PyObject
* obj0
= 0 ;
19039 char *kwnames
[] = {
19040 (char *) "self", NULL
19043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19050 wxPyEndAllowThreads(__tstate
);
19051 if (PyErr_Occurred()) SWIG_fail
;
19053 Py_INCREF(Py_None
); resultobj
= Py_None
;
19060 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19061 PyObject
*resultobj
;
19062 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19063 PyObject
*arg2
= (PyObject
*) 0 ;
19064 PyObject
*arg3
= (PyObject
*) 0 ;
19065 PyObject
* obj0
= 0 ;
19066 PyObject
* obj1
= 0 ;
19067 PyObject
* obj2
= 0 ;
19068 char *kwnames
[] = {
19069 (char *) "self",(char *) "self",(char *) "_class", NULL
19072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19079 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19081 wxPyEndAllowThreads(__tstate
);
19082 if (PyErr_Occurred()) SWIG_fail
;
19084 Py_INCREF(Py_None
); resultobj
= Py_None
;
19091 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19092 PyObject
*resultobj
;
19093 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19095 PyObject
* obj0
= 0 ;
19096 char *kwnames
[] = {
19097 (char *) "self", NULL
19100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
19101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19105 result
= ((wxPyApp
const *)arg1
)->GetAppName();
19107 wxPyEndAllowThreads(__tstate
);
19108 if (PyErr_Occurred()) SWIG_fail
;
19112 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19114 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19123 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19124 PyObject
*resultobj
;
19125 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19126 wxString
*arg2
= 0 ;
19127 bool temp2
= False
;
19128 PyObject
* obj0
= 0 ;
19129 PyObject
* obj1
= 0 ;
19130 char *kwnames
[] = {
19131 (char *) "self",(char *) "name", NULL
19134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19138 arg2
= wxString_in_helper(obj1
);
19139 if (arg2
== NULL
) SWIG_fail
;
19143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19144 (arg1
)->SetAppName((wxString
const &)*arg2
);
19146 wxPyEndAllowThreads(__tstate
);
19147 if (PyErr_Occurred()) SWIG_fail
;
19149 Py_INCREF(Py_None
); resultobj
= Py_None
;
19164 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19165 PyObject
*resultobj
;
19166 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19168 PyObject
* obj0
= 0 ;
19169 char *kwnames
[] = {
19170 (char *) "self", NULL
19173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
19174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19178 result
= ((wxPyApp
const *)arg1
)->GetClassName();
19180 wxPyEndAllowThreads(__tstate
);
19181 if (PyErr_Occurred()) SWIG_fail
;
19185 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19187 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19196 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19197 PyObject
*resultobj
;
19198 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19199 wxString
*arg2
= 0 ;
19200 bool temp2
= False
;
19201 PyObject
* obj0
= 0 ;
19202 PyObject
* obj1
= 0 ;
19203 char *kwnames
[] = {
19204 (char *) "self",(char *) "name", NULL
19207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
19208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19211 arg2
= wxString_in_helper(obj1
);
19212 if (arg2
== NULL
) SWIG_fail
;
19216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19217 (arg1
)->SetClassName((wxString
const &)*arg2
);
19219 wxPyEndAllowThreads(__tstate
);
19220 if (PyErr_Occurred()) SWIG_fail
;
19222 Py_INCREF(Py_None
); resultobj
= Py_None
;
19237 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19238 PyObject
*resultobj
;
19239 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19241 PyObject
* obj0
= 0 ;
19242 char *kwnames
[] = {
19243 (char *) "self", NULL
19246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
19247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19252 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
19253 result
= (wxString
*) &_result_ref
;
19256 wxPyEndAllowThreads(__tstate
);
19257 if (PyErr_Occurred()) SWIG_fail
;
19261 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19263 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19272 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19273 PyObject
*resultobj
;
19274 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19275 wxString
*arg2
= 0 ;
19276 bool temp2
= False
;
19277 PyObject
* obj0
= 0 ;
19278 PyObject
* obj1
= 0 ;
19279 char *kwnames
[] = {
19280 (char *) "self",(char *) "name", NULL
19283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
19284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19287 arg2
= wxString_in_helper(obj1
);
19288 if (arg2
== NULL
) SWIG_fail
;
19292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19293 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19295 wxPyEndAllowThreads(__tstate
);
19296 if (PyErr_Occurred()) SWIG_fail
;
19298 Py_INCREF(Py_None
); resultobj
= Py_None
;
19313 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19314 PyObject
*resultobj
;
19315 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19316 wxAppTraits
*result
;
19317 PyObject
* obj0
= 0 ;
19318 char *kwnames
[] = {
19319 (char *) "self", NULL
19322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
19323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19327 result
= (wxAppTraits
*)(arg1
)->GetTraits();
19329 wxPyEndAllowThreads(__tstate
);
19330 if (PyErr_Occurred()) SWIG_fail
;
19332 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
19339 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19340 PyObject
*resultobj
;
19341 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19342 PyObject
* obj0
= 0 ;
19343 char *kwnames
[] = {
19344 (char *) "self", NULL
19347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
19348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19352 (arg1
)->ProcessPendingEvents();
19354 wxPyEndAllowThreads(__tstate
);
19355 if (PyErr_Occurred()) SWIG_fail
;
19357 Py_INCREF(Py_None
); resultobj
= Py_None
;
19364 static PyObject
*_wrap_PyApp_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19365 PyObject
*resultobj
;
19366 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19367 bool arg2
= (bool) False
;
19369 PyObject
* obj0
= 0 ;
19370 PyObject
* obj1
= 0 ;
19371 char *kwnames
[] = {
19372 (char *) "self",(char *) "onlyIfNeeded", NULL
19375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
19376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19379 arg2
= (bool) SWIG_AsBool(obj1
);
19380 if (PyErr_Occurred()) SWIG_fail
;
19383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19384 result
= (bool)(arg1
)->Yield(arg2
);
19386 wxPyEndAllowThreads(__tstate
);
19387 if (PyErr_Occurred()) SWIG_fail
;
19389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19396 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19397 PyObject
*resultobj
;
19398 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19399 PyObject
* obj0
= 0 ;
19400 char *kwnames
[] = {
19401 (char *) "self", NULL
19404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
19405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19409 (arg1
)->WakeUpIdle();
19411 wxPyEndAllowThreads(__tstate
);
19412 if (PyErr_Occurred()) SWIG_fail
;
19414 Py_INCREF(Py_None
); resultobj
= Py_None
;
19421 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19422 PyObject
*resultobj
;
19423 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19425 PyObject
* obj0
= 0 ;
19426 char *kwnames
[] = {
19427 (char *) "self", NULL
19430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
19431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19435 result
= (int)(arg1
)->MainLoop();
19437 wxPyEndAllowThreads(__tstate
);
19438 if (PyErr_Occurred()) SWIG_fail
;
19440 resultobj
= SWIG_FromInt((int)result
);
19447 static PyObject
*_wrap_PyApp_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19448 PyObject
*resultobj
;
19449 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19450 PyObject
* obj0
= 0 ;
19451 char *kwnames
[] = {
19452 (char *) "self", NULL
19455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
19456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19462 wxPyEndAllowThreads(__tstate
);
19463 if (PyErr_Occurred()) SWIG_fail
;
19465 Py_INCREF(Py_None
); resultobj
= Py_None
;
19472 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19473 PyObject
*resultobj
;
19474 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19475 PyObject
* obj0
= 0 ;
19476 char *kwnames
[] = {
19477 (char *) "self", NULL
19480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
19481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19485 (arg1
)->ExitMainLoop();
19487 wxPyEndAllowThreads(__tstate
);
19488 if (PyErr_Occurred()) SWIG_fail
;
19490 Py_INCREF(Py_None
); resultobj
= Py_None
;
19497 static PyObject
*_wrap_PyApp_Pending(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19498 PyObject
*resultobj
;
19499 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19501 PyObject
* obj0
= 0 ;
19502 char *kwnames
[] = {
19503 (char *) "self", NULL
19506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
19507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19511 result
= (bool)(arg1
)->Pending();
19513 wxPyEndAllowThreads(__tstate
);
19514 if (PyErr_Occurred()) SWIG_fail
;
19516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19523 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19524 PyObject
*resultobj
;
19525 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19527 PyObject
* obj0
= 0 ;
19528 char *kwnames
[] = {
19529 (char *) "self", NULL
19532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
19533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19537 result
= (bool)(arg1
)->Dispatch();
19539 wxPyEndAllowThreads(__tstate
);
19540 if (PyErr_Occurred()) SWIG_fail
;
19542 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19549 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19550 PyObject
*resultobj
;
19551 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19553 PyObject
* obj0
= 0 ;
19554 char *kwnames
[] = {
19555 (char *) "self", NULL
19558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
19559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19563 result
= (bool)(arg1
)->ProcessIdle();
19565 wxPyEndAllowThreads(__tstate
);
19566 if (PyErr_Occurred()) SWIG_fail
;
19568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19575 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19576 PyObject
*resultobj
;
19577 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19578 wxWindow
*arg2
= (wxWindow
*) 0 ;
19579 wxIdleEvent
*arg3
= 0 ;
19581 PyObject
* obj0
= 0 ;
19582 PyObject
* obj1
= 0 ;
19583 PyObject
* obj2
= 0 ;
19584 char *kwnames
[] = {
19585 (char *) "self",(char *) "win",(char *) "event", NULL
19588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19591 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19593 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
19594 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19596 if (arg3
== NULL
) {
19597 PyErr_SetString(PyExc_TypeError
,"null reference");
19601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19602 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
19604 wxPyEndAllowThreads(__tstate
);
19605 if (PyErr_Occurred()) SWIG_fail
;
19607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19614 static PyObject
*_wrap_PyApp_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19615 PyObject
*resultobj
;
19616 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19618 PyObject
* obj0
= 0 ;
19619 char *kwnames
[] = {
19620 (char *) "self", NULL
19623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
19624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19628 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
19630 wxPyEndAllowThreads(__tstate
);
19631 if (PyErr_Occurred()) SWIG_fail
;
19633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19640 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19641 PyObject
*resultobj
;
19642 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19643 wxWindow
*arg2
= (wxWindow
*) 0 ;
19644 PyObject
* obj0
= 0 ;
19645 PyObject
* obj1
= 0 ;
19646 char *kwnames
[] = {
19647 (char *) "self",(char *) "win", NULL
19650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19653 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19657 (arg1
)->SetTopWindow(arg2
);
19659 wxPyEndAllowThreads(__tstate
);
19660 if (PyErr_Occurred()) SWIG_fail
;
19662 Py_INCREF(Py_None
); resultobj
= Py_None
;
19669 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19670 PyObject
*resultobj
;
19671 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19673 PyObject
* obj0
= 0 ;
19674 char *kwnames
[] = {
19675 (char *) "self", NULL
19678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
19679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19683 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
19685 wxPyEndAllowThreads(__tstate
);
19686 if (PyErr_Occurred()) SWIG_fail
;
19689 resultobj
= wxPyMake_wxObject(result
);
19697 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19698 PyObject
*resultobj
;
19699 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19701 PyObject
* obj0
= 0 ;
19702 PyObject
* obj1
= 0 ;
19703 char *kwnames
[] = {
19704 (char *) "self",(char *) "flag", NULL
19707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
19708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19710 arg2
= (bool) SWIG_AsBool(obj1
);
19711 if (PyErr_Occurred()) SWIG_fail
;
19713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19714 (arg1
)->SetExitOnFrameDelete(arg2
);
19716 wxPyEndAllowThreads(__tstate
);
19717 if (PyErr_Occurred()) SWIG_fail
;
19719 Py_INCREF(Py_None
); resultobj
= Py_None
;
19726 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19727 PyObject
*resultobj
;
19728 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19730 PyObject
* obj0
= 0 ;
19731 char *kwnames
[] = {
19732 (char *) "self", NULL
19735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
19736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19740 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
19742 wxPyEndAllowThreads(__tstate
);
19743 if (PyErr_Occurred()) SWIG_fail
;
19745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19752 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19753 PyObject
*resultobj
;
19754 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19756 PyObject
* obj0
= 0 ;
19757 PyObject
* obj1
= 0 ;
19758 char *kwnames
[] = {
19759 (char *) "self",(char *) "flag", NULL
19762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
19763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19765 arg2
= (bool) SWIG_AsBool(obj1
);
19766 if (PyErr_Occurred()) SWIG_fail
;
19768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19769 (arg1
)->SetUseBestVisual(arg2
);
19771 wxPyEndAllowThreads(__tstate
);
19772 if (PyErr_Occurred()) SWIG_fail
;
19774 Py_INCREF(Py_None
); resultobj
= Py_None
;
19781 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19782 PyObject
*resultobj
;
19783 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19785 PyObject
* obj0
= 0 ;
19786 char *kwnames
[] = {
19787 (char *) "self", NULL
19790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
19791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19795 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
19797 wxPyEndAllowThreads(__tstate
);
19798 if (PyErr_Occurred()) SWIG_fail
;
19800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19807 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19808 PyObject
*resultobj
;
19809 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19811 PyObject
* obj0
= 0 ;
19812 PyObject
* obj1
= 0 ;
19813 char *kwnames
[] = {
19814 (char *) "self",(char *) "mode", NULL
19817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19820 arg2
= (int) SWIG_AsInt(obj1
);
19821 if (PyErr_Occurred()) SWIG_fail
;
19823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19824 (arg1
)->SetPrintMode(arg2
);
19826 wxPyEndAllowThreads(__tstate
);
19827 if (PyErr_Occurred()) SWIG_fail
;
19829 Py_INCREF(Py_None
); resultobj
= Py_None
;
19836 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19837 PyObject
*resultobj
;
19838 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19840 PyObject
* obj0
= 0 ;
19841 char *kwnames
[] = {
19842 (char *) "self", NULL
19845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
19846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19850 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
19852 wxPyEndAllowThreads(__tstate
);
19853 if (PyErr_Occurred()) SWIG_fail
;
19855 resultobj
= SWIG_FromInt((int)result
);
19862 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19863 PyObject
*resultobj
;
19864 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19866 PyObject
* obj0
= 0 ;
19867 PyObject
* obj1
= 0 ;
19868 char *kwnames
[] = {
19869 (char *) "self",(char *) "mode", NULL
19872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19875 arg2
= (int) SWIG_AsInt(obj1
);
19876 if (PyErr_Occurred()) SWIG_fail
;
19878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19879 (arg1
)->SetAssertMode(arg2
);
19881 wxPyEndAllowThreads(__tstate
);
19882 if (PyErr_Occurred()) SWIG_fail
;
19884 Py_INCREF(Py_None
); resultobj
= Py_None
;
19891 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19892 PyObject
*resultobj
;
19893 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19895 PyObject
* obj0
= 0 ;
19896 char *kwnames
[] = {
19897 (char *) "self", NULL
19900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
19901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19905 result
= (int)(arg1
)->GetAssertMode();
19907 wxPyEndAllowThreads(__tstate
);
19908 if (PyErr_Occurred()) SWIG_fail
;
19910 resultobj
= SWIG_FromInt((int)result
);
19917 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19918 PyObject
*resultobj
;
19920 char *kwnames
[] = {
19924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
19926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19927 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
19929 wxPyEndAllowThreads(__tstate
);
19930 if (PyErr_Occurred()) SWIG_fail
;
19932 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19939 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19940 PyObject
*resultobj
;
19942 char *kwnames
[] = {
19946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
19948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19949 result
= (long)wxPyApp::GetMacAboutMenuItemId();
19951 wxPyEndAllowThreads(__tstate
);
19952 if (PyErr_Occurred()) SWIG_fail
;
19954 resultobj
= SWIG_FromLong((long)result
);
19961 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19962 PyObject
*resultobj
;
19964 char *kwnames
[] = {
19968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
19970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19971 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
19973 wxPyEndAllowThreads(__tstate
);
19974 if (PyErr_Occurred()) SWIG_fail
;
19976 resultobj
= SWIG_FromLong((long)result
);
19983 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19984 PyObject
*resultobj
;
19986 char *kwnames
[] = {
19990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
19992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19993 result
= (long)wxPyApp::GetMacExitMenuItemId();
19995 wxPyEndAllowThreads(__tstate
);
19996 if (PyErr_Occurred()) SWIG_fail
;
19998 resultobj
= SWIG_FromLong((long)result
);
20005 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20006 PyObject
*resultobj
;
20008 char *kwnames
[] = {
20012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
20014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20015 result
= wxPyApp::GetMacHelpMenuTitleName();
20017 wxPyEndAllowThreads(__tstate
);
20018 if (PyErr_Occurred()) SWIG_fail
;
20022 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20024 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20033 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20034 PyObject
*resultobj
;
20036 PyObject
* obj0
= 0 ;
20037 char *kwnames
[] = {
20038 (char *) "val", NULL
20041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20042 arg1
= (bool) SWIG_AsBool(obj0
);
20043 if (PyErr_Occurred()) SWIG_fail
;
20045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20046 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20048 wxPyEndAllowThreads(__tstate
);
20049 if (PyErr_Occurred()) SWIG_fail
;
20051 Py_INCREF(Py_None
); resultobj
= Py_None
;
20058 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20059 PyObject
*resultobj
;
20061 PyObject
* obj0
= 0 ;
20062 char *kwnames
[] = {
20063 (char *) "val", NULL
20066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
20067 arg1
= (long) SWIG_AsLong(obj0
);
20068 if (PyErr_Occurred()) SWIG_fail
;
20070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20071 wxPyApp::SetMacAboutMenuItemId(arg1
);
20073 wxPyEndAllowThreads(__tstate
);
20074 if (PyErr_Occurred()) SWIG_fail
;
20076 Py_INCREF(Py_None
); resultobj
= Py_None
;
20083 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20084 PyObject
*resultobj
;
20086 PyObject
* obj0
= 0 ;
20087 char *kwnames
[] = {
20088 (char *) "val", NULL
20091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
20092 arg1
= (long) SWIG_AsLong(obj0
);
20093 if (PyErr_Occurred()) SWIG_fail
;
20095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20096 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
20098 wxPyEndAllowThreads(__tstate
);
20099 if (PyErr_Occurred()) SWIG_fail
;
20101 Py_INCREF(Py_None
); resultobj
= Py_None
;
20108 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20109 PyObject
*resultobj
;
20111 PyObject
* obj0
= 0 ;
20112 char *kwnames
[] = {
20113 (char *) "val", NULL
20116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
20117 arg1
= (long) SWIG_AsLong(obj0
);
20118 if (PyErr_Occurred()) SWIG_fail
;
20120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20121 wxPyApp::SetMacExitMenuItemId(arg1
);
20123 wxPyEndAllowThreads(__tstate
);
20124 if (PyErr_Occurred()) SWIG_fail
;
20126 Py_INCREF(Py_None
); resultobj
= Py_None
;
20133 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20134 PyObject
*resultobj
;
20135 wxString
*arg1
= 0 ;
20136 bool temp1
= False
;
20137 PyObject
* obj0
= 0 ;
20138 char *kwnames
[] = {
20139 (char *) "val", NULL
20142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
20144 arg1
= wxString_in_helper(obj0
);
20145 if (arg1
== NULL
) SWIG_fail
;
20149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20150 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
20152 wxPyEndAllowThreads(__tstate
);
20153 if (PyErr_Occurred()) SWIG_fail
;
20155 Py_INCREF(Py_None
); resultobj
= Py_None
;
20170 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20171 PyObject
*resultobj
;
20172 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20173 PyObject
* obj0
= 0 ;
20174 char *kwnames
[] = {
20175 (char *) "self", NULL
20178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
20179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20183 (arg1
)->_BootstrapApp();
20185 wxPyEndAllowThreads(__tstate
);
20186 if (PyErr_Occurred()) SWIG_fail
;
20188 Py_INCREF(Py_None
); resultobj
= Py_None
;
20195 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20196 PyObject
*resultobj
;
20198 char *kwnames
[] = {
20202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
20204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20205 result
= (int)PyApp_GetComCtl32Version();
20207 wxPyEndAllowThreads(__tstate
);
20208 if (PyErr_Occurred()) SWIG_fail
;
20210 resultobj
= SWIG_FromInt((int)result
);
20217 static PyObject
* PyApp_swigregister(PyObject
*self
, PyObject
*args
) {
20219 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20220 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
20222 return Py_BuildValue((char *)"");
20224 static PyObject
*_wrap_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20225 PyObject
*resultobj
;
20226 char *kwnames
[] = {
20230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
20232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20235 wxPyEndAllowThreads(__tstate
);
20236 if (PyErr_Occurred()) SWIG_fail
;
20238 Py_INCREF(Py_None
); resultobj
= Py_None
;
20245 static PyObject
*_wrap_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20246 PyObject
*resultobj
;
20248 char *kwnames
[] = {
20252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
20254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20255 result
= (bool)wxYield();
20257 wxPyEndAllowThreads(__tstate
);
20258 if (PyErr_Occurred()) SWIG_fail
;
20260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20267 static PyObject
*_wrap_YieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20268 PyObject
*resultobj
;
20270 char *kwnames
[] = {
20274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
20276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20277 result
= (bool)wxYieldIfNeeded();
20279 wxPyEndAllowThreads(__tstate
);
20280 if (PyErr_Occurred()) SWIG_fail
;
20282 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20289 static PyObject
*_wrap_SafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20290 PyObject
*resultobj
;
20291 wxWindow
*arg1
= (wxWindow
*) NULL
;
20292 bool arg2
= (bool) False
;
20294 PyObject
* obj0
= 0 ;
20295 PyObject
* obj1
= 0 ;
20296 char *kwnames
[] = {
20297 (char *) "win",(char *) "onlyIfNeeded", NULL
20300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
20302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20306 arg2
= (bool) SWIG_AsBool(obj1
);
20307 if (PyErr_Occurred()) SWIG_fail
;
20310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20311 result
= (bool)wxSafeYield(arg1
,arg2
);
20313 wxPyEndAllowThreads(__tstate
);
20314 if (PyErr_Occurred()) SWIG_fail
;
20316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20323 static PyObject
*_wrap_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20324 PyObject
*resultobj
;
20325 char *kwnames
[] = {
20329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
20331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20334 wxPyEndAllowThreads(__tstate
);
20335 if (PyErr_Occurred()) SWIG_fail
;
20337 Py_INCREF(Py_None
); resultobj
= Py_None
;
20344 static PyObject
*_wrap_PostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20345 PyObject
*resultobj
;
20346 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20347 wxEvent
*arg2
= 0 ;
20348 PyObject
* obj0
= 0 ;
20349 PyObject
* obj1
= 0 ;
20350 char *kwnames
[] = {
20351 (char *) "dest",(char *) "event", NULL
20354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
20356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20357 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
20358 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20360 if (arg2
== NULL
) {
20361 PyErr_SetString(PyExc_TypeError
,"null reference");
20365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20366 wxPostEvent(arg1
,*arg2
);
20368 wxPyEndAllowThreads(__tstate
);
20369 if (PyErr_Occurred()) SWIG_fail
;
20371 Py_INCREF(Py_None
); resultobj
= Py_None
;
20378 static PyObject
*_wrap_App_CleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20379 PyObject
*resultobj
;
20380 char *kwnames
[] = {
20384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
20386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20389 wxPyEndAllowThreads(__tstate
);
20390 if (PyErr_Occurred()) SWIG_fail
;
20392 Py_INCREF(Py_None
); resultobj
= Py_None
;
20399 static PyObject
*_wrap_GetApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20400 PyObject
*resultobj
;
20402 char *kwnames
[] = {
20406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
20408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20409 result
= (wxPyApp
*)wxGetApp();
20411 wxPyEndAllowThreads(__tstate
);
20412 if (PyErr_Occurred()) SWIG_fail
;
20415 resultobj
= wxPyMake_wxObject(result
);
20423 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20424 PyObject
*resultobj
;
20425 int arg1
= (int) 0 ;
20426 int arg2
= (int) 0 ;
20427 int arg3
= (int) 0 ;
20428 wxMenuItem
*arg4
= (wxMenuItem
*) NULL
;
20429 wxAcceleratorEntry
*result
;
20430 PyObject
* obj0
= 0 ;
20431 PyObject
* obj1
= 0 ;
20432 PyObject
* obj2
= 0 ;
20433 PyObject
* obj3
= 0 ;
20434 char *kwnames
[] = {
20435 (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20440 arg1
= (int) SWIG_AsInt(obj0
);
20441 if (PyErr_Occurred()) SWIG_fail
;
20444 arg2
= (int) SWIG_AsInt(obj1
);
20445 if (PyErr_Occurred()) SWIG_fail
;
20448 arg3
= (int) SWIG_AsInt(obj2
);
20449 if (PyErr_Occurred()) SWIG_fail
;
20452 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenuItem
,
20453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20457 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
,arg4
);
20459 wxPyEndAllowThreads(__tstate
);
20460 if (PyErr_Occurred()) SWIG_fail
;
20462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
20469 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20470 PyObject
*resultobj
;
20471 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20472 PyObject
* obj0
= 0 ;
20473 char *kwnames
[] = {
20474 (char *) "self", NULL
20477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
20478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20484 wxPyEndAllowThreads(__tstate
);
20485 if (PyErr_Occurred()) SWIG_fail
;
20487 Py_INCREF(Py_None
); resultobj
= Py_None
;
20494 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20495 PyObject
*resultobj
;
20496 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20500 wxMenuItem
*arg5
= (wxMenuItem
*) NULL
;
20501 PyObject
* obj0
= 0 ;
20502 PyObject
* obj1
= 0 ;
20503 PyObject
* obj2
= 0 ;
20504 PyObject
* obj3
= 0 ;
20505 PyObject
* obj4
= 0 ;
20506 char *kwnames
[] = {
20507 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20513 arg2
= (int) SWIG_AsInt(obj1
);
20514 if (PyErr_Occurred()) SWIG_fail
;
20515 arg3
= (int) SWIG_AsInt(obj2
);
20516 if (PyErr_Occurred()) SWIG_fail
;
20517 arg4
= (int) SWIG_AsInt(obj3
);
20518 if (PyErr_Occurred()) SWIG_fail
;
20520 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenuItem
,
20521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20525 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
20527 wxPyEndAllowThreads(__tstate
);
20528 if (PyErr_Occurred()) SWIG_fail
;
20530 Py_INCREF(Py_None
); resultobj
= Py_None
;
20537 static PyObject
*_wrap_AcceleratorEntry_SetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20538 PyObject
*resultobj
;
20539 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20540 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
20541 PyObject
* obj0
= 0 ;
20542 PyObject
* obj1
= 0 ;
20543 char *kwnames
[] = {
20544 (char *) "self",(char *) "item", NULL
20547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20550 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
20551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20554 (arg1
)->SetMenuItem(arg2
);
20556 wxPyEndAllowThreads(__tstate
);
20557 if (PyErr_Occurred()) SWIG_fail
;
20559 Py_INCREF(Py_None
); resultobj
= Py_None
;
20566 static PyObject
*_wrap_AcceleratorEntry_GetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20567 PyObject
*resultobj
;
20568 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20569 wxMenuItem
*result
;
20570 PyObject
* obj0
= 0 ;
20571 char *kwnames
[] = {
20572 (char *) "self", NULL
20575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames
,&obj0
)) goto fail
;
20576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20580 result
= (wxMenuItem
*)((wxAcceleratorEntry
const *)arg1
)->GetMenuItem();
20582 wxPyEndAllowThreads(__tstate
);
20583 if (PyErr_Occurred()) SWIG_fail
;
20586 resultobj
= wxPyMake_wxObject(result
);
20594 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20595 PyObject
*resultobj
;
20596 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20598 PyObject
* obj0
= 0 ;
20599 char *kwnames
[] = {
20600 (char *) "self", NULL
20603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
20604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20608 result
= (int)(arg1
)->GetFlags();
20610 wxPyEndAllowThreads(__tstate
);
20611 if (PyErr_Occurred()) SWIG_fail
;
20613 resultobj
= SWIG_FromInt((int)result
);
20620 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20621 PyObject
*resultobj
;
20622 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20624 PyObject
* obj0
= 0 ;
20625 char *kwnames
[] = {
20626 (char *) "self", NULL
20629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20634 result
= (int)(arg1
)->GetKeyCode();
20636 wxPyEndAllowThreads(__tstate
);
20637 if (PyErr_Occurred()) SWIG_fail
;
20639 resultobj
= SWIG_FromInt((int)result
);
20646 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20647 PyObject
*resultobj
;
20648 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20650 PyObject
* obj0
= 0 ;
20651 char *kwnames
[] = {
20652 (char *) "self", NULL
20655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
20656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20660 result
= (int)(arg1
)->GetCommand();
20662 wxPyEndAllowThreads(__tstate
);
20663 if (PyErr_Occurred()) SWIG_fail
;
20665 resultobj
= SWIG_FromInt((int)result
);
20672 static PyObject
* AcceleratorEntry_swigregister(PyObject
*self
, PyObject
*args
) {
20674 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20675 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
20677 return Py_BuildValue((char *)"");
20679 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20680 PyObject
*resultobj
;
20682 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
20683 wxAcceleratorTable
*result
;
20684 PyObject
* obj0
= 0 ;
20685 char *kwnames
[] = {
20689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
20691 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
20692 if (arg2
) arg1
= PyList_Size(obj0
);
20696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20697 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
20699 wxPyEndAllowThreads(__tstate
);
20700 if (PyErr_Occurred()) SWIG_fail
;
20702 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
20715 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20716 PyObject
*resultobj
;
20717 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
20718 PyObject
* obj0
= 0 ;
20719 char *kwnames
[] = {
20720 (char *) "self", NULL
20723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
20724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
20725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20730 wxPyEndAllowThreads(__tstate
);
20731 if (PyErr_Occurred()) SWIG_fail
;
20733 Py_INCREF(Py_None
); resultobj
= Py_None
;
20740 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20741 PyObject
*resultobj
;
20742 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
20744 PyObject
* obj0
= 0 ;
20745 char *kwnames
[] = {
20746 (char *) "self", NULL
20749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
20750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
20751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20754 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
20756 wxPyEndAllowThreads(__tstate
);
20757 if (PyErr_Occurred()) SWIG_fail
;
20759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20766 static PyObject
* AcceleratorTable_swigregister(PyObject
*self
, PyObject
*args
) {
20768 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20769 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
20771 return Py_BuildValue((char *)"");
20773 static int _wrap_NullAcceleratorTable_set(PyObject
*_val
) {
20774 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
20779 static PyObject
*_wrap_NullAcceleratorTable_get() {
20782 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
20787 static PyObject
*_wrap_GetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20788 PyObject
*resultobj
;
20789 wxString
*arg1
= 0 ;
20790 wxAcceleratorEntry
*result
;
20791 bool temp1
= False
;
20792 PyObject
* obj0
= 0 ;
20793 char *kwnames
[] = {
20794 (char *) "label", NULL
20797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
20799 arg1
= wxString_in_helper(obj0
);
20800 if (arg1
== NULL
) SWIG_fail
;
20804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20805 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
20807 wxPyEndAllowThreads(__tstate
);
20808 if (PyErr_Occurred()) SWIG_fail
;
20810 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
20825 static int _wrap_PanelNameStr_set(PyObject
*_val
) {
20826 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
20831 static PyObject
*_wrap_PanelNameStr_get() {
20836 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
20838 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
20845 static PyObject
*_wrap_new_Window(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20846 PyObject
*resultobj
;
20847 wxWindow
*arg1
= (wxWindow
*) 0 ;
20849 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20850 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20851 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20852 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20853 long arg5
= (long) 0 ;
20854 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
20855 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20859 bool temp6
= False
;
20860 PyObject
* obj0
= 0 ;
20861 PyObject
* obj1
= 0 ;
20862 PyObject
* obj2
= 0 ;
20863 PyObject
* obj3
= 0 ;
20864 PyObject
* obj4
= 0 ;
20865 PyObject
* obj5
= 0 ;
20866 char *kwnames
[] = {
20867 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20873 arg2
= (int const) SWIG_AsInt(obj1
);
20874 if (PyErr_Occurred()) SWIG_fail
;
20878 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20884 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20888 arg5
= (long) SWIG_AsLong(obj4
);
20889 if (PyErr_Occurred()) SWIG_fail
;
20893 arg6
= wxString_in_helper(obj5
);
20894 if (arg6
== NULL
) SWIG_fail
;
20899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20900 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20902 wxPyEndAllowThreads(__tstate
);
20903 if (PyErr_Occurred()) SWIG_fail
;
20906 resultobj
= wxPyMake_wxObject(result
);
20922 static PyObject
*_wrap_new_PreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20923 PyObject
*resultobj
;
20925 char *kwnames
[] = {
20929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
20931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20932 result
= (wxWindow
*)new wxWindow();
20934 wxPyEndAllowThreads(__tstate
);
20935 if (PyErr_Occurred()) SWIG_fail
;
20938 resultobj
= wxPyMake_wxObject(result
);
20946 static PyObject
*_wrap_Window_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20947 PyObject
*resultobj
;
20948 wxWindow
*arg1
= (wxWindow
*) 0 ;
20949 wxWindow
*arg2
= (wxWindow
*) 0 ;
20951 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20952 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20953 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20954 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20955 long arg6
= (long) 0 ;
20956 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
20957 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20961 bool temp7
= False
;
20962 PyObject
* obj0
= 0 ;
20963 PyObject
* obj1
= 0 ;
20964 PyObject
* obj2
= 0 ;
20965 PyObject
* obj3
= 0 ;
20966 PyObject
* obj4
= 0 ;
20967 PyObject
* obj5
= 0 ;
20968 PyObject
* obj6
= 0 ;
20969 char *kwnames
[] = {
20970 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20976 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20978 arg3
= (int const) SWIG_AsInt(obj2
);
20979 if (PyErr_Occurred()) SWIG_fail
;
20983 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20989 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20993 arg6
= (long) SWIG_AsLong(obj5
);
20994 if (PyErr_Occurred()) SWIG_fail
;
20998 arg7
= wxString_in_helper(obj6
);
20999 if (arg7
== NULL
) SWIG_fail
;
21004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21005 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21007 wxPyEndAllowThreads(__tstate
);
21008 if (PyErr_Occurred()) SWIG_fail
;
21010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21025 static PyObject
*_wrap_Window_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21026 PyObject
*resultobj
;
21027 wxWindow
*arg1
= (wxWindow
*) 0 ;
21028 bool arg2
= (bool) False
;
21030 PyObject
* obj0
= 0 ;
21031 PyObject
* obj1
= 0 ;
21032 char *kwnames
[] = {
21033 (char *) "self",(char *) "force", NULL
21036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
21037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21040 arg2
= (bool) SWIG_AsBool(obj1
);
21041 if (PyErr_Occurred()) SWIG_fail
;
21044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21045 result
= (bool)(arg1
)->Close(arg2
);
21047 wxPyEndAllowThreads(__tstate
);
21048 if (PyErr_Occurred()) SWIG_fail
;
21050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21057 static PyObject
*_wrap_Window_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21058 PyObject
*resultobj
;
21059 wxWindow
*arg1
= (wxWindow
*) 0 ;
21061 PyObject
* obj0
= 0 ;
21062 char *kwnames
[] = {
21063 (char *) "self", NULL
21066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
21067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21071 result
= (bool)(arg1
)->Destroy();
21073 wxPyEndAllowThreads(__tstate
);
21074 if (PyErr_Occurred()) SWIG_fail
;
21076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21083 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21084 PyObject
*resultobj
;
21085 wxWindow
*arg1
= (wxWindow
*) 0 ;
21087 PyObject
* obj0
= 0 ;
21088 char *kwnames
[] = {
21089 (char *) "self", NULL
21092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
21093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21097 result
= (bool)(arg1
)->DestroyChildren();
21099 wxPyEndAllowThreads(__tstate
);
21100 if (PyErr_Occurred()) SWIG_fail
;
21102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21109 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21110 PyObject
*resultobj
;
21111 wxWindow
*arg1
= (wxWindow
*) 0 ;
21113 PyObject
* obj0
= 0 ;
21114 char *kwnames
[] = {
21115 (char *) "self", NULL
21118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
21119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21123 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
21125 wxPyEndAllowThreads(__tstate
);
21126 if (PyErr_Occurred()) SWIG_fail
;
21128 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21135 static PyObject
*_wrap_Window_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21136 PyObject
*resultobj
;
21137 wxWindow
*arg1
= (wxWindow
*) 0 ;
21138 wxString
*arg2
= 0 ;
21139 bool temp2
= False
;
21140 PyObject
* obj0
= 0 ;
21141 PyObject
* obj1
= 0 ;
21142 char *kwnames
[] = {
21143 (char *) "self",(char *) "title", NULL
21146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
21147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21150 arg2
= wxString_in_helper(obj1
);
21151 if (arg2
== NULL
) SWIG_fail
;
21155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21156 (arg1
)->SetTitle((wxString
const &)*arg2
);
21158 wxPyEndAllowThreads(__tstate
);
21159 if (PyErr_Occurred()) SWIG_fail
;
21161 Py_INCREF(Py_None
); resultobj
= Py_None
;
21176 static PyObject
*_wrap_Window_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21177 PyObject
*resultobj
;
21178 wxWindow
*arg1
= (wxWindow
*) 0 ;
21180 PyObject
* obj0
= 0 ;
21181 char *kwnames
[] = {
21182 (char *) "self", NULL
21185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
21186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21190 result
= ((wxWindow
const *)arg1
)->GetTitle();
21192 wxPyEndAllowThreads(__tstate
);
21193 if (PyErr_Occurred()) SWIG_fail
;
21197 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21199 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21208 static PyObject
*_wrap_Window_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21209 PyObject
*resultobj
;
21210 wxWindow
*arg1
= (wxWindow
*) 0 ;
21211 wxString
*arg2
= 0 ;
21212 bool temp2
= False
;
21213 PyObject
* obj0
= 0 ;
21214 PyObject
* obj1
= 0 ;
21215 char *kwnames
[] = {
21216 (char *) "self",(char *) "label", NULL
21219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21223 arg2
= wxString_in_helper(obj1
);
21224 if (arg2
== NULL
) SWIG_fail
;
21228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21229 (arg1
)->SetLabel((wxString
const &)*arg2
);
21231 wxPyEndAllowThreads(__tstate
);
21232 if (PyErr_Occurred()) SWIG_fail
;
21234 Py_INCREF(Py_None
); resultobj
= Py_None
;
21249 static PyObject
*_wrap_Window_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21250 PyObject
*resultobj
;
21251 wxWindow
*arg1
= (wxWindow
*) 0 ;
21253 PyObject
* obj0
= 0 ;
21254 char *kwnames
[] = {
21255 (char *) "self", NULL
21258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
21259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21263 result
= ((wxWindow
const *)arg1
)->GetLabel();
21265 wxPyEndAllowThreads(__tstate
);
21266 if (PyErr_Occurred()) SWIG_fail
;
21270 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21272 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21281 static PyObject
*_wrap_Window_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21282 PyObject
*resultobj
;
21283 wxWindow
*arg1
= (wxWindow
*) 0 ;
21284 wxString
*arg2
= 0 ;
21285 bool temp2
= False
;
21286 PyObject
* obj0
= 0 ;
21287 PyObject
* obj1
= 0 ;
21288 char *kwnames
[] = {
21289 (char *) "self",(char *) "name", NULL
21292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
21293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21296 arg2
= wxString_in_helper(obj1
);
21297 if (arg2
== NULL
) SWIG_fail
;
21301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21302 (arg1
)->SetName((wxString
const &)*arg2
);
21304 wxPyEndAllowThreads(__tstate
);
21305 if (PyErr_Occurred()) SWIG_fail
;
21307 Py_INCREF(Py_None
); resultobj
= Py_None
;
21322 static PyObject
*_wrap_Window_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21323 PyObject
*resultobj
;
21324 wxWindow
*arg1
= (wxWindow
*) 0 ;
21326 PyObject
* obj0
= 0 ;
21327 char *kwnames
[] = {
21328 (char *) "self", NULL
21331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
21332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21336 result
= ((wxWindow
const *)arg1
)->GetName();
21338 wxPyEndAllowThreads(__tstate
);
21339 if (PyErr_Occurred()) SWIG_fail
;
21343 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21345 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21354 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21355 PyObject
*resultobj
;
21356 wxWindow
*arg1
= (wxWindow
*) 0 ;
21358 PyObject
* obj0
= 0 ;
21359 PyObject
* obj1
= 0 ;
21360 char *kwnames
[] = {
21361 (char *) "self",(char *) "variant", NULL
21364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
21365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21367 arg2
= (wxWindowVariant
) SWIG_AsInt(obj1
);
21368 if (PyErr_Occurred()) SWIG_fail
;
21370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21371 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
21373 wxPyEndAllowThreads(__tstate
);
21374 if (PyErr_Occurred()) SWIG_fail
;
21376 Py_INCREF(Py_None
); resultobj
= Py_None
;
21383 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21384 PyObject
*resultobj
;
21385 wxWindow
*arg1
= (wxWindow
*) 0 ;
21387 PyObject
* obj0
= 0 ;
21388 char *kwnames
[] = {
21389 (char *) "self", NULL
21392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
21393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21397 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
21399 wxPyEndAllowThreads(__tstate
);
21400 if (PyErr_Occurred()) SWIG_fail
;
21402 resultobj
= SWIG_FromInt((int)result
);
21409 static PyObject
*_wrap_Window_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21410 PyObject
*resultobj
;
21411 wxWindow
*arg1
= (wxWindow
*) 0 ;
21413 PyObject
* obj0
= 0 ;
21414 PyObject
* obj1
= 0 ;
21415 char *kwnames
[] = {
21416 (char *) "self",(char *) "winid", NULL
21419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21422 arg2
= (int) SWIG_AsInt(obj1
);
21423 if (PyErr_Occurred()) SWIG_fail
;
21425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21426 (arg1
)->SetId(arg2
);
21428 wxPyEndAllowThreads(__tstate
);
21429 if (PyErr_Occurred()) SWIG_fail
;
21431 Py_INCREF(Py_None
); resultobj
= Py_None
;
21438 static PyObject
*_wrap_Window_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21439 PyObject
*resultobj
;
21440 wxWindow
*arg1
= (wxWindow
*) 0 ;
21442 PyObject
* obj0
= 0 ;
21443 char *kwnames
[] = {
21444 (char *) "self", NULL
21447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
21448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21452 result
= (int)((wxWindow
const *)arg1
)->GetId();
21454 wxPyEndAllowThreads(__tstate
);
21455 if (PyErr_Occurred()) SWIG_fail
;
21457 resultobj
= SWIG_FromInt((int)result
);
21464 static PyObject
*_wrap_Window_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21465 PyObject
*resultobj
;
21467 char *kwnames
[] = {
21471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
21473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21474 result
= (int)wxWindow::NewControlId();
21476 wxPyEndAllowThreads(__tstate
);
21477 if (PyErr_Occurred()) SWIG_fail
;
21479 resultobj
= SWIG_FromInt((int)result
);
21486 static PyObject
*_wrap_Window_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21487 PyObject
*resultobj
;
21490 PyObject
* obj0
= 0 ;
21491 char *kwnames
[] = {
21492 (char *) "winid", NULL
21495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
21496 arg1
= (int) SWIG_AsInt(obj0
);
21497 if (PyErr_Occurred()) SWIG_fail
;
21499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21500 result
= (int)wxWindow::NextControlId(arg1
);
21502 wxPyEndAllowThreads(__tstate
);
21503 if (PyErr_Occurred()) SWIG_fail
;
21505 resultobj
= SWIG_FromInt((int)result
);
21512 static PyObject
*_wrap_Window_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21513 PyObject
*resultobj
;
21516 PyObject
* obj0
= 0 ;
21517 char *kwnames
[] = {
21518 (char *) "winid", NULL
21521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
21522 arg1
= (int) SWIG_AsInt(obj0
);
21523 if (PyErr_Occurred()) SWIG_fail
;
21525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21526 result
= (int)wxWindow::PrevControlId(arg1
);
21528 wxPyEndAllowThreads(__tstate
);
21529 if (PyErr_Occurred()) SWIG_fail
;
21531 resultobj
= SWIG_FromInt((int)result
);
21538 static PyObject
*_wrap_Window_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21539 PyObject
*resultobj
;
21540 wxWindow
*arg1
= (wxWindow
*) 0 ;
21543 PyObject
* obj0
= 0 ;
21544 PyObject
* obj1
= 0 ;
21545 char *kwnames
[] = {
21546 (char *) "self",(char *) "size", NULL
21549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
21550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21554 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21558 (arg1
)->SetSize((wxSize
const &)*arg2
);
21560 wxPyEndAllowThreads(__tstate
);
21561 if (PyErr_Occurred()) SWIG_fail
;
21563 Py_INCREF(Py_None
); resultobj
= Py_None
;
21570 static PyObject
*_wrap_Window_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21571 PyObject
*resultobj
;
21572 wxWindow
*arg1
= (wxWindow
*) 0 ;
21577 int arg6
= (int) wxSIZE_AUTO
;
21578 PyObject
* obj0
= 0 ;
21579 PyObject
* obj1
= 0 ;
21580 PyObject
* obj2
= 0 ;
21581 PyObject
* obj3
= 0 ;
21582 PyObject
* obj4
= 0 ;
21583 PyObject
* obj5
= 0 ;
21584 char *kwnames
[] = {
21585 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21591 arg2
= (int) SWIG_AsInt(obj1
);
21592 if (PyErr_Occurred()) SWIG_fail
;
21593 arg3
= (int) SWIG_AsInt(obj2
);
21594 if (PyErr_Occurred()) SWIG_fail
;
21595 arg4
= (int) SWIG_AsInt(obj3
);
21596 if (PyErr_Occurred()) SWIG_fail
;
21597 arg5
= (int) SWIG_AsInt(obj4
);
21598 if (PyErr_Occurred()) SWIG_fail
;
21600 arg6
= (int) SWIG_AsInt(obj5
);
21601 if (PyErr_Occurred()) SWIG_fail
;
21604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21605 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21607 wxPyEndAllowThreads(__tstate
);
21608 if (PyErr_Occurred()) SWIG_fail
;
21610 Py_INCREF(Py_None
); resultobj
= Py_None
;
21617 static PyObject
*_wrap_Window_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21618 PyObject
*resultobj
;
21619 wxWindow
*arg1
= (wxWindow
*) 0 ;
21621 int arg3
= (int) wxSIZE_AUTO
;
21623 PyObject
* obj0
= 0 ;
21624 PyObject
* obj1
= 0 ;
21625 PyObject
* obj2
= 0 ;
21626 char *kwnames
[] = {
21627 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
21630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21635 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
21638 arg3
= (int) SWIG_AsInt(obj2
);
21639 if (PyErr_Occurred()) SWIG_fail
;
21642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21643 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
21645 wxPyEndAllowThreads(__tstate
);
21646 if (PyErr_Occurred()) SWIG_fail
;
21648 Py_INCREF(Py_None
); resultobj
= Py_None
;
21655 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21656 PyObject
*resultobj
;
21657 wxWindow
*arg1
= (wxWindow
*) 0 ;
21660 PyObject
* obj0
= 0 ;
21661 PyObject
* obj1
= 0 ;
21662 PyObject
* obj2
= 0 ;
21663 char *kwnames
[] = {
21664 (char *) "self",(char *) "width",(char *) "height", NULL
21667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21670 arg2
= (int) SWIG_AsInt(obj1
);
21671 if (PyErr_Occurred()) SWIG_fail
;
21672 arg3
= (int) SWIG_AsInt(obj2
);
21673 if (PyErr_Occurred()) SWIG_fail
;
21675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21676 (arg1
)->SetSize(arg2
,arg3
);
21678 wxPyEndAllowThreads(__tstate
);
21679 if (PyErr_Occurred()) SWIG_fail
;
21681 Py_INCREF(Py_None
); resultobj
= Py_None
;
21688 static PyObject
*_wrap_Window_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21689 PyObject
*resultobj
;
21690 wxWindow
*arg1
= (wxWindow
*) 0 ;
21691 wxPoint
*arg2
= 0 ;
21692 int arg3
= (int) wxSIZE_USE_EXISTING
;
21694 PyObject
* obj0
= 0 ;
21695 PyObject
* obj1
= 0 ;
21696 PyObject
* obj2
= 0 ;
21697 char *kwnames
[] = {
21698 (char *) "self",(char *) "pt",(char *) "flags", NULL
21701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21706 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21709 arg3
= (int) SWIG_AsInt(obj2
);
21710 if (PyErr_Occurred()) SWIG_fail
;
21713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21714 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
21716 wxPyEndAllowThreads(__tstate
);
21717 if (PyErr_Occurred()) SWIG_fail
;
21719 Py_INCREF(Py_None
); resultobj
= Py_None
;
21726 static PyObject
*_wrap_Window_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21727 PyObject
*resultobj
;
21728 wxWindow
*arg1
= (wxWindow
*) 0 ;
21731 int arg4
= (int) wxSIZE_USE_EXISTING
;
21732 PyObject
* obj0
= 0 ;
21733 PyObject
* obj1
= 0 ;
21734 PyObject
* obj2
= 0 ;
21735 PyObject
* obj3
= 0 ;
21736 char *kwnames
[] = {
21737 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
21740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21743 arg2
= (int) SWIG_AsInt(obj1
);
21744 if (PyErr_Occurred()) SWIG_fail
;
21745 arg3
= (int) SWIG_AsInt(obj2
);
21746 if (PyErr_Occurred()) SWIG_fail
;
21748 arg4
= (int) SWIG_AsInt(obj3
);
21749 if (PyErr_Occurred()) SWIG_fail
;
21752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21753 (arg1
)->Move(arg2
,arg3
,arg4
);
21755 wxPyEndAllowThreads(__tstate
);
21756 if (PyErr_Occurred()) SWIG_fail
;
21758 Py_INCREF(Py_None
); resultobj
= Py_None
;
21765 static PyObject
*_wrap_Window_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21766 PyObject
*resultobj
;
21767 wxWindow
*arg1
= (wxWindow
*) 0 ;
21768 PyObject
* obj0
= 0 ;
21769 char *kwnames
[] = {
21770 (char *) "self", NULL
21773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
21774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21780 wxPyEndAllowThreads(__tstate
);
21781 if (PyErr_Occurred()) SWIG_fail
;
21783 Py_INCREF(Py_None
); resultobj
= Py_None
;
21790 static PyObject
*_wrap_Window_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21791 PyObject
*resultobj
;
21792 wxWindow
*arg1
= (wxWindow
*) 0 ;
21793 PyObject
* obj0
= 0 ;
21794 char *kwnames
[] = {
21795 (char *) "self", NULL
21798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
21799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21805 wxPyEndAllowThreads(__tstate
);
21806 if (PyErr_Occurred()) SWIG_fail
;
21808 Py_INCREF(Py_None
); resultobj
= Py_None
;
21815 static PyObject
*_wrap_Window_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21816 PyObject
*resultobj
;
21817 wxWindow
*arg1
= (wxWindow
*) 0 ;
21820 PyObject
* obj0
= 0 ;
21821 PyObject
* obj1
= 0 ;
21822 char *kwnames
[] = {
21823 (char *) "self",(char *) "size", NULL
21826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
21827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21831 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21835 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
21837 wxPyEndAllowThreads(__tstate
);
21838 if (PyErr_Occurred()) SWIG_fail
;
21840 Py_INCREF(Py_None
); resultobj
= Py_None
;
21847 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21848 PyObject
*resultobj
;
21849 wxWindow
*arg1
= (wxWindow
*) 0 ;
21852 PyObject
* obj0
= 0 ;
21853 PyObject
* obj1
= 0 ;
21854 PyObject
* obj2
= 0 ;
21855 char *kwnames
[] = {
21856 (char *) "self",(char *) "width",(char *) "height", NULL
21859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21862 arg2
= (int) SWIG_AsInt(obj1
);
21863 if (PyErr_Occurred()) SWIG_fail
;
21864 arg3
= (int) SWIG_AsInt(obj2
);
21865 if (PyErr_Occurred()) SWIG_fail
;
21867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21868 (arg1
)->SetClientSize(arg2
,arg3
);
21870 wxPyEndAllowThreads(__tstate
);
21871 if (PyErr_Occurred()) SWIG_fail
;
21873 Py_INCREF(Py_None
); resultobj
= Py_None
;
21880 static PyObject
*_wrap_Window_SetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21881 PyObject
*resultobj
;
21882 wxWindow
*arg1
= (wxWindow
*) 0 ;
21885 PyObject
* obj0
= 0 ;
21886 PyObject
* obj1
= 0 ;
21887 char *kwnames
[] = {
21888 (char *) "self",(char *) "rect", NULL
21891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
21892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21896 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
21899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21900 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
21902 wxPyEndAllowThreads(__tstate
);
21903 if (PyErr_Occurred()) SWIG_fail
;
21905 Py_INCREF(Py_None
); resultobj
= Py_None
;
21912 static PyObject
*_wrap_Window_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21913 PyObject
*resultobj
;
21914 wxWindow
*arg1
= (wxWindow
*) 0 ;
21916 PyObject
* obj0
= 0 ;
21917 char *kwnames
[] = {
21918 (char *) "self", NULL
21921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
21922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21926 result
= (arg1
)->GetPosition();
21928 wxPyEndAllowThreads(__tstate
);
21929 if (PyErr_Occurred()) SWIG_fail
;
21932 wxPoint
* resultptr
;
21933 resultptr
= new wxPoint((wxPoint
&) result
);
21934 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
21942 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21943 PyObject
*resultobj
;
21944 wxWindow
*arg1
= (wxWindow
*) 0 ;
21945 int *arg2
= (int *) 0 ;
21946 int *arg3
= (int *) 0 ;
21949 PyObject
* obj0
= 0 ;
21950 char *kwnames
[] = {
21951 (char *) "self", NULL
21956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
21957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21961 (arg1
)->GetPosition(arg2
,arg3
);
21963 wxPyEndAllowThreads(__tstate
);
21964 if (PyErr_Occurred()) SWIG_fail
;
21966 Py_INCREF(Py_None
); resultobj
= Py_None
;
21968 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21969 resultobj
= t_output_helper(resultobj
,o
);
21972 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21973 resultobj
= t_output_helper(resultobj
,o
);
21981 static PyObject
*_wrap_Window_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21982 PyObject
*resultobj
;
21983 wxWindow
*arg1
= (wxWindow
*) 0 ;
21985 PyObject
* obj0
= 0 ;
21986 char *kwnames
[] = {
21987 (char *) "self", NULL
21990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
21991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21995 result
= ((wxWindow
const *)arg1
)->GetSize();
21997 wxPyEndAllowThreads(__tstate
);
21998 if (PyErr_Occurred()) SWIG_fail
;
22001 wxSize
* resultptr
;
22002 resultptr
= new wxSize((wxSize
&) result
);
22003 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22011 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22012 PyObject
*resultobj
;
22013 wxWindow
*arg1
= (wxWindow
*) 0 ;
22014 int *arg2
= (int *) 0 ;
22015 int *arg3
= (int *) 0 ;
22018 PyObject
* obj0
= 0 ;
22019 char *kwnames
[] = {
22020 (char *) "self", NULL
22025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
22026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22030 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
22032 wxPyEndAllowThreads(__tstate
);
22033 if (PyErr_Occurred()) SWIG_fail
;
22035 Py_INCREF(Py_None
); resultobj
= Py_None
;
22037 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22038 resultobj
= t_output_helper(resultobj
,o
);
22041 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22042 resultobj
= t_output_helper(resultobj
,o
);
22050 static PyObject
*_wrap_Window_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22051 PyObject
*resultobj
;
22052 wxWindow
*arg1
= (wxWindow
*) 0 ;
22054 PyObject
* obj0
= 0 ;
22055 char *kwnames
[] = {
22056 (char *) "self", NULL
22059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
22060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22064 result
= ((wxWindow
const *)arg1
)->GetRect();
22066 wxPyEndAllowThreads(__tstate
);
22067 if (PyErr_Occurred()) SWIG_fail
;
22070 wxRect
* resultptr
;
22071 resultptr
= new wxRect((wxRect
&) result
);
22072 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22080 static PyObject
*_wrap_Window_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22081 PyObject
*resultobj
;
22082 wxWindow
*arg1
= (wxWindow
*) 0 ;
22084 PyObject
* obj0
= 0 ;
22085 char *kwnames
[] = {
22086 (char *) "self", NULL
22089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
22090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22094 result
= ((wxWindow
const *)arg1
)->GetClientSize();
22096 wxPyEndAllowThreads(__tstate
);
22097 if (PyErr_Occurred()) SWIG_fail
;
22100 wxSize
* resultptr
;
22101 resultptr
= new wxSize((wxSize
&) result
);
22102 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22110 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22111 PyObject
*resultobj
;
22112 wxWindow
*arg1
= (wxWindow
*) 0 ;
22113 int *arg2
= (int *) 0 ;
22114 int *arg3
= (int *) 0 ;
22117 PyObject
* obj0
= 0 ;
22118 char *kwnames
[] = {
22119 (char *) "self", NULL
22124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
22125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22129 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
22131 wxPyEndAllowThreads(__tstate
);
22132 if (PyErr_Occurred()) SWIG_fail
;
22134 Py_INCREF(Py_None
); resultobj
= Py_None
;
22136 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22137 resultobj
= t_output_helper(resultobj
,o
);
22140 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22141 resultobj
= t_output_helper(resultobj
,o
);
22149 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22150 PyObject
*resultobj
;
22151 wxWindow
*arg1
= (wxWindow
*) 0 ;
22153 PyObject
* obj0
= 0 ;
22154 char *kwnames
[] = {
22155 (char *) "self", NULL
22158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
22159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22163 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
22165 wxPyEndAllowThreads(__tstate
);
22166 if (PyErr_Occurred()) SWIG_fail
;
22169 wxPoint
* resultptr
;
22170 resultptr
= new wxPoint((wxPoint
&) result
);
22171 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22179 static PyObject
*_wrap_Window_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22180 PyObject
*resultobj
;
22181 wxWindow
*arg1
= (wxWindow
*) 0 ;
22183 PyObject
* obj0
= 0 ;
22184 char *kwnames
[] = {
22185 (char *) "self", NULL
22188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
22189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22193 result
= ((wxWindow
const *)arg1
)->GetClientRect();
22195 wxPyEndAllowThreads(__tstate
);
22196 if (PyErr_Occurred()) SWIG_fail
;
22199 wxRect
* resultptr
;
22200 resultptr
= new wxRect((wxRect
&) result
);
22201 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22209 static PyObject
*_wrap_Window_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22210 PyObject
*resultobj
;
22211 wxWindow
*arg1
= (wxWindow
*) 0 ;
22213 PyObject
* obj0
= 0 ;
22214 char *kwnames
[] = {
22215 (char *) "self", NULL
22218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
22219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22223 result
= ((wxWindow
const *)arg1
)->GetBestSize();
22225 wxPyEndAllowThreads(__tstate
);
22226 if (PyErr_Occurred()) SWIG_fail
;
22229 wxSize
* resultptr
;
22230 resultptr
= new wxSize((wxSize
&) result
);
22231 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22239 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22240 PyObject
*resultobj
;
22241 wxWindow
*arg1
= (wxWindow
*) 0 ;
22242 int *arg2
= (int *) 0 ;
22243 int *arg3
= (int *) 0 ;
22246 PyObject
* obj0
= 0 ;
22247 char *kwnames
[] = {
22248 (char *) "self", NULL
22253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
22254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22258 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
22260 wxPyEndAllowThreads(__tstate
);
22261 if (PyErr_Occurred()) SWIG_fail
;
22263 Py_INCREF(Py_None
); resultobj
= Py_None
;
22265 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22266 resultobj
= t_output_helper(resultobj
,o
);
22269 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22270 resultobj
= t_output_helper(resultobj
,o
);
22278 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22279 PyObject
*resultobj
;
22280 wxWindow
*arg1
= (wxWindow
*) 0 ;
22282 PyObject
* obj0
= 0 ;
22283 char *kwnames
[] = {
22284 (char *) "self", NULL
22287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
22288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22292 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
22294 wxPyEndAllowThreads(__tstate
);
22295 if (PyErr_Occurred()) SWIG_fail
;
22298 wxSize
* resultptr
;
22299 resultptr
= new wxSize((wxSize
&) result
);
22300 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22308 static PyObject
*_wrap_Window_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22309 PyObject
*resultobj
;
22310 wxWindow
*arg1
= (wxWindow
*) 0 ;
22311 int arg2
= (int) wxBOTH
;
22312 PyObject
* obj0
= 0 ;
22313 PyObject
* obj1
= 0 ;
22314 char *kwnames
[] = {
22315 (char *) "self",(char *) "direction", NULL
22318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
22319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22322 arg2
= (int) SWIG_AsInt(obj1
);
22323 if (PyErr_Occurred()) SWIG_fail
;
22326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22327 (arg1
)->Center(arg2
);
22329 wxPyEndAllowThreads(__tstate
);
22330 if (PyErr_Occurred()) SWIG_fail
;
22332 Py_INCREF(Py_None
); resultobj
= Py_None
;
22339 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22340 PyObject
*resultobj
;
22341 wxWindow
*arg1
= (wxWindow
*) 0 ;
22342 int arg2
= (int) wxBOTH
;
22343 PyObject
* obj0
= 0 ;
22344 PyObject
* obj1
= 0 ;
22345 char *kwnames
[] = {
22346 (char *) "self",(char *) "dir", NULL
22349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
22350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22353 arg2
= (int) SWIG_AsInt(obj1
);
22354 if (PyErr_Occurred()) SWIG_fail
;
22357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22358 (arg1
)->CenterOnScreen(arg2
);
22360 wxPyEndAllowThreads(__tstate
);
22361 if (PyErr_Occurred()) SWIG_fail
;
22363 Py_INCREF(Py_None
); resultobj
= Py_None
;
22370 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22371 PyObject
*resultobj
;
22372 wxWindow
*arg1
= (wxWindow
*) 0 ;
22373 int arg2
= (int) wxBOTH
;
22374 PyObject
* obj0
= 0 ;
22375 PyObject
* obj1
= 0 ;
22376 char *kwnames
[] = {
22377 (char *) "self",(char *) "dir", NULL
22380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
22381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22384 arg2
= (int) SWIG_AsInt(obj1
);
22385 if (PyErr_Occurred()) SWIG_fail
;
22388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22389 (arg1
)->CenterOnParent(arg2
);
22391 wxPyEndAllowThreads(__tstate
);
22392 if (PyErr_Occurred()) SWIG_fail
;
22394 Py_INCREF(Py_None
); resultobj
= Py_None
;
22401 static PyObject
*_wrap_Window_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22402 PyObject
*resultobj
;
22403 wxWindow
*arg1
= (wxWindow
*) 0 ;
22404 PyObject
* obj0
= 0 ;
22405 char *kwnames
[] = {
22406 (char *) "self", NULL
22409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
22410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22416 wxPyEndAllowThreads(__tstate
);
22417 if (PyErr_Occurred()) SWIG_fail
;
22419 Py_INCREF(Py_None
); resultobj
= Py_None
;
22426 static PyObject
*_wrap_Window_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22427 PyObject
*resultobj
;
22428 wxWindow
*arg1
= (wxWindow
*) 0 ;
22429 PyObject
* obj0
= 0 ;
22430 char *kwnames
[] = {
22431 (char *) "self", NULL
22434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
22435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22439 (arg1
)->FitInside();
22441 wxPyEndAllowThreads(__tstate
);
22442 if (PyErr_Occurred()) SWIG_fail
;
22444 Py_INCREF(Py_None
); resultobj
= Py_None
;
22451 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22452 PyObject
*resultobj
;
22453 wxWindow
*arg1
= (wxWindow
*) 0 ;
22456 int arg4
= (int) -1 ;
22457 int arg5
= (int) -1 ;
22458 int arg6
= (int) -1 ;
22459 int arg7
= (int) -1 ;
22460 PyObject
* obj0
= 0 ;
22461 PyObject
* obj1
= 0 ;
22462 PyObject
* obj2
= 0 ;
22463 PyObject
* obj3
= 0 ;
22464 PyObject
* obj4
= 0 ;
22465 PyObject
* obj5
= 0 ;
22466 PyObject
* obj6
= 0 ;
22467 char *kwnames
[] = {
22468 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
22471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22474 arg2
= (int) SWIG_AsInt(obj1
);
22475 if (PyErr_Occurred()) SWIG_fail
;
22476 arg3
= (int) SWIG_AsInt(obj2
);
22477 if (PyErr_Occurred()) SWIG_fail
;
22479 arg4
= (int) SWIG_AsInt(obj3
);
22480 if (PyErr_Occurred()) SWIG_fail
;
22483 arg5
= (int) SWIG_AsInt(obj4
);
22484 if (PyErr_Occurred()) SWIG_fail
;
22487 arg6
= (int) SWIG_AsInt(obj5
);
22488 if (PyErr_Occurred()) SWIG_fail
;
22491 arg7
= (int) SWIG_AsInt(obj6
);
22492 if (PyErr_Occurred()) SWIG_fail
;
22495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22496 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22498 wxPyEndAllowThreads(__tstate
);
22499 if (PyErr_Occurred()) SWIG_fail
;
22501 Py_INCREF(Py_None
); resultobj
= Py_None
;
22508 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22509 PyObject
*resultobj
;
22510 wxWindow
*arg1
= (wxWindow
*) 0 ;
22513 int arg4
= (int) -1 ;
22514 int arg5
= (int) -1 ;
22515 PyObject
* obj0
= 0 ;
22516 PyObject
* obj1
= 0 ;
22517 PyObject
* obj2
= 0 ;
22518 PyObject
* obj3
= 0 ;
22519 PyObject
* obj4
= 0 ;
22520 char *kwnames
[] = {
22521 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
22524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22527 arg2
= (int) SWIG_AsInt(obj1
);
22528 if (PyErr_Occurred()) SWIG_fail
;
22529 arg3
= (int) SWIG_AsInt(obj2
);
22530 if (PyErr_Occurred()) SWIG_fail
;
22532 arg4
= (int) SWIG_AsInt(obj3
);
22533 if (PyErr_Occurred()) SWIG_fail
;
22536 arg5
= (int) SWIG_AsInt(obj4
);
22537 if (PyErr_Occurred()) SWIG_fail
;
22540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22541 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
22543 wxPyEndAllowThreads(__tstate
);
22544 if (PyErr_Occurred()) SWIG_fail
;
22546 Py_INCREF(Py_None
); resultobj
= Py_None
;
22553 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22554 PyObject
*resultobj
;
22555 wxWindow
*arg1
= (wxWindow
*) 0 ;
22557 PyObject
* obj0
= 0 ;
22558 char *kwnames
[] = {
22559 (char *) "self", NULL
22562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
22563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22567 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
22569 wxPyEndAllowThreads(__tstate
);
22570 if (PyErr_Occurred()) SWIG_fail
;
22572 resultobj
= SWIG_FromInt((int)result
);
22579 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22580 PyObject
*resultobj
;
22581 wxWindow
*arg1
= (wxWindow
*) 0 ;
22583 PyObject
* obj0
= 0 ;
22584 char *kwnames
[] = {
22585 (char *) "self", NULL
22588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
22589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22593 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
22595 wxPyEndAllowThreads(__tstate
);
22596 if (PyErr_Occurred()) SWIG_fail
;
22598 resultobj
= SWIG_FromInt((int)result
);
22605 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22606 PyObject
*resultobj
;
22607 wxWindow
*arg1
= (wxWindow
*) 0 ;
22609 PyObject
* obj0
= 0 ;
22610 char *kwnames
[] = {
22611 (char *) "self", NULL
22614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
22615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22619 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
22621 wxPyEndAllowThreads(__tstate
);
22622 if (PyErr_Occurred()) SWIG_fail
;
22624 resultobj
= SWIG_FromInt((int)result
);
22631 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22632 PyObject
*resultobj
;
22633 wxWindow
*arg1
= (wxWindow
*) 0 ;
22635 PyObject
* obj0
= 0 ;
22636 char *kwnames
[] = {
22637 (char *) "self", NULL
22640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
22641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22645 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
22647 wxPyEndAllowThreads(__tstate
);
22648 if (PyErr_Occurred()) SWIG_fail
;
22650 resultobj
= SWIG_FromInt((int)result
);
22657 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22658 PyObject
*resultobj
;
22659 wxWindow
*arg1
= (wxWindow
*) 0 ;
22661 PyObject
* obj0
= 0 ;
22662 char *kwnames
[] = {
22663 (char *) "self", NULL
22666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
22667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22671 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
22673 wxPyEndAllowThreads(__tstate
);
22674 if (PyErr_Occurred()) SWIG_fail
;
22677 wxSize
* resultptr
;
22678 resultptr
= new wxSize((wxSize
&) result
);
22679 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22687 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22688 PyObject
*resultobj
;
22689 wxWindow
*arg1
= (wxWindow
*) 0 ;
22692 PyObject
* obj0
= 0 ;
22693 PyObject
* obj1
= 0 ;
22694 char *kwnames
[] = {
22695 (char *) "self",(char *) "size", NULL
22698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22703 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22707 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
22709 wxPyEndAllowThreads(__tstate
);
22710 if (PyErr_Occurred()) SWIG_fail
;
22712 Py_INCREF(Py_None
); resultobj
= Py_None
;
22719 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22720 PyObject
*resultobj
;
22721 wxWindow
*arg1
= (wxWindow
*) 0 ;
22724 PyObject
* obj0
= 0 ;
22725 PyObject
* obj1
= 0 ;
22726 PyObject
* obj2
= 0 ;
22727 char *kwnames
[] = {
22728 (char *) "self",(char *) "w",(char *) "h", NULL
22731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22740 (arg1
)->SetVirtualSize(arg2
,arg3
);
22742 wxPyEndAllowThreads(__tstate
);
22743 if (PyErr_Occurred()) SWIG_fail
;
22745 Py_INCREF(Py_None
); resultobj
= Py_None
;
22752 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22753 PyObject
*resultobj
;
22754 wxWindow
*arg1
= (wxWindow
*) 0 ;
22756 PyObject
* obj0
= 0 ;
22757 char *kwnames
[] = {
22758 (char *) "self", NULL
22761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
22762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22766 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
22768 wxPyEndAllowThreads(__tstate
);
22769 if (PyErr_Occurred()) SWIG_fail
;
22772 wxSize
* resultptr
;
22773 resultptr
= new wxSize((wxSize
&) result
);
22774 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22782 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22783 PyObject
*resultobj
;
22784 wxWindow
*arg1
= (wxWindow
*) 0 ;
22785 int *arg2
= (int *) 0 ;
22786 int *arg3
= (int *) 0 ;
22789 PyObject
* obj0
= 0 ;
22790 char *kwnames
[] = {
22791 (char *) "self", NULL
22796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
22797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22801 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
22803 wxPyEndAllowThreads(__tstate
);
22804 if (PyErr_Occurred()) SWIG_fail
;
22806 Py_INCREF(Py_None
); resultobj
= Py_None
;
22808 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22809 resultobj
= t_output_helper(resultobj
,o
);
22812 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22813 resultobj
= t_output_helper(resultobj
,o
);
22821 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22822 PyObject
*resultobj
;
22823 wxWindow
*arg1
= (wxWindow
*) 0 ;
22825 PyObject
* obj0
= 0 ;
22826 char *kwnames
[] = {
22827 (char *) "self", NULL
22830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
22831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22835 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
22837 wxPyEndAllowThreads(__tstate
);
22838 if (PyErr_Occurred()) SWIG_fail
;
22841 wxSize
* resultptr
;
22842 resultptr
= new wxSize((wxSize
&) result
);
22843 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22851 static PyObject
*_wrap_Window_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22852 PyObject
*resultobj
;
22853 wxWindow
*arg1
= (wxWindow
*) 0 ;
22854 bool arg2
= (bool) True
;
22856 PyObject
* obj0
= 0 ;
22857 PyObject
* obj1
= 0 ;
22858 char *kwnames
[] = {
22859 (char *) "self",(char *) "show", NULL
22862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
22863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22866 arg2
= (bool) SWIG_AsBool(obj1
);
22867 if (PyErr_Occurred()) SWIG_fail
;
22870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22871 result
= (bool)(arg1
)->Show(arg2
);
22873 wxPyEndAllowThreads(__tstate
);
22874 if (PyErr_Occurred()) SWIG_fail
;
22876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22883 static PyObject
*_wrap_Window_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22884 PyObject
*resultobj
;
22885 wxWindow
*arg1
= (wxWindow
*) 0 ;
22887 PyObject
* obj0
= 0 ;
22888 char *kwnames
[] = {
22889 (char *) "self", NULL
22892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
22893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22897 result
= (bool)(arg1
)->Hide();
22899 wxPyEndAllowThreads(__tstate
);
22900 if (PyErr_Occurred()) SWIG_fail
;
22902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22909 static PyObject
*_wrap_Window_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22910 PyObject
*resultobj
;
22911 wxWindow
*arg1
= (wxWindow
*) 0 ;
22912 bool arg2
= (bool) True
;
22914 PyObject
* obj0
= 0 ;
22915 PyObject
* obj1
= 0 ;
22916 char *kwnames
[] = {
22917 (char *) "self",(char *) "enable", NULL
22920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
22921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22924 arg2
= (bool) SWIG_AsBool(obj1
);
22925 if (PyErr_Occurred()) SWIG_fail
;
22928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22929 result
= (bool)(arg1
)->Enable(arg2
);
22931 wxPyEndAllowThreads(__tstate
);
22932 if (PyErr_Occurred()) SWIG_fail
;
22934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22941 static PyObject
*_wrap_Window_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22942 PyObject
*resultobj
;
22943 wxWindow
*arg1
= (wxWindow
*) 0 ;
22945 PyObject
* obj0
= 0 ;
22946 char *kwnames
[] = {
22947 (char *) "self", NULL
22950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
22951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22955 result
= (bool)(arg1
)->Disable();
22957 wxPyEndAllowThreads(__tstate
);
22958 if (PyErr_Occurred()) SWIG_fail
;
22960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22967 static PyObject
*_wrap_Window_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22968 PyObject
*resultobj
;
22969 wxWindow
*arg1
= (wxWindow
*) 0 ;
22971 PyObject
* obj0
= 0 ;
22972 char *kwnames
[] = {
22973 (char *) "self", NULL
22976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
22977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22981 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
22983 wxPyEndAllowThreads(__tstate
);
22984 if (PyErr_Occurred()) SWIG_fail
;
22986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22993 static PyObject
*_wrap_Window_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22994 PyObject
*resultobj
;
22995 wxWindow
*arg1
= (wxWindow
*) 0 ;
22997 PyObject
* obj0
= 0 ;
22998 char *kwnames
[] = {
22999 (char *) "self", NULL
23002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
23003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23007 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
23009 wxPyEndAllowThreads(__tstate
);
23010 if (PyErr_Occurred()) SWIG_fail
;
23012 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23019 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23020 PyObject
*resultobj
;
23021 wxWindow
*arg1
= (wxWindow
*) 0 ;
23023 PyObject
* obj0
= 0 ;
23024 PyObject
* obj1
= 0 ;
23025 char *kwnames
[] = {
23026 (char *) "self",(char *) "style", NULL
23029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23032 arg2
= (long) SWIG_AsLong(obj1
);
23033 if (PyErr_Occurred()) SWIG_fail
;
23035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23036 (arg1
)->SetWindowStyleFlag(arg2
);
23038 wxPyEndAllowThreads(__tstate
);
23039 if (PyErr_Occurred()) SWIG_fail
;
23041 Py_INCREF(Py_None
); resultobj
= Py_None
;
23048 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23049 PyObject
*resultobj
;
23050 wxWindow
*arg1
= (wxWindow
*) 0 ;
23052 PyObject
* obj0
= 0 ;
23053 char *kwnames
[] = {
23054 (char *) "self", NULL
23057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
23058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23062 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
23064 wxPyEndAllowThreads(__tstate
);
23065 if (PyErr_Occurred()) SWIG_fail
;
23067 resultobj
= SWIG_FromLong((long)result
);
23074 static PyObject
*_wrap_Window_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23075 PyObject
*resultobj
;
23076 wxWindow
*arg1
= (wxWindow
*) 0 ;
23079 PyObject
* obj0
= 0 ;
23080 PyObject
* obj1
= 0 ;
23081 char *kwnames
[] = {
23082 (char *) "self",(char *) "flag", NULL
23085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23088 arg2
= (int) SWIG_AsInt(obj1
);
23089 if (PyErr_Occurred()) SWIG_fail
;
23091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23092 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
23094 wxPyEndAllowThreads(__tstate
);
23095 if (PyErr_Occurred()) SWIG_fail
;
23097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23104 static PyObject
*_wrap_Window_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23105 PyObject
*resultobj
;
23106 wxWindow
*arg1
= (wxWindow
*) 0 ;
23108 PyObject
* obj0
= 0 ;
23109 char *kwnames
[] = {
23110 (char *) "self", NULL
23113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
23114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23118 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
23120 wxPyEndAllowThreads(__tstate
);
23121 if (PyErr_Occurred()) SWIG_fail
;
23123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23130 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23131 PyObject
*resultobj
;
23132 wxWindow
*arg1
= (wxWindow
*) 0 ;
23134 PyObject
* obj0
= 0 ;
23135 PyObject
* obj1
= 0 ;
23136 char *kwnames
[] = {
23137 (char *) "self",(char *) "exStyle", NULL
23140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
23141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23143 arg2
= (long) SWIG_AsLong(obj1
);
23144 if (PyErr_Occurred()) SWIG_fail
;
23146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23147 (arg1
)->SetExtraStyle(arg2
);
23149 wxPyEndAllowThreads(__tstate
);
23150 if (PyErr_Occurred()) SWIG_fail
;
23152 Py_INCREF(Py_None
); resultobj
= Py_None
;
23159 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23160 PyObject
*resultobj
;
23161 wxWindow
*arg1
= (wxWindow
*) 0 ;
23163 PyObject
* obj0
= 0 ;
23164 char *kwnames
[] = {
23165 (char *) "self", NULL
23168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
23169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23173 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
23175 wxPyEndAllowThreads(__tstate
);
23176 if (PyErr_Occurred()) SWIG_fail
;
23178 resultobj
= SWIG_FromLong((long)result
);
23185 static PyObject
*_wrap_Window_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23186 PyObject
*resultobj
;
23187 wxWindow
*arg1
= (wxWindow
*) 0 ;
23188 bool arg2
= (bool) True
;
23189 PyObject
* obj0
= 0 ;
23190 PyObject
* obj1
= 0 ;
23191 char *kwnames
[] = {
23192 (char *) "self",(char *) "modal", NULL
23195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
23196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23199 arg2
= (bool) SWIG_AsBool(obj1
);
23200 if (PyErr_Occurred()) SWIG_fail
;
23203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23204 (arg1
)->MakeModal(arg2
);
23206 wxPyEndAllowThreads(__tstate
);
23207 if (PyErr_Occurred()) SWIG_fail
;
23209 Py_INCREF(Py_None
); resultobj
= Py_None
;
23216 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23217 PyObject
*resultobj
;
23218 wxWindow
*arg1
= (wxWindow
*) 0 ;
23220 PyObject
* obj0
= 0 ;
23221 PyObject
* obj1
= 0 ;
23222 char *kwnames
[] = {
23223 (char *) "self",(char *) "enableTheme", NULL
23226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
23227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23229 arg2
= (bool) SWIG_AsBool(obj1
);
23230 if (PyErr_Occurred()) SWIG_fail
;
23232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23233 (arg1
)->SetThemeEnabled(arg2
);
23235 wxPyEndAllowThreads(__tstate
);
23236 if (PyErr_Occurred()) SWIG_fail
;
23238 Py_INCREF(Py_None
); resultobj
= Py_None
;
23245 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23246 PyObject
*resultobj
;
23247 wxWindow
*arg1
= (wxWindow
*) 0 ;
23249 PyObject
* obj0
= 0 ;
23250 char *kwnames
[] = {
23251 (char *) "self", NULL
23254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
23255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23259 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
23261 wxPyEndAllowThreads(__tstate
);
23262 if (PyErr_Occurred()) SWIG_fail
;
23264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23271 static PyObject
*_wrap_Window_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23272 PyObject
*resultobj
;
23273 wxWindow
*arg1
= (wxWindow
*) 0 ;
23274 PyObject
* obj0
= 0 ;
23275 char *kwnames
[] = {
23276 (char *) "self", NULL
23279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
23280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23284 (arg1
)->SetFocus();
23286 wxPyEndAllowThreads(__tstate
);
23287 if (PyErr_Occurred()) SWIG_fail
;
23289 Py_INCREF(Py_None
); resultobj
= Py_None
;
23296 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23297 PyObject
*resultobj
;
23298 wxWindow
*arg1
= (wxWindow
*) 0 ;
23299 PyObject
* obj0
= 0 ;
23300 char *kwnames
[] = {
23301 (char *) "self", NULL
23304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
23305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23309 (arg1
)->SetFocusFromKbd();
23311 wxPyEndAllowThreads(__tstate
);
23312 if (PyErr_Occurred()) SWIG_fail
;
23314 Py_INCREF(Py_None
); resultobj
= Py_None
;
23321 static PyObject
*_wrap_Window_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23322 PyObject
*resultobj
;
23324 char *kwnames
[] = {
23328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
23330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23331 result
= (wxWindow
*)wxWindow::FindFocus();
23333 wxPyEndAllowThreads(__tstate
);
23334 if (PyErr_Occurred()) SWIG_fail
;
23337 resultobj
= wxPyMake_wxObject(result
);
23345 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23346 PyObject
*resultobj
;
23347 wxWindow
*arg1
= (wxWindow
*) 0 ;
23349 PyObject
* obj0
= 0 ;
23350 char *kwnames
[] = {
23351 (char *) "self", NULL
23354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
23355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23359 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
23361 wxPyEndAllowThreads(__tstate
);
23362 if (PyErr_Occurred()) SWIG_fail
;
23364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23371 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23372 PyObject
*resultobj
;
23373 wxWindow
*arg1
= (wxWindow
*) 0 ;
23375 PyObject
* obj0
= 0 ;
23376 char *kwnames
[] = {
23377 (char *) "self", NULL
23380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
23381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23385 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
23387 wxPyEndAllowThreads(__tstate
);
23388 if (PyErr_Occurred()) SWIG_fail
;
23390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23397 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23398 PyObject
*resultobj
;
23399 wxWindow
*arg1
= (wxWindow
*) 0 ;
23401 PyObject
* obj0
= 0 ;
23402 char *kwnames
[] = {
23403 (char *) "self", NULL
23406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
23407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23411 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
23413 wxPyEndAllowThreads(__tstate
);
23414 if (PyErr_Occurred()) SWIG_fail
;
23417 resultobj
= wxPyMake_wxObject(result
);
23425 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23426 PyObject
*resultobj
;
23427 wxWindow
*arg1
= (wxWindow
*) 0 ;
23428 wxWindow
*arg2
= (wxWindow
*) 0 ;
23430 PyObject
* obj0
= 0 ;
23431 PyObject
* obj1
= 0 ;
23432 char *kwnames
[] = {
23433 (char *) "self",(char *) "child", NULL
23436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23439 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23443 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
23445 wxPyEndAllowThreads(__tstate
);
23446 if (PyErr_Occurred()) SWIG_fail
;
23449 resultobj
= wxPyMake_wxObject(result
);
23457 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23458 PyObject
*resultobj
;
23459 wxWindow
*arg1
= (wxWindow
*) 0 ;
23460 wxWindow
*arg2
= (wxWindow
*) 0 ;
23461 PyObject
* obj0
= 0 ;
23462 PyObject
* obj1
= 0 ;
23463 char *kwnames
[] = {
23464 (char *) "self",(char *) "win", NULL
23467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23470 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23474 (arg1
)->SetTmpDefaultItem(arg2
);
23476 wxPyEndAllowThreads(__tstate
);
23477 if (PyErr_Occurred()) SWIG_fail
;
23479 Py_INCREF(Py_None
); resultobj
= Py_None
;
23486 static PyObject
*_wrap_Window_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23487 PyObject
*resultobj
;
23488 wxWindow
*arg1
= (wxWindow
*) 0 ;
23490 PyObject
* obj0
= 0 ;
23491 char *kwnames
[] = {
23492 (char *) "self", NULL
23495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
23496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23500 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
23502 wxPyEndAllowThreads(__tstate
);
23503 if (PyErr_Occurred()) SWIG_fail
;
23505 resultobj
= result
;
23512 static PyObject
*_wrap_Window_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23513 PyObject
*resultobj
;
23514 wxWindow
*arg1
= (wxWindow
*) 0 ;
23516 PyObject
* obj0
= 0 ;
23517 char *kwnames
[] = {
23518 (char *) "self", NULL
23521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
23522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23526 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
23528 wxPyEndAllowThreads(__tstate
);
23529 if (PyErr_Occurred()) SWIG_fail
;
23532 resultobj
= wxPyMake_wxObject(result
);
23540 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23541 PyObject
*resultobj
;
23542 wxWindow
*arg1
= (wxWindow
*) 0 ;
23544 PyObject
* obj0
= 0 ;
23545 char *kwnames
[] = {
23546 (char *) "self", NULL
23549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
23550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23554 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
23556 wxPyEndAllowThreads(__tstate
);
23557 if (PyErr_Occurred()) SWIG_fail
;
23560 resultobj
= wxPyMake_wxObject(result
);
23568 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23569 PyObject
*resultobj
;
23570 wxWindow
*arg1
= (wxWindow
*) 0 ;
23572 PyObject
* obj0
= 0 ;
23573 char *kwnames
[] = {
23574 (char *) "self", NULL
23577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
23578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23582 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
23584 wxPyEndAllowThreads(__tstate
);
23585 if (PyErr_Occurred()) SWIG_fail
;
23587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23594 static PyObject
*_wrap_Window_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23595 PyObject
*resultobj
;
23596 wxWindow
*arg1
= (wxWindow
*) 0 ;
23597 wxWindow
*arg2
= (wxWindow
*) 0 ;
23599 PyObject
* obj0
= 0 ;
23600 PyObject
* obj1
= 0 ;
23601 char *kwnames
[] = {
23602 (char *) "self",(char *) "newParent", NULL
23605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
23606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23608 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23612 result
= (bool)(arg1
)->Reparent(arg2
);
23614 wxPyEndAllowThreads(__tstate
);
23615 if (PyErr_Occurred()) SWIG_fail
;
23617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23624 static PyObject
*_wrap_Window_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23625 PyObject
*resultobj
;
23626 wxWindow
*arg1
= (wxWindow
*) 0 ;
23627 wxWindow
*arg2
= (wxWindow
*) 0 ;
23628 PyObject
* obj0
= 0 ;
23629 PyObject
* obj1
= 0 ;
23630 char *kwnames
[] = {
23631 (char *) "self",(char *) "child", NULL
23634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
23635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23637 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23641 (arg1
)->AddChild(arg2
);
23643 wxPyEndAllowThreads(__tstate
);
23644 if (PyErr_Occurred()) SWIG_fail
;
23646 Py_INCREF(Py_None
); resultobj
= Py_None
;
23653 static PyObject
*_wrap_Window_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23654 PyObject
*resultobj
;
23655 wxWindow
*arg1
= (wxWindow
*) 0 ;
23656 wxWindow
*arg2
= (wxWindow
*) 0 ;
23657 PyObject
* obj0
= 0 ;
23658 PyObject
* obj1
= 0 ;
23659 char *kwnames
[] = {
23660 (char *) "self",(char *) "child", NULL
23663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
23664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23666 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23670 (arg1
)->RemoveChild(arg2
);
23672 wxPyEndAllowThreads(__tstate
);
23673 if (PyErr_Occurred()) SWIG_fail
;
23675 Py_INCREF(Py_None
); resultobj
= Py_None
;
23682 static PyObject
*_wrap_Window_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23683 PyObject
*resultobj
;
23684 wxWindow
*arg1
= (wxWindow
*) 0 ;
23687 PyObject
* obj0
= 0 ;
23688 PyObject
* obj1
= 0 ;
23689 char *kwnames
[] = {
23690 (char *) "self",(char *) "winid", NULL
23693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
23694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23696 arg2
= (long) SWIG_AsLong(obj1
);
23697 if (PyErr_Occurred()) SWIG_fail
;
23699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23700 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
23702 wxPyEndAllowThreads(__tstate
);
23703 if (PyErr_Occurred()) SWIG_fail
;
23706 resultobj
= wxPyMake_wxObject(result
);
23714 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23715 PyObject
*resultobj
;
23716 wxWindow
*arg1
= (wxWindow
*) 0 ;
23717 wxString
*arg2
= 0 ;
23719 bool temp2
= False
;
23720 PyObject
* obj0
= 0 ;
23721 PyObject
* obj1
= 0 ;
23722 char *kwnames
[] = {
23723 (char *) "self",(char *) "name", NULL
23726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
23727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23730 arg2
= wxString_in_helper(obj1
);
23731 if (arg2
== NULL
) SWIG_fail
;
23735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23736 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
23738 wxPyEndAllowThreads(__tstate
);
23739 if (PyErr_Occurred()) SWIG_fail
;
23742 resultobj
= wxPyMake_wxObject(result
);
23758 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23759 PyObject
*resultobj
;
23760 wxWindow
*arg1
= (wxWindow
*) 0 ;
23761 wxEvtHandler
*result
;
23762 PyObject
* obj0
= 0 ;
23763 char *kwnames
[] = {
23764 (char *) "self", NULL
23767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
23768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23772 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
23774 wxPyEndAllowThreads(__tstate
);
23775 if (PyErr_Occurred()) SWIG_fail
;
23778 resultobj
= wxPyMake_wxObject(result
);
23786 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23787 PyObject
*resultobj
;
23788 wxWindow
*arg1
= (wxWindow
*) 0 ;
23789 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
23790 PyObject
* obj0
= 0 ;
23791 PyObject
* obj1
= 0 ;
23792 char *kwnames
[] = {
23793 (char *) "self",(char *) "handler", NULL
23796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
23797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23799 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
23800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23803 (arg1
)->SetEventHandler(arg2
);
23805 wxPyEndAllowThreads(__tstate
);
23806 if (PyErr_Occurred()) SWIG_fail
;
23808 Py_INCREF(Py_None
); resultobj
= Py_None
;
23815 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23816 PyObject
*resultobj
;
23817 wxWindow
*arg1
= (wxWindow
*) 0 ;
23818 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
23819 PyObject
* obj0
= 0 ;
23820 PyObject
* obj1
= 0 ;
23821 char *kwnames
[] = {
23822 (char *) "self",(char *) "handler", NULL
23825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
23826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23828 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
23829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23832 (arg1
)->PushEventHandler(arg2
);
23834 wxPyEndAllowThreads(__tstate
);
23835 if (PyErr_Occurred()) SWIG_fail
;
23837 Py_INCREF(Py_None
); resultobj
= Py_None
;
23844 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23845 PyObject
*resultobj
;
23846 wxWindow
*arg1
= (wxWindow
*) 0 ;
23847 bool arg2
= (bool) False
;
23848 wxEvtHandler
*result
;
23849 PyObject
* obj0
= 0 ;
23850 PyObject
* obj1
= 0 ;
23851 char *kwnames
[] = {
23852 (char *) "self",(char *) "deleteHandler", NULL
23855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
23856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23859 arg2
= (bool) SWIG_AsBool(obj1
);
23860 if (PyErr_Occurred()) SWIG_fail
;
23863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23864 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
23866 wxPyEndAllowThreads(__tstate
);
23867 if (PyErr_Occurred()) SWIG_fail
;
23870 resultobj
= wxPyMake_wxObject(result
);
23878 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23879 PyObject
*resultobj
;
23880 wxWindow
*arg1
= (wxWindow
*) 0 ;
23881 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
23883 PyObject
* obj0
= 0 ;
23884 PyObject
* obj1
= 0 ;
23885 char *kwnames
[] = {
23886 (char *) "self",(char *) "handler", NULL
23889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",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_wxEvtHandler
,
23893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23896 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
23898 wxPyEndAllowThreads(__tstate
);
23899 if (PyErr_Occurred()) SWIG_fail
;
23901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23908 static PyObject
*_wrap_Window_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23909 PyObject
*resultobj
;
23910 wxWindow
*arg1
= (wxWindow
*) 0 ;
23911 wxValidator
*arg2
= 0 ;
23912 PyObject
* obj0
= 0 ;
23913 PyObject
* obj1
= 0 ;
23914 char *kwnames
[] = {
23915 (char *) "self",(char *) "validator", NULL
23918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
23919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23921 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
23922 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23924 if (arg2
== NULL
) {
23925 PyErr_SetString(PyExc_TypeError
,"null reference");
23929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23930 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
23932 wxPyEndAllowThreads(__tstate
);
23933 if (PyErr_Occurred()) SWIG_fail
;
23935 Py_INCREF(Py_None
); resultobj
= Py_None
;
23942 static PyObject
*_wrap_Window_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23943 PyObject
*resultobj
;
23944 wxWindow
*arg1
= (wxWindow
*) 0 ;
23945 wxValidator
*result
;
23946 PyObject
* obj0
= 0 ;
23947 char *kwnames
[] = {
23948 (char *) "self", NULL
23951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
23952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23956 result
= (wxValidator
*)(arg1
)->GetValidator();
23958 wxPyEndAllowThreads(__tstate
);
23959 if (PyErr_Occurred()) SWIG_fail
;
23962 resultobj
= wxPyMake_wxObject(result
);
23970 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23971 PyObject
*resultobj
;
23972 wxWindow
*arg1
= (wxWindow
*) 0 ;
23973 wxAcceleratorTable
*arg2
= 0 ;
23974 PyObject
* obj0
= 0 ;
23975 PyObject
* obj1
= 0 ;
23976 char *kwnames
[] = {
23977 (char *) "self",(char *) "accel", NULL
23980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
23981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23983 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
23984 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23986 if (arg2
== NULL
) {
23987 PyErr_SetString(PyExc_TypeError
,"null reference");
23991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23992 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
23994 wxPyEndAllowThreads(__tstate
);
23995 if (PyErr_Occurred()) SWIG_fail
;
23997 Py_INCREF(Py_None
); resultobj
= Py_None
;
24004 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24005 PyObject
*resultobj
;
24006 wxWindow
*arg1
= (wxWindow
*) 0 ;
24007 wxAcceleratorTable
*result
;
24008 PyObject
* obj0
= 0 ;
24009 char *kwnames
[] = {
24010 (char *) "self", NULL
24013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
24014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24018 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
24020 wxPyEndAllowThreads(__tstate
);
24021 if (PyErr_Occurred()) SWIG_fail
;
24023 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
24030 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24031 PyObject
*resultobj
;
24032 wxWindow
*arg1
= (wxWindow
*) 0 ;
24037 PyObject
* obj0
= 0 ;
24038 PyObject
* obj1
= 0 ;
24039 PyObject
* obj2
= 0 ;
24040 PyObject
* obj3
= 0 ;
24041 char *kwnames
[] = {
24042 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
24045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24048 arg2
= (int) SWIG_AsInt(obj1
);
24049 if (PyErr_Occurred()) SWIG_fail
;
24050 arg3
= (int) SWIG_AsInt(obj2
);
24051 if (PyErr_Occurred()) SWIG_fail
;
24052 arg4
= (int) SWIG_AsInt(obj3
);
24053 if (PyErr_Occurred()) SWIG_fail
;
24055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24056 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
24058 wxPyEndAllowThreads(__tstate
);
24059 if (PyErr_Occurred()) SWIG_fail
;
24061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24068 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24069 PyObject
*resultobj
;
24070 wxWindow
*arg1
= (wxWindow
*) 0 ;
24073 PyObject
* obj0
= 0 ;
24074 PyObject
* obj1
= 0 ;
24075 char *kwnames
[] = {
24076 (char *) "self",(char *) "hotkeyId", NULL
24079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
24080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24082 arg2
= (int) SWIG_AsInt(obj1
);
24083 if (PyErr_Occurred()) SWIG_fail
;
24085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24086 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
24088 wxPyEndAllowThreads(__tstate
);
24089 if (PyErr_Occurred()) SWIG_fail
;
24091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24098 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24099 PyObject
*resultobj
;
24100 wxWindow
*arg1
= (wxWindow
*) 0 ;
24101 wxPoint
*arg2
= 0 ;
24104 PyObject
* obj0
= 0 ;
24105 PyObject
* obj1
= 0 ;
24106 char *kwnames
[] = {
24107 (char *) "self",(char *) "pt", NULL
24110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
24111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24115 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24119 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
24121 wxPyEndAllowThreads(__tstate
);
24122 if (PyErr_Occurred()) SWIG_fail
;
24125 wxPoint
* resultptr
;
24126 resultptr
= new wxPoint((wxPoint
&) result
);
24127 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24135 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24136 PyObject
*resultobj
;
24137 wxWindow
*arg1
= (wxWindow
*) 0 ;
24141 PyObject
* obj0
= 0 ;
24142 PyObject
* obj1
= 0 ;
24143 char *kwnames
[] = {
24144 (char *) "self",(char *) "sz", NULL
24147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
24148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24152 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24156 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
24158 wxPyEndAllowThreads(__tstate
);
24159 if (PyErr_Occurred()) SWIG_fail
;
24162 wxSize
* resultptr
;
24163 resultptr
= new wxSize((wxSize
&) result
);
24164 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24172 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24173 PyObject
*resultobj
;
24174 wxWindow
*arg1
= (wxWindow
*) 0 ;
24175 wxPoint
*arg2
= 0 ;
24178 PyObject
* obj0
= 0 ;
24179 PyObject
* obj1
= 0 ;
24180 char *kwnames
[] = {
24181 (char *) "self",(char *) "pt", NULL
24184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
24185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24189 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24193 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
24195 wxPyEndAllowThreads(__tstate
);
24196 if (PyErr_Occurred()) SWIG_fail
;
24199 wxPoint
* resultptr
;
24200 resultptr
= new wxPoint((wxPoint
&) result
);
24201 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24209 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24210 PyObject
*resultobj
;
24211 wxWindow
*arg1
= (wxWindow
*) 0 ;
24215 PyObject
* obj0
= 0 ;
24216 PyObject
* obj1
= 0 ;
24217 char *kwnames
[] = {
24218 (char *) "self",(char *) "sz", NULL
24221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
24222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24226 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24230 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
24232 wxPyEndAllowThreads(__tstate
);
24233 if (PyErr_Occurred()) SWIG_fail
;
24236 wxSize
* resultptr
;
24237 resultptr
= new wxSize((wxSize
&) result
);
24238 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24246 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24247 PyObject
*resultobj
;
24248 wxWindow
*arg1
= (wxWindow
*) 0 ;
24249 wxPoint
*arg2
= 0 ;
24252 PyObject
* obj0
= 0 ;
24253 PyObject
* obj1
= 0 ;
24254 char *kwnames
[] = {
24255 (char *) "self",(char *) "pt", NULL
24258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24263 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24267 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
24269 wxPyEndAllowThreads(__tstate
);
24270 if (PyErr_Occurred()) SWIG_fail
;
24273 wxPoint
* resultptr
;
24274 resultptr
= new wxPoint((wxPoint
&) result
);
24275 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24283 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24284 PyObject
*resultobj
;
24285 wxWindow
*arg1
= (wxWindow
*) 0 ;
24289 PyObject
* obj0
= 0 ;
24290 PyObject
* obj1
= 0 ;
24291 char *kwnames
[] = {
24292 (char *) "self",(char *) "sz", NULL
24295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24300 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24304 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
24306 wxPyEndAllowThreads(__tstate
);
24307 if (PyErr_Occurred()) SWIG_fail
;
24310 wxSize
* resultptr
;
24311 resultptr
= new wxSize((wxSize
&) result
);
24312 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24320 static PyObject
*_wrap_Window_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24321 PyObject
*resultobj
;
24322 wxWindow
*arg1
= (wxWindow
*) 0 ;
24325 PyObject
* obj0
= 0 ;
24326 PyObject
* obj1
= 0 ;
24327 PyObject
* obj2
= 0 ;
24328 char *kwnames
[] = {
24329 (char *) "self",(char *) "x",(char *) "y", NULL
24332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24335 arg2
= (int) SWIG_AsInt(obj1
);
24336 if (PyErr_Occurred()) SWIG_fail
;
24337 arg3
= (int) SWIG_AsInt(obj2
);
24338 if (PyErr_Occurred()) SWIG_fail
;
24340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24341 (arg1
)->WarpPointer(arg2
,arg3
);
24343 wxPyEndAllowThreads(__tstate
);
24344 if (PyErr_Occurred()) SWIG_fail
;
24346 Py_INCREF(Py_None
); resultobj
= Py_None
;
24353 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24354 PyObject
*resultobj
;
24355 wxWindow
*arg1
= (wxWindow
*) 0 ;
24356 PyObject
* obj0
= 0 ;
24357 char *kwnames
[] = {
24358 (char *) "self", NULL
24361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
24362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24366 (arg1
)->CaptureMouse();
24368 wxPyEndAllowThreads(__tstate
);
24369 if (PyErr_Occurred()) SWIG_fail
;
24371 Py_INCREF(Py_None
); resultobj
= Py_None
;
24378 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24379 PyObject
*resultobj
;
24380 wxWindow
*arg1
= (wxWindow
*) 0 ;
24381 PyObject
* obj0
= 0 ;
24382 char *kwnames
[] = {
24383 (char *) "self", NULL
24386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
24387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24391 (arg1
)->ReleaseMouse();
24393 wxPyEndAllowThreads(__tstate
);
24394 if (PyErr_Occurred()) SWIG_fail
;
24396 Py_INCREF(Py_None
); resultobj
= Py_None
;
24403 static PyObject
*_wrap_Window_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24404 PyObject
*resultobj
;
24406 char *kwnames
[] = {
24410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
24412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24413 result
= (wxWindow
*)wxWindow::GetCapture();
24415 wxPyEndAllowThreads(__tstate
);
24416 if (PyErr_Occurred()) SWIG_fail
;
24419 resultobj
= wxPyMake_wxObject(result
);
24427 static PyObject
*_wrap_Window_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24428 PyObject
*resultobj
;
24429 wxWindow
*arg1
= (wxWindow
*) 0 ;
24431 PyObject
* obj0
= 0 ;
24432 char *kwnames
[] = {
24433 (char *) "self", NULL
24436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
24437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24441 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
24443 wxPyEndAllowThreads(__tstate
);
24444 if (PyErr_Occurred()) SWIG_fail
;
24446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24453 static PyObject
*_wrap_Window_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24454 PyObject
*resultobj
;
24455 wxWindow
*arg1
= (wxWindow
*) 0 ;
24456 bool arg2
= (bool) True
;
24457 wxRect
*arg3
= (wxRect
*) NULL
;
24458 PyObject
* obj0
= 0 ;
24459 PyObject
* obj1
= 0 ;
24460 PyObject
* obj2
= 0 ;
24461 char *kwnames
[] = {
24462 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
24465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24469 arg2
= (bool) SWIG_AsBool(obj1
);
24470 if (PyErr_Occurred()) SWIG_fail
;
24473 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
24474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24478 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
24480 wxPyEndAllowThreads(__tstate
);
24481 if (PyErr_Occurred()) SWIG_fail
;
24483 Py_INCREF(Py_None
); resultobj
= Py_None
;
24490 static PyObject
*_wrap_Window_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24491 PyObject
*resultobj
;
24492 wxWindow
*arg1
= (wxWindow
*) 0 ;
24495 PyObject
* obj0
= 0 ;
24496 PyObject
* obj1
= 0 ;
24497 char *kwnames
[] = {
24498 (char *) "self",(char *) "rect", NULL
24501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
24502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24506 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
24509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24510 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
24512 wxPyEndAllowThreads(__tstate
);
24513 if (PyErr_Occurred()) SWIG_fail
;
24515 Py_INCREF(Py_None
); resultobj
= Py_None
;
24522 static PyObject
*_wrap_Window_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24523 PyObject
*resultobj
;
24524 wxWindow
*arg1
= (wxWindow
*) 0 ;
24525 PyObject
* obj0
= 0 ;
24526 char *kwnames
[] = {
24527 (char *) "self", NULL
24530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
24531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24537 wxPyEndAllowThreads(__tstate
);
24538 if (PyErr_Occurred()) SWIG_fail
;
24540 Py_INCREF(Py_None
); resultobj
= Py_None
;
24547 static PyObject
*_wrap_Window_ClearBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24548 PyObject
*resultobj
;
24549 wxWindow
*arg1
= (wxWindow
*) 0 ;
24550 PyObject
* obj0
= 0 ;
24551 char *kwnames
[] = {
24552 (char *) "self", NULL
24555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
24556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24560 (arg1
)->ClearBackground();
24562 wxPyEndAllowThreads(__tstate
);
24563 if (PyErr_Occurred()) SWIG_fail
;
24565 Py_INCREF(Py_None
); resultobj
= Py_None
;
24572 static PyObject
*_wrap_Window_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24573 PyObject
*resultobj
;
24574 wxWindow
*arg1
= (wxWindow
*) 0 ;
24575 PyObject
* obj0
= 0 ;
24576 char *kwnames
[] = {
24577 (char *) "self", NULL
24580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
24581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24587 wxPyEndAllowThreads(__tstate
);
24588 if (PyErr_Occurred()) SWIG_fail
;
24590 Py_INCREF(Py_None
); resultobj
= Py_None
;
24597 static PyObject
*_wrap_Window_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24598 PyObject
*resultobj
;
24599 wxWindow
*arg1
= (wxWindow
*) 0 ;
24600 PyObject
* obj0
= 0 ;
24601 char *kwnames
[] = {
24602 (char *) "self", NULL
24605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
24606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24612 wxPyEndAllowThreads(__tstate
);
24613 if (PyErr_Occurred()) SWIG_fail
;
24615 Py_INCREF(Py_None
); resultobj
= Py_None
;
24622 static PyObject
*_wrap_Window_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24623 PyObject
*resultobj
;
24624 wxWindow
*arg1
= (wxWindow
*) 0 ;
24626 PyObject
* obj0
= 0 ;
24627 PyObject
* obj1
= 0 ;
24628 char *kwnames
[] = {
24629 (char *) "self",(char *) "dc", NULL
24632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
24633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24635 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24636 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24638 if (arg2
== NULL
) {
24639 PyErr_SetString(PyExc_TypeError
,"null reference");
24643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24644 (arg1
)->PrepareDC(*arg2
);
24646 wxPyEndAllowThreads(__tstate
);
24647 if (PyErr_Occurred()) SWIG_fail
;
24649 Py_INCREF(Py_None
); resultobj
= Py_None
;
24656 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24657 PyObject
*resultobj
;
24658 wxWindow
*arg1
= (wxWindow
*) 0 ;
24660 PyObject
* obj0
= 0 ;
24661 char *kwnames
[] = {
24662 (char *) "self", NULL
24665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
24666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24671 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
24672 result
= (wxRegion
*) &_result_ref
;
24675 wxPyEndAllowThreads(__tstate
);
24676 if (PyErr_Occurred()) SWIG_fail
;
24678 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
24685 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24686 PyObject
*resultobj
;
24687 wxWindow
*arg1
= (wxWindow
*) 0 ;
24689 PyObject
* obj0
= 0 ;
24690 char *kwnames
[] = {
24691 (char *) "self", NULL
24694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
24695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24699 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
24701 wxPyEndAllowThreads(__tstate
);
24702 if (PyErr_Occurred()) SWIG_fail
;
24705 wxRect
* resultptr
;
24706 resultptr
= new wxRect((wxRect
&) result
);
24707 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24715 static PyObject
*_wrap_Window_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24716 PyObject
*resultobj
;
24717 wxWindow
*arg1
= (wxWindow
*) 0 ;
24720 int arg4
= (int) 1 ;
24721 int arg5
= (int) 1 ;
24723 PyObject
* obj0
= 0 ;
24724 PyObject
* obj1
= 0 ;
24725 PyObject
* obj2
= 0 ;
24726 PyObject
* obj3
= 0 ;
24727 PyObject
* obj4
= 0 ;
24728 char *kwnames
[] = {
24729 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24735 arg2
= (int) SWIG_AsInt(obj1
);
24736 if (PyErr_Occurred()) SWIG_fail
;
24737 arg3
= (int) SWIG_AsInt(obj2
);
24738 if (PyErr_Occurred()) SWIG_fail
;
24740 arg4
= (int) SWIG_AsInt(obj3
);
24741 if (PyErr_Occurred()) SWIG_fail
;
24744 arg5
= (int) SWIG_AsInt(obj4
);
24745 if (PyErr_Occurred()) SWIG_fail
;
24748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24749 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
24751 wxPyEndAllowThreads(__tstate
);
24752 if (PyErr_Occurred()) SWIG_fail
;
24754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24761 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24762 PyObject
*resultobj
;
24763 wxWindow
*arg1
= (wxWindow
*) 0 ;
24764 wxPoint
*arg2
= 0 ;
24767 PyObject
* obj0
= 0 ;
24768 PyObject
* obj1
= 0 ;
24769 char *kwnames
[] = {
24770 (char *) "self",(char *) "pt", NULL
24773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
24774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24778 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24782 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
24784 wxPyEndAllowThreads(__tstate
);
24785 if (PyErr_Occurred()) SWIG_fail
;
24787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24794 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24795 PyObject
*resultobj
;
24796 wxWindow
*arg1
= (wxWindow
*) 0 ;
24800 PyObject
* obj0
= 0 ;
24801 PyObject
* obj1
= 0 ;
24802 char *kwnames
[] = {
24803 (char *) "self",(char *) "rect", NULL
24806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
24807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24811 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
24814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24815 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
24817 wxPyEndAllowThreads(__tstate
);
24818 if (PyErr_Occurred()) SWIG_fail
;
24820 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24827 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24828 PyObject
*resultobj
;
24829 wxWindow
*arg1
= (wxWindow
*) 0 ;
24830 wxColour
*arg2
= 0 ;
24833 PyObject
* obj0
= 0 ;
24834 PyObject
* obj1
= 0 ;
24835 char *kwnames
[] = {
24836 (char *) "self",(char *) "colour", NULL
24839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24844 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24848 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
24850 wxPyEndAllowThreads(__tstate
);
24851 if (PyErr_Occurred()) SWIG_fail
;
24853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24860 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24861 PyObject
*resultobj
;
24862 wxWindow
*arg1
= (wxWindow
*) 0 ;
24863 wxColour
*arg2
= 0 ;
24866 PyObject
* obj0
= 0 ;
24867 PyObject
* obj1
= 0 ;
24868 char *kwnames
[] = {
24869 (char *) "self",(char *) "colour", NULL
24872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24877 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24881 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
24883 wxPyEndAllowThreads(__tstate
);
24884 if (PyErr_Occurred()) SWIG_fail
;
24886 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24893 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24894 PyObject
*resultobj
;
24895 wxWindow
*arg1
= (wxWindow
*) 0 ;
24897 PyObject
* obj0
= 0 ;
24898 char *kwnames
[] = {
24899 (char *) "self", NULL
24902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
24903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24907 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
24909 wxPyEndAllowThreads(__tstate
);
24910 if (PyErr_Occurred()) SWIG_fail
;
24913 wxColour
* resultptr
;
24914 resultptr
= new wxColour((wxColour
&) result
);
24915 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24923 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24924 PyObject
*resultobj
;
24925 wxWindow
*arg1
= (wxWindow
*) 0 ;
24927 PyObject
* obj0
= 0 ;
24928 char *kwnames
[] = {
24929 (char *) "self", NULL
24932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
24933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24937 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
24939 wxPyEndAllowThreads(__tstate
);
24940 if (PyErr_Occurred()) SWIG_fail
;
24943 wxColour
* resultptr
;
24944 resultptr
= new wxColour((wxColour
&) result
);
24945 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24953 static PyObject
*_wrap_Window_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24954 PyObject
*resultobj
;
24955 wxWindow
*arg1
= (wxWindow
*) 0 ;
24956 wxCursor
*arg2
= 0 ;
24958 PyObject
* obj0
= 0 ;
24959 PyObject
* obj1
= 0 ;
24960 char *kwnames
[] = {
24961 (char *) "self",(char *) "cursor", NULL
24964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
24965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24967 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
24968 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24970 if (arg2
== NULL
) {
24971 PyErr_SetString(PyExc_TypeError
,"null reference");
24975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24976 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
24978 wxPyEndAllowThreads(__tstate
);
24979 if (PyErr_Occurred()) SWIG_fail
;
24981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24988 static PyObject
*_wrap_Window_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24989 PyObject
*resultobj
;
24990 wxWindow
*arg1
= (wxWindow
*) 0 ;
24992 PyObject
* obj0
= 0 ;
24993 char *kwnames
[] = {
24994 (char *) "self", NULL
24997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
24998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25003 wxCursor
&_result_ref
= (arg1
)->GetCursor();
25004 result
= (wxCursor
*) &_result_ref
;
25007 wxPyEndAllowThreads(__tstate
);
25008 if (PyErr_Occurred()) SWIG_fail
;
25011 wxCursor
* resultptr
= new wxCursor(*result
);
25012 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
25020 static PyObject
*_wrap_Window_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25021 PyObject
*resultobj
;
25022 wxWindow
*arg1
= (wxWindow
*) 0 ;
25025 PyObject
* obj0
= 0 ;
25026 PyObject
* obj1
= 0 ;
25027 char *kwnames
[] = {
25028 (char *) "self",(char *) "font", NULL
25031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
25032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25034 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
25035 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25037 if (arg2
== NULL
) {
25038 PyErr_SetString(PyExc_TypeError
,"null reference");
25042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25043 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
25045 wxPyEndAllowThreads(__tstate
);
25046 if (PyErr_Occurred()) SWIG_fail
;
25048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25055 static PyObject
*_wrap_Window_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25056 PyObject
*resultobj
;
25057 wxWindow
*arg1
= (wxWindow
*) 0 ;
25059 PyObject
* obj0
= 0 ;
25060 char *kwnames
[] = {
25061 (char *) "self", NULL
25064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
25065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25070 wxFont
&_result_ref
= (arg1
)->GetFont();
25071 result
= (wxFont
*) &_result_ref
;
25074 wxPyEndAllowThreads(__tstate
);
25075 if (PyErr_Occurred()) SWIG_fail
;
25078 wxFont
* resultptr
= new wxFont(*result
);
25079 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
25087 static PyObject
*_wrap_Window_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25088 PyObject
*resultobj
;
25089 wxWindow
*arg1
= (wxWindow
*) 0 ;
25090 wxCaret
*arg2
= (wxCaret
*) 0 ;
25091 PyObject
* obj0
= 0 ;
25092 PyObject
* obj1
= 0 ;
25093 char *kwnames
[] = {
25094 (char *) "self",(char *) "caret", NULL
25097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
25098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25100 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
25101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25104 (arg1
)->SetCaret(arg2
);
25106 wxPyEndAllowThreads(__tstate
);
25107 if (PyErr_Occurred()) SWIG_fail
;
25109 Py_INCREF(Py_None
); resultobj
= Py_None
;
25116 static PyObject
*_wrap_Window_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25117 PyObject
*resultobj
;
25118 wxWindow
*arg1
= (wxWindow
*) 0 ;
25120 PyObject
* obj0
= 0 ;
25121 char *kwnames
[] = {
25122 (char *) "self", NULL
25125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
25126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25130 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
25132 wxPyEndAllowThreads(__tstate
);
25133 if (PyErr_Occurred()) SWIG_fail
;
25135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
25142 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25143 PyObject
*resultobj
;
25144 wxWindow
*arg1
= (wxWindow
*) 0 ;
25146 PyObject
* obj0
= 0 ;
25147 char *kwnames
[] = {
25148 (char *) "self", NULL
25151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
25152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25156 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
25158 wxPyEndAllowThreads(__tstate
);
25159 if (PyErr_Occurred()) SWIG_fail
;
25161 resultobj
= SWIG_FromInt((int)result
);
25168 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25169 PyObject
*resultobj
;
25170 wxWindow
*arg1
= (wxWindow
*) 0 ;
25172 PyObject
* obj0
= 0 ;
25173 char *kwnames
[] = {
25174 (char *) "self", NULL
25177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
25178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25182 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
25184 wxPyEndAllowThreads(__tstate
);
25185 if (PyErr_Occurred()) SWIG_fail
;
25187 resultobj
= SWIG_FromInt((int)result
);
25194 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25195 PyObject
*resultobj
;
25196 wxWindow
*arg1
= (wxWindow
*) 0 ;
25197 wxString
*arg2
= 0 ;
25198 int *arg3
= (int *) 0 ;
25199 int *arg4
= (int *) 0 ;
25200 bool temp2
= False
;
25203 PyObject
* obj0
= 0 ;
25204 PyObject
* obj1
= 0 ;
25205 char *kwnames
[] = {
25206 (char *) "self",(char *) "string", NULL
25211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
25212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25215 arg2
= wxString_in_helper(obj1
);
25216 if (arg2
== NULL
) SWIG_fail
;
25220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25221 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
25223 wxPyEndAllowThreads(__tstate
);
25224 if (PyErr_Occurred()) SWIG_fail
;
25226 Py_INCREF(Py_None
); resultobj
= Py_None
;
25228 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25229 resultobj
= t_output_helper(resultobj
,o
);
25232 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
25233 resultobj
= t_output_helper(resultobj
,o
);
25249 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25250 PyObject
*resultobj
;
25251 wxWindow
*arg1
= (wxWindow
*) 0 ;
25252 wxString
*arg2
= 0 ;
25253 int *arg3
= (int *) 0 ;
25254 int *arg4
= (int *) 0 ;
25255 int *arg5
= (int *) 0 ;
25256 int *arg6
= (int *) 0 ;
25257 wxFont
*arg7
= (wxFont
*) NULL
;
25258 bool temp2
= False
;
25263 PyObject
* obj0
= 0 ;
25264 PyObject
* obj1
= 0 ;
25265 PyObject
* obj2
= 0 ;
25266 char *kwnames
[] = {
25267 (char *) "self",(char *) "string",(char *) "font", NULL
25274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25278 arg2
= wxString_in_helper(obj1
);
25279 if (arg2
== NULL
) SWIG_fail
;
25283 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
25284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25288 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
25290 wxPyEndAllowThreads(__tstate
);
25291 if (PyErr_Occurred()) SWIG_fail
;
25293 Py_INCREF(Py_None
); resultobj
= Py_None
;
25295 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25296 resultobj
= t_output_helper(resultobj
,o
);
25299 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
25300 resultobj
= t_output_helper(resultobj
,o
);
25303 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
25304 resultobj
= t_output_helper(resultobj
,o
);
25307 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
25308 resultobj
= t_output_helper(resultobj
,o
);
25324 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25325 PyObject
*resultobj
;
25326 wxWindow
*arg1
= (wxWindow
*) 0 ;
25327 int *arg2
= (int *) 0 ;
25328 int *arg3
= (int *) 0 ;
25331 PyObject
* obj0
= 0 ;
25332 PyObject
* obj1
= 0 ;
25333 PyObject
* obj2
= 0 ;
25334 char *kwnames
[] = {
25335 (char *) "self",(char *) "x",(char *) "y", NULL
25338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25339 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25340 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25342 temp2
= PyInt_AsLong(obj1
);
25343 if (PyErr_Occurred()) SWIG_fail
;
25347 temp3
= PyInt_AsLong(obj2
);
25348 if (PyErr_Occurred()) SWIG_fail
;
25352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25353 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
25355 wxPyEndAllowThreads(__tstate
);
25356 if (PyErr_Occurred()) SWIG_fail
;
25358 Py_INCREF(Py_None
); resultobj
= Py_None
;
25360 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
25361 resultobj
= t_output_helper(resultobj
,o
);
25364 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25365 resultobj
= t_output_helper(resultobj
,o
);
25373 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25374 PyObject
*resultobj
;
25375 wxWindow
*arg1
= (wxWindow
*) 0 ;
25376 int *arg2
= (int *) 0 ;
25377 int *arg3
= (int *) 0 ;
25380 PyObject
* obj0
= 0 ;
25381 PyObject
* obj1
= 0 ;
25382 PyObject
* obj2
= 0 ;
25383 char *kwnames
[] = {
25384 (char *) "self",(char *) "x",(char *) "y", NULL
25387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25391 temp2
= PyInt_AsLong(obj1
);
25392 if (PyErr_Occurred()) SWIG_fail
;
25396 temp3
= PyInt_AsLong(obj2
);
25397 if (PyErr_Occurred()) SWIG_fail
;
25401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25402 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
25404 wxPyEndAllowThreads(__tstate
);
25405 if (PyErr_Occurred()) SWIG_fail
;
25407 Py_INCREF(Py_None
); resultobj
= Py_None
;
25409 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
25410 resultobj
= t_output_helper(resultobj
,o
);
25413 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25414 resultobj
= t_output_helper(resultobj
,o
);
25422 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25423 PyObject
*resultobj
;
25424 wxWindow
*arg1
= (wxWindow
*) 0 ;
25425 wxPoint
*arg2
= 0 ;
25428 PyObject
* obj0
= 0 ;
25429 PyObject
* obj1
= 0 ;
25430 char *kwnames
[] = {
25431 (char *) "self",(char *) "pt", NULL
25434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
25435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25439 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25443 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
25445 wxPyEndAllowThreads(__tstate
);
25446 if (PyErr_Occurred()) SWIG_fail
;
25449 wxPoint
* resultptr
;
25450 resultptr
= new wxPoint((wxPoint
&) result
);
25451 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25459 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25460 PyObject
*resultobj
;
25461 wxWindow
*arg1
= (wxWindow
*) 0 ;
25462 wxPoint
*arg2
= 0 ;
25465 PyObject
* obj0
= 0 ;
25466 PyObject
* obj1
= 0 ;
25467 char *kwnames
[] = {
25468 (char *) "self",(char *) "pt", NULL
25471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
25472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25476 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25480 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
25482 wxPyEndAllowThreads(__tstate
);
25483 if (PyErr_Occurred()) SWIG_fail
;
25486 wxPoint
* resultptr
;
25487 resultptr
= new wxPoint((wxPoint
&) result
);
25488 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25496 static PyObject
*_wrap_Window_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25497 PyObject
*resultobj
;
25498 wxWindow
*arg1
= (wxWindow
*) 0 ;
25502 PyObject
* obj0
= 0 ;
25503 PyObject
* obj1
= 0 ;
25504 PyObject
* obj2
= 0 ;
25505 char *kwnames
[] = {
25506 (char *) "self",(char *) "x",(char *) "y", NULL
25509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25512 arg2
= (int) SWIG_AsInt(obj1
);
25513 if (PyErr_Occurred()) SWIG_fail
;
25514 arg3
= (int) SWIG_AsInt(obj2
);
25515 if (PyErr_Occurred()) SWIG_fail
;
25517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25518 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
25520 wxPyEndAllowThreads(__tstate
);
25521 if (PyErr_Occurred()) SWIG_fail
;
25523 resultobj
= SWIG_FromInt((int)result
);
25530 static PyObject
*_wrap_Window_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25531 PyObject
*resultobj
;
25532 wxWindow
*arg1
= (wxWindow
*) 0 ;
25533 wxPoint
*arg2
= 0 ;
25536 PyObject
* obj0
= 0 ;
25537 PyObject
* obj1
= 0 ;
25538 char *kwnames
[] = {
25539 (char *) "self",(char *) "pt", NULL
25542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
25543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25547 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25551 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
25553 wxPyEndAllowThreads(__tstate
);
25554 if (PyErr_Occurred()) SWIG_fail
;
25556 resultobj
= SWIG_FromInt((int)result
);
25563 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*self
, PyObject
*args
) {
25564 PyObject
*resultobj
;
25565 wxWindow
*arg1
= (wxWindow
*) 0 ;
25568 PyObject
* obj0
= 0 ;
25569 PyObject
* obj1
= 0 ;
25571 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
25572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25574 arg2
= (long) SWIG_AsLong(obj1
);
25575 if (PyErr_Occurred()) SWIG_fail
;
25577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25578 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
25580 wxPyEndAllowThreads(__tstate
);
25581 if (PyErr_Occurred()) SWIG_fail
;
25583 resultobj
= SWIG_FromInt((int)result
);
25590 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*self
, PyObject
*args
) {
25591 PyObject
*resultobj
;
25592 wxWindow
*arg1
= (wxWindow
*) 0 ;
25594 PyObject
* obj0
= 0 ;
25596 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
25597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25601 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
25603 wxPyEndAllowThreads(__tstate
);
25604 if (PyErr_Occurred()) SWIG_fail
;
25606 resultobj
= SWIG_FromInt((int)result
);
25613 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
25618 argc
= PyObject_Length(args
);
25619 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
25620 argv
[ii
] = PyTuple_GetItem(args
,ii
);
25626 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
25634 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
25641 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
25649 _v
= SWIG_CheckLong(argv
[1]);
25651 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
25656 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
25661 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25662 PyObject
*resultobj
;
25663 wxWindow
*arg1
= (wxWindow
*) 0 ;
25664 long arg2
= (long) wxUPDATE_UI_NONE
;
25665 PyObject
* obj0
= 0 ;
25666 PyObject
* obj1
= 0 ;
25667 char *kwnames
[] = {
25668 (char *) "self",(char *) "flags", NULL
25671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
25672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25675 arg2
= (long) SWIG_AsLong(obj1
);
25676 if (PyErr_Occurred()) SWIG_fail
;
25679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25680 (arg1
)->UpdateWindowUI(arg2
);
25682 wxPyEndAllowThreads(__tstate
);
25683 if (PyErr_Occurred()) SWIG_fail
;
25685 Py_INCREF(Py_None
); resultobj
= Py_None
;
25692 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25693 PyObject
*resultobj
;
25694 wxWindow
*arg1
= (wxWindow
*) 0 ;
25695 wxMenu
*arg2
= (wxMenu
*) 0 ;
25699 PyObject
* obj0
= 0 ;
25700 PyObject
* obj1
= 0 ;
25701 PyObject
* obj2
= 0 ;
25702 PyObject
* obj3
= 0 ;
25703 char *kwnames
[] = {
25704 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
25707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25710 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
25711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25712 arg3
= (int) SWIG_AsInt(obj2
);
25713 if (PyErr_Occurred()) SWIG_fail
;
25714 arg4
= (int) SWIG_AsInt(obj3
);
25715 if (PyErr_Occurred()) SWIG_fail
;
25717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25718 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
25720 wxPyEndAllowThreads(__tstate
);
25721 if (PyErr_Occurred()) SWIG_fail
;
25723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25730 static PyObject
*_wrap_Window_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25731 PyObject
*resultobj
;
25732 wxWindow
*arg1
= (wxWindow
*) 0 ;
25733 wxMenu
*arg2
= (wxMenu
*) 0 ;
25734 wxPoint
*arg3
= 0 ;
25737 PyObject
* obj0
= 0 ;
25738 PyObject
* obj1
= 0 ;
25739 PyObject
* obj2
= 0 ;
25740 char *kwnames
[] = {
25741 (char *) "self",(char *) "menu",(char *) "pos", NULL
25744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25747 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
25748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25751 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25755 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
25757 wxPyEndAllowThreads(__tstate
);
25758 if (PyErr_Occurred()) SWIG_fail
;
25760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25767 static PyObject
*_wrap_Window_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25768 PyObject
*resultobj
;
25769 wxWindow
*arg1
= (wxWindow
*) 0 ;
25771 PyObject
* obj0
= 0 ;
25772 char *kwnames
[] = {
25773 (char *) "self", NULL
25776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
25777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25781 result
= (long)wxWindow_GetHandle(arg1
);
25783 wxPyEndAllowThreads(__tstate
);
25784 if (PyErr_Occurred()) SWIG_fail
;
25786 resultobj
= SWIG_FromLong((long)result
);
25793 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25794 PyObject
*resultobj
;
25795 wxWindow
*arg1
= (wxWindow
*) 0 ;
25798 PyObject
* obj0
= 0 ;
25799 PyObject
* obj1
= 0 ;
25800 char *kwnames
[] = {
25801 (char *) "self",(char *) "orient", NULL
25804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
25805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25807 arg2
= (int) SWIG_AsInt(obj1
);
25808 if (PyErr_Occurred()) SWIG_fail
;
25810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25811 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
25813 wxPyEndAllowThreads(__tstate
);
25814 if (PyErr_Occurred()) SWIG_fail
;
25816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25823 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25824 PyObject
*resultobj
;
25825 wxWindow
*arg1
= (wxWindow
*) 0 ;
25830 bool arg6
= (bool) True
;
25831 PyObject
* obj0
= 0 ;
25832 PyObject
* obj1
= 0 ;
25833 PyObject
* obj2
= 0 ;
25834 PyObject
* obj3
= 0 ;
25835 PyObject
* obj4
= 0 ;
25836 PyObject
* obj5
= 0 ;
25837 char *kwnames
[] = {
25838 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
25841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25844 arg2
= (int) SWIG_AsInt(obj1
);
25845 if (PyErr_Occurred()) SWIG_fail
;
25846 arg3
= (int) SWIG_AsInt(obj2
);
25847 if (PyErr_Occurred()) SWIG_fail
;
25848 arg4
= (int) SWIG_AsInt(obj3
);
25849 if (PyErr_Occurred()) SWIG_fail
;
25850 arg5
= (int) SWIG_AsInt(obj4
);
25851 if (PyErr_Occurred()) SWIG_fail
;
25853 arg6
= (bool) SWIG_AsBool(obj5
);
25854 if (PyErr_Occurred()) SWIG_fail
;
25857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25858 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
25860 wxPyEndAllowThreads(__tstate
);
25861 if (PyErr_Occurred()) SWIG_fail
;
25863 Py_INCREF(Py_None
); resultobj
= Py_None
;
25870 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25871 PyObject
*resultobj
;
25872 wxWindow
*arg1
= (wxWindow
*) 0 ;
25875 bool arg4
= (bool) True
;
25876 PyObject
* obj0
= 0 ;
25877 PyObject
* obj1
= 0 ;
25878 PyObject
* obj2
= 0 ;
25879 PyObject
* obj3
= 0 ;
25880 char *kwnames
[] = {
25881 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
25884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25887 arg2
= (int) SWIG_AsInt(obj1
);
25888 if (PyErr_Occurred()) SWIG_fail
;
25889 arg3
= (int) SWIG_AsInt(obj2
);
25890 if (PyErr_Occurred()) SWIG_fail
;
25892 arg4
= (bool) SWIG_AsBool(obj3
);
25893 if (PyErr_Occurred()) SWIG_fail
;
25896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25897 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
25899 wxPyEndAllowThreads(__tstate
);
25900 if (PyErr_Occurred()) SWIG_fail
;
25902 Py_INCREF(Py_None
); resultobj
= Py_None
;
25909 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25910 PyObject
*resultobj
;
25911 wxWindow
*arg1
= (wxWindow
*) 0 ;
25914 PyObject
* obj0
= 0 ;
25915 PyObject
* obj1
= 0 ;
25916 char *kwnames
[] = {
25917 (char *) "self",(char *) "orientation", NULL
25920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
25921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25923 arg2
= (int) SWIG_AsInt(obj1
);
25924 if (PyErr_Occurred()) SWIG_fail
;
25926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25927 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
25929 wxPyEndAllowThreads(__tstate
);
25930 if (PyErr_Occurred()) SWIG_fail
;
25932 resultobj
= SWIG_FromInt((int)result
);
25939 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25940 PyObject
*resultobj
;
25941 wxWindow
*arg1
= (wxWindow
*) 0 ;
25944 PyObject
* obj0
= 0 ;
25945 PyObject
* obj1
= 0 ;
25946 char *kwnames
[] = {
25947 (char *) "self",(char *) "orientation", NULL
25950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
25951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25953 arg2
= (int) SWIG_AsInt(obj1
);
25954 if (PyErr_Occurred()) SWIG_fail
;
25956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25957 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
25959 wxPyEndAllowThreads(__tstate
);
25960 if (PyErr_Occurred()) SWIG_fail
;
25962 resultobj
= SWIG_FromInt((int)result
);
25969 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25970 PyObject
*resultobj
;
25971 wxWindow
*arg1
= (wxWindow
*) 0 ;
25974 PyObject
* obj0
= 0 ;
25975 PyObject
* obj1
= 0 ;
25976 char *kwnames
[] = {
25977 (char *) "self",(char *) "orientation", NULL
25980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
25981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25983 arg2
= (int) SWIG_AsInt(obj1
);
25984 if (PyErr_Occurred()) SWIG_fail
;
25986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25987 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
25989 wxPyEndAllowThreads(__tstate
);
25990 if (PyErr_Occurred()) SWIG_fail
;
25992 resultobj
= SWIG_FromInt((int)result
);
25999 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26000 PyObject
*resultobj
;
26001 wxWindow
*arg1
= (wxWindow
*) 0 ;
26004 wxRect
*arg4
= (wxRect
*) NULL
;
26005 PyObject
* obj0
= 0 ;
26006 PyObject
* obj1
= 0 ;
26007 PyObject
* obj2
= 0 ;
26008 PyObject
* obj3
= 0 ;
26009 char *kwnames
[] = {
26010 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
26013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26016 arg2
= (int) SWIG_AsInt(obj1
);
26017 if (PyErr_Occurred()) SWIG_fail
;
26018 arg3
= (int) SWIG_AsInt(obj2
);
26019 if (PyErr_Occurred()) SWIG_fail
;
26021 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
26022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26026 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
26028 wxPyEndAllowThreads(__tstate
);
26029 if (PyErr_Occurred()) SWIG_fail
;
26031 Py_INCREF(Py_None
); resultobj
= Py_None
;
26038 static PyObject
*_wrap_Window_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26039 PyObject
*resultobj
;
26040 wxWindow
*arg1
= (wxWindow
*) 0 ;
26043 PyObject
* obj0
= 0 ;
26044 PyObject
* obj1
= 0 ;
26045 char *kwnames
[] = {
26046 (char *) "self",(char *) "lines", NULL
26049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
26050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26052 arg2
= (int) SWIG_AsInt(obj1
);
26053 if (PyErr_Occurred()) SWIG_fail
;
26055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26056 result
= (bool)(arg1
)->ScrollLines(arg2
);
26058 wxPyEndAllowThreads(__tstate
);
26059 if (PyErr_Occurred()) SWIG_fail
;
26061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26068 static PyObject
*_wrap_Window_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26069 PyObject
*resultobj
;
26070 wxWindow
*arg1
= (wxWindow
*) 0 ;
26073 PyObject
* obj0
= 0 ;
26074 PyObject
* obj1
= 0 ;
26075 char *kwnames
[] = {
26076 (char *) "self",(char *) "pages", NULL
26079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
26080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26082 arg2
= (int) SWIG_AsInt(obj1
);
26083 if (PyErr_Occurred()) SWIG_fail
;
26085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26086 result
= (bool)(arg1
)->ScrollPages(arg2
);
26088 wxPyEndAllowThreads(__tstate
);
26089 if (PyErr_Occurred()) SWIG_fail
;
26091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26098 static PyObject
*_wrap_Window_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26099 PyObject
*resultobj
;
26100 wxWindow
*arg1
= (wxWindow
*) 0 ;
26102 PyObject
* obj0
= 0 ;
26103 char *kwnames
[] = {
26104 (char *) "self", NULL
26107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
26108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26112 result
= (bool)(arg1
)->LineUp();
26114 wxPyEndAllowThreads(__tstate
);
26115 if (PyErr_Occurred()) SWIG_fail
;
26117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26124 static PyObject
*_wrap_Window_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26125 PyObject
*resultobj
;
26126 wxWindow
*arg1
= (wxWindow
*) 0 ;
26128 PyObject
* obj0
= 0 ;
26129 char *kwnames
[] = {
26130 (char *) "self", NULL
26133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
26134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26138 result
= (bool)(arg1
)->LineDown();
26140 wxPyEndAllowThreads(__tstate
);
26141 if (PyErr_Occurred()) SWIG_fail
;
26143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26150 static PyObject
*_wrap_Window_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26151 PyObject
*resultobj
;
26152 wxWindow
*arg1
= (wxWindow
*) 0 ;
26154 PyObject
* obj0
= 0 ;
26155 char *kwnames
[] = {
26156 (char *) "self", NULL
26159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
26160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26164 result
= (bool)(arg1
)->PageUp();
26166 wxPyEndAllowThreads(__tstate
);
26167 if (PyErr_Occurred()) SWIG_fail
;
26169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26176 static PyObject
*_wrap_Window_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26177 PyObject
*resultobj
;
26178 wxWindow
*arg1
= (wxWindow
*) 0 ;
26180 PyObject
* obj0
= 0 ;
26181 char *kwnames
[] = {
26182 (char *) "self", NULL
26185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
26186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26190 result
= (bool)(arg1
)->PageDown();
26192 wxPyEndAllowThreads(__tstate
);
26193 if (PyErr_Occurred()) SWIG_fail
;
26195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26202 static PyObject
*_wrap_Window_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26203 PyObject
*resultobj
;
26204 wxWindow
*arg1
= (wxWindow
*) 0 ;
26205 wxString
*arg2
= 0 ;
26206 bool temp2
= False
;
26207 PyObject
* obj0
= 0 ;
26208 PyObject
* obj1
= 0 ;
26209 char *kwnames
[] = {
26210 (char *) "self",(char *) "text", NULL
26213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
26214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26217 arg2
= wxString_in_helper(obj1
);
26218 if (arg2
== NULL
) SWIG_fail
;
26222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26223 (arg1
)->SetHelpText((wxString
const &)*arg2
);
26225 wxPyEndAllowThreads(__tstate
);
26226 if (PyErr_Occurred()) SWIG_fail
;
26228 Py_INCREF(Py_None
); resultobj
= Py_None
;
26243 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26244 PyObject
*resultobj
;
26245 wxWindow
*arg1
= (wxWindow
*) 0 ;
26246 wxString
*arg2
= 0 ;
26247 bool temp2
= False
;
26248 PyObject
* obj0
= 0 ;
26249 PyObject
* obj1
= 0 ;
26250 char *kwnames
[] = {
26251 (char *) "self",(char *) "text", NULL
26254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
26255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26258 arg2
= wxString_in_helper(obj1
);
26259 if (arg2
== NULL
) SWIG_fail
;
26263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26264 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
26266 wxPyEndAllowThreads(__tstate
);
26267 if (PyErr_Occurred()) SWIG_fail
;
26269 Py_INCREF(Py_None
); resultobj
= Py_None
;
26284 static PyObject
*_wrap_Window_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26285 PyObject
*resultobj
;
26286 wxWindow
*arg1
= (wxWindow
*) 0 ;
26288 PyObject
* obj0
= 0 ;
26289 char *kwnames
[] = {
26290 (char *) "self", NULL
26293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
26294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26298 result
= ((wxWindow
const *)arg1
)->GetHelpText();
26300 wxPyEndAllowThreads(__tstate
);
26301 if (PyErr_Occurred()) SWIG_fail
;
26305 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26307 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26316 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26317 PyObject
*resultobj
;
26318 wxWindow
*arg1
= (wxWindow
*) 0 ;
26319 wxString
*arg2
= 0 ;
26320 bool temp2
= False
;
26321 PyObject
* obj0
= 0 ;
26322 PyObject
* obj1
= 0 ;
26323 char *kwnames
[] = {
26324 (char *) "self",(char *) "tip", NULL
26327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
26328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26331 arg2
= wxString_in_helper(obj1
);
26332 if (arg2
== NULL
) SWIG_fail
;
26336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26337 (arg1
)->SetToolTip((wxString
const &)*arg2
);
26339 wxPyEndAllowThreads(__tstate
);
26340 if (PyErr_Occurred()) SWIG_fail
;
26342 Py_INCREF(Py_None
); resultobj
= Py_None
;
26357 static PyObject
*_wrap_Window_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26358 PyObject
*resultobj
;
26359 wxWindow
*arg1
= (wxWindow
*) 0 ;
26360 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
26361 PyObject
* obj0
= 0 ;
26362 PyObject
* obj1
= 0 ;
26363 char *kwnames
[] = {
26364 (char *) "self",(char *) "tip", NULL
26367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
26368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26370 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
26371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26374 (arg1
)->SetToolTip(arg2
);
26376 wxPyEndAllowThreads(__tstate
);
26377 if (PyErr_Occurred()) SWIG_fail
;
26379 Py_INCREF(Py_None
); resultobj
= Py_None
;
26386 static PyObject
*_wrap_Window_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26387 PyObject
*resultobj
;
26388 wxWindow
*arg1
= (wxWindow
*) 0 ;
26390 PyObject
* obj0
= 0 ;
26391 char *kwnames
[] = {
26392 (char *) "self", NULL
26395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
26396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26400 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
26402 wxPyEndAllowThreads(__tstate
);
26403 if (PyErr_Occurred()) SWIG_fail
;
26406 resultobj
= wxPyMake_wxObject(result
);
26414 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26415 PyObject
*resultobj
;
26416 wxWindow
*arg1
= (wxWindow
*) 0 ;
26417 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
26418 PyObject
* obj0
= 0 ;
26419 PyObject
* obj1
= 0 ;
26420 char *kwnames
[] = {
26421 (char *) "self",(char *) "dropTarget", NULL
26424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
26425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26427 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
26428 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26431 (arg1
)->SetDropTarget(arg2
);
26433 wxPyEndAllowThreads(__tstate
);
26434 if (PyErr_Occurred()) SWIG_fail
;
26436 Py_INCREF(Py_None
); resultobj
= Py_None
;
26443 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26444 PyObject
*resultobj
;
26445 wxWindow
*arg1
= (wxWindow
*) 0 ;
26446 wxPyDropTarget
*result
;
26447 PyObject
* obj0
= 0 ;
26448 char *kwnames
[] = {
26449 (char *) "self", NULL
26452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
26453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26457 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
26459 wxPyEndAllowThreads(__tstate
);
26460 if (PyErr_Occurred()) SWIG_fail
;
26462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
26469 static PyObject
*_wrap_Window_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26470 PyObject
*resultobj
;
26471 wxWindow
*arg1
= (wxWindow
*) 0 ;
26472 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
26473 PyObject
* obj0
= 0 ;
26474 PyObject
* obj1
= 0 ;
26475 char *kwnames
[] = {
26476 (char *) "self",(char *) "constraints", NULL
26479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
26480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26482 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
26483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26486 (arg1
)->SetConstraints(arg2
);
26488 wxPyEndAllowThreads(__tstate
);
26489 if (PyErr_Occurred()) SWIG_fail
;
26491 Py_INCREF(Py_None
); resultobj
= Py_None
;
26498 static PyObject
*_wrap_Window_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26499 PyObject
*resultobj
;
26500 wxWindow
*arg1
= (wxWindow
*) 0 ;
26501 wxLayoutConstraints
*result
;
26502 PyObject
* obj0
= 0 ;
26503 char *kwnames
[] = {
26504 (char *) "self", NULL
26507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
26508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26512 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
26514 wxPyEndAllowThreads(__tstate
);
26515 if (PyErr_Occurred()) SWIG_fail
;
26517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
26524 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26525 PyObject
*resultobj
;
26526 wxWindow
*arg1
= (wxWindow
*) 0 ;
26528 PyObject
* obj0
= 0 ;
26529 PyObject
* obj1
= 0 ;
26530 char *kwnames
[] = {
26531 (char *) "self",(char *) "autoLayout", NULL
26534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
26535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26537 arg2
= (bool) SWIG_AsBool(obj1
);
26538 if (PyErr_Occurred()) SWIG_fail
;
26540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26541 (arg1
)->SetAutoLayout(arg2
);
26543 wxPyEndAllowThreads(__tstate
);
26544 if (PyErr_Occurred()) SWIG_fail
;
26546 Py_INCREF(Py_None
); resultobj
= Py_None
;
26553 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26554 PyObject
*resultobj
;
26555 wxWindow
*arg1
= (wxWindow
*) 0 ;
26557 PyObject
* obj0
= 0 ;
26558 char *kwnames
[] = {
26559 (char *) "self", NULL
26562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
26563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26567 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
26569 wxPyEndAllowThreads(__tstate
);
26570 if (PyErr_Occurred()) SWIG_fail
;
26572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26579 static PyObject
*_wrap_Window_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26580 PyObject
*resultobj
;
26581 wxWindow
*arg1
= (wxWindow
*) 0 ;
26583 PyObject
* obj0
= 0 ;
26584 char *kwnames
[] = {
26585 (char *) "self", NULL
26588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
26589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26593 result
= (bool)(arg1
)->Layout();
26595 wxPyEndAllowThreads(__tstate
);
26596 if (PyErr_Occurred()) SWIG_fail
;
26598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26605 static PyObject
*_wrap_Window_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26606 PyObject
*resultobj
;
26607 wxWindow
*arg1
= (wxWindow
*) 0 ;
26608 wxSizer
*arg2
= (wxSizer
*) 0 ;
26609 bool arg3
= (bool) True
;
26610 PyObject
* obj0
= 0 ;
26611 PyObject
* obj1
= 0 ;
26612 PyObject
* obj2
= 0 ;
26613 char *kwnames
[] = {
26614 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
26617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26620 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
26621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26623 arg3
= (bool) SWIG_AsBool(obj2
);
26624 if (PyErr_Occurred()) SWIG_fail
;
26627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26628 (arg1
)->SetSizer(arg2
,arg3
);
26630 wxPyEndAllowThreads(__tstate
);
26631 if (PyErr_Occurred()) SWIG_fail
;
26633 Py_INCREF(Py_None
); resultobj
= Py_None
;
26640 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26641 PyObject
*resultobj
;
26642 wxWindow
*arg1
= (wxWindow
*) 0 ;
26643 wxSizer
*arg2
= (wxSizer
*) 0 ;
26644 bool arg3
= (bool) True
;
26645 PyObject
* obj0
= 0 ;
26646 PyObject
* obj1
= 0 ;
26647 PyObject
* obj2
= 0 ;
26648 char *kwnames
[] = {
26649 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
26652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26655 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
26656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26658 arg3
= (bool) SWIG_AsBool(obj2
);
26659 if (PyErr_Occurred()) SWIG_fail
;
26662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26663 (arg1
)->SetSizerAndFit(arg2
,arg3
);
26665 wxPyEndAllowThreads(__tstate
);
26666 if (PyErr_Occurred()) SWIG_fail
;
26668 Py_INCREF(Py_None
); resultobj
= Py_None
;
26675 static PyObject
*_wrap_Window_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26676 PyObject
*resultobj
;
26677 wxWindow
*arg1
= (wxWindow
*) 0 ;
26679 PyObject
* obj0
= 0 ;
26680 char *kwnames
[] = {
26681 (char *) "self", NULL
26684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
26685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26689 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
26691 wxPyEndAllowThreads(__tstate
);
26692 if (PyErr_Occurred()) SWIG_fail
;
26695 resultobj
= wxPyMake_wxSizer(result
);
26703 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26704 PyObject
*resultobj
;
26705 wxWindow
*arg1
= (wxWindow
*) 0 ;
26706 wxSizer
*arg2
= (wxSizer
*) 0 ;
26707 PyObject
* obj0
= 0 ;
26708 PyObject
* obj1
= 0 ;
26709 char *kwnames
[] = {
26710 (char *) "self",(char *) "sizer", NULL
26713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
26714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26716 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
26717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26720 (arg1
)->SetContainingSizer(arg2
);
26722 wxPyEndAllowThreads(__tstate
);
26723 if (PyErr_Occurred()) SWIG_fail
;
26725 Py_INCREF(Py_None
); resultobj
= Py_None
;
26732 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26733 PyObject
*resultobj
;
26734 wxWindow
*arg1
= (wxWindow
*) 0 ;
26736 PyObject
* obj0
= 0 ;
26737 char *kwnames
[] = {
26738 (char *) "self", NULL
26741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
26742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26746 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
26748 wxPyEndAllowThreads(__tstate
);
26749 if (PyErr_Occurred()) SWIG_fail
;
26752 resultobj
= wxPyMake_wxSizer(result
);
26760 static PyObject
* Window_swigregister(PyObject
*self
, PyObject
*args
) {
26762 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26763 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
26765 return Py_BuildValue((char *)"");
26767 static PyObject
*_wrap_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26768 PyObject
*resultobj
;
26770 wxWindow
*arg2
= (wxWindow
*) NULL
;
26772 PyObject
* obj0
= 0 ;
26773 PyObject
* obj1
= 0 ;
26774 char *kwnames
[] = {
26775 (char *) "id",(char *) "parent", NULL
26778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
26779 arg1
= (long) SWIG_AsLong(obj0
);
26780 if (PyErr_Occurred()) SWIG_fail
;
26782 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
26783 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26787 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
26789 wxPyEndAllowThreads(__tstate
);
26790 if (PyErr_Occurred()) SWIG_fail
;
26793 resultobj
= wxPyMake_wxObject(result
);
26801 static PyObject
*_wrap_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26802 PyObject
*resultobj
;
26803 wxString
*arg1
= 0 ;
26804 wxWindow
*arg2
= (wxWindow
*) NULL
;
26806 bool temp1
= False
;
26807 PyObject
* obj0
= 0 ;
26808 PyObject
* obj1
= 0 ;
26809 char *kwnames
[] = {
26810 (char *) "name",(char *) "parent", NULL
26813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
26815 arg1
= wxString_in_helper(obj0
);
26816 if (arg1
== NULL
) SWIG_fail
;
26820 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
26821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26825 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
26827 wxPyEndAllowThreads(__tstate
);
26828 if (PyErr_Occurred()) SWIG_fail
;
26831 resultobj
= wxPyMake_wxObject(result
);
26847 static PyObject
*_wrap_FindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26848 PyObject
*resultobj
;
26849 wxString
*arg1
= 0 ;
26850 wxWindow
*arg2
= (wxWindow
*) NULL
;
26852 bool temp1
= False
;
26853 PyObject
* obj0
= 0 ;
26854 PyObject
* obj1
= 0 ;
26855 char *kwnames
[] = {
26856 (char *) "label",(char *) "parent", NULL
26859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
26861 arg1
= wxString_in_helper(obj0
);
26862 if (arg1
== NULL
) SWIG_fail
;
26866 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
26867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26871 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
26873 wxPyEndAllowThreads(__tstate
);
26874 if (PyErr_Occurred()) SWIG_fail
;
26877 resultobj
= wxPyMake_wxObject(result
);
26893 static PyObject
*_wrap_Window_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26894 PyObject
*resultobj
;
26895 wxWindow
*arg1
= (wxWindow
*) 0 ;
26896 unsigned long arg2
;
26898 PyObject
* obj0
= 0 ;
26899 PyObject
* obj1
= 0 ;
26900 char *kwnames
[] = {
26901 (char *) "parent",(char *) "_hWnd", NULL
26904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
26905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26907 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
26908 if (PyErr_Occurred()) SWIG_fail
;
26910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26911 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
26913 wxPyEndAllowThreads(__tstate
);
26914 if (PyErr_Occurred()) SWIG_fail
;
26917 resultobj
= wxPyMake_wxObject(result
);
26925 static PyObject
*_wrap_new_Validator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26926 PyObject
*resultobj
;
26927 wxValidator
*result
;
26928 char *kwnames
[] = {
26932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
26934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26935 result
= (wxValidator
*)new wxValidator();
26937 wxPyEndAllowThreads(__tstate
);
26938 if (PyErr_Occurred()) SWIG_fail
;
26941 resultobj
= wxPyMake_wxObject(result
);
26949 static PyObject
*_wrap_Validator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26950 PyObject
*resultobj
;
26951 wxValidator
*arg1
= (wxValidator
*) 0 ;
26952 wxValidator
*result
;
26953 PyObject
* obj0
= 0 ;
26954 char *kwnames
[] = {
26955 (char *) "self", NULL
26958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
26959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
26960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26963 result
= (wxValidator
*)(arg1
)->Clone();
26965 wxPyEndAllowThreads(__tstate
);
26966 if (PyErr_Occurred()) SWIG_fail
;
26969 resultobj
= wxPyMake_wxObject(result
);
26977 static PyObject
*_wrap_Validator_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26978 PyObject
*resultobj
;
26979 wxValidator
*arg1
= (wxValidator
*) 0 ;
26980 wxWindow
*arg2
= (wxWindow
*) 0 ;
26982 PyObject
* obj0
= 0 ;
26983 PyObject
* obj1
= 0 ;
26984 char *kwnames
[] = {
26985 (char *) "self",(char *) "parent", NULL
26988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
26989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
26990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26991 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
26992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26995 result
= (bool)(arg1
)->Validate(arg2
);
26997 wxPyEndAllowThreads(__tstate
);
26998 if (PyErr_Occurred()) SWIG_fail
;
27000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27007 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27008 PyObject
*resultobj
;
27009 wxValidator
*arg1
= (wxValidator
*) 0 ;
27011 PyObject
* obj0
= 0 ;
27012 char *kwnames
[] = {
27013 (char *) "self", NULL
27016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
27017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
27018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27021 result
= (bool)(arg1
)->TransferToWindow();
27023 wxPyEndAllowThreads(__tstate
);
27024 if (PyErr_Occurred()) SWIG_fail
;
27026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27033 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27034 PyObject
*resultobj
;
27035 wxValidator
*arg1
= (wxValidator
*) 0 ;
27037 PyObject
* obj0
= 0 ;
27038 char *kwnames
[] = {
27039 (char *) "self", NULL
27042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
27043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
27044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27047 result
= (bool)(arg1
)->TransferFromWindow();
27049 wxPyEndAllowThreads(__tstate
);
27050 if (PyErr_Occurred()) SWIG_fail
;
27052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27059 static PyObject
*_wrap_Validator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27060 PyObject
*resultobj
;
27061 wxValidator
*arg1
= (wxValidator
*) 0 ;
27063 PyObject
* obj0
= 0 ;
27064 char *kwnames
[] = {
27065 (char *) "self", NULL
27068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
27069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
27070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27073 result
= (wxWindow
*)(arg1
)->GetWindow();
27075 wxPyEndAllowThreads(__tstate
);
27076 if (PyErr_Occurred()) SWIG_fail
;
27079 resultobj
= wxPyMake_wxObject(result
);
27087 static PyObject
*_wrap_Validator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27088 PyObject
*resultobj
;
27089 wxValidator
*arg1
= (wxValidator
*) 0 ;
27090 wxWindow
*arg2
= (wxWindow
*) 0 ;
27091 PyObject
* obj0
= 0 ;
27092 PyObject
* obj1
= 0 ;
27093 char *kwnames
[] = {
27094 (char *) "self",(char *) "window", NULL
27097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
27098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
27099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27100 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27104 (arg1
)->SetWindow(arg2
);
27106 wxPyEndAllowThreads(__tstate
);
27107 if (PyErr_Occurred()) SWIG_fail
;
27109 Py_INCREF(Py_None
); resultobj
= Py_None
;
27116 static PyObject
*_wrap_Validator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27117 PyObject
*resultobj
;
27119 char *kwnames
[] = {
27123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
27125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27126 result
= (bool)wxValidator::IsSilent();
27128 wxPyEndAllowThreads(__tstate
);
27129 if (PyErr_Occurred()) SWIG_fail
;
27131 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27138 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27139 PyObject
*resultobj
;
27140 int arg1
= (int) True
;
27141 PyObject
* obj0
= 0 ;
27142 char *kwnames
[] = {
27143 (char *) "doIt", NULL
27146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
27148 arg1
= (int) SWIG_AsInt(obj0
);
27149 if (PyErr_Occurred()) SWIG_fail
;
27152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27153 wxValidator::SetBellOnError(arg1
);
27155 wxPyEndAllowThreads(__tstate
);
27156 if (PyErr_Occurred()) SWIG_fail
;
27158 Py_INCREF(Py_None
); resultobj
= Py_None
;
27165 static PyObject
* Validator_swigregister(PyObject
*self
, PyObject
*args
) {
27167 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27168 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
27170 return Py_BuildValue((char *)"");
27172 static PyObject
*_wrap_new_PyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27173 PyObject
*resultobj
;
27174 wxPyValidator
*result
;
27175 char *kwnames
[] = {
27179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
27181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27182 result
= (wxPyValidator
*)new wxPyValidator();
27184 wxPyEndAllowThreads(__tstate
);
27185 if (PyErr_Occurred()) SWIG_fail
;
27187 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
27194 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27195 PyObject
*resultobj
;
27196 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
27197 PyObject
*arg2
= (PyObject
*) 0 ;
27198 PyObject
*arg3
= (PyObject
*) 0 ;
27199 int arg4
= (int) True
;
27200 PyObject
* obj0
= 0 ;
27201 PyObject
* obj1
= 0 ;
27202 PyObject
* obj2
= 0 ;
27203 PyObject
* obj3
= 0 ;
27204 char *kwnames
[] = {
27205 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
27208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
27210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27214 arg4
= (int) SWIG_AsInt(obj3
);
27215 if (PyErr_Occurred()) SWIG_fail
;
27218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27219 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
27221 wxPyEndAllowThreads(__tstate
);
27222 if (PyErr_Occurred()) SWIG_fail
;
27224 Py_INCREF(Py_None
); resultobj
= Py_None
;
27231 static PyObject
* PyValidator_swigregister(PyObject
*self
, PyObject
*args
) {
27233 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27234 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
27236 return Py_BuildValue((char *)"");
27238 static int _wrap_DefaultValidator_set(PyObject
*_val
) {
27239 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
27244 static PyObject
*_wrap_DefaultValidator_get() {
27247 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
27252 static PyObject
*_wrap_new_Menu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27253 PyObject
*resultobj
;
27254 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27255 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27256 long arg2
= (long) 0 ;
27258 bool temp1
= False
;
27259 PyObject
* obj0
= 0 ;
27260 PyObject
* obj1
= 0 ;
27261 char *kwnames
[] = {
27262 (char *) "title",(char *) "style", NULL
27265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
27268 arg1
= wxString_in_helper(obj0
);
27269 if (arg1
== NULL
) SWIG_fail
;
27274 arg2
= (long) SWIG_AsLong(obj1
);
27275 if (PyErr_Occurred()) SWIG_fail
;
27278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27279 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
27281 wxPyEndAllowThreads(__tstate
);
27282 if (PyErr_Occurred()) SWIG_fail
;
27285 resultobj
= wxPyMake_wxObject(result
);
27301 static PyObject
*_wrap_Menu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27302 PyObject
*resultobj
;
27303 wxMenu
*arg1
= (wxMenu
*) 0 ;
27305 wxString
*arg3
= 0 ;
27306 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27307 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27308 int arg5
= (int) wxITEM_NORMAL
;
27309 wxMenuItem
*result
;
27310 bool temp3
= False
;
27311 bool temp4
= False
;
27312 PyObject
* obj0
= 0 ;
27313 PyObject
* obj1
= 0 ;
27314 PyObject
* obj2
= 0 ;
27315 PyObject
* obj3
= 0 ;
27316 PyObject
* obj4
= 0 ;
27317 char *kwnames
[] = {
27318 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
27321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27324 arg2
= (int) SWIG_AsInt(obj1
);
27325 if (PyErr_Occurred()) SWIG_fail
;
27327 arg3
= wxString_in_helper(obj2
);
27328 if (arg3
== NULL
) SWIG_fail
;
27333 arg4
= wxString_in_helper(obj3
);
27334 if (arg4
== NULL
) SWIG_fail
;
27339 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
27340 if (PyErr_Occurred()) SWIG_fail
;
27343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27344 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
27346 wxPyEndAllowThreads(__tstate
);
27347 if (PyErr_Occurred()) SWIG_fail
;
27350 resultobj
= wxPyMake_wxObject(result
);
27374 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27375 PyObject
*resultobj
;
27376 wxMenu
*arg1
= (wxMenu
*) 0 ;
27377 wxMenuItem
*result
;
27378 PyObject
* obj0
= 0 ;
27379 char *kwnames
[] = {
27380 (char *) "self", NULL
27383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
27384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27388 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
27390 wxPyEndAllowThreads(__tstate
);
27391 if (PyErr_Occurred()) SWIG_fail
;
27394 resultobj
= wxPyMake_wxObject(result
);
27402 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27403 PyObject
*resultobj
;
27404 wxMenu
*arg1
= (wxMenu
*) 0 ;
27406 wxString
*arg3
= 0 ;
27407 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27408 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27409 wxMenuItem
*result
;
27410 bool temp3
= False
;
27411 bool temp4
= False
;
27412 PyObject
* obj0
= 0 ;
27413 PyObject
* obj1
= 0 ;
27414 PyObject
* obj2
= 0 ;
27415 PyObject
* obj3
= 0 ;
27416 char *kwnames
[] = {
27417 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
27420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27423 arg2
= (int) SWIG_AsInt(obj1
);
27424 if (PyErr_Occurred()) SWIG_fail
;
27426 arg3
= wxString_in_helper(obj2
);
27427 if (arg3
== NULL
) SWIG_fail
;
27432 arg4
= wxString_in_helper(obj3
);
27433 if (arg4
== NULL
) SWIG_fail
;
27438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27439 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
27441 wxPyEndAllowThreads(__tstate
);
27442 if (PyErr_Occurred()) SWIG_fail
;
27445 resultobj
= wxPyMake_wxObject(result
);
27469 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27470 PyObject
*resultobj
;
27471 wxMenu
*arg1
= (wxMenu
*) 0 ;
27473 wxString
*arg3
= 0 ;
27474 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27475 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27476 wxMenuItem
*result
;
27477 bool temp3
= False
;
27478 bool temp4
= False
;
27479 PyObject
* obj0
= 0 ;
27480 PyObject
* obj1
= 0 ;
27481 PyObject
* obj2
= 0 ;
27482 PyObject
* obj3
= 0 ;
27483 char *kwnames
[] = {
27484 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
27487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27490 arg2
= (int) SWIG_AsInt(obj1
);
27491 if (PyErr_Occurred()) SWIG_fail
;
27493 arg3
= wxString_in_helper(obj2
);
27494 if (arg3
== NULL
) SWIG_fail
;
27499 arg4
= wxString_in_helper(obj3
);
27500 if (arg4
== NULL
) SWIG_fail
;
27505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27506 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
27508 wxPyEndAllowThreads(__tstate
);
27509 if (PyErr_Occurred()) SWIG_fail
;
27512 resultobj
= wxPyMake_wxObject(result
);
27536 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27537 PyObject
*resultobj
;
27538 wxMenu
*arg1
= (wxMenu
*) 0 ;
27540 wxString
*arg3
= 0 ;
27541 wxMenu
*arg4
= (wxMenu
*) 0 ;
27542 wxString
const &arg5_defvalue
= wxPyEmptyString
;
27543 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
27544 wxMenuItem
*result
;
27545 bool temp3
= False
;
27546 bool temp5
= False
;
27547 PyObject
* obj0
= 0 ;
27548 PyObject
* obj1
= 0 ;
27549 PyObject
* obj2
= 0 ;
27550 PyObject
* obj3
= 0 ;
27551 PyObject
* obj4
= 0 ;
27552 char *kwnames
[] = {
27553 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
27556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27559 arg2
= (int) SWIG_AsInt(obj1
);
27560 if (PyErr_Occurred()) SWIG_fail
;
27562 arg3
= wxString_in_helper(obj2
);
27563 if (arg3
== NULL
) SWIG_fail
;
27566 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
27567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27570 arg5
= wxString_in_helper(obj4
);
27571 if (arg5
== NULL
) SWIG_fail
;
27576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27577 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
27579 wxPyEndAllowThreads(__tstate
);
27580 if (PyErr_Occurred()) SWIG_fail
;
27583 resultobj
= wxPyMake_wxObject(result
);
27607 static PyObject
*_wrap_Menu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27608 PyObject
*resultobj
;
27609 wxMenu
*arg1
= (wxMenu
*) 0 ;
27610 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
27611 wxMenuItem
*result
;
27612 PyObject
* obj0
= 0 ;
27613 PyObject
* obj1
= 0 ;
27614 char *kwnames
[] = {
27615 (char *) "self",(char *) "item", NULL
27618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27621 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
27622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27625 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
27627 wxPyEndAllowThreads(__tstate
);
27628 if (PyErr_Occurred()) SWIG_fail
;
27631 resultobj
= wxPyMake_wxObject(result
);
27639 static PyObject
*_wrap_Menu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27640 PyObject
*resultobj
;
27641 wxMenu
*arg1
= (wxMenu
*) 0 ;
27642 PyObject
* obj0
= 0 ;
27643 char *kwnames
[] = {
27644 (char *) "self", NULL
27647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
27648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27654 wxPyEndAllowThreads(__tstate
);
27655 if (PyErr_Occurred()) SWIG_fail
;
27657 Py_INCREF(Py_None
); resultobj
= Py_None
;
27664 static PyObject
*_wrap_Menu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27665 PyObject
*resultobj
;
27666 wxMenu
*arg1
= (wxMenu
*) 0 ;
27668 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
27669 wxMenuItem
*result
;
27670 PyObject
* obj0
= 0 ;
27671 PyObject
* obj1
= 0 ;
27672 PyObject
* obj2
= 0 ;
27673 char *kwnames
[] = {
27674 (char *) "self",(char *) "pos",(char *) "item", NULL
27677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27680 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
27681 if (PyErr_Occurred()) SWIG_fail
;
27682 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
27683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27686 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
27688 wxPyEndAllowThreads(__tstate
);
27689 if (PyErr_Occurred()) SWIG_fail
;
27692 resultobj
= wxPyMake_wxObject(result
);
27700 static PyObject
*_wrap_Menu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27701 PyObject
*resultobj
;
27702 wxMenu
*arg1
= (wxMenu
*) 0 ;
27705 wxString
*arg4
= 0 ;
27706 wxString
const &arg5_defvalue
= wxPyEmptyString
;
27707 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
27708 int arg6
= (int) wxITEM_NORMAL
;
27709 wxMenuItem
*result
;
27710 bool temp4
= False
;
27711 bool temp5
= False
;
27712 PyObject
* obj0
= 0 ;
27713 PyObject
* obj1
= 0 ;
27714 PyObject
* obj2
= 0 ;
27715 PyObject
* obj3
= 0 ;
27716 PyObject
* obj4
= 0 ;
27717 PyObject
* obj5
= 0 ;
27718 char *kwnames
[] = {
27719 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
27722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27725 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
27726 if (PyErr_Occurred()) SWIG_fail
;
27727 arg3
= (int) SWIG_AsInt(obj2
);
27728 if (PyErr_Occurred()) SWIG_fail
;
27730 arg4
= wxString_in_helper(obj3
);
27731 if (arg4
== NULL
) SWIG_fail
;
27736 arg5
= wxString_in_helper(obj4
);
27737 if (arg5
== NULL
) SWIG_fail
;
27742 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
27743 if (PyErr_Occurred()) SWIG_fail
;
27746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27747 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
27749 wxPyEndAllowThreads(__tstate
);
27750 if (PyErr_Occurred()) SWIG_fail
;
27753 resultobj
= wxPyMake_wxObject(result
);
27777 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27778 PyObject
*resultobj
;
27779 wxMenu
*arg1
= (wxMenu
*) 0 ;
27781 wxMenuItem
*result
;
27782 PyObject
* obj0
= 0 ;
27783 PyObject
* obj1
= 0 ;
27784 char *kwnames
[] = {
27785 (char *) "self",(char *) "pos", NULL
27788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
27789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27791 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
27792 if (PyErr_Occurred()) SWIG_fail
;
27794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27795 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
27797 wxPyEndAllowThreads(__tstate
);
27798 if (PyErr_Occurred()) SWIG_fail
;
27801 resultobj
= wxPyMake_wxObject(result
);
27809 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27810 PyObject
*resultobj
;
27811 wxMenu
*arg1
= (wxMenu
*) 0 ;
27814 wxString
*arg4
= 0 ;
27815 wxString
const &arg5_defvalue
= wxPyEmptyString
;
27816 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
27817 wxMenuItem
*result
;
27818 bool temp4
= False
;
27819 bool temp5
= False
;
27820 PyObject
* obj0
= 0 ;
27821 PyObject
* obj1
= 0 ;
27822 PyObject
* obj2
= 0 ;
27823 PyObject
* obj3
= 0 ;
27824 PyObject
* obj4
= 0 ;
27825 char *kwnames
[] = {
27826 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
27829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27832 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
27833 if (PyErr_Occurred()) SWIG_fail
;
27834 arg3
= (int) SWIG_AsInt(obj2
);
27835 if (PyErr_Occurred()) SWIG_fail
;
27837 arg4
= wxString_in_helper(obj3
);
27838 if (arg4
== NULL
) SWIG_fail
;
27843 arg5
= wxString_in_helper(obj4
);
27844 if (arg5
== NULL
) SWIG_fail
;
27849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27850 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
27852 wxPyEndAllowThreads(__tstate
);
27853 if (PyErr_Occurred()) SWIG_fail
;
27856 resultobj
= wxPyMake_wxObject(result
);
27880 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27881 PyObject
*resultobj
;
27882 wxMenu
*arg1
= (wxMenu
*) 0 ;
27885 wxString
*arg4
= 0 ;
27886 wxString
const &arg5_defvalue
= wxPyEmptyString
;
27887 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
27888 wxMenuItem
*result
;
27889 bool temp4
= False
;
27890 bool temp5
= False
;
27891 PyObject
* obj0
= 0 ;
27892 PyObject
* obj1
= 0 ;
27893 PyObject
* obj2
= 0 ;
27894 PyObject
* obj3
= 0 ;
27895 PyObject
* obj4
= 0 ;
27896 char *kwnames
[] = {
27897 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
27900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27903 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
27904 if (PyErr_Occurred()) SWIG_fail
;
27905 arg3
= (int) SWIG_AsInt(obj2
);
27906 if (PyErr_Occurred()) SWIG_fail
;
27908 arg4
= wxString_in_helper(obj3
);
27909 if (arg4
== NULL
) SWIG_fail
;
27914 arg5
= wxString_in_helper(obj4
);
27915 if (arg5
== NULL
) SWIG_fail
;
27920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27921 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
27923 wxPyEndAllowThreads(__tstate
);
27924 if (PyErr_Occurred()) SWIG_fail
;
27927 resultobj
= wxPyMake_wxObject(result
);
27951 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27952 PyObject
*resultobj
;
27953 wxMenu
*arg1
= (wxMenu
*) 0 ;
27956 wxString
*arg4
= 0 ;
27957 wxMenu
*arg5
= (wxMenu
*) 0 ;
27958 wxString
const &arg6_defvalue
= wxPyEmptyString
;
27959 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
27960 wxMenuItem
*result
;
27961 bool temp4
= False
;
27962 bool temp6
= False
;
27963 PyObject
* obj0
= 0 ;
27964 PyObject
* obj1
= 0 ;
27965 PyObject
* obj2
= 0 ;
27966 PyObject
* obj3
= 0 ;
27967 PyObject
* obj4
= 0 ;
27968 PyObject
* obj5
= 0 ;
27969 char *kwnames
[] = {
27970 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
27973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27976 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
27977 if (PyErr_Occurred()) SWIG_fail
;
27978 arg3
= (int) SWIG_AsInt(obj2
);
27979 if (PyErr_Occurred()) SWIG_fail
;
27981 arg4
= wxString_in_helper(obj3
);
27982 if (arg4
== NULL
) SWIG_fail
;
27985 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
27986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27989 arg6
= wxString_in_helper(obj5
);
27990 if (arg6
== NULL
) SWIG_fail
;
27995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27996 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
27998 wxPyEndAllowThreads(__tstate
);
27999 if (PyErr_Occurred()) SWIG_fail
;
28002 resultobj
= wxPyMake_wxObject(result
);
28026 static PyObject
*_wrap_Menu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28027 PyObject
*resultobj
;
28028 wxMenu
*arg1
= (wxMenu
*) 0 ;
28029 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28030 wxMenuItem
*result
;
28031 PyObject
* obj0
= 0 ;
28032 PyObject
* obj1
= 0 ;
28033 char *kwnames
[] = {
28034 (char *) "self",(char *) "item", NULL
28037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28040 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28044 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
28046 wxPyEndAllowThreads(__tstate
);
28047 if (PyErr_Occurred()) SWIG_fail
;
28050 resultobj
= wxPyMake_wxObject(result
);
28058 static PyObject
*_wrap_Menu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28059 PyObject
*resultobj
;
28060 wxMenu
*arg1
= (wxMenu
*) 0 ;
28062 wxString
*arg3
= 0 ;
28063 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28064 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28065 int arg5
= (int) wxITEM_NORMAL
;
28066 wxMenuItem
*result
;
28067 bool temp3
= False
;
28068 bool temp4
= False
;
28069 PyObject
* obj0
= 0 ;
28070 PyObject
* obj1
= 0 ;
28071 PyObject
* obj2
= 0 ;
28072 PyObject
* obj3
= 0 ;
28073 PyObject
* obj4
= 0 ;
28074 char *kwnames
[] = {
28075 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28081 arg2
= (int) SWIG_AsInt(obj1
);
28082 if (PyErr_Occurred()) SWIG_fail
;
28084 arg3
= wxString_in_helper(obj2
);
28085 if (arg3
== NULL
) SWIG_fail
;
28090 arg4
= wxString_in_helper(obj3
);
28091 if (arg4
== NULL
) SWIG_fail
;
28096 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
28097 if (PyErr_Occurred()) SWIG_fail
;
28100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28101 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
28103 wxPyEndAllowThreads(__tstate
);
28104 if (PyErr_Occurred()) SWIG_fail
;
28107 resultobj
= wxPyMake_wxObject(result
);
28131 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28132 PyObject
*resultobj
;
28133 wxMenu
*arg1
= (wxMenu
*) 0 ;
28134 wxMenuItem
*result
;
28135 PyObject
* obj0
= 0 ;
28136 char *kwnames
[] = {
28137 (char *) "self", NULL
28140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
28141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28145 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
28147 wxPyEndAllowThreads(__tstate
);
28148 if (PyErr_Occurred()) SWIG_fail
;
28151 resultobj
= wxPyMake_wxObject(result
);
28159 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28160 PyObject
*resultobj
;
28161 wxMenu
*arg1
= (wxMenu
*) 0 ;
28163 wxString
*arg3
= 0 ;
28164 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28165 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28166 wxMenuItem
*result
;
28167 bool temp3
= False
;
28168 bool temp4
= False
;
28169 PyObject
* obj0
= 0 ;
28170 PyObject
* obj1
= 0 ;
28171 PyObject
* obj2
= 0 ;
28172 PyObject
* obj3
= 0 ;
28173 char *kwnames
[] = {
28174 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28180 arg2
= (int) SWIG_AsInt(obj1
);
28181 if (PyErr_Occurred()) SWIG_fail
;
28183 arg3
= wxString_in_helper(obj2
);
28184 if (arg3
== NULL
) SWIG_fail
;
28189 arg4
= wxString_in_helper(obj3
);
28190 if (arg4
== NULL
) SWIG_fail
;
28195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28196 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28198 wxPyEndAllowThreads(__tstate
);
28199 if (PyErr_Occurred()) SWIG_fail
;
28202 resultobj
= wxPyMake_wxObject(result
);
28226 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28227 PyObject
*resultobj
;
28228 wxMenu
*arg1
= (wxMenu
*) 0 ;
28230 wxString
*arg3
= 0 ;
28231 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28232 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28233 wxMenuItem
*result
;
28234 bool temp3
= False
;
28235 bool temp4
= False
;
28236 PyObject
* obj0
= 0 ;
28237 PyObject
* obj1
= 0 ;
28238 PyObject
* obj2
= 0 ;
28239 PyObject
* obj3
= 0 ;
28240 char *kwnames
[] = {
28241 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28247 arg2
= (int) SWIG_AsInt(obj1
);
28248 if (PyErr_Occurred()) SWIG_fail
;
28250 arg3
= wxString_in_helper(obj2
);
28251 if (arg3
== NULL
) SWIG_fail
;
28256 arg4
= wxString_in_helper(obj3
);
28257 if (arg4
== NULL
) SWIG_fail
;
28262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28263 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28265 wxPyEndAllowThreads(__tstate
);
28266 if (PyErr_Occurred()) SWIG_fail
;
28269 resultobj
= wxPyMake_wxObject(result
);
28293 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28294 PyObject
*resultobj
;
28295 wxMenu
*arg1
= (wxMenu
*) 0 ;
28297 wxString
*arg3
= 0 ;
28298 wxMenu
*arg4
= (wxMenu
*) 0 ;
28299 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28300 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28301 wxMenuItem
*result
;
28302 bool temp3
= False
;
28303 bool temp5
= False
;
28304 PyObject
* obj0
= 0 ;
28305 PyObject
* obj1
= 0 ;
28306 PyObject
* obj2
= 0 ;
28307 PyObject
* obj3
= 0 ;
28308 PyObject
* obj4
= 0 ;
28309 char *kwnames
[] = {
28310 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
28313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28316 arg2
= (int) SWIG_AsInt(obj1
);
28317 if (PyErr_Occurred()) SWIG_fail
;
28319 arg3
= wxString_in_helper(obj2
);
28320 if (arg3
== NULL
) SWIG_fail
;
28323 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
28324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28327 arg5
= wxString_in_helper(obj4
);
28328 if (arg5
== NULL
) SWIG_fail
;
28333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28334 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
28336 wxPyEndAllowThreads(__tstate
);
28337 if (PyErr_Occurred()) SWIG_fail
;
28340 resultobj
= wxPyMake_wxObject(result
);
28364 static PyObject
*_wrap_Menu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28365 PyObject
*resultobj
;
28366 wxMenu
*arg1
= (wxMenu
*) 0 ;
28368 wxMenuItem
*result
;
28369 PyObject
* obj0
= 0 ;
28370 PyObject
* obj1
= 0 ;
28371 char *kwnames
[] = {
28372 (char *) "self",(char *) "id", NULL
28375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
28376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28378 arg2
= (int) SWIG_AsInt(obj1
);
28379 if (PyErr_Occurred()) SWIG_fail
;
28381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28382 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
28384 wxPyEndAllowThreads(__tstate
);
28385 if (PyErr_Occurred()) SWIG_fail
;
28388 resultobj
= wxPyMake_wxObject(result
);
28396 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28397 PyObject
*resultobj
;
28398 wxMenu
*arg1
= (wxMenu
*) 0 ;
28399 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28400 wxMenuItem
*result
;
28401 PyObject
* obj0
= 0 ;
28402 PyObject
* obj1
= 0 ;
28403 char *kwnames
[] = {
28404 (char *) "self",(char *) "item", NULL
28407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28410 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28414 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
28416 wxPyEndAllowThreads(__tstate
);
28417 if (PyErr_Occurred()) SWIG_fail
;
28420 resultobj
= wxPyMake_wxObject(result
);
28428 static PyObject
*_wrap_Menu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28429 PyObject
*resultobj
;
28430 wxMenu
*arg1
= (wxMenu
*) 0 ;
28433 PyObject
* obj0
= 0 ;
28434 PyObject
* obj1
= 0 ;
28435 char *kwnames
[] = {
28436 (char *) "self",(char *) "id", NULL
28439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
28440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28442 arg2
= (int) SWIG_AsInt(obj1
);
28443 if (PyErr_Occurred()) SWIG_fail
;
28445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28446 result
= (bool)(arg1
)->Delete(arg2
);
28448 wxPyEndAllowThreads(__tstate
);
28449 if (PyErr_Occurred()) SWIG_fail
;
28451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28458 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28459 PyObject
*resultobj
;
28460 wxMenu
*arg1
= (wxMenu
*) 0 ;
28461 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28463 PyObject
* obj0
= 0 ;
28464 PyObject
* obj1
= 0 ;
28465 char *kwnames
[] = {
28466 (char *) "self",(char *) "item", NULL
28469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28472 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28476 result
= (bool)(arg1
)->Delete(arg2
);
28478 wxPyEndAllowThreads(__tstate
);
28479 if (PyErr_Occurred()) SWIG_fail
;
28481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28488 static PyObject
*_wrap_Menu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28489 PyObject
*resultobj
;
28490 wxMenu
*arg1
= (wxMenu
*) 0 ;
28491 PyObject
* obj0
= 0 ;
28492 char *kwnames
[] = {
28493 (char *) "self", NULL
28496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
28497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28501 wxMenu_Destroy(arg1
);
28503 wxPyEndAllowThreads(__tstate
);
28504 if (PyErr_Occurred()) SWIG_fail
;
28506 Py_INCREF(Py_None
); resultobj
= Py_None
;
28513 static PyObject
*_wrap_Menu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28514 PyObject
*resultobj
;
28515 wxMenu
*arg1
= (wxMenu
*) 0 ;
28518 PyObject
* obj0
= 0 ;
28519 PyObject
* obj1
= 0 ;
28520 char *kwnames
[] = {
28521 (char *) "self",(char *) "id", NULL
28524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
28525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28527 arg2
= (int) SWIG_AsInt(obj1
);
28528 if (PyErr_Occurred()) SWIG_fail
;
28530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28531 result
= (bool)(arg1
)->Destroy(arg2
);
28533 wxPyEndAllowThreads(__tstate
);
28534 if (PyErr_Occurred()) SWIG_fail
;
28536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28543 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28544 PyObject
*resultobj
;
28545 wxMenu
*arg1
= (wxMenu
*) 0 ;
28546 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28548 PyObject
* obj0
= 0 ;
28549 PyObject
* obj1
= 0 ;
28550 char *kwnames
[] = {
28551 (char *) "self",(char *) "item", NULL
28554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28557 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28561 result
= (bool)(arg1
)->Destroy(arg2
);
28563 wxPyEndAllowThreads(__tstate
);
28564 if (PyErr_Occurred()) SWIG_fail
;
28566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28573 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28574 PyObject
*resultobj
;
28575 wxMenu
*arg1
= (wxMenu
*) 0 ;
28577 PyObject
* obj0
= 0 ;
28578 char *kwnames
[] = {
28579 (char *) "self", NULL
28582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
28583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28587 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
28589 wxPyEndAllowThreads(__tstate
);
28590 if (PyErr_Occurred()) SWIG_fail
;
28592 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
28599 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28600 PyObject
*resultobj
;
28601 wxMenu
*arg1
= (wxMenu
*) 0 ;
28603 PyObject
* obj0
= 0 ;
28604 char *kwnames
[] = {
28605 (char *) "self", NULL
28608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
28609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28613 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
28615 wxPyEndAllowThreads(__tstate
);
28616 if (PyErr_Occurred()) SWIG_fail
;
28618 resultobj
= result
;
28625 static PyObject
*_wrap_Menu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28626 PyObject
*resultobj
;
28627 wxMenu
*arg1
= (wxMenu
*) 0 ;
28628 wxString
*arg2
= 0 ;
28630 bool temp2
= False
;
28631 PyObject
* obj0
= 0 ;
28632 PyObject
* obj1
= 0 ;
28633 char *kwnames
[] = {
28634 (char *) "self",(char *) "item", NULL
28637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28641 arg2
= wxString_in_helper(obj1
);
28642 if (arg2
== NULL
) SWIG_fail
;
28646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28647 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
28649 wxPyEndAllowThreads(__tstate
);
28650 if (PyErr_Occurred()) SWIG_fail
;
28652 resultobj
= SWIG_FromInt((int)result
);
28667 static PyObject
*_wrap_Menu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28668 PyObject
*resultobj
;
28669 wxMenu
*arg1
= (wxMenu
*) 0 ;
28671 wxMenuItem
*result
;
28672 PyObject
* obj0
= 0 ;
28673 PyObject
* obj1
= 0 ;
28674 char *kwnames
[] = {
28675 (char *) "self",(char *) "id", NULL
28678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
28679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28681 arg2
= (int) SWIG_AsInt(obj1
);
28682 if (PyErr_Occurred()) SWIG_fail
;
28684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28685 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
28687 wxPyEndAllowThreads(__tstate
);
28688 if (PyErr_Occurred()) SWIG_fail
;
28691 resultobj
= wxPyMake_wxObject(result
);
28699 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28700 PyObject
*resultobj
;
28701 wxMenu
*arg1
= (wxMenu
*) 0 ;
28703 wxMenuItem
*result
;
28704 PyObject
* obj0
= 0 ;
28705 PyObject
* obj1
= 0 ;
28706 char *kwnames
[] = {
28707 (char *) "self",(char *) "position", NULL
28710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
28711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28713 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28714 if (PyErr_Occurred()) SWIG_fail
;
28716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28717 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
28719 wxPyEndAllowThreads(__tstate
);
28720 if (PyErr_Occurred()) SWIG_fail
;
28723 resultobj
= wxPyMake_wxObject(result
);
28731 static PyObject
*_wrap_Menu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28732 PyObject
*resultobj
;
28733 wxMenu
*arg1
= (wxMenu
*) 0 ;
28736 PyObject
* obj0
= 0 ;
28737 PyObject
* obj1
= 0 ;
28738 PyObject
* obj2
= 0 ;
28739 char *kwnames
[] = {
28740 (char *) "self",(char *) "id",(char *) "enable", NULL
28743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28746 arg2
= (int) SWIG_AsInt(obj1
);
28747 if (PyErr_Occurred()) SWIG_fail
;
28748 arg3
= (bool) SWIG_AsBool(obj2
);
28749 if (PyErr_Occurred()) SWIG_fail
;
28751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28752 (arg1
)->Enable(arg2
,arg3
);
28754 wxPyEndAllowThreads(__tstate
);
28755 if (PyErr_Occurred()) SWIG_fail
;
28757 Py_INCREF(Py_None
); resultobj
= Py_None
;
28764 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28765 PyObject
*resultobj
;
28766 wxMenu
*arg1
= (wxMenu
*) 0 ;
28769 PyObject
* obj0
= 0 ;
28770 PyObject
* obj1
= 0 ;
28771 char *kwnames
[] = {
28772 (char *) "self",(char *) "id", NULL
28775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
28776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28778 arg2
= (int) SWIG_AsInt(obj1
);
28779 if (PyErr_Occurred()) SWIG_fail
;
28781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28782 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
28784 wxPyEndAllowThreads(__tstate
);
28785 if (PyErr_Occurred()) SWIG_fail
;
28787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28794 static PyObject
*_wrap_Menu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28795 PyObject
*resultobj
;
28796 wxMenu
*arg1
= (wxMenu
*) 0 ;
28799 PyObject
* obj0
= 0 ;
28800 PyObject
* obj1
= 0 ;
28801 PyObject
* obj2
= 0 ;
28802 char *kwnames
[] = {
28803 (char *) "self",(char *) "id",(char *) "check", NULL
28806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28809 arg2
= (int) SWIG_AsInt(obj1
);
28810 if (PyErr_Occurred()) SWIG_fail
;
28811 arg3
= (bool) SWIG_AsBool(obj2
);
28812 if (PyErr_Occurred()) SWIG_fail
;
28814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28815 (arg1
)->Check(arg2
,arg3
);
28817 wxPyEndAllowThreads(__tstate
);
28818 if (PyErr_Occurred()) SWIG_fail
;
28820 Py_INCREF(Py_None
); resultobj
= Py_None
;
28827 static PyObject
*_wrap_Menu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28828 PyObject
*resultobj
;
28829 wxMenu
*arg1
= (wxMenu
*) 0 ;
28832 PyObject
* obj0
= 0 ;
28833 PyObject
* obj1
= 0 ;
28834 char *kwnames
[] = {
28835 (char *) "self",(char *) "id", NULL
28838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
28839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28841 arg2
= (int) SWIG_AsInt(obj1
);
28842 if (PyErr_Occurred()) SWIG_fail
;
28844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28845 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
28847 wxPyEndAllowThreads(__tstate
);
28848 if (PyErr_Occurred()) SWIG_fail
;
28850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28857 static PyObject
*_wrap_Menu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28858 PyObject
*resultobj
;
28859 wxMenu
*arg1
= (wxMenu
*) 0 ;
28861 wxString
*arg3
= 0 ;
28862 bool temp3
= False
;
28863 PyObject
* obj0
= 0 ;
28864 PyObject
* obj1
= 0 ;
28865 PyObject
* obj2
= 0 ;
28866 char *kwnames
[] = {
28867 (char *) "self",(char *) "id",(char *) "label", NULL
28870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28873 arg2
= (int) SWIG_AsInt(obj1
);
28874 if (PyErr_Occurred()) SWIG_fail
;
28876 arg3
= wxString_in_helper(obj2
);
28877 if (arg3
== NULL
) SWIG_fail
;
28881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28882 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
28884 wxPyEndAllowThreads(__tstate
);
28885 if (PyErr_Occurred()) SWIG_fail
;
28887 Py_INCREF(Py_None
); resultobj
= Py_None
;
28902 static PyObject
*_wrap_Menu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28903 PyObject
*resultobj
;
28904 wxMenu
*arg1
= (wxMenu
*) 0 ;
28907 PyObject
* obj0
= 0 ;
28908 PyObject
* obj1
= 0 ;
28909 char *kwnames
[] = {
28910 (char *) "self",(char *) "id", NULL
28913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28916 arg2
= (int) SWIG_AsInt(obj1
);
28917 if (PyErr_Occurred()) SWIG_fail
;
28919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28920 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
28922 wxPyEndAllowThreads(__tstate
);
28923 if (PyErr_Occurred()) SWIG_fail
;
28927 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28929 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28938 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28939 PyObject
*resultobj
;
28940 wxMenu
*arg1
= (wxMenu
*) 0 ;
28942 wxString
*arg3
= 0 ;
28943 bool temp3
= False
;
28944 PyObject
* obj0
= 0 ;
28945 PyObject
* obj1
= 0 ;
28946 PyObject
* obj2
= 0 ;
28947 char *kwnames
[] = {
28948 (char *) "self",(char *) "id",(char *) "helpString", NULL
28951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28954 arg2
= (int) SWIG_AsInt(obj1
);
28955 if (PyErr_Occurred()) SWIG_fail
;
28957 arg3
= wxString_in_helper(obj2
);
28958 if (arg3
== NULL
) SWIG_fail
;
28962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28963 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
28965 wxPyEndAllowThreads(__tstate
);
28966 if (PyErr_Occurred()) SWIG_fail
;
28968 Py_INCREF(Py_None
); resultobj
= Py_None
;
28983 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28984 PyObject
*resultobj
;
28985 wxMenu
*arg1
= (wxMenu
*) 0 ;
28988 PyObject
* obj0
= 0 ;
28989 PyObject
* obj1
= 0 ;
28990 char *kwnames
[] = {
28991 (char *) "self",(char *) "id", NULL
28994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
28995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28997 arg2
= (int) SWIG_AsInt(obj1
);
28998 if (PyErr_Occurred()) SWIG_fail
;
29000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29001 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
29003 wxPyEndAllowThreads(__tstate
);
29004 if (PyErr_Occurred()) SWIG_fail
;
29008 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29010 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29019 static PyObject
*_wrap_Menu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29020 PyObject
*resultobj
;
29021 wxMenu
*arg1
= (wxMenu
*) 0 ;
29022 wxString
*arg2
= 0 ;
29023 bool temp2
= False
;
29024 PyObject
* obj0
= 0 ;
29025 PyObject
* obj1
= 0 ;
29026 char *kwnames
[] = {
29027 (char *) "self",(char *) "title", NULL
29030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
29031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29034 arg2
= wxString_in_helper(obj1
);
29035 if (arg2
== NULL
) SWIG_fail
;
29039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29040 (arg1
)->SetTitle((wxString
const &)*arg2
);
29042 wxPyEndAllowThreads(__tstate
);
29043 if (PyErr_Occurred()) SWIG_fail
;
29045 Py_INCREF(Py_None
); resultobj
= Py_None
;
29060 static PyObject
*_wrap_Menu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29061 PyObject
*resultobj
;
29062 wxMenu
*arg1
= (wxMenu
*) 0 ;
29064 PyObject
* obj0
= 0 ;
29065 char *kwnames
[] = {
29066 (char *) "self", NULL
29069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
29070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29074 result
= ((wxMenu
const *)arg1
)->GetTitle();
29076 wxPyEndAllowThreads(__tstate
);
29077 if (PyErr_Occurred()) SWIG_fail
;
29081 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29083 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29092 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29093 PyObject
*resultobj
;
29094 wxMenu
*arg1
= (wxMenu
*) 0 ;
29095 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
29096 PyObject
* obj0
= 0 ;
29097 PyObject
* obj1
= 0 ;
29098 char *kwnames
[] = {
29099 (char *) "self",(char *) "handler", NULL
29102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
29103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29105 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
29106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29109 (arg1
)->SetEventHandler(arg2
);
29111 wxPyEndAllowThreads(__tstate
);
29112 if (PyErr_Occurred()) SWIG_fail
;
29114 Py_INCREF(Py_None
); resultobj
= Py_None
;
29121 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29122 PyObject
*resultobj
;
29123 wxMenu
*arg1
= (wxMenu
*) 0 ;
29124 wxEvtHandler
*result
;
29125 PyObject
* obj0
= 0 ;
29126 char *kwnames
[] = {
29127 (char *) "self", NULL
29130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
29131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29135 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
29137 wxPyEndAllowThreads(__tstate
);
29138 if (PyErr_Occurred()) SWIG_fail
;
29141 resultobj
= wxPyMake_wxObject(result
);
29149 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29150 PyObject
*resultobj
;
29151 wxMenu
*arg1
= (wxMenu
*) 0 ;
29152 wxWindow
*arg2
= (wxWindow
*) 0 ;
29153 PyObject
* obj0
= 0 ;
29154 PyObject
* obj1
= 0 ;
29155 char *kwnames
[] = {
29156 (char *) "self",(char *) "win", NULL
29159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
29160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29162 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29166 (arg1
)->SetInvokingWindow(arg2
);
29168 wxPyEndAllowThreads(__tstate
);
29169 if (PyErr_Occurred()) SWIG_fail
;
29171 Py_INCREF(Py_None
); resultobj
= Py_None
;
29178 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29179 PyObject
*resultobj
;
29180 wxMenu
*arg1
= (wxMenu
*) 0 ;
29182 PyObject
* obj0
= 0 ;
29183 char *kwnames
[] = {
29184 (char *) "self", NULL
29187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
29188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29192 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
29194 wxPyEndAllowThreads(__tstate
);
29195 if (PyErr_Occurred()) SWIG_fail
;
29198 resultobj
= wxPyMake_wxObject(result
);
29206 static PyObject
*_wrap_Menu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29207 PyObject
*resultobj
;
29208 wxMenu
*arg1
= (wxMenu
*) 0 ;
29210 PyObject
* obj0
= 0 ;
29211 char *kwnames
[] = {
29212 (char *) "self", NULL
29215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
29216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29220 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
29222 wxPyEndAllowThreads(__tstate
);
29223 if (PyErr_Occurred()) SWIG_fail
;
29225 resultobj
= SWIG_FromLong((long)result
);
29232 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29233 PyObject
*resultobj
;
29234 wxMenu
*arg1
= (wxMenu
*) 0 ;
29235 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
29236 PyObject
* obj0
= 0 ;
29237 PyObject
* obj1
= 0 ;
29238 char *kwnames
[] = {
29239 (char *) "self",(char *) "source", NULL
29242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
29243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29246 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
29247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29251 (arg1
)->UpdateUI(arg2
);
29253 wxPyEndAllowThreads(__tstate
);
29254 if (PyErr_Occurred()) SWIG_fail
;
29256 Py_INCREF(Py_None
); resultobj
= Py_None
;
29263 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29264 PyObject
*resultobj
;
29265 wxMenu
*arg1
= (wxMenu
*) 0 ;
29267 PyObject
* obj0
= 0 ;
29268 char *kwnames
[] = {
29269 (char *) "self", NULL
29272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
29273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29277 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
29279 wxPyEndAllowThreads(__tstate
);
29280 if (PyErr_Occurred()) SWIG_fail
;
29283 resultobj
= wxPyMake_wxObject(result
);
29291 static PyObject
*_wrap_Menu_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29292 PyObject
*resultobj
;
29293 wxMenu
*arg1
= (wxMenu
*) 0 ;
29294 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
29295 PyObject
* obj0
= 0 ;
29296 PyObject
* obj1
= 0 ;
29297 char *kwnames
[] = {
29298 (char *) "self",(char *) "menubar", NULL
29301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
29302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29304 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
29305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29308 (arg1
)->Attach(arg2
);
29310 wxPyEndAllowThreads(__tstate
);
29311 if (PyErr_Occurred()) SWIG_fail
;
29313 Py_INCREF(Py_None
); resultobj
= Py_None
;
29320 static PyObject
*_wrap_Menu_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29321 PyObject
*resultobj
;
29322 wxMenu
*arg1
= (wxMenu
*) 0 ;
29323 PyObject
* obj0
= 0 ;
29324 char *kwnames
[] = {
29325 (char *) "self", NULL
29328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
29329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29335 wxPyEndAllowThreads(__tstate
);
29336 if (PyErr_Occurred()) SWIG_fail
;
29338 Py_INCREF(Py_None
); resultobj
= Py_None
;
29345 static PyObject
*_wrap_Menu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29346 PyObject
*resultobj
;
29347 wxMenu
*arg1
= (wxMenu
*) 0 ;
29349 PyObject
* obj0
= 0 ;
29350 char *kwnames
[] = {
29351 (char *) "self", NULL
29354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
29355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29359 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
29361 wxPyEndAllowThreads(__tstate
);
29362 if (PyErr_Occurred()) SWIG_fail
;
29364 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29371 static PyObject
*_wrap_Menu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29372 PyObject
*resultobj
;
29373 wxMenu
*arg1
= (wxMenu
*) 0 ;
29374 wxMenu
*arg2
= (wxMenu
*) 0 ;
29375 PyObject
* obj0
= 0 ;
29376 PyObject
* obj1
= 0 ;
29377 char *kwnames
[] = {
29378 (char *) "self",(char *) "parent", NULL
29381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
29382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29384 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
29385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29388 (arg1
)->SetParent(arg2
);
29390 wxPyEndAllowThreads(__tstate
);
29391 if (PyErr_Occurred()) SWIG_fail
;
29393 Py_INCREF(Py_None
); resultobj
= Py_None
;
29400 static PyObject
*_wrap_Menu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29401 PyObject
*resultobj
;
29402 wxMenu
*arg1
= (wxMenu
*) 0 ;
29404 PyObject
* obj0
= 0 ;
29405 char *kwnames
[] = {
29406 (char *) "self", NULL
29409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
29410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29414 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
29416 wxPyEndAllowThreads(__tstate
);
29417 if (PyErr_Occurred()) SWIG_fail
;
29420 resultobj
= wxPyMake_wxObject(result
);
29428 static PyObject
* Menu_swigregister(PyObject
*self
, PyObject
*args
) {
29430 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29431 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
29433 return Py_BuildValue((char *)"");
29435 static PyObject
*_wrap_new_MenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29436 PyObject
*resultobj
;
29437 long arg1
= (long) 0 ;
29439 PyObject
* obj0
= 0 ;
29440 char *kwnames
[] = {
29441 (char *) "style", NULL
29444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
29446 arg1
= (long) SWIG_AsLong(obj0
);
29447 if (PyErr_Occurred()) SWIG_fail
;
29450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29451 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
29453 wxPyEndAllowThreads(__tstate
);
29454 if (PyErr_Occurred()) SWIG_fail
;
29457 resultobj
= wxPyMake_wxObject(result
);
29465 static PyObject
*_wrap_MenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29466 PyObject
*resultobj
;
29467 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29468 wxMenu
*arg2
= (wxMenu
*) 0 ;
29469 wxString
*arg3
= 0 ;
29471 bool temp3
= False
;
29472 PyObject
* obj0
= 0 ;
29473 PyObject
* obj1
= 0 ;
29474 PyObject
* obj2
= 0 ;
29475 char *kwnames
[] = {
29476 (char *) "self",(char *) "menu",(char *) "title", NULL
29479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29482 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
29483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29485 arg3
= wxString_in_helper(obj2
);
29486 if (arg3
== NULL
) SWIG_fail
;
29490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29491 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
29493 wxPyEndAllowThreads(__tstate
);
29494 if (PyErr_Occurred()) SWIG_fail
;
29496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29511 static PyObject
*_wrap_MenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29512 PyObject
*resultobj
;
29513 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29515 wxMenu
*arg3
= (wxMenu
*) 0 ;
29516 wxString
*arg4
= 0 ;
29518 bool temp4
= False
;
29519 PyObject
* obj0
= 0 ;
29520 PyObject
* obj1
= 0 ;
29521 PyObject
* obj2
= 0 ;
29522 PyObject
* obj3
= 0 ;
29523 char *kwnames
[] = {
29524 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
29527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29530 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29531 if (PyErr_Occurred()) SWIG_fail
;
29532 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
29533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29535 arg4
= wxString_in_helper(obj3
);
29536 if (arg4
== NULL
) SWIG_fail
;
29540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29541 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
29543 wxPyEndAllowThreads(__tstate
);
29544 if (PyErr_Occurred()) SWIG_fail
;
29546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29561 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29562 PyObject
*resultobj
;
29563 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29565 PyObject
* obj0
= 0 ;
29566 char *kwnames
[] = {
29567 (char *) "self", NULL
29570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
29571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29575 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
29577 wxPyEndAllowThreads(__tstate
);
29578 if (PyErr_Occurred()) SWIG_fail
;
29580 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
29587 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29588 PyObject
*resultobj
;
29589 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29592 PyObject
* obj0
= 0 ;
29593 PyObject
* obj1
= 0 ;
29594 char *kwnames
[] = {
29595 (char *) "self",(char *) "pos", NULL
29598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
29599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29601 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29602 if (PyErr_Occurred()) SWIG_fail
;
29604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29605 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
29607 wxPyEndAllowThreads(__tstate
);
29608 if (PyErr_Occurred()) SWIG_fail
;
29611 resultobj
= wxPyMake_wxObject(result
);
29619 static PyObject
*_wrap_MenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29620 PyObject
*resultobj
;
29621 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29623 wxMenu
*arg3
= (wxMenu
*) 0 ;
29624 wxString
*arg4
= 0 ;
29626 bool temp4
= False
;
29627 PyObject
* obj0
= 0 ;
29628 PyObject
* obj1
= 0 ;
29629 PyObject
* obj2
= 0 ;
29630 PyObject
* obj3
= 0 ;
29631 char *kwnames
[] = {
29632 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
29635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29638 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29639 if (PyErr_Occurred()) SWIG_fail
;
29640 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
29641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29643 arg4
= wxString_in_helper(obj3
);
29644 if (arg4
== NULL
) SWIG_fail
;
29648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29649 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
29651 wxPyEndAllowThreads(__tstate
);
29652 if (PyErr_Occurred()) SWIG_fail
;
29655 resultobj
= wxPyMake_wxObject(result
);
29671 static PyObject
*_wrap_MenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29672 PyObject
*resultobj
;
29673 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29676 PyObject
* obj0
= 0 ;
29677 PyObject
* obj1
= 0 ;
29678 char *kwnames
[] = {
29679 (char *) "self",(char *) "pos", NULL
29682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
29683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29685 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29686 if (PyErr_Occurred()) SWIG_fail
;
29688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29689 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
29691 wxPyEndAllowThreads(__tstate
);
29692 if (PyErr_Occurred()) SWIG_fail
;
29695 resultobj
= wxPyMake_wxObject(result
);
29703 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29704 PyObject
*resultobj
;
29705 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29708 PyObject
* obj0
= 0 ;
29709 PyObject
* obj1
= 0 ;
29710 PyObject
* obj2
= 0 ;
29711 char *kwnames
[] = {
29712 (char *) "self",(char *) "pos",(char *) "enable", NULL
29715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29718 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29719 if (PyErr_Occurred()) SWIG_fail
;
29720 arg3
= (bool) SWIG_AsBool(obj2
);
29721 if (PyErr_Occurred()) SWIG_fail
;
29723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29724 (arg1
)->EnableTop(arg2
,arg3
);
29726 wxPyEndAllowThreads(__tstate
);
29727 if (PyErr_Occurred()) SWIG_fail
;
29729 Py_INCREF(Py_None
); resultobj
= Py_None
;
29736 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29737 PyObject
*resultobj
;
29738 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29741 PyObject
* obj0
= 0 ;
29742 PyObject
* obj1
= 0 ;
29743 char *kwnames
[] = {
29744 (char *) "self",(char *) "pos", NULL
29747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
29748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29750 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29751 if (PyErr_Occurred()) SWIG_fail
;
29753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29754 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
29756 wxPyEndAllowThreads(__tstate
);
29757 if (PyErr_Occurred()) SWIG_fail
;
29759 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29766 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29767 PyObject
*resultobj
;
29768 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29770 wxString
*arg3
= 0 ;
29771 bool temp3
= False
;
29772 PyObject
* obj0
= 0 ;
29773 PyObject
* obj1
= 0 ;
29774 PyObject
* obj2
= 0 ;
29775 char *kwnames
[] = {
29776 (char *) "self",(char *) "pos",(char *) "label", NULL
29779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29782 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29783 if (PyErr_Occurred()) SWIG_fail
;
29785 arg3
= wxString_in_helper(obj2
);
29786 if (arg3
== NULL
) SWIG_fail
;
29790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29791 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
29793 wxPyEndAllowThreads(__tstate
);
29794 if (PyErr_Occurred()) SWIG_fail
;
29796 Py_INCREF(Py_None
); resultobj
= Py_None
;
29811 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29812 PyObject
*resultobj
;
29813 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29816 PyObject
* obj0
= 0 ;
29817 PyObject
* obj1
= 0 ;
29818 char *kwnames
[] = {
29819 (char *) "self",(char *) "pos", NULL
29822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
29823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29825 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29826 if (PyErr_Occurred()) SWIG_fail
;
29828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29829 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
29831 wxPyEndAllowThreads(__tstate
);
29832 if (PyErr_Occurred()) SWIG_fail
;
29836 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29838 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29847 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29848 PyObject
*resultobj
;
29849 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29850 wxString
*arg2
= 0 ;
29851 wxString
*arg3
= 0 ;
29853 bool temp2
= False
;
29854 bool temp3
= False
;
29855 PyObject
* obj0
= 0 ;
29856 PyObject
* obj1
= 0 ;
29857 PyObject
* obj2
= 0 ;
29858 char *kwnames
[] = {
29859 (char *) "self",(char *) "menu",(char *) "item", NULL
29862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29866 arg2
= wxString_in_helper(obj1
);
29867 if (arg2
== NULL
) SWIG_fail
;
29871 arg3
= wxString_in_helper(obj2
);
29872 if (arg3
== NULL
) SWIG_fail
;
29876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29877 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
29879 wxPyEndAllowThreads(__tstate
);
29880 if (PyErr_Occurred()) SWIG_fail
;
29882 resultobj
= SWIG_FromInt((int)result
);
29905 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29906 PyObject
*resultobj
;
29907 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29909 wxMenuItem
*result
;
29910 PyObject
* obj0
= 0 ;
29911 PyObject
* obj1
= 0 ;
29912 char *kwnames
[] = {
29913 (char *) "self",(char *) "id", NULL
29916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
29917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29919 arg2
= (int) SWIG_AsInt(obj1
);
29920 if (PyErr_Occurred()) SWIG_fail
;
29922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29923 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
29925 wxPyEndAllowThreads(__tstate
);
29926 if (PyErr_Occurred()) SWIG_fail
;
29929 resultobj
= wxPyMake_wxObject(result
);
29937 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29938 PyObject
*resultobj
;
29939 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29940 wxString
*arg2
= 0 ;
29942 bool temp2
= False
;
29943 PyObject
* obj0
= 0 ;
29944 PyObject
* obj1
= 0 ;
29945 char *kwnames
[] = {
29946 (char *) "self",(char *) "title", NULL
29949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
29950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29953 arg2
= wxString_in_helper(obj1
);
29954 if (arg2
== NULL
) SWIG_fail
;
29958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29959 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
29961 wxPyEndAllowThreads(__tstate
);
29962 if (PyErr_Occurred()) SWIG_fail
;
29964 resultobj
= SWIG_FromInt((int)result
);
29979 static PyObject
*_wrap_MenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29980 PyObject
*resultobj
;
29981 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29984 PyObject
* obj0
= 0 ;
29985 PyObject
* obj1
= 0 ;
29986 PyObject
* obj2
= 0 ;
29987 char *kwnames
[] = {
29988 (char *) "self",(char *) "id",(char *) "enable", NULL
29991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29994 arg2
= (int) SWIG_AsInt(obj1
);
29995 if (PyErr_Occurred()) SWIG_fail
;
29996 arg3
= (bool) SWIG_AsBool(obj2
);
29997 if (PyErr_Occurred()) SWIG_fail
;
29999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30000 (arg1
)->Enable(arg2
,arg3
);
30002 wxPyEndAllowThreads(__tstate
);
30003 if (PyErr_Occurred()) SWIG_fail
;
30005 Py_INCREF(Py_None
); resultobj
= Py_None
;
30012 static PyObject
*_wrap_MenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30013 PyObject
*resultobj
;
30014 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30017 PyObject
* obj0
= 0 ;
30018 PyObject
* obj1
= 0 ;
30019 PyObject
* obj2
= 0 ;
30020 char *kwnames
[] = {
30021 (char *) "self",(char *) "id",(char *) "check", NULL
30024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30027 arg2
= (int) SWIG_AsInt(obj1
);
30028 if (PyErr_Occurred()) SWIG_fail
;
30029 arg3
= (bool) SWIG_AsBool(obj2
);
30030 if (PyErr_Occurred()) SWIG_fail
;
30032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30033 (arg1
)->Check(arg2
,arg3
);
30035 wxPyEndAllowThreads(__tstate
);
30036 if (PyErr_Occurred()) SWIG_fail
;
30038 Py_INCREF(Py_None
); resultobj
= Py_None
;
30045 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30046 PyObject
*resultobj
;
30047 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30050 PyObject
* obj0
= 0 ;
30051 PyObject
* obj1
= 0 ;
30052 char *kwnames
[] = {
30053 (char *) "self",(char *) "id", NULL
30056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
30057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30059 arg2
= (int) SWIG_AsInt(obj1
);
30060 if (PyErr_Occurred()) SWIG_fail
;
30062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30063 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
30065 wxPyEndAllowThreads(__tstate
);
30066 if (PyErr_Occurred()) SWIG_fail
;
30068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30075 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30076 PyObject
*resultobj
;
30077 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30080 PyObject
* obj0
= 0 ;
30081 PyObject
* obj1
= 0 ;
30082 char *kwnames
[] = {
30083 (char *) "self",(char *) "id", NULL
30086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
30087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30089 arg2
= (int) SWIG_AsInt(obj1
);
30090 if (PyErr_Occurred()) SWIG_fail
;
30092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30093 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
30095 wxPyEndAllowThreads(__tstate
);
30096 if (PyErr_Occurred()) SWIG_fail
;
30098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30105 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30106 PyObject
*resultobj
;
30107 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30109 wxString
*arg3
= 0 ;
30110 bool temp3
= False
;
30111 PyObject
* obj0
= 0 ;
30112 PyObject
* obj1
= 0 ;
30113 PyObject
* obj2
= 0 ;
30114 char *kwnames
[] = {
30115 (char *) "self",(char *) "id",(char *) "label", NULL
30118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30121 arg2
= (int) SWIG_AsInt(obj1
);
30122 if (PyErr_Occurred()) SWIG_fail
;
30124 arg3
= wxString_in_helper(obj2
);
30125 if (arg3
== NULL
) SWIG_fail
;
30129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30130 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
30132 wxPyEndAllowThreads(__tstate
);
30133 if (PyErr_Occurred()) SWIG_fail
;
30135 Py_INCREF(Py_None
); resultobj
= Py_None
;
30150 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30151 PyObject
*resultobj
;
30152 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30155 PyObject
* obj0
= 0 ;
30156 PyObject
* obj1
= 0 ;
30157 char *kwnames
[] = {
30158 (char *) "self",(char *) "id", NULL
30161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30164 arg2
= (int) SWIG_AsInt(obj1
);
30165 if (PyErr_Occurred()) SWIG_fail
;
30167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30168 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
30170 wxPyEndAllowThreads(__tstate
);
30171 if (PyErr_Occurred()) SWIG_fail
;
30175 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30177 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30186 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30187 PyObject
*resultobj
;
30188 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30190 wxString
*arg3
= 0 ;
30191 bool temp3
= False
;
30192 PyObject
* obj0
= 0 ;
30193 PyObject
* obj1
= 0 ;
30194 PyObject
* obj2
= 0 ;
30195 char *kwnames
[] = {
30196 (char *) "self",(char *) "id",(char *) "helpString", NULL
30199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30202 arg2
= (int) SWIG_AsInt(obj1
);
30203 if (PyErr_Occurred()) SWIG_fail
;
30205 arg3
= wxString_in_helper(obj2
);
30206 if (arg3
== NULL
) SWIG_fail
;
30210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30211 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
30213 wxPyEndAllowThreads(__tstate
);
30214 if (PyErr_Occurred()) SWIG_fail
;
30216 Py_INCREF(Py_None
); resultobj
= Py_None
;
30231 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30232 PyObject
*resultobj
;
30233 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30236 PyObject
* obj0
= 0 ;
30237 PyObject
* obj1
= 0 ;
30238 char *kwnames
[] = {
30239 (char *) "self",(char *) "id", NULL
30242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
30243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30245 arg2
= (int) SWIG_AsInt(obj1
);
30246 if (PyErr_Occurred()) SWIG_fail
;
30248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30249 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
30251 wxPyEndAllowThreads(__tstate
);
30252 if (PyErr_Occurred()) SWIG_fail
;
30256 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30258 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30267 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30268 PyObject
*resultobj
;
30269 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30271 PyObject
* obj0
= 0 ;
30272 char *kwnames
[] = {
30273 (char *) "self", NULL
30276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
30277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30281 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
30283 wxPyEndAllowThreads(__tstate
);
30284 if (PyErr_Occurred()) SWIG_fail
;
30287 resultobj
= wxPyMake_wxObject(result
);
30295 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30296 PyObject
*resultobj
;
30297 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30299 PyObject
* obj0
= 0 ;
30300 char *kwnames
[] = {
30301 (char *) "self", NULL
30304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
30305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30309 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
30311 wxPyEndAllowThreads(__tstate
);
30312 if (PyErr_Occurred()) SWIG_fail
;
30314 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30321 static PyObject
*_wrap_MenuBar_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30322 PyObject
*resultobj
;
30323 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30324 wxFrame
*arg2
= (wxFrame
*) 0 ;
30325 PyObject
* obj0
= 0 ;
30326 PyObject
* obj1
= 0 ;
30327 char *kwnames
[] = {
30328 (char *) "self",(char *) "frame", NULL
30331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
30332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30334 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
30335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30338 (arg1
)->Attach(arg2
);
30340 wxPyEndAllowThreads(__tstate
);
30341 if (PyErr_Occurred()) SWIG_fail
;
30343 Py_INCREF(Py_None
); resultobj
= Py_None
;
30350 static PyObject
*_wrap_MenuBar_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30351 PyObject
*resultobj
;
30352 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30353 PyObject
* obj0
= 0 ;
30354 char *kwnames
[] = {
30355 (char *) "self", NULL
30358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
30359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30365 wxPyEndAllowThreads(__tstate
);
30366 if (PyErr_Occurred()) SWIG_fail
;
30368 Py_INCREF(Py_None
); resultobj
= Py_None
;
30375 static PyObject
* MenuBar_swigregister(PyObject
*self
, PyObject
*args
) {
30377 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30378 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
30380 return Py_BuildValue((char *)"");
30382 static PyObject
*_wrap_new_MenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30383 PyObject
*resultobj
;
30384 wxMenu
*arg1
= (wxMenu
*) NULL
;
30385 int arg2
= (int) wxID_SEPARATOR
;
30386 wxString
const &arg3_defvalue
= wxPyEmptyString
;
30387 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
30388 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30389 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30390 int arg5
= (int) wxITEM_NORMAL
;
30391 wxMenu
*arg6
= (wxMenu
*) NULL
;
30392 wxMenuItem
*result
;
30393 bool temp3
= False
;
30394 bool temp4
= False
;
30395 PyObject
* obj0
= 0 ;
30396 PyObject
* obj1
= 0 ;
30397 PyObject
* obj2
= 0 ;
30398 PyObject
* obj3
= 0 ;
30399 PyObject
* obj4
= 0 ;
30400 PyObject
* obj5
= 0 ;
30401 char *kwnames
[] = {
30402 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
30405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30411 arg2
= (int) SWIG_AsInt(obj1
);
30412 if (PyErr_Occurred()) SWIG_fail
;
30416 arg3
= wxString_in_helper(obj2
);
30417 if (arg3
== NULL
) SWIG_fail
;
30423 arg4
= wxString_in_helper(obj3
);
30424 if (arg4
== NULL
) SWIG_fail
;
30429 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
30430 if (PyErr_Occurred()) SWIG_fail
;
30433 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
30434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30438 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
30440 wxPyEndAllowThreads(__tstate
);
30441 if (PyErr_Occurred()) SWIG_fail
;
30444 resultobj
= wxPyMake_wxObject(result
);
30468 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30469 PyObject
*resultobj
;
30470 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30472 PyObject
* obj0
= 0 ;
30473 char *kwnames
[] = {
30474 (char *) "self", NULL
30477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
30478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30482 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
30484 wxPyEndAllowThreads(__tstate
);
30485 if (PyErr_Occurred()) SWIG_fail
;
30488 resultobj
= wxPyMake_wxObject(result
);
30496 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30497 PyObject
*resultobj
;
30498 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30499 wxMenu
*arg2
= (wxMenu
*) 0 ;
30500 PyObject
* obj0
= 0 ;
30501 PyObject
* obj1
= 0 ;
30502 char *kwnames
[] = {
30503 (char *) "self",(char *) "menu", NULL
30506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
30507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30509 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30513 (arg1
)->SetMenu(arg2
);
30515 wxPyEndAllowThreads(__tstate
);
30516 if (PyErr_Occurred()) SWIG_fail
;
30518 Py_INCREF(Py_None
); resultobj
= Py_None
;
30525 static PyObject
*_wrap_MenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30526 PyObject
*resultobj
;
30527 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30529 PyObject
* obj0
= 0 ;
30530 PyObject
* obj1
= 0 ;
30531 char *kwnames
[] = {
30532 (char *) "self",(char *) "id", NULL
30535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
30536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30538 arg2
= (int) SWIG_AsInt(obj1
);
30539 if (PyErr_Occurred()) SWIG_fail
;
30541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30542 (arg1
)->SetId(arg2
);
30544 wxPyEndAllowThreads(__tstate
);
30545 if (PyErr_Occurred()) SWIG_fail
;
30547 Py_INCREF(Py_None
); resultobj
= Py_None
;
30554 static PyObject
*_wrap_MenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30555 PyObject
*resultobj
;
30556 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30558 PyObject
* obj0
= 0 ;
30559 char *kwnames
[] = {
30560 (char *) "self", NULL
30563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
30564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30568 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
30570 wxPyEndAllowThreads(__tstate
);
30571 if (PyErr_Occurred()) SWIG_fail
;
30573 resultobj
= SWIG_FromInt((int)result
);
30580 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30581 PyObject
*resultobj
;
30582 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30584 PyObject
* obj0
= 0 ;
30585 char *kwnames
[] = {
30586 (char *) "self", NULL
30589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
30590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30594 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
30596 wxPyEndAllowThreads(__tstate
);
30597 if (PyErr_Occurred()) SWIG_fail
;
30599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30606 static PyObject
*_wrap_MenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30607 PyObject
*resultobj
;
30608 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30609 wxString
*arg2
= 0 ;
30610 bool temp2
= False
;
30611 PyObject
* obj0
= 0 ;
30612 PyObject
* obj1
= 0 ;
30613 char *kwnames
[] = {
30614 (char *) "self",(char *) "str", NULL
30617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
30618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30621 arg2
= wxString_in_helper(obj1
);
30622 if (arg2
== NULL
) SWIG_fail
;
30626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30627 (arg1
)->SetText((wxString
const &)*arg2
);
30629 wxPyEndAllowThreads(__tstate
);
30630 if (PyErr_Occurred()) SWIG_fail
;
30632 Py_INCREF(Py_None
); resultobj
= Py_None
;
30647 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30648 PyObject
*resultobj
;
30649 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30651 PyObject
* obj0
= 0 ;
30652 char *kwnames
[] = {
30653 (char *) "self", NULL
30656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
30657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30661 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
30663 wxPyEndAllowThreads(__tstate
);
30664 if (PyErr_Occurred()) SWIG_fail
;
30668 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30670 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30679 static PyObject
*_wrap_MenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30680 PyObject
*resultobj
;
30681 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30683 PyObject
* obj0
= 0 ;
30684 char *kwnames
[] = {
30685 (char *) "self", NULL
30688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
30689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30694 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
30695 result
= (wxString
*) &_result_ref
;
30698 wxPyEndAllowThreads(__tstate
);
30699 if (PyErr_Occurred()) SWIG_fail
;
30703 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30705 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30714 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30715 PyObject
*resultobj
;
30716 wxString
*arg1
= 0 ;
30718 bool temp1
= False
;
30719 PyObject
* obj0
= 0 ;
30720 char *kwnames
[] = {
30721 (char *) "text", NULL
30724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
30726 arg1
= wxString_in_helper(obj0
);
30727 if (arg1
== NULL
) SWIG_fail
;
30731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30732 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
30734 wxPyEndAllowThreads(__tstate
);
30735 if (PyErr_Occurred()) SWIG_fail
;
30739 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30741 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30758 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30759 PyObject
*resultobj
;
30760 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30762 PyObject
* obj0
= 0 ;
30763 char *kwnames
[] = {
30764 (char *) "self", NULL
30767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
30768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30772 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
30774 wxPyEndAllowThreads(__tstate
);
30775 if (PyErr_Occurred()) SWIG_fail
;
30777 resultobj
= SWIG_FromInt((int)result
);
30784 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30785 PyObject
*resultobj
;
30786 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30788 PyObject
* obj0
= 0 ;
30789 PyObject
* obj1
= 0 ;
30790 char *kwnames
[] = {
30791 (char *) "self",(char *) "checkable", NULL
30794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
30795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30797 arg2
= (bool) SWIG_AsBool(obj1
);
30798 if (PyErr_Occurred()) SWIG_fail
;
30800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30801 (arg1
)->SetCheckable(arg2
);
30803 wxPyEndAllowThreads(__tstate
);
30804 if (PyErr_Occurred()) SWIG_fail
;
30806 Py_INCREF(Py_None
); resultobj
= Py_None
;
30813 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30814 PyObject
*resultobj
;
30815 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30817 PyObject
* obj0
= 0 ;
30818 char *kwnames
[] = {
30819 (char *) "self", NULL
30822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
30823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30827 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
30829 wxPyEndAllowThreads(__tstate
);
30830 if (PyErr_Occurred()) SWIG_fail
;
30832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30839 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30840 PyObject
*resultobj
;
30841 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30843 PyObject
* obj0
= 0 ;
30844 char *kwnames
[] = {
30845 (char *) "self", NULL
30848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
30849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30853 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
30855 wxPyEndAllowThreads(__tstate
);
30856 if (PyErr_Occurred()) SWIG_fail
;
30858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30865 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30866 PyObject
*resultobj
;
30867 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30868 wxMenu
*arg2
= (wxMenu
*) 0 ;
30869 PyObject
* obj0
= 0 ;
30870 PyObject
* obj1
= 0 ;
30871 char *kwnames
[] = {
30872 (char *) "self",(char *) "menu", NULL
30875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
30876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30878 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30882 (arg1
)->SetSubMenu(arg2
);
30884 wxPyEndAllowThreads(__tstate
);
30885 if (PyErr_Occurred()) SWIG_fail
;
30887 Py_INCREF(Py_None
); resultobj
= Py_None
;
30894 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30895 PyObject
*resultobj
;
30896 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30898 PyObject
* obj0
= 0 ;
30899 char *kwnames
[] = {
30900 (char *) "self", NULL
30903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
30904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30908 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
30910 wxPyEndAllowThreads(__tstate
);
30911 if (PyErr_Occurred()) SWIG_fail
;
30914 resultobj
= wxPyMake_wxObject(result
);
30922 static PyObject
*_wrap_MenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30923 PyObject
*resultobj
;
30924 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30925 bool arg2
= (bool) True
;
30926 PyObject
* obj0
= 0 ;
30927 PyObject
* obj1
= 0 ;
30928 char *kwnames
[] = {
30929 (char *) "self",(char *) "enable", NULL
30932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
30933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30936 arg2
= (bool) SWIG_AsBool(obj1
);
30937 if (PyErr_Occurred()) SWIG_fail
;
30940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30941 (arg1
)->Enable(arg2
);
30943 wxPyEndAllowThreads(__tstate
);
30944 if (PyErr_Occurred()) SWIG_fail
;
30946 Py_INCREF(Py_None
); resultobj
= Py_None
;
30953 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30954 PyObject
*resultobj
;
30955 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30957 PyObject
* obj0
= 0 ;
30958 char *kwnames
[] = {
30959 (char *) "self", NULL
30962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
30963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30967 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
30969 wxPyEndAllowThreads(__tstate
);
30970 if (PyErr_Occurred()) SWIG_fail
;
30972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30979 static PyObject
*_wrap_MenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30980 PyObject
*resultobj
;
30981 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30982 bool arg2
= (bool) True
;
30983 PyObject
* obj0
= 0 ;
30984 PyObject
* obj1
= 0 ;
30985 char *kwnames
[] = {
30986 (char *) "self",(char *) "check", NULL
30989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
30990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30993 arg2
= (bool) SWIG_AsBool(obj1
);
30994 if (PyErr_Occurred()) SWIG_fail
;
30997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30998 (arg1
)->Check(arg2
);
31000 wxPyEndAllowThreads(__tstate
);
31001 if (PyErr_Occurred()) SWIG_fail
;
31003 Py_INCREF(Py_None
); resultobj
= Py_None
;
31010 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31011 PyObject
*resultobj
;
31012 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31014 PyObject
* obj0
= 0 ;
31015 char *kwnames
[] = {
31016 (char *) "self", NULL
31019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
31020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31024 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
31026 wxPyEndAllowThreads(__tstate
);
31027 if (PyErr_Occurred()) SWIG_fail
;
31029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31036 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31037 PyObject
*resultobj
;
31038 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31039 PyObject
* obj0
= 0 ;
31040 char *kwnames
[] = {
31041 (char *) "self", NULL
31044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
31045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31051 wxPyEndAllowThreads(__tstate
);
31052 if (PyErr_Occurred()) SWIG_fail
;
31054 Py_INCREF(Py_None
); resultobj
= Py_None
;
31061 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31062 PyObject
*resultobj
;
31063 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31064 wxString
*arg2
= 0 ;
31065 bool temp2
= False
;
31066 PyObject
* obj0
= 0 ;
31067 PyObject
* obj1
= 0 ;
31068 char *kwnames
[] = {
31069 (char *) "self",(char *) "str", NULL
31072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
31073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31076 arg2
= wxString_in_helper(obj1
);
31077 if (arg2
== NULL
) SWIG_fail
;
31081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31082 (arg1
)->SetHelp((wxString
const &)*arg2
);
31084 wxPyEndAllowThreads(__tstate
);
31085 if (PyErr_Occurred()) SWIG_fail
;
31087 Py_INCREF(Py_None
); resultobj
= Py_None
;
31102 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31103 PyObject
*resultobj
;
31104 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31106 PyObject
* obj0
= 0 ;
31107 char *kwnames
[] = {
31108 (char *) "self", NULL
31111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
31112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31117 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
31118 result
= (wxString
*) &_result_ref
;
31121 wxPyEndAllowThreads(__tstate
);
31122 if (PyErr_Occurred()) SWIG_fail
;
31126 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
31128 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
31137 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31138 PyObject
*resultobj
;
31139 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31140 wxAcceleratorEntry
*result
;
31141 PyObject
* obj0
= 0 ;
31142 char *kwnames
[] = {
31143 (char *) "self", NULL
31146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
31147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31151 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
31153 wxPyEndAllowThreads(__tstate
);
31154 if (PyErr_Occurred()) SWIG_fail
;
31156 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
31163 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31164 PyObject
*resultobj
;
31165 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31166 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
31167 PyObject
* obj0
= 0 ;
31168 PyObject
* obj1
= 0 ;
31169 char *kwnames
[] = {
31170 (char *) "self",(char *) "accel", NULL
31173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
31174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31176 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
31177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31180 (arg1
)->SetAccel(arg2
);
31182 wxPyEndAllowThreads(__tstate
);
31183 if (PyErr_Occurred()) SWIG_fail
;
31185 Py_INCREF(Py_None
); resultobj
= Py_None
;
31192 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31193 PyObject
*resultobj
;
31195 char *kwnames
[] = {
31199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
31201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31202 result
= (int)MenuItem_GetDefaultMarginWidth();
31204 wxPyEndAllowThreads(__tstate
);
31205 if (PyErr_Occurred()) SWIG_fail
;
31207 resultobj
= SWIG_FromInt((int)result
);
31214 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31215 PyObject
*resultobj
;
31216 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31217 wxBitmap
*arg2
= 0 ;
31218 PyObject
* obj0
= 0 ;
31219 PyObject
* obj1
= 0 ;
31220 char *kwnames
[] = {
31221 (char *) "self",(char *) "bitmap", NULL
31224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
31225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31227 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
31228 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31230 if (arg2
== NULL
) {
31231 PyErr_SetString(PyExc_TypeError
,"null reference");
31235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31236 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
31238 wxPyEndAllowThreads(__tstate
);
31239 if (PyErr_Occurred()) SWIG_fail
;
31241 Py_INCREF(Py_None
); resultobj
= Py_None
;
31248 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31249 PyObject
*resultobj
;
31250 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31252 PyObject
* obj0
= 0 ;
31253 char *kwnames
[] = {
31254 (char *) "self", NULL
31257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
31258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31263 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
31264 result
= (wxBitmap
*) &_result_ref
;
31267 wxPyEndAllowThreads(__tstate
);
31268 if (PyErr_Occurred()) SWIG_fail
;
31271 wxBitmap
* resultptr
= new wxBitmap(*result
);
31272 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
31280 static PyObject
* MenuItem_swigregister(PyObject
*self
, PyObject
*args
) {
31282 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31283 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
31285 return Py_BuildValue((char *)"");
31287 static int _wrap_ControlNameStr_set(PyObject
*_val
) {
31288 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
31293 static PyObject
*_wrap_ControlNameStr_get() {
31298 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
31300 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
31307 static PyObject
*_wrap_new_Control(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31308 PyObject
*resultobj
;
31309 wxWindow
*arg1
= (wxWindow
*) 0 ;
31311 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31312 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31313 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31314 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31315 long arg5
= (long) 0 ;
31316 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
31317 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
31318 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
31319 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31323 bool temp7
= False
;
31324 PyObject
* obj0
= 0 ;
31325 PyObject
* obj1
= 0 ;
31326 PyObject
* obj2
= 0 ;
31327 PyObject
* obj3
= 0 ;
31328 PyObject
* obj4
= 0 ;
31329 PyObject
* obj5
= 0 ;
31330 PyObject
* obj6
= 0 ;
31331 char *kwnames
[] = {
31332 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
31336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
31337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31338 arg2
= (int) SWIG_AsInt(obj1
);
31339 if (PyErr_Occurred()) SWIG_fail
;
31343 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31349 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31353 arg5
= (long) SWIG_AsLong(obj4
);
31354 if (PyErr_Occurred()) SWIG_fail
;
31357 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
31358 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31360 if (arg6
== NULL
) {
31361 PyErr_SetString(PyExc_TypeError
,"null reference");
31367 arg7
= wxString_in_helper(obj6
);
31368 if (arg7
== NULL
) SWIG_fail
;
31373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31374 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
31376 wxPyEndAllowThreads(__tstate
);
31377 if (PyErr_Occurred()) SWIG_fail
;
31380 resultobj
= wxPyMake_wxObject(result
);
31396 static PyObject
*_wrap_new_PreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31397 PyObject
*resultobj
;
31399 char *kwnames
[] = {
31403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
31405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31406 result
= (wxControl
*)new wxControl();
31408 wxPyEndAllowThreads(__tstate
);
31409 if (PyErr_Occurred()) SWIG_fail
;
31412 resultobj
= wxPyMake_wxObject(result
);
31420 static PyObject
*_wrap_Control_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31421 PyObject
*resultobj
;
31422 wxControl
*arg1
= (wxControl
*) 0 ;
31423 wxWindow
*arg2
= (wxWindow
*) 0 ;
31425 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31426 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31427 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31428 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31429 long arg6
= (long) 0 ;
31430 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
31431 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
31432 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
31433 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31437 bool temp8
= False
;
31438 PyObject
* obj0
= 0 ;
31439 PyObject
* obj1
= 0 ;
31440 PyObject
* obj2
= 0 ;
31441 PyObject
* obj3
= 0 ;
31442 PyObject
* obj4
= 0 ;
31443 PyObject
* obj5
= 0 ;
31444 PyObject
* obj6
= 0 ;
31445 PyObject
* obj7
= 0 ;
31446 char *kwnames
[] = {
31447 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
31451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
31452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31453 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
31454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31455 arg3
= (int) SWIG_AsInt(obj2
);
31456 if (PyErr_Occurred()) SWIG_fail
;
31460 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31466 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31470 arg6
= (long) SWIG_AsLong(obj5
);
31471 if (PyErr_Occurred()) SWIG_fail
;
31474 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
31475 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31477 if (arg7
== NULL
) {
31478 PyErr_SetString(PyExc_TypeError
,"null reference");
31484 arg8
= wxString_in_helper(obj7
);
31485 if (arg8
== NULL
) SWIG_fail
;
31490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31491 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
31493 wxPyEndAllowThreads(__tstate
);
31494 if (PyErr_Occurred()) SWIG_fail
;
31496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31511 static PyObject
*_wrap_Control_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31512 PyObject
*resultobj
;
31513 wxControl
*arg1
= (wxControl
*) 0 ;
31514 wxCommandEvent
*arg2
= 0 ;
31515 PyObject
* obj0
= 0 ;
31516 PyObject
* obj1
= 0 ;
31517 char *kwnames
[] = {
31518 (char *) "self",(char *) "event", NULL
31521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
31522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
31523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31524 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
31525 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31527 if (arg2
== NULL
) {
31528 PyErr_SetString(PyExc_TypeError
,"null reference");
31532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31533 (arg1
)->Command(*arg2
);
31535 wxPyEndAllowThreads(__tstate
);
31536 if (PyErr_Occurred()) SWIG_fail
;
31538 Py_INCREF(Py_None
); resultobj
= Py_None
;
31545 static PyObject
*_wrap_Control_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31546 PyObject
*resultobj
;
31547 wxControl
*arg1
= (wxControl
*) 0 ;
31549 PyObject
* obj0
= 0 ;
31550 char *kwnames
[] = {
31551 (char *) "self", NULL
31554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
31555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
31556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31559 result
= (arg1
)->GetLabel();
31561 wxPyEndAllowThreads(__tstate
);
31562 if (PyErr_Occurred()) SWIG_fail
;
31566 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31568 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31577 static PyObject
*_wrap_Control_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31578 PyObject
*resultobj
;
31579 wxControl
*arg1
= (wxControl
*) 0 ;
31580 wxString
*arg2
= 0 ;
31581 bool temp2
= False
;
31582 PyObject
* obj0
= 0 ;
31583 PyObject
* obj1
= 0 ;
31584 char *kwnames
[] = {
31585 (char *) "self",(char *) "label", NULL
31588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
31590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31592 arg2
= wxString_in_helper(obj1
);
31593 if (arg2
== NULL
) SWIG_fail
;
31597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31598 (arg1
)->SetLabel((wxString
const &)*arg2
);
31600 wxPyEndAllowThreads(__tstate
);
31601 if (PyErr_Occurred()) SWIG_fail
;
31603 Py_INCREF(Py_None
); resultobj
= Py_None
;
31618 static PyObject
* Control_swigregister(PyObject
*self
, PyObject
*args
) {
31620 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31621 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
31623 return Py_BuildValue((char *)"");
31625 static PyObject
*_wrap_ItemContainer_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31626 PyObject
*resultobj
;
31627 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31628 wxString
*arg2
= 0 ;
31629 PyObject
*arg3
= (PyObject
*) NULL
;
31631 bool temp2
= False
;
31632 PyObject
* obj0
= 0 ;
31633 PyObject
* obj1
= 0 ;
31634 PyObject
* obj2
= 0 ;
31635 char *kwnames
[] = {
31636 (char *) "self",(char *) "item",(char *) "clientData", NULL
31639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
31641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31643 arg2
= wxString_in_helper(obj1
);
31644 if (arg2
== NULL
) SWIG_fail
;
31651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31652 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
31654 wxPyEndAllowThreads(__tstate
);
31655 if (PyErr_Occurred()) SWIG_fail
;
31657 resultobj
= SWIG_FromInt((int)result
);
31672 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31673 PyObject
*resultobj
;
31674 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31675 wxArrayString
*arg2
= 0 ;
31676 bool temp2
= False
;
31677 PyObject
* obj0
= 0 ;
31678 PyObject
* obj1
= 0 ;
31679 char *kwnames
[] = {
31680 (char *) "self",(char *) "strings", NULL
31683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
31684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
31685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31687 if (! PySequence_Check(obj1
)) {
31688 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
31691 arg2
= new wxArrayString
;
31693 int i
, len
=PySequence_Length(obj1
);
31694 for (i
=0; i
<len
; i
++) {
31695 PyObject
* item
= PySequence_GetItem(obj1
, i
);
31697 PyObject
* str
= PyObject_Unicode(item
);
31699 PyObject
* str
= PyObject_Str(item
);
31701 arg2
->Add(Py2wxString(str
));
31707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31708 (arg1
)->Append((wxArrayString
const &)*arg2
);
31710 wxPyEndAllowThreads(__tstate
);
31711 if (PyErr_Occurred()) SWIG_fail
;
31713 Py_INCREF(Py_None
); resultobj
= Py_None
;
31715 if (temp2
) delete arg2
;
31720 if (temp2
) delete arg2
;
31726 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31727 PyObject
*resultobj
;
31728 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31729 wxString
*arg2
= 0 ;
31731 PyObject
*arg4
= (PyObject
*) NULL
;
31733 bool temp2
= False
;
31734 PyObject
* obj0
= 0 ;
31735 PyObject
* obj1
= 0 ;
31736 PyObject
* obj2
= 0 ;
31737 PyObject
* obj3
= 0 ;
31738 char *kwnames
[] = {
31739 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
31742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
31744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31746 arg2
= wxString_in_helper(obj1
);
31747 if (arg2
== NULL
) SWIG_fail
;
31750 arg3
= (int) SWIG_AsInt(obj2
);
31751 if (PyErr_Occurred()) SWIG_fail
;
31756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31757 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
31759 wxPyEndAllowThreads(__tstate
);
31760 if (PyErr_Occurred()) SWIG_fail
;
31762 resultobj
= SWIG_FromInt((int)result
);
31777 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31778 PyObject
*resultobj
;
31779 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31780 PyObject
* obj0
= 0 ;
31781 char *kwnames
[] = {
31782 (char *) "self", NULL
31785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
31786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
31787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31792 wxPyEndAllowThreads(__tstate
);
31793 if (PyErr_Occurred()) SWIG_fail
;
31795 Py_INCREF(Py_None
); resultobj
= Py_None
;
31802 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31803 PyObject
*resultobj
;
31804 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31806 PyObject
* obj0
= 0 ;
31807 PyObject
* obj1
= 0 ;
31808 char *kwnames
[] = {
31809 (char *) "self",(char *) "n", NULL
31812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
31813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
31814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31815 arg2
= (int) SWIG_AsInt(obj1
);
31816 if (PyErr_Occurred()) SWIG_fail
;
31818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31819 (arg1
)->Delete(arg2
);
31821 wxPyEndAllowThreads(__tstate
);
31822 if (PyErr_Occurred()) SWIG_fail
;
31824 Py_INCREF(Py_None
); resultobj
= Py_None
;
31831 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31832 PyObject
*resultobj
;
31833 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31835 PyObject
* obj0
= 0 ;
31836 char *kwnames
[] = {
31837 (char *) "self", NULL
31840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
31841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
31842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31845 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
31847 wxPyEndAllowThreads(__tstate
);
31848 if (PyErr_Occurred()) SWIG_fail
;
31850 resultobj
= SWIG_FromInt((int)result
);
31857 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31858 PyObject
*resultobj
;
31859 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31861 PyObject
* obj0
= 0 ;
31862 char *kwnames
[] = {
31863 (char *) "self", NULL
31866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
31867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
31868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31871 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
31873 wxPyEndAllowThreads(__tstate
);
31874 if (PyErr_Occurred()) SWIG_fail
;
31876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31883 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31884 PyObject
*resultobj
;
31885 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31888 PyObject
* obj0
= 0 ;
31889 PyObject
* obj1
= 0 ;
31890 char *kwnames
[] = {
31891 (char *) "self",(char *) "n", NULL
31894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
31895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
31896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31897 arg2
= (int) SWIG_AsInt(obj1
);
31898 if (PyErr_Occurred()) SWIG_fail
;
31900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31901 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
31903 wxPyEndAllowThreads(__tstate
);
31904 if (PyErr_Occurred()) SWIG_fail
;
31908 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31910 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31919 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31920 PyObject
*resultobj
;
31921 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31922 wxArrayString result
;
31923 PyObject
* obj0
= 0 ;
31924 char *kwnames
[] = {
31925 (char *) "self", NULL
31928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
31929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
31930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31933 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
31935 wxPyEndAllowThreads(__tstate
);
31936 if (PyErr_Occurred()) SWIG_fail
;
31939 resultobj
= wxArrayString2PyList_helper(result
);
31947 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31948 PyObject
*resultobj
;
31949 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31951 wxString
*arg3
= 0 ;
31952 bool temp3
= False
;
31953 PyObject
* obj0
= 0 ;
31954 PyObject
* obj1
= 0 ;
31955 PyObject
* obj2
= 0 ;
31956 char *kwnames
[] = {
31957 (char *) "self",(char *) "n",(char *) "s", NULL
31960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
31962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31963 arg2
= (int) SWIG_AsInt(obj1
);
31964 if (PyErr_Occurred()) SWIG_fail
;
31966 arg3
= wxString_in_helper(obj2
);
31967 if (arg3
== NULL
) SWIG_fail
;
31971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31972 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
31974 wxPyEndAllowThreads(__tstate
);
31975 if (PyErr_Occurred()) SWIG_fail
;
31977 Py_INCREF(Py_None
); resultobj
= Py_None
;
31992 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31993 PyObject
*resultobj
;
31994 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31995 wxString
*arg2
= 0 ;
31997 bool temp2
= False
;
31998 PyObject
* obj0
= 0 ;
31999 PyObject
* obj1
= 0 ;
32000 char *kwnames
[] = {
32001 (char *) "self",(char *) "s", NULL
32004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
32005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32008 arg2
= wxString_in_helper(obj1
);
32009 if (arg2
== NULL
) SWIG_fail
;
32013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32014 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
32016 wxPyEndAllowThreads(__tstate
);
32017 if (PyErr_Occurred()) SWIG_fail
;
32019 resultobj
= SWIG_FromInt((int)result
);
32034 static PyObject
*_wrap_ItemContainer_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32035 PyObject
*resultobj
;
32036 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32038 PyObject
* obj0
= 0 ;
32039 PyObject
* obj1
= 0 ;
32040 char *kwnames
[] = {
32041 (char *) "self",(char *) "n", NULL
32044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
32045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32047 arg2
= (int) SWIG_AsInt(obj1
);
32048 if (PyErr_Occurred()) SWIG_fail
;
32050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32051 (arg1
)->Select(arg2
);
32053 wxPyEndAllowThreads(__tstate
);
32054 if (PyErr_Occurred()) SWIG_fail
;
32056 Py_INCREF(Py_None
); resultobj
= Py_None
;
32063 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32064 PyObject
*resultobj
;
32065 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32067 PyObject
* obj0
= 0 ;
32068 char *kwnames
[] = {
32069 (char *) "self", NULL
32072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
32073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32077 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
32079 wxPyEndAllowThreads(__tstate
);
32080 if (PyErr_Occurred()) SWIG_fail
;
32082 resultobj
= SWIG_FromInt((int)result
);
32089 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32090 PyObject
*resultobj
;
32091 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32093 PyObject
* obj0
= 0 ;
32094 char *kwnames
[] = {
32095 (char *) "self", NULL
32098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
32099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32103 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
32105 wxPyEndAllowThreads(__tstate
);
32106 if (PyErr_Occurred()) SWIG_fail
;
32110 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32112 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32121 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32122 PyObject
*resultobj
;
32123 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32126 PyObject
* obj0
= 0 ;
32127 PyObject
* obj1
= 0 ;
32128 char *kwnames
[] = {
32129 (char *) "self",(char *) "n", NULL
32132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
32133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32135 arg2
= (int) SWIG_AsInt(obj1
);
32136 if (PyErr_Occurred()) SWIG_fail
;
32138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32139 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
32141 wxPyEndAllowThreads(__tstate
);
32142 if (PyErr_Occurred()) SWIG_fail
;
32144 resultobj
= result
;
32151 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32152 PyObject
*resultobj
;
32153 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32155 PyObject
*arg3
= (PyObject
*) 0 ;
32156 PyObject
* obj0
= 0 ;
32157 PyObject
* obj1
= 0 ;
32158 PyObject
* obj2
= 0 ;
32159 char *kwnames
[] = {
32160 (char *) "self",(char *) "n",(char *) "clientData", NULL
32163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32166 arg2
= (int) SWIG_AsInt(obj1
);
32167 if (PyErr_Occurred()) SWIG_fail
;
32170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32171 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
32173 wxPyEndAllowThreads(__tstate
);
32174 if (PyErr_Occurred()) SWIG_fail
;
32176 Py_INCREF(Py_None
); resultobj
= Py_None
;
32183 static PyObject
* ItemContainer_swigregister(PyObject
*self
, PyObject
*args
) {
32185 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32186 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
32188 return Py_BuildValue((char *)"");
32190 static PyObject
* ControlWithItems_swigregister(PyObject
*self
, PyObject
*args
) {
32192 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32193 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
32195 return Py_BuildValue((char *)"");
32197 static PyObject
*_wrap_new_SizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32198 PyObject
*resultobj
;
32199 wxSizerItem
*result
;
32200 char *kwnames
[] = {
32204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
32206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32207 result
= (wxSizerItem
*)new wxSizerItem();
32209 wxPyEndAllowThreads(__tstate
);
32210 if (PyErr_Occurred()) SWIG_fail
;
32212 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
32219 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32220 PyObject
*resultobj
;
32226 wxObject
*arg6
= (wxObject
*) 0 ;
32227 wxSizerItem
*result
;
32228 PyObject
* obj0
= 0 ;
32229 PyObject
* obj1
= 0 ;
32230 PyObject
* obj2
= 0 ;
32231 PyObject
* obj3
= 0 ;
32232 PyObject
* obj4
= 0 ;
32233 PyObject
* obj5
= 0 ;
32234 char *kwnames
[] = {
32235 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32239 arg1
= (int) SWIG_AsInt(obj0
);
32240 if (PyErr_Occurred()) SWIG_fail
;
32241 arg2
= (int) SWIG_AsInt(obj1
);
32242 if (PyErr_Occurred()) SWIG_fail
;
32243 arg3
= (int) SWIG_AsInt(obj2
);
32244 if (PyErr_Occurred()) SWIG_fail
;
32245 arg4
= (int) SWIG_AsInt(obj3
);
32246 if (PyErr_Occurred()) SWIG_fail
;
32247 arg5
= (int) SWIG_AsInt(obj4
);
32248 if (PyErr_Occurred()) SWIG_fail
;
32249 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
32250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32253 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
32255 wxPyEndAllowThreads(__tstate
);
32256 if (PyErr_Occurred()) SWIG_fail
;
32258 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
32265 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32266 PyObject
*resultobj
;
32267 wxWindow
*arg1
= (wxWindow
*) 0 ;
32271 wxObject
*arg5
= (wxObject
*) 0 ;
32272 wxSizerItem
*result
;
32273 PyObject
* obj0
= 0 ;
32274 PyObject
* obj1
= 0 ;
32275 PyObject
* obj2
= 0 ;
32276 PyObject
* obj3
= 0 ;
32277 PyObject
* obj4
= 0 ;
32278 char *kwnames
[] = {
32279 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
32284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32285 arg2
= (int) SWIG_AsInt(obj1
);
32286 if (PyErr_Occurred()) SWIG_fail
;
32287 arg3
= (int) SWIG_AsInt(obj2
);
32288 if (PyErr_Occurred()) SWIG_fail
;
32289 arg4
= (int) SWIG_AsInt(obj3
);
32290 if (PyErr_Occurred()) SWIG_fail
;
32291 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
32292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32295 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
32297 wxPyEndAllowThreads(__tstate
);
32298 if (PyErr_Occurred()) SWIG_fail
;
32300 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
32307 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32308 PyObject
*resultobj
;
32309 wxSizer
*arg1
= (wxSizer
*) 0 ;
32313 wxObject
*arg5
= (wxObject
*) 0 ;
32314 wxSizerItem
*result
;
32315 PyObject
* obj0
= 0 ;
32316 PyObject
* obj1
= 0 ;
32317 PyObject
* obj2
= 0 ;
32318 PyObject
* obj3
= 0 ;
32319 PyObject
* obj4
= 0 ;
32320 char *kwnames
[] = {
32321 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
32326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32327 arg2
= (int) SWIG_AsInt(obj1
);
32328 if (PyErr_Occurred()) SWIG_fail
;
32329 arg3
= (int) SWIG_AsInt(obj2
);
32330 if (PyErr_Occurred()) SWIG_fail
;
32331 arg4
= (int) SWIG_AsInt(obj3
);
32332 if (PyErr_Occurred()) SWIG_fail
;
32333 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
32334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32337 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
32339 wxPyEndAllowThreads(__tstate
);
32340 if (PyErr_Occurred()) SWIG_fail
;
32342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
32349 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32350 PyObject
*resultobj
;
32351 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32352 PyObject
* obj0
= 0 ;
32353 char *kwnames
[] = {
32354 (char *) "self", NULL
32357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
32358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32362 (arg1
)->DeleteWindows();
32364 wxPyEndAllowThreads(__tstate
);
32365 if (PyErr_Occurred()) SWIG_fail
;
32367 Py_INCREF(Py_None
); resultobj
= Py_None
;
32374 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32375 PyObject
*resultobj
;
32376 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32377 PyObject
* obj0
= 0 ;
32378 char *kwnames
[] = {
32379 (char *) "self", NULL
32382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
32383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32387 (arg1
)->DetachSizer();
32389 wxPyEndAllowThreads(__tstate
);
32390 if (PyErr_Occurred()) SWIG_fail
;
32392 Py_INCREF(Py_None
); resultobj
= Py_None
;
32399 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32400 PyObject
*resultobj
;
32401 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32403 PyObject
* obj0
= 0 ;
32404 char *kwnames
[] = {
32405 (char *) "self", NULL
32408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
32409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32413 result
= (arg1
)->GetSize();
32415 wxPyEndAllowThreads(__tstate
);
32416 if (PyErr_Occurred()) SWIG_fail
;
32419 wxSize
* resultptr
;
32420 resultptr
= new wxSize((wxSize
&) result
);
32421 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32429 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32430 PyObject
*resultobj
;
32431 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32433 PyObject
* obj0
= 0 ;
32434 char *kwnames
[] = {
32435 (char *) "self", NULL
32438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
32439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32443 result
= (arg1
)->CalcMin();
32445 wxPyEndAllowThreads(__tstate
);
32446 if (PyErr_Occurred()) SWIG_fail
;
32449 wxSize
* resultptr
;
32450 resultptr
= new wxSize((wxSize
&) result
);
32451 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32459 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32460 PyObject
*resultobj
;
32461 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32466 PyObject
* obj0
= 0 ;
32467 PyObject
* obj1
= 0 ;
32468 PyObject
* obj2
= 0 ;
32469 char *kwnames
[] = {
32470 (char *) "self",(char *) "pos",(char *) "size", NULL
32473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32476 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
32477 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
32479 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
32480 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
32483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32484 (arg1
)->SetDimension(arg2
,arg3
);
32486 wxPyEndAllowThreads(__tstate
);
32487 if (PyErr_Occurred()) SWIG_fail
;
32489 Py_INCREF(Py_None
); resultobj
= Py_None
;
32496 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32497 PyObject
*resultobj
;
32498 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32500 PyObject
* obj0
= 0 ;
32501 char *kwnames
[] = {
32502 (char *) "self", NULL
32505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
32506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32510 result
= (arg1
)->GetMinSize();
32512 wxPyEndAllowThreads(__tstate
);
32513 if (PyErr_Occurred()) SWIG_fail
;
32516 wxSize
* resultptr
;
32517 resultptr
= new wxSize((wxSize
&) result
);
32518 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32526 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32527 PyObject
*resultobj
;
32528 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32531 PyObject
* obj0
= 0 ;
32532 PyObject
* obj1
= 0 ;
32533 PyObject
* obj2
= 0 ;
32534 char *kwnames
[] = {
32535 (char *) "self",(char *) "x",(char *) "y", NULL
32538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32541 arg2
= (int) SWIG_AsInt(obj1
);
32542 if (PyErr_Occurred()) SWIG_fail
;
32543 arg3
= (int) SWIG_AsInt(obj2
);
32544 if (PyErr_Occurred()) SWIG_fail
;
32546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32547 (arg1
)->SetInitSize(arg2
,arg3
);
32549 wxPyEndAllowThreads(__tstate
);
32550 if (PyErr_Occurred()) SWIG_fail
;
32552 Py_INCREF(Py_None
); resultobj
= Py_None
;
32559 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32560 PyObject
*resultobj
;
32561 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32564 PyObject
* obj0
= 0 ;
32565 PyObject
* obj1
= 0 ;
32566 PyObject
* obj2
= 0 ;
32567 char *kwnames
[] = {
32568 (char *) "self",(char *) "width",(char *) "height", NULL
32571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32574 arg2
= (int) SWIG_AsInt(obj1
);
32575 if (PyErr_Occurred()) SWIG_fail
;
32576 arg3
= (int) SWIG_AsInt(obj2
);
32577 if (PyErr_Occurred()) SWIG_fail
;
32579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32580 (arg1
)->SetRatio(arg2
,arg3
);
32582 wxPyEndAllowThreads(__tstate
);
32583 if (PyErr_Occurred()) SWIG_fail
;
32585 Py_INCREF(Py_None
); resultobj
= Py_None
;
32592 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32593 PyObject
*resultobj
;
32594 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32597 PyObject
* obj0
= 0 ;
32598 PyObject
* obj1
= 0 ;
32599 char *kwnames
[] = {
32600 (char *) "self",(char *) "size", NULL
32603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
32604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32606 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
32607 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
32610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32611 (arg1
)->SetRatio(arg2
);
32613 wxPyEndAllowThreads(__tstate
);
32614 if (PyErr_Occurred()) SWIG_fail
;
32616 Py_INCREF(Py_None
); resultobj
= Py_None
;
32623 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32624 PyObject
*resultobj
;
32625 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32627 PyObject
* obj0
= 0 ;
32628 PyObject
* obj1
= 0 ;
32629 char *kwnames
[] = {
32630 (char *) "self",(char *) "ratio", NULL
32633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
32634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32636 arg2
= (float) SWIG_AsFloat(obj1
);
32637 if (PyErr_Occurred()) SWIG_fail
;
32639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32640 (arg1
)->SetRatio(arg2
);
32642 wxPyEndAllowThreads(__tstate
);
32643 if (PyErr_Occurred()) SWIG_fail
;
32645 Py_INCREF(Py_None
); resultobj
= Py_None
;
32652 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32653 PyObject
*resultobj
;
32654 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32656 PyObject
* obj0
= 0 ;
32657 char *kwnames
[] = {
32658 (char *) "self", NULL
32661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
32662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32666 result
= (float)(arg1
)->GetRatio();
32668 wxPyEndAllowThreads(__tstate
);
32669 if (PyErr_Occurred()) SWIG_fail
;
32671 resultobj
= SWIG_FromFloat((float)result
);
32678 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32679 PyObject
*resultobj
;
32680 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32682 PyObject
* obj0
= 0 ;
32683 char *kwnames
[] = {
32684 (char *) "self", NULL
32687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
32688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32692 result
= (bool)(arg1
)->IsWindow();
32694 wxPyEndAllowThreads(__tstate
);
32695 if (PyErr_Occurred()) SWIG_fail
;
32697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32704 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32705 PyObject
*resultobj
;
32706 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32708 PyObject
* obj0
= 0 ;
32709 char *kwnames
[] = {
32710 (char *) "self", NULL
32713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
32714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32718 result
= (bool)(arg1
)->IsSizer();
32720 wxPyEndAllowThreads(__tstate
);
32721 if (PyErr_Occurred()) SWIG_fail
;
32723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32730 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32731 PyObject
*resultobj
;
32732 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32734 PyObject
* obj0
= 0 ;
32735 char *kwnames
[] = {
32736 (char *) "self", NULL
32739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
32740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32744 result
= (bool)(arg1
)->IsSpacer();
32746 wxPyEndAllowThreads(__tstate
);
32747 if (PyErr_Occurred()) SWIG_fail
;
32749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32756 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32757 PyObject
*resultobj
;
32758 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32760 PyObject
* obj0
= 0 ;
32761 PyObject
* obj1
= 0 ;
32762 char *kwnames
[] = {
32763 (char *) "self",(char *) "proportion", NULL
32766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
32767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32769 arg2
= (int) SWIG_AsInt(obj1
);
32770 if (PyErr_Occurred()) SWIG_fail
;
32772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32773 (arg1
)->SetProportion(arg2
);
32775 wxPyEndAllowThreads(__tstate
);
32776 if (PyErr_Occurred()) SWIG_fail
;
32778 Py_INCREF(Py_None
); resultobj
= Py_None
;
32785 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32786 PyObject
*resultobj
;
32787 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32789 PyObject
* obj0
= 0 ;
32790 char *kwnames
[] = {
32791 (char *) "self", NULL
32794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
32795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32799 result
= (int)(arg1
)->GetProportion();
32801 wxPyEndAllowThreads(__tstate
);
32802 if (PyErr_Occurred()) SWIG_fail
;
32804 resultobj
= SWIG_FromInt((int)result
);
32811 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32812 PyObject
*resultobj
;
32813 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32815 PyObject
* obj0
= 0 ;
32816 PyObject
* obj1
= 0 ;
32817 char *kwnames
[] = {
32818 (char *) "self",(char *) "flag", NULL
32821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
32822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32824 arg2
= (int) SWIG_AsInt(obj1
);
32825 if (PyErr_Occurred()) SWIG_fail
;
32827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32828 (arg1
)->SetFlag(arg2
);
32830 wxPyEndAllowThreads(__tstate
);
32831 if (PyErr_Occurred()) SWIG_fail
;
32833 Py_INCREF(Py_None
); resultobj
= Py_None
;
32840 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32841 PyObject
*resultobj
;
32842 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32844 PyObject
* obj0
= 0 ;
32845 char *kwnames
[] = {
32846 (char *) "self", NULL
32849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
32850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32854 result
= (int)(arg1
)->GetFlag();
32856 wxPyEndAllowThreads(__tstate
);
32857 if (PyErr_Occurred()) SWIG_fail
;
32859 resultobj
= SWIG_FromInt((int)result
);
32866 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32867 PyObject
*resultobj
;
32868 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32870 PyObject
* obj0
= 0 ;
32871 PyObject
* obj1
= 0 ;
32872 char *kwnames
[] = {
32873 (char *) "self",(char *) "border", NULL
32876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
32877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32879 arg2
= (int) SWIG_AsInt(obj1
);
32880 if (PyErr_Occurred()) SWIG_fail
;
32882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32883 (arg1
)->SetBorder(arg2
);
32885 wxPyEndAllowThreads(__tstate
);
32886 if (PyErr_Occurred()) SWIG_fail
;
32888 Py_INCREF(Py_None
); resultobj
= Py_None
;
32895 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32896 PyObject
*resultobj
;
32897 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32899 PyObject
* obj0
= 0 ;
32900 char *kwnames
[] = {
32901 (char *) "self", NULL
32904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
32905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32909 result
= (int)(arg1
)->GetBorder();
32911 wxPyEndAllowThreads(__tstate
);
32912 if (PyErr_Occurred()) SWIG_fail
;
32914 resultobj
= SWIG_FromInt((int)result
);
32921 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32922 PyObject
*resultobj
;
32923 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32925 PyObject
* obj0
= 0 ;
32926 char *kwnames
[] = {
32927 (char *) "self", NULL
32930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
32931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32935 result
= (wxWindow
*)(arg1
)->GetWindow();
32937 wxPyEndAllowThreads(__tstate
);
32938 if (PyErr_Occurred()) SWIG_fail
;
32941 resultobj
= wxPyMake_wxObject(result
);
32949 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32950 PyObject
*resultobj
;
32951 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32952 wxWindow
*arg2
= (wxWindow
*) 0 ;
32953 PyObject
* obj0
= 0 ;
32954 PyObject
* obj1
= 0 ;
32955 char *kwnames
[] = {
32956 (char *) "self",(char *) "window", NULL
32959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
32960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32962 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
32963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32966 (arg1
)->SetWindow(arg2
);
32968 wxPyEndAllowThreads(__tstate
);
32969 if (PyErr_Occurred()) SWIG_fail
;
32971 Py_INCREF(Py_None
); resultobj
= Py_None
;
32978 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32979 PyObject
*resultobj
;
32980 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32982 PyObject
* obj0
= 0 ;
32983 char *kwnames
[] = {
32984 (char *) "self", NULL
32987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
32988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32992 result
= (wxSizer
*)(arg1
)->GetSizer();
32994 wxPyEndAllowThreads(__tstate
);
32995 if (PyErr_Occurred()) SWIG_fail
;
32998 resultobj
= wxPyMake_wxSizer(result
);
33006 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33007 PyObject
*resultobj
;
33008 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33009 wxSizer
*arg2
= (wxSizer
*) 0 ;
33010 PyObject
* obj0
= 0 ;
33011 PyObject
* obj1
= 0 ;
33012 char *kwnames
[] = {
33013 (char *) "self",(char *) "sizer", NULL
33016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
33017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33019 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
33020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33023 (arg1
)->SetSizer(arg2
);
33025 wxPyEndAllowThreads(__tstate
);
33026 if (PyErr_Occurred()) SWIG_fail
;
33028 Py_INCREF(Py_None
); resultobj
= Py_None
;
33035 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33036 PyObject
*resultobj
;
33037 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33039 PyObject
* obj0
= 0 ;
33040 char *kwnames
[] = {
33041 (char *) "self", NULL
33044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
33045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33050 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
33051 result
= (wxSize
*) &_result_ref
;
33054 wxPyEndAllowThreads(__tstate
);
33055 if (PyErr_Occurred()) SWIG_fail
;
33057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
33064 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33065 PyObject
*resultobj
;
33066 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33069 PyObject
* obj0
= 0 ;
33070 PyObject
* obj1
= 0 ;
33071 char *kwnames
[] = {
33072 (char *) "self",(char *) "size", NULL
33075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
33076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33080 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33084 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
33086 wxPyEndAllowThreads(__tstate
);
33087 if (PyErr_Occurred()) SWIG_fail
;
33089 Py_INCREF(Py_None
); resultobj
= Py_None
;
33096 static PyObject
*_wrap_SizerItem_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33097 PyObject
*resultobj
;
33098 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33100 PyObject
* obj0
= 0 ;
33101 PyObject
* obj1
= 0 ;
33102 char *kwnames
[] = {
33103 (char *) "self",(char *) "show", NULL
33106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
33107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33109 arg2
= (bool) SWIG_AsBool(obj1
);
33110 if (PyErr_Occurred()) SWIG_fail
;
33112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33113 (arg1
)->Show(arg2
);
33115 wxPyEndAllowThreads(__tstate
);
33116 if (PyErr_Occurred()) SWIG_fail
;
33118 Py_INCREF(Py_None
); resultobj
= Py_None
;
33125 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33126 PyObject
*resultobj
;
33127 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33129 PyObject
* obj0
= 0 ;
33130 char *kwnames
[] = {
33131 (char *) "self", NULL
33134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
33135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33139 result
= (bool)(arg1
)->IsShown();
33141 wxPyEndAllowThreads(__tstate
);
33142 if (PyErr_Occurred()) SWIG_fail
;
33144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33151 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33152 PyObject
*resultobj
;
33153 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33155 PyObject
* obj0
= 0 ;
33156 char *kwnames
[] = {
33157 (char *) "self", NULL
33160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
33161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33165 result
= (arg1
)->GetPosition();
33167 wxPyEndAllowThreads(__tstate
);
33168 if (PyErr_Occurred()) SWIG_fail
;
33171 wxPoint
* resultptr
;
33172 resultptr
= new wxPoint((wxPoint
&) result
);
33173 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
33181 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33182 PyObject
*resultobj
;
33183 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33185 PyObject
* obj0
= 0 ;
33186 char *kwnames
[] = {
33187 (char *) "self", NULL
33190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
33191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33195 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
33197 wxPyEndAllowThreads(__tstate
);
33198 if (PyErr_Occurred()) SWIG_fail
;
33200 resultobj
= result
;
33207 static PyObject
* SizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
33209 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33210 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
33212 return Py_BuildValue((char *)"");
33214 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33215 PyObject
*resultobj
;
33216 wxSizer
*arg1
= (wxSizer
*) 0 ;
33217 PyObject
*arg2
= (PyObject
*) 0 ;
33218 PyObject
* obj0
= 0 ;
33219 PyObject
* obj1
= 0 ;
33220 char *kwnames
[] = {
33221 (char *) "self",(char *) "_self", NULL
33224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
33225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33230 wxSizer__setOORInfo(arg1
,arg2
);
33232 wxPyEndAllowThreads(__tstate
);
33233 if (PyErr_Occurred()) SWIG_fail
;
33235 Py_INCREF(Py_None
); resultobj
= Py_None
;
33242 static PyObject
*_wrap_Sizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33243 PyObject
*resultobj
;
33244 wxSizer
*arg1
= (wxSizer
*) 0 ;
33245 PyObject
*arg2
= (PyObject
*) 0 ;
33246 int arg3
= (int) 0 ;
33247 int arg4
= (int) 0 ;
33248 int arg5
= (int) 0 ;
33249 PyObject
*arg6
= (PyObject
*) NULL
;
33250 PyObject
* obj0
= 0 ;
33251 PyObject
* obj1
= 0 ;
33252 PyObject
* obj2
= 0 ;
33253 PyObject
* obj3
= 0 ;
33254 PyObject
* obj4
= 0 ;
33255 PyObject
* obj5
= 0 ;
33256 char *kwnames
[] = {
33257 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33265 arg3
= (int) SWIG_AsInt(obj2
);
33266 if (PyErr_Occurred()) SWIG_fail
;
33269 arg4
= (int) SWIG_AsInt(obj3
);
33270 if (PyErr_Occurred()) SWIG_fail
;
33273 arg5
= (int) SWIG_AsInt(obj4
);
33274 if (PyErr_Occurred()) SWIG_fail
;
33280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33281 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
33283 wxPyEndAllowThreads(__tstate
);
33284 if (PyErr_Occurred()) SWIG_fail
;
33286 Py_INCREF(Py_None
); resultobj
= Py_None
;
33293 static PyObject
*_wrap_Sizer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33294 PyObject
*resultobj
;
33295 wxSizer
*arg1
= (wxSizer
*) 0 ;
33297 PyObject
*arg3
= (PyObject
*) 0 ;
33298 int arg4
= (int) 0 ;
33299 int arg5
= (int) 0 ;
33300 int arg6
= (int) 0 ;
33301 PyObject
*arg7
= (PyObject
*) NULL
;
33302 PyObject
* obj0
= 0 ;
33303 PyObject
* obj1
= 0 ;
33304 PyObject
* obj2
= 0 ;
33305 PyObject
* obj3
= 0 ;
33306 PyObject
* obj4
= 0 ;
33307 PyObject
* obj5
= 0 ;
33308 PyObject
* obj6
= 0 ;
33309 char *kwnames
[] = {
33310 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
33314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33316 arg2
= (int) SWIG_AsInt(obj1
);
33317 if (PyErr_Occurred()) SWIG_fail
;
33320 arg4
= (int) SWIG_AsInt(obj3
);
33321 if (PyErr_Occurred()) SWIG_fail
;
33324 arg5
= (int) SWIG_AsInt(obj4
);
33325 if (PyErr_Occurred()) SWIG_fail
;
33328 arg6
= (int) SWIG_AsInt(obj5
);
33329 if (PyErr_Occurred()) SWIG_fail
;
33335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33336 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
33338 wxPyEndAllowThreads(__tstate
);
33339 if (PyErr_Occurred()) SWIG_fail
;
33341 Py_INCREF(Py_None
); resultobj
= Py_None
;
33348 static PyObject
*_wrap_Sizer_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33349 PyObject
*resultobj
;
33350 wxSizer
*arg1
= (wxSizer
*) 0 ;
33351 PyObject
*arg2
= (PyObject
*) 0 ;
33352 int arg3
= (int) 0 ;
33353 int arg4
= (int) 0 ;
33354 int arg5
= (int) 0 ;
33355 PyObject
*arg6
= (PyObject
*) NULL
;
33356 PyObject
* obj0
= 0 ;
33357 PyObject
* obj1
= 0 ;
33358 PyObject
* obj2
= 0 ;
33359 PyObject
* obj3
= 0 ;
33360 PyObject
* obj4
= 0 ;
33361 PyObject
* obj5
= 0 ;
33362 char *kwnames
[] = {
33363 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33371 arg3
= (int) SWIG_AsInt(obj2
);
33372 if (PyErr_Occurred()) SWIG_fail
;
33375 arg4
= (int) SWIG_AsInt(obj3
);
33376 if (PyErr_Occurred()) SWIG_fail
;
33379 arg5
= (int) SWIG_AsInt(obj4
);
33380 if (PyErr_Occurred()) SWIG_fail
;
33386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33387 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
33389 wxPyEndAllowThreads(__tstate
);
33390 if (PyErr_Occurred()) SWIG_fail
;
33392 Py_INCREF(Py_None
); resultobj
= Py_None
;
33399 static PyObject
*_wrap_Sizer_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33400 PyObject
*resultobj
;
33401 wxSizer
*arg1
= (wxSizer
*) 0 ;
33402 PyObject
*arg2
= (PyObject
*) 0 ;
33404 PyObject
* obj0
= 0 ;
33405 PyObject
* obj1
= 0 ;
33406 char *kwnames
[] = {
33407 (char *) "self",(char *) "item", NULL
33410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
33411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33416 result
= (bool)wxSizer_Remove(arg1
,arg2
);
33418 wxPyEndAllowThreads(__tstate
);
33419 if (PyErr_Occurred()) SWIG_fail
;
33421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33428 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33429 PyObject
*resultobj
;
33430 wxSizer
*arg1
= (wxSizer
*) 0 ;
33431 PyObject
*arg2
= (PyObject
*) 0 ;
33434 PyObject
* obj0
= 0 ;
33435 PyObject
* obj1
= 0 ;
33436 PyObject
* obj2
= 0 ;
33437 char *kwnames
[] = {
33438 (char *) "self",(char *) "item",(char *) "size", NULL
33441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33447 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
33450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33451 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
33453 wxPyEndAllowThreads(__tstate
);
33454 if (PyErr_Occurred()) SWIG_fail
;
33456 Py_INCREF(Py_None
); resultobj
= Py_None
;
33463 static PyObject
*_wrap_Sizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33464 PyObject
*resultobj
;
33465 wxSizer
*arg1
= (wxSizer
*) 0 ;
33466 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
33467 PyObject
* obj0
= 0 ;
33468 PyObject
* obj1
= 0 ;
33469 char *kwnames
[] = {
33470 (char *) "self",(char *) "item", NULL
33473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33476 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
33477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33482 wxPyEndAllowThreads(__tstate
);
33483 if (PyErr_Occurred()) SWIG_fail
;
33485 Py_INCREF(Py_None
); resultobj
= Py_None
;
33492 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33493 PyObject
*resultobj
;
33494 wxSizer
*arg1
= (wxSizer
*) 0 ;
33496 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
33497 PyObject
* obj0
= 0 ;
33498 PyObject
* obj1
= 0 ;
33499 PyObject
* obj2
= 0 ;
33500 char *kwnames
[] = {
33501 (char *) "self",(char *) "index",(char *) "item", NULL
33504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33507 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
33508 if (PyErr_Occurred()) SWIG_fail
;
33509 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
33510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33513 (arg1
)->Insert(arg2
,arg3
);
33515 wxPyEndAllowThreads(__tstate
);
33516 if (PyErr_Occurred()) SWIG_fail
;
33518 Py_INCREF(Py_None
); resultobj
= Py_None
;
33525 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33526 PyObject
*resultobj
;
33527 wxSizer
*arg1
= (wxSizer
*) 0 ;
33528 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
33529 PyObject
* obj0
= 0 ;
33530 PyObject
* obj1
= 0 ;
33531 char *kwnames
[] = {
33532 (char *) "self",(char *) "item", NULL
33535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33538 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
33539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33542 (arg1
)->Prepend(arg2
);
33544 wxPyEndAllowThreads(__tstate
);
33545 if (PyErr_Occurred()) SWIG_fail
;
33547 Py_INCREF(Py_None
); resultobj
= Py_None
;
33554 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33555 PyObject
*resultobj
;
33556 wxSizer
*arg1
= (wxSizer
*) 0 ;
33561 PyObject
* obj0
= 0 ;
33562 PyObject
* obj1
= 0 ;
33563 PyObject
* obj2
= 0 ;
33564 PyObject
* obj3
= 0 ;
33565 PyObject
* obj4
= 0 ;
33566 char *kwnames
[] = {
33567 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33573 arg2
= (int) SWIG_AsInt(obj1
);
33574 if (PyErr_Occurred()) SWIG_fail
;
33575 arg3
= (int) SWIG_AsInt(obj2
);
33576 if (PyErr_Occurred()) SWIG_fail
;
33577 arg4
= (int) SWIG_AsInt(obj3
);
33578 if (PyErr_Occurred()) SWIG_fail
;
33579 arg5
= (int) SWIG_AsInt(obj4
);
33580 if (PyErr_Occurred()) SWIG_fail
;
33582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33583 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
33585 wxPyEndAllowThreads(__tstate
);
33586 if (PyErr_Occurred()) SWIG_fail
;
33588 Py_INCREF(Py_None
); resultobj
= Py_None
;
33595 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33596 PyObject
*resultobj
;
33597 wxSizer
*arg1
= (wxSizer
*) 0 ;
33600 PyObject
* obj0
= 0 ;
33601 PyObject
* obj1
= 0 ;
33602 char *kwnames
[] = {
33603 (char *) "self",(char *) "size", NULL
33606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
33607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33611 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33615 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
33617 wxPyEndAllowThreads(__tstate
);
33618 if (PyErr_Occurred()) SWIG_fail
;
33620 Py_INCREF(Py_None
); resultobj
= Py_None
;
33627 static PyObject
*_wrap_Sizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33628 PyObject
*resultobj
;
33629 wxSizer
*arg1
= (wxSizer
*) 0 ;
33631 PyObject
* obj0
= 0 ;
33632 char *kwnames
[] = {
33633 (char *) "self", NULL
33636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
33637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33641 result
= (arg1
)->GetSize();
33643 wxPyEndAllowThreads(__tstate
);
33644 if (PyErr_Occurred()) SWIG_fail
;
33647 wxSize
* resultptr
;
33648 resultptr
= new wxSize((wxSize
&) result
);
33649 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33657 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33658 PyObject
*resultobj
;
33659 wxSizer
*arg1
= (wxSizer
*) 0 ;
33661 PyObject
* obj0
= 0 ;
33662 char *kwnames
[] = {
33663 (char *) "self", NULL
33666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
33667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33671 result
= (arg1
)->GetPosition();
33673 wxPyEndAllowThreads(__tstate
);
33674 if (PyErr_Occurred()) SWIG_fail
;
33677 wxPoint
* resultptr
;
33678 resultptr
= new wxPoint((wxPoint
&) result
);
33679 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
33687 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33688 PyObject
*resultobj
;
33689 wxSizer
*arg1
= (wxSizer
*) 0 ;
33691 PyObject
* obj0
= 0 ;
33692 char *kwnames
[] = {
33693 (char *) "self", NULL
33696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
33697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33701 result
= (arg1
)->GetMinSize();
33703 wxPyEndAllowThreads(__tstate
);
33704 if (PyErr_Occurred()) SWIG_fail
;
33707 wxSize
* resultptr
;
33708 resultptr
= new wxSize((wxSize
&) result
);
33709 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33717 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33718 PyObject
*resultobj
;
33719 wxSizer
*arg1
= (wxSizer
*) 0 ;
33720 PyObject
* obj0
= 0 ;
33721 char *kwnames
[] = {
33722 (char *) "self", NULL
33725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
33726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33730 (arg1
)->RecalcSizes();
33732 wxPyEndAllowThreads(__tstate
);
33733 if (PyErr_Occurred()) SWIG_fail
;
33735 Py_INCREF(Py_None
); resultobj
= Py_None
;
33742 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33743 PyObject
*resultobj
;
33744 wxSizer
*arg1
= (wxSizer
*) 0 ;
33746 PyObject
* obj0
= 0 ;
33747 char *kwnames
[] = {
33748 (char *) "self", NULL
33751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
33752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33756 result
= (arg1
)->CalcMin();
33758 wxPyEndAllowThreads(__tstate
);
33759 if (PyErr_Occurred()) SWIG_fail
;
33762 wxSize
* resultptr
;
33763 resultptr
= new wxSize((wxSize
&) result
);
33764 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33772 static PyObject
*_wrap_Sizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33773 PyObject
*resultobj
;
33774 wxSizer
*arg1
= (wxSizer
*) 0 ;
33775 PyObject
* obj0
= 0 ;
33776 char *kwnames
[] = {
33777 (char *) "self", NULL
33780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
33781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33787 wxPyEndAllowThreads(__tstate
);
33788 if (PyErr_Occurred()) SWIG_fail
;
33790 Py_INCREF(Py_None
); resultobj
= Py_None
;
33797 static PyObject
*_wrap_Sizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33798 PyObject
*resultobj
;
33799 wxSizer
*arg1
= (wxSizer
*) 0 ;
33800 wxWindow
*arg2
= (wxWindow
*) 0 ;
33802 PyObject
* obj0
= 0 ;
33803 PyObject
* obj1
= 0 ;
33804 char *kwnames
[] = {
33805 (char *) "self",(char *) "window", NULL
33808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
33809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33811 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
33812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33815 result
= (arg1
)->Fit(arg2
);
33817 wxPyEndAllowThreads(__tstate
);
33818 if (PyErr_Occurred()) SWIG_fail
;
33821 wxSize
* resultptr
;
33822 resultptr
= new wxSize((wxSize
&) result
);
33823 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33831 static PyObject
*_wrap_Sizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33832 PyObject
*resultobj
;
33833 wxSizer
*arg1
= (wxSizer
*) 0 ;
33834 wxWindow
*arg2
= (wxWindow
*) 0 ;
33835 PyObject
* obj0
= 0 ;
33836 PyObject
* obj1
= 0 ;
33837 char *kwnames
[] = {
33838 (char *) "self",(char *) "window", NULL
33841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
33842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33844 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
33845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33848 (arg1
)->FitInside(arg2
);
33850 wxPyEndAllowThreads(__tstate
);
33851 if (PyErr_Occurred()) SWIG_fail
;
33853 Py_INCREF(Py_None
); resultobj
= Py_None
;
33860 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33861 PyObject
*resultobj
;
33862 wxSizer
*arg1
= (wxSizer
*) 0 ;
33863 wxWindow
*arg2
= (wxWindow
*) 0 ;
33864 PyObject
* obj0
= 0 ;
33865 PyObject
* obj1
= 0 ;
33866 char *kwnames
[] = {
33867 (char *) "self",(char *) "window", NULL
33870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
33871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33873 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
33874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33877 (arg1
)->SetSizeHints(arg2
);
33879 wxPyEndAllowThreads(__tstate
);
33880 if (PyErr_Occurred()) SWIG_fail
;
33882 Py_INCREF(Py_None
); resultobj
= Py_None
;
33889 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33890 PyObject
*resultobj
;
33891 wxSizer
*arg1
= (wxSizer
*) 0 ;
33892 wxWindow
*arg2
= (wxWindow
*) 0 ;
33893 PyObject
* obj0
= 0 ;
33894 PyObject
* obj1
= 0 ;
33895 char *kwnames
[] = {
33896 (char *) "self",(char *) "window", NULL
33899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
33900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33902 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
33903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33906 (arg1
)->SetVirtualSizeHints(arg2
);
33908 wxPyEndAllowThreads(__tstate
);
33909 if (PyErr_Occurred()) SWIG_fail
;
33911 Py_INCREF(Py_None
); resultobj
= Py_None
;
33918 static PyObject
*_wrap_Sizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33919 PyObject
*resultobj
;
33920 wxSizer
*arg1
= (wxSizer
*) 0 ;
33921 bool arg2
= (bool) False
;
33922 PyObject
* obj0
= 0 ;
33923 PyObject
* obj1
= 0 ;
33924 char *kwnames
[] = {
33925 (char *) "self",(char *) "delete_windows", NULL
33928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
33929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33932 arg2
= (bool) SWIG_AsBool(obj1
);
33933 if (PyErr_Occurred()) SWIG_fail
;
33936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33937 (arg1
)->Clear(arg2
);
33939 wxPyEndAllowThreads(__tstate
);
33940 if (PyErr_Occurred()) SWIG_fail
;
33942 Py_INCREF(Py_None
); resultobj
= Py_None
;
33949 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33950 PyObject
*resultobj
;
33951 wxSizer
*arg1
= (wxSizer
*) 0 ;
33952 PyObject
* obj0
= 0 ;
33953 char *kwnames
[] = {
33954 (char *) "self", NULL
33957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
33958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33962 (arg1
)->DeleteWindows();
33964 wxPyEndAllowThreads(__tstate
);
33965 if (PyErr_Occurred()) SWIG_fail
;
33967 Py_INCREF(Py_None
); resultobj
= Py_None
;
33974 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33975 PyObject
*resultobj
;
33976 wxSizer
*arg1
= (wxSizer
*) 0 ;
33978 PyObject
* obj0
= 0 ;
33979 char *kwnames
[] = {
33980 (char *) "self", NULL
33983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
33984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33988 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
33990 wxPyEndAllowThreads(__tstate
);
33991 if (PyErr_Occurred()) SWIG_fail
;
33993 resultobj
= result
;
34000 static PyObject
*_wrap_Sizer_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34001 PyObject
*resultobj
;
34002 wxSizer
*arg1
= (wxSizer
*) 0 ;
34003 PyObject
*arg2
= (PyObject
*) 0 ;
34004 bool arg3
= (bool) True
;
34005 PyObject
* obj0
= 0 ;
34006 PyObject
* obj1
= 0 ;
34007 PyObject
* obj2
= 0 ;
34008 char *kwnames
[] = {
34009 (char *) "self",(char *) "item",(char *) "show", NULL
34012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34017 arg3
= (bool) SWIG_AsBool(obj2
);
34018 if (PyErr_Occurred()) SWIG_fail
;
34021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34022 wxSizer_Show(arg1
,arg2
,arg3
);
34024 wxPyEndAllowThreads(__tstate
);
34025 if (PyErr_Occurred()) SWIG_fail
;
34027 Py_INCREF(Py_None
); resultobj
= Py_None
;
34034 static PyObject
*_wrap_Sizer_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34035 PyObject
*resultobj
;
34036 wxSizer
*arg1
= (wxSizer
*) 0 ;
34037 PyObject
*arg2
= (PyObject
*) 0 ;
34038 PyObject
* obj0
= 0 ;
34039 PyObject
* obj1
= 0 ;
34040 char *kwnames
[] = {
34041 (char *) "self",(char *) "item", NULL
34044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Hide",kwnames
,&obj0
,&obj1
)) goto fail
;
34045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34050 wxSizer_Hide(arg1
,arg2
);
34052 wxPyEndAllowThreads(__tstate
);
34053 if (PyErr_Occurred()) SWIG_fail
;
34055 Py_INCREF(Py_None
); resultobj
= Py_None
;
34062 static PyObject
*_wrap_Sizer_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34063 PyObject
*resultobj
;
34064 wxSizer
*arg1
= (wxSizer
*) 0 ;
34065 PyObject
*arg2
= (PyObject
*) 0 ;
34067 PyObject
* obj0
= 0 ;
34068 PyObject
* obj1
= 0 ;
34069 char *kwnames
[] = {
34070 (char *) "self",(char *) "item", NULL
34073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
34074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34079 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
34081 wxPyEndAllowThreads(__tstate
);
34082 if (PyErr_Occurred()) SWIG_fail
;
34084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34091 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34092 PyObject
*resultobj
;
34093 wxSizer
*arg1
= (wxSizer
*) 0 ;
34095 PyObject
* obj0
= 0 ;
34096 PyObject
* obj1
= 0 ;
34097 char *kwnames
[] = {
34098 (char *) "self",(char *) "show", NULL
34101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
34102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34104 arg2
= (bool) SWIG_AsBool(obj1
);
34105 if (PyErr_Occurred()) SWIG_fail
;
34107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34108 (arg1
)->ShowItems(arg2
);
34110 wxPyEndAllowThreads(__tstate
);
34111 if (PyErr_Occurred()) SWIG_fail
;
34113 Py_INCREF(Py_None
); resultobj
= Py_None
;
34120 static PyObject
* Sizer_swigregister(PyObject
*self
, PyObject
*args
) {
34122 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34123 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
34125 return Py_BuildValue((char *)"");
34127 static PyObject
*_wrap_new_PySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34128 PyObject
*resultobj
;
34130 char *kwnames
[] = {
34134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
34136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34137 result
= (wxPySizer
*)new wxPySizer();
34139 wxPyEndAllowThreads(__tstate
);
34140 if (PyErr_Occurred()) SWIG_fail
;
34142 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
34149 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34150 PyObject
*resultobj
;
34151 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
34152 PyObject
*arg2
= (PyObject
*) 0 ;
34153 PyObject
*arg3
= (PyObject
*) 0 ;
34154 PyObject
* obj0
= 0 ;
34155 PyObject
* obj1
= 0 ;
34156 PyObject
* obj2
= 0 ;
34157 char *kwnames
[] = {
34158 (char *) "self",(char *) "self",(char *) "_class", NULL
34161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
34163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34168 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34170 wxPyEndAllowThreads(__tstate
);
34171 if (PyErr_Occurred()) SWIG_fail
;
34173 Py_INCREF(Py_None
); resultobj
= Py_None
;
34180 static PyObject
* PySizer_swigregister(PyObject
*self
, PyObject
*args
) {
34182 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34183 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
34185 return Py_BuildValue((char *)"");
34187 static PyObject
*_wrap_new_BoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34188 PyObject
*resultobj
;
34189 int arg1
= (int) wxHORIZONTAL
;
34190 wxBoxSizer
*result
;
34191 PyObject
* obj0
= 0 ;
34192 char *kwnames
[] = {
34193 (char *) "orient", NULL
34196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
34198 arg1
= (int) SWIG_AsInt(obj0
);
34199 if (PyErr_Occurred()) SWIG_fail
;
34202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34203 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
34205 wxPyEndAllowThreads(__tstate
);
34206 if (PyErr_Occurred()) SWIG_fail
;
34208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
34215 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34216 PyObject
*resultobj
;
34217 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
34219 PyObject
* obj0
= 0 ;
34220 char *kwnames
[] = {
34221 (char *) "self", NULL
34224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
34225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
34226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34229 result
= (int)(arg1
)->GetOrientation();
34231 wxPyEndAllowThreads(__tstate
);
34232 if (PyErr_Occurred()) SWIG_fail
;
34234 resultobj
= SWIG_FromInt((int)result
);
34241 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34242 PyObject
*resultobj
;
34243 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
34245 PyObject
* obj0
= 0 ;
34246 PyObject
* obj1
= 0 ;
34247 char *kwnames
[] = {
34248 (char *) "self",(char *) "orient", NULL
34251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
34252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
34253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34254 arg2
= (int) SWIG_AsInt(obj1
);
34255 if (PyErr_Occurred()) SWIG_fail
;
34257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34258 (arg1
)->SetOrientation(arg2
);
34260 wxPyEndAllowThreads(__tstate
);
34261 if (PyErr_Occurred()) SWIG_fail
;
34263 Py_INCREF(Py_None
); resultobj
= Py_None
;
34270 static PyObject
*_wrap_BoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34271 PyObject
*resultobj
;
34272 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
34273 PyObject
* obj0
= 0 ;
34274 char *kwnames
[] = {
34275 (char *) "self", NULL
34278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
34280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34283 (arg1
)->RecalcSizes();
34285 wxPyEndAllowThreads(__tstate
);
34286 if (PyErr_Occurred()) SWIG_fail
;
34288 Py_INCREF(Py_None
); resultobj
= Py_None
;
34295 static PyObject
*_wrap_BoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34296 PyObject
*resultobj
;
34297 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
34299 PyObject
* obj0
= 0 ;
34300 char *kwnames
[] = {
34301 (char *) "self", NULL
34304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
34306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34309 result
= (arg1
)->CalcMin();
34311 wxPyEndAllowThreads(__tstate
);
34312 if (PyErr_Occurred()) SWIG_fail
;
34315 wxSize
* resultptr
;
34316 resultptr
= new wxSize((wxSize
&) result
);
34317 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34325 static PyObject
* BoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
34327 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34328 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
34330 return Py_BuildValue((char *)"");
34332 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34333 PyObject
*resultobj
;
34334 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
34335 int arg2
= (int) wxHORIZONTAL
;
34336 wxStaticBoxSizer
*result
;
34337 PyObject
* obj0
= 0 ;
34338 PyObject
* obj1
= 0 ;
34339 char *kwnames
[] = {
34340 (char *) "box",(char *) "orient", NULL
34343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
34344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
34345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34347 arg2
= (int) SWIG_AsInt(obj1
);
34348 if (PyErr_Occurred()) SWIG_fail
;
34351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34352 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
34354 wxPyEndAllowThreads(__tstate
);
34355 if (PyErr_Occurred()) SWIG_fail
;
34357 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
34364 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34365 PyObject
*resultobj
;
34366 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
34367 wxStaticBox
*result
;
34368 PyObject
* obj0
= 0 ;
34369 char *kwnames
[] = {
34370 (char *) "self", NULL
34373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
34374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
34375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34378 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
34380 wxPyEndAllowThreads(__tstate
);
34381 if (PyErr_Occurred()) SWIG_fail
;
34384 resultobj
= wxPyMake_wxObject(result
);
34392 static PyObject
*_wrap_StaticBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34393 PyObject
*resultobj
;
34394 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
34395 PyObject
* obj0
= 0 ;
34396 char *kwnames
[] = {
34397 (char *) "self", NULL
34400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
34402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34405 (arg1
)->RecalcSizes();
34407 wxPyEndAllowThreads(__tstate
);
34408 if (PyErr_Occurred()) SWIG_fail
;
34410 Py_INCREF(Py_None
); resultobj
= Py_None
;
34417 static PyObject
*_wrap_StaticBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34418 PyObject
*resultobj
;
34419 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
34421 PyObject
* obj0
= 0 ;
34422 char *kwnames
[] = {
34423 (char *) "self", NULL
34426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
34428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34431 result
= (arg1
)->CalcMin();
34433 wxPyEndAllowThreads(__tstate
);
34434 if (PyErr_Occurred()) SWIG_fail
;
34437 wxSize
* resultptr
;
34438 resultptr
= new wxSize((wxSize
&) result
);
34439 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34447 static PyObject
* StaticBoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
34449 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34450 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
34452 return Py_BuildValue((char *)"");
34454 static PyObject
*_wrap_new_GridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34455 PyObject
*resultobj
;
34456 int arg1
= (int) 1 ;
34457 int arg2
= (int) 0 ;
34458 int arg3
= (int) 0 ;
34459 int arg4
= (int) 0 ;
34460 wxGridSizer
*result
;
34461 PyObject
* obj0
= 0 ;
34462 PyObject
* obj1
= 0 ;
34463 PyObject
* obj2
= 0 ;
34464 PyObject
* obj3
= 0 ;
34465 char *kwnames
[] = {
34466 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
34469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34471 arg1
= (int) SWIG_AsInt(obj0
);
34472 if (PyErr_Occurred()) SWIG_fail
;
34475 arg2
= (int) SWIG_AsInt(obj1
);
34476 if (PyErr_Occurred()) SWIG_fail
;
34479 arg3
= (int) SWIG_AsInt(obj2
);
34480 if (PyErr_Occurred()) SWIG_fail
;
34483 arg4
= (int) SWIG_AsInt(obj3
);
34484 if (PyErr_Occurred()) SWIG_fail
;
34487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34488 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
34490 wxPyEndAllowThreads(__tstate
);
34491 if (PyErr_Occurred()) SWIG_fail
;
34493 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
34500 static PyObject
*_wrap_GridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34501 PyObject
*resultobj
;
34502 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34503 PyObject
* obj0
= 0 ;
34504 char *kwnames
[] = {
34505 (char *) "self", NULL
34508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
34510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34513 (arg1
)->RecalcSizes();
34515 wxPyEndAllowThreads(__tstate
);
34516 if (PyErr_Occurred()) SWIG_fail
;
34518 Py_INCREF(Py_None
); resultobj
= Py_None
;
34525 static PyObject
*_wrap_GridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34526 PyObject
*resultobj
;
34527 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34529 PyObject
* obj0
= 0 ;
34530 char *kwnames
[] = {
34531 (char *) "self", NULL
34534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
34536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34539 result
= (arg1
)->CalcMin();
34541 wxPyEndAllowThreads(__tstate
);
34542 if (PyErr_Occurred()) SWIG_fail
;
34545 wxSize
* resultptr
;
34546 resultptr
= new wxSize((wxSize
&) result
);
34547 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34555 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34556 PyObject
*resultobj
;
34557 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34559 PyObject
* obj0
= 0 ;
34560 PyObject
* obj1
= 0 ;
34561 char *kwnames
[] = {
34562 (char *) "self",(char *) "cols", NULL
34565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
34566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
34567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34568 arg2
= (int) SWIG_AsInt(obj1
);
34569 if (PyErr_Occurred()) SWIG_fail
;
34571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34572 (arg1
)->SetCols(arg2
);
34574 wxPyEndAllowThreads(__tstate
);
34575 if (PyErr_Occurred()) SWIG_fail
;
34577 Py_INCREF(Py_None
); resultobj
= Py_None
;
34584 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34585 PyObject
*resultobj
;
34586 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34588 PyObject
* obj0
= 0 ;
34589 PyObject
* obj1
= 0 ;
34590 char *kwnames
[] = {
34591 (char *) "self",(char *) "rows", NULL
34594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
34595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
34596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34597 arg2
= (int) SWIG_AsInt(obj1
);
34598 if (PyErr_Occurred()) SWIG_fail
;
34600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34601 (arg1
)->SetRows(arg2
);
34603 wxPyEndAllowThreads(__tstate
);
34604 if (PyErr_Occurred()) SWIG_fail
;
34606 Py_INCREF(Py_None
); resultobj
= Py_None
;
34613 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34614 PyObject
*resultobj
;
34615 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34617 PyObject
* obj0
= 0 ;
34618 PyObject
* obj1
= 0 ;
34619 char *kwnames
[] = {
34620 (char *) "self",(char *) "gap", NULL
34623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
34624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
34625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34626 arg2
= (int) SWIG_AsInt(obj1
);
34627 if (PyErr_Occurred()) SWIG_fail
;
34629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34630 (arg1
)->SetVGap(arg2
);
34632 wxPyEndAllowThreads(__tstate
);
34633 if (PyErr_Occurred()) SWIG_fail
;
34635 Py_INCREF(Py_None
); resultobj
= Py_None
;
34642 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34643 PyObject
*resultobj
;
34644 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34646 PyObject
* obj0
= 0 ;
34647 PyObject
* obj1
= 0 ;
34648 char *kwnames
[] = {
34649 (char *) "self",(char *) "gap", NULL
34652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
34653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
34654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34655 arg2
= (int) SWIG_AsInt(obj1
);
34656 if (PyErr_Occurred()) SWIG_fail
;
34658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34659 (arg1
)->SetHGap(arg2
);
34661 wxPyEndAllowThreads(__tstate
);
34662 if (PyErr_Occurred()) SWIG_fail
;
34664 Py_INCREF(Py_None
); resultobj
= Py_None
;
34671 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34672 PyObject
*resultobj
;
34673 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34675 PyObject
* obj0
= 0 ;
34676 char *kwnames
[] = {
34677 (char *) "self", NULL
34680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
34681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
34682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34685 result
= (int)(arg1
)->GetCols();
34687 wxPyEndAllowThreads(__tstate
);
34688 if (PyErr_Occurred()) SWIG_fail
;
34690 resultobj
= SWIG_FromInt((int)result
);
34697 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34698 PyObject
*resultobj
;
34699 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34701 PyObject
* obj0
= 0 ;
34702 char *kwnames
[] = {
34703 (char *) "self", NULL
34706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
34707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
34708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34711 result
= (int)(arg1
)->GetRows();
34713 wxPyEndAllowThreads(__tstate
);
34714 if (PyErr_Occurred()) SWIG_fail
;
34716 resultobj
= SWIG_FromInt((int)result
);
34723 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34724 PyObject
*resultobj
;
34725 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34727 PyObject
* obj0
= 0 ;
34728 char *kwnames
[] = {
34729 (char *) "self", NULL
34732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
34733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
34734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34737 result
= (int)(arg1
)->GetVGap();
34739 wxPyEndAllowThreads(__tstate
);
34740 if (PyErr_Occurred()) SWIG_fail
;
34742 resultobj
= SWIG_FromInt((int)result
);
34749 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34750 PyObject
*resultobj
;
34751 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34753 PyObject
* obj0
= 0 ;
34754 char *kwnames
[] = {
34755 (char *) "self", NULL
34758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
34759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
34760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34763 result
= (int)(arg1
)->GetHGap();
34765 wxPyEndAllowThreads(__tstate
);
34766 if (PyErr_Occurred()) SWIG_fail
;
34768 resultobj
= SWIG_FromInt((int)result
);
34775 static PyObject
* GridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
34777 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34778 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
34780 return Py_BuildValue((char *)"");
34782 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34783 PyObject
*resultobj
;
34784 int arg1
= (int) 1 ;
34785 int arg2
= (int) 0 ;
34786 int arg3
= (int) 0 ;
34787 int arg4
= (int) 0 ;
34788 wxFlexGridSizer
*result
;
34789 PyObject
* obj0
= 0 ;
34790 PyObject
* obj1
= 0 ;
34791 PyObject
* obj2
= 0 ;
34792 PyObject
* obj3
= 0 ;
34793 char *kwnames
[] = {
34794 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
34797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34799 arg1
= (int) SWIG_AsInt(obj0
);
34800 if (PyErr_Occurred()) SWIG_fail
;
34803 arg2
= (int) SWIG_AsInt(obj1
);
34804 if (PyErr_Occurred()) SWIG_fail
;
34807 arg3
= (int) SWIG_AsInt(obj2
);
34808 if (PyErr_Occurred()) SWIG_fail
;
34811 arg4
= (int) SWIG_AsInt(obj3
);
34812 if (PyErr_Occurred()) SWIG_fail
;
34815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34816 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
34818 wxPyEndAllowThreads(__tstate
);
34819 if (PyErr_Occurred()) SWIG_fail
;
34821 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
34828 static PyObject
*_wrap_FlexGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34829 PyObject
*resultobj
;
34830 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34831 PyObject
* obj0
= 0 ;
34832 char *kwnames
[] = {
34833 (char *) "self", NULL
34836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
34838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34841 (arg1
)->RecalcSizes();
34843 wxPyEndAllowThreads(__tstate
);
34844 if (PyErr_Occurred()) SWIG_fail
;
34846 Py_INCREF(Py_None
); resultobj
= Py_None
;
34853 static PyObject
*_wrap_FlexGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34854 PyObject
*resultobj
;
34855 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34857 PyObject
* obj0
= 0 ;
34858 char *kwnames
[] = {
34859 (char *) "self", NULL
34862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
34864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34867 result
= (arg1
)->CalcMin();
34869 wxPyEndAllowThreads(__tstate
);
34870 if (PyErr_Occurred()) SWIG_fail
;
34873 wxSize
* resultptr
;
34874 resultptr
= new wxSize((wxSize
&) result
);
34875 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34883 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34884 PyObject
*resultobj
;
34885 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34887 int arg3
= (int) 0 ;
34888 PyObject
* obj0
= 0 ;
34889 PyObject
* obj1
= 0 ;
34890 PyObject
* obj2
= 0 ;
34891 char *kwnames
[] = {
34892 (char *) "self",(char *) "idx",(char *) "proportion", NULL
34895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
34897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34898 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
34899 if (PyErr_Occurred()) SWIG_fail
;
34901 arg3
= (int) SWIG_AsInt(obj2
);
34902 if (PyErr_Occurred()) SWIG_fail
;
34905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34906 (arg1
)->AddGrowableRow(arg2
,arg3
);
34908 wxPyEndAllowThreads(__tstate
);
34909 if (PyErr_Occurred()) SWIG_fail
;
34911 Py_INCREF(Py_None
); resultobj
= Py_None
;
34918 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34919 PyObject
*resultobj
;
34920 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34922 PyObject
* obj0
= 0 ;
34923 PyObject
* obj1
= 0 ;
34924 char *kwnames
[] = {
34925 (char *) "self",(char *) "idx", NULL
34928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
34929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
34930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34931 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
34932 if (PyErr_Occurred()) SWIG_fail
;
34934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34935 (arg1
)->RemoveGrowableRow(arg2
);
34937 wxPyEndAllowThreads(__tstate
);
34938 if (PyErr_Occurred()) SWIG_fail
;
34940 Py_INCREF(Py_None
); resultobj
= Py_None
;
34947 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34948 PyObject
*resultobj
;
34949 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34951 int arg3
= (int) 0 ;
34952 PyObject
* obj0
= 0 ;
34953 PyObject
* obj1
= 0 ;
34954 PyObject
* obj2
= 0 ;
34955 char *kwnames
[] = {
34956 (char *) "self",(char *) "idx",(char *) "proportion", NULL
34959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
34961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34962 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
34963 if (PyErr_Occurred()) SWIG_fail
;
34965 arg3
= (int) SWIG_AsInt(obj2
);
34966 if (PyErr_Occurred()) SWIG_fail
;
34969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34970 (arg1
)->AddGrowableCol(arg2
,arg3
);
34972 wxPyEndAllowThreads(__tstate
);
34973 if (PyErr_Occurred()) SWIG_fail
;
34975 Py_INCREF(Py_None
); resultobj
= Py_None
;
34982 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34983 PyObject
*resultobj
;
34984 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34986 PyObject
* obj0
= 0 ;
34987 PyObject
* obj1
= 0 ;
34988 char *kwnames
[] = {
34989 (char *) "self",(char *) "idx", NULL
34992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
34993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
34994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34995 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
34996 if (PyErr_Occurred()) SWIG_fail
;
34998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34999 (arg1
)->RemoveGrowableCol(arg2
);
35001 wxPyEndAllowThreads(__tstate
);
35002 if (PyErr_Occurred()) SWIG_fail
;
35004 Py_INCREF(Py_None
); resultobj
= Py_None
;
35011 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35012 PyObject
*resultobj
;
35013 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35015 PyObject
* obj0
= 0 ;
35016 PyObject
* obj1
= 0 ;
35017 char *kwnames
[] = {
35018 (char *) "self",(char *) "direction", NULL
35021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
35022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35024 arg2
= (int) SWIG_AsInt(obj1
);
35025 if (PyErr_Occurred()) SWIG_fail
;
35027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35028 (arg1
)->SetFlexibleDirection(arg2
);
35030 wxPyEndAllowThreads(__tstate
);
35031 if (PyErr_Occurred()) SWIG_fail
;
35033 Py_INCREF(Py_None
); resultobj
= Py_None
;
35040 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35041 PyObject
*resultobj
;
35042 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35044 PyObject
* obj0
= 0 ;
35045 char *kwnames
[] = {
35046 (char *) "self", NULL
35049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
35050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35054 result
= (int)(arg1
)->GetFlexibleDirection();
35056 wxPyEndAllowThreads(__tstate
);
35057 if (PyErr_Occurred()) SWIG_fail
;
35059 resultobj
= SWIG_FromInt((int)result
);
35066 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35067 PyObject
*resultobj
;
35068 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35070 PyObject
* obj0
= 0 ;
35071 PyObject
* obj1
= 0 ;
35072 char *kwnames
[] = {
35073 (char *) "self",(char *) "mode", NULL
35076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
35077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35079 arg2
= (wxFlexSizerGrowMode
) SWIG_AsInt(obj1
);
35080 if (PyErr_Occurred()) SWIG_fail
;
35082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35083 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
35085 wxPyEndAllowThreads(__tstate
);
35086 if (PyErr_Occurred()) SWIG_fail
;
35088 Py_INCREF(Py_None
); resultobj
= Py_None
;
35095 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35096 PyObject
*resultobj
;
35097 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35099 PyObject
* obj0
= 0 ;
35100 char *kwnames
[] = {
35101 (char *) "self", NULL
35104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
35105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35109 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
35111 wxPyEndAllowThreads(__tstate
);
35112 if (PyErr_Occurred()) SWIG_fail
;
35114 resultobj
= SWIG_FromInt((int)result
);
35121 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35122 PyObject
*resultobj
;
35123 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35124 wxArrayInt
*result
;
35125 PyObject
* obj0
= 0 ;
35126 char *kwnames
[] = {
35127 (char *) "self", NULL
35130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
35131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35136 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
35137 result
= (wxArrayInt
*) &_result_ref
;
35140 wxPyEndAllowThreads(__tstate
);
35141 if (PyErr_Occurred()) SWIG_fail
;
35144 resultobj
= PyList_New(0);
35146 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
35147 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
35148 PyList_Append(resultobj
, val
);
35158 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35159 PyObject
*resultobj
;
35160 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35161 wxArrayInt
*result
;
35162 PyObject
* obj0
= 0 ;
35163 char *kwnames
[] = {
35164 (char *) "self", NULL
35167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
35168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35173 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
35174 result
= (wxArrayInt
*) &_result_ref
;
35177 wxPyEndAllowThreads(__tstate
);
35178 if (PyErr_Occurred()) SWIG_fail
;
35181 resultobj
= PyList_New(0);
35183 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
35184 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
35185 PyList_Append(resultobj
, val
);
35195 static PyObject
* FlexGridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
35197 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35198 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
35200 return Py_BuildValue((char *)"");
35202 static PyObject
*_wrap_new_GBPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35203 PyObject
*resultobj
;
35204 int arg1
= (int) 0 ;
35205 int arg2
= (int) 0 ;
35206 wxGBPosition
*result
;
35207 PyObject
* obj0
= 0 ;
35208 PyObject
* obj1
= 0 ;
35209 char *kwnames
[] = {
35210 (char *) "row",(char *) "col", NULL
35213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
35215 arg1
= (int) SWIG_AsInt(obj0
);
35216 if (PyErr_Occurred()) SWIG_fail
;
35219 arg2
= (int) SWIG_AsInt(obj1
);
35220 if (PyErr_Occurred()) SWIG_fail
;
35223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35224 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
35226 wxPyEndAllowThreads(__tstate
);
35227 if (PyErr_Occurred()) SWIG_fail
;
35229 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
35236 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35237 PyObject
*resultobj
;
35238 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35240 PyObject
* obj0
= 0 ;
35241 char *kwnames
[] = {
35242 (char *) "self", NULL
35245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
35246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
35247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35250 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
35252 wxPyEndAllowThreads(__tstate
);
35253 if (PyErr_Occurred()) SWIG_fail
;
35255 resultobj
= SWIG_FromInt((int)result
);
35262 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35263 PyObject
*resultobj
;
35264 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35266 PyObject
* obj0
= 0 ;
35267 char *kwnames
[] = {
35268 (char *) "self", NULL
35271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
35272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
35273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35276 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
35278 wxPyEndAllowThreads(__tstate
);
35279 if (PyErr_Occurred()) SWIG_fail
;
35281 resultobj
= SWIG_FromInt((int)result
);
35288 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35289 PyObject
*resultobj
;
35290 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35292 PyObject
* obj0
= 0 ;
35293 PyObject
* obj1
= 0 ;
35294 char *kwnames
[] = {
35295 (char *) "self",(char *) "row", NULL
35298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
35299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
35300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35301 arg2
= (int) SWIG_AsInt(obj1
);
35302 if (PyErr_Occurred()) SWIG_fail
;
35304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35305 (arg1
)->SetRow(arg2
);
35307 wxPyEndAllowThreads(__tstate
);
35308 if (PyErr_Occurred()) SWIG_fail
;
35310 Py_INCREF(Py_None
); resultobj
= Py_None
;
35317 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35318 PyObject
*resultobj
;
35319 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35321 PyObject
* obj0
= 0 ;
35322 PyObject
* obj1
= 0 ;
35323 char *kwnames
[] = {
35324 (char *) "self",(char *) "col", NULL
35327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
35328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
35329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35330 arg2
= (int) SWIG_AsInt(obj1
);
35331 if (PyErr_Occurred()) SWIG_fail
;
35333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35334 (arg1
)->SetCol(arg2
);
35336 wxPyEndAllowThreads(__tstate
);
35337 if (PyErr_Occurred()) SWIG_fail
;
35339 Py_INCREF(Py_None
); resultobj
= Py_None
;
35346 static PyObject
*_wrap_GBPosition___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35347 PyObject
*resultobj
;
35348 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35349 wxGBPosition
*arg2
= (wxGBPosition
*) 0 ;
35351 PyObject
* obj0
= 0 ;
35352 PyObject
* obj1
= 0 ;
35353 char *kwnames
[] = {
35354 (char *) "self",(char *) "other", NULL
35357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
35358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
35359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35360 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBPosition
,
35361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35364 result
= (bool)wxGBPosition___eq__(arg1
,(wxGBPosition
const *)arg2
);
35366 wxPyEndAllowThreads(__tstate
);
35367 if (PyErr_Occurred()) SWIG_fail
;
35369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35376 static PyObject
*_wrap_GBPosition___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35377 PyObject
*resultobj
;
35378 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35379 wxGBPosition
*arg2
= (wxGBPosition
*) 0 ;
35381 PyObject
* obj0
= 0 ;
35382 PyObject
* obj1
= 0 ;
35383 char *kwnames
[] = {
35384 (char *) "self",(char *) "other", NULL
35387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
35388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
35389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35390 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBPosition
,
35391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35394 result
= (bool)wxGBPosition___ne__(arg1
,(wxGBPosition
const *)arg2
);
35396 wxPyEndAllowThreads(__tstate
);
35397 if (PyErr_Occurred()) SWIG_fail
;
35399 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35406 static PyObject
*_wrap_GBPosition_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35407 PyObject
*resultobj
;
35408 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35409 int arg2
= (int) 0 ;
35410 int arg3
= (int) 0 ;
35411 PyObject
* obj0
= 0 ;
35412 PyObject
* obj1
= 0 ;
35413 PyObject
* obj2
= 0 ;
35414 char *kwnames
[] = {
35415 (char *) "self",(char *) "row",(char *) "col", NULL
35418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
35420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35422 arg2
= (int) SWIG_AsInt(obj1
);
35423 if (PyErr_Occurred()) SWIG_fail
;
35426 arg3
= (int) SWIG_AsInt(obj2
);
35427 if (PyErr_Occurred()) SWIG_fail
;
35430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35431 wxGBPosition_Set(arg1
,arg2
,arg3
);
35433 wxPyEndAllowThreads(__tstate
);
35434 if (PyErr_Occurred()) SWIG_fail
;
35436 Py_INCREF(Py_None
); resultobj
= Py_None
;
35443 static PyObject
*_wrap_GBPosition_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35444 PyObject
*resultobj
;
35445 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35447 PyObject
* obj0
= 0 ;
35448 char *kwnames
[] = {
35449 (char *) "self", NULL
35452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
35453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
35454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35457 result
= (PyObject
*)wxGBPosition_Get(arg1
);
35459 wxPyEndAllowThreads(__tstate
);
35460 if (PyErr_Occurred()) SWIG_fail
;
35462 resultobj
= result
;
35469 static PyObject
* GBPosition_swigregister(PyObject
*self
, PyObject
*args
) {
35471 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35472 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
35474 return Py_BuildValue((char *)"");
35476 static PyObject
*_wrap_new_GBSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35477 PyObject
*resultobj
;
35478 int arg1
= (int) 1 ;
35479 int arg2
= (int) 1 ;
35481 PyObject
* obj0
= 0 ;
35482 PyObject
* obj1
= 0 ;
35483 char *kwnames
[] = {
35484 (char *) "rowspan",(char *) "colspan", NULL
35487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
35489 arg1
= (int) SWIG_AsInt(obj0
);
35490 if (PyErr_Occurred()) SWIG_fail
;
35493 arg2
= (int) SWIG_AsInt(obj1
);
35494 if (PyErr_Occurred()) SWIG_fail
;
35497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35498 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
35500 wxPyEndAllowThreads(__tstate
);
35501 if (PyErr_Occurred()) SWIG_fail
;
35503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
35510 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35511 PyObject
*resultobj
;
35512 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35514 PyObject
* obj0
= 0 ;
35515 char *kwnames
[] = {
35516 (char *) "self", NULL
35519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
35520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
35521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35524 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
35526 wxPyEndAllowThreads(__tstate
);
35527 if (PyErr_Occurred()) SWIG_fail
;
35529 resultobj
= SWIG_FromInt((int)result
);
35536 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35537 PyObject
*resultobj
;
35538 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35540 PyObject
* obj0
= 0 ;
35541 char *kwnames
[] = {
35542 (char *) "self", NULL
35545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
35546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
35547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35550 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
35552 wxPyEndAllowThreads(__tstate
);
35553 if (PyErr_Occurred()) SWIG_fail
;
35555 resultobj
= SWIG_FromInt((int)result
);
35562 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35563 PyObject
*resultobj
;
35564 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35566 PyObject
* obj0
= 0 ;
35567 PyObject
* obj1
= 0 ;
35568 char *kwnames
[] = {
35569 (char *) "self",(char *) "rowspan", NULL
35572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
35573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
35574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35575 arg2
= (int) SWIG_AsInt(obj1
);
35576 if (PyErr_Occurred()) SWIG_fail
;
35578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35579 (arg1
)->SetRowspan(arg2
);
35581 wxPyEndAllowThreads(__tstate
);
35582 if (PyErr_Occurred()) SWIG_fail
;
35584 Py_INCREF(Py_None
); resultobj
= Py_None
;
35591 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35592 PyObject
*resultobj
;
35593 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35595 PyObject
* obj0
= 0 ;
35596 PyObject
* obj1
= 0 ;
35597 char *kwnames
[] = {
35598 (char *) "self",(char *) "colspan", NULL
35601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
35602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
35603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35604 arg2
= (int) SWIG_AsInt(obj1
);
35605 if (PyErr_Occurred()) SWIG_fail
;
35607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35608 (arg1
)->SetColspan(arg2
);
35610 wxPyEndAllowThreads(__tstate
);
35611 if (PyErr_Occurred()) SWIG_fail
;
35613 Py_INCREF(Py_None
); resultobj
= Py_None
;
35620 static PyObject
*_wrap_GBSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35621 PyObject
*resultobj
;
35622 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35623 wxGBSpan
*arg2
= (wxGBSpan
*) 0 ;
35625 PyObject
* obj0
= 0 ;
35626 PyObject
* obj1
= 0 ;
35627 char *kwnames
[] = {
35628 (char *) "self",(char *) "other", NULL
35631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
35632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
35633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35634 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSpan
,
35635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35638 result
= (bool)wxGBSpan___eq__(arg1
,(wxGBSpan
const *)arg2
);
35640 wxPyEndAllowThreads(__tstate
);
35641 if (PyErr_Occurred()) SWIG_fail
;
35643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35650 static PyObject
*_wrap_GBSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35651 PyObject
*resultobj
;
35652 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35653 wxGBSpan
*arg2
= (wxGBSpan
*) 0 ;
35655 PyObject
* obj0
= 0 ;
35656 PyObject
* obj1
= 0 ;
35657 char *kwnames
[] = {
35658 (char *) "self",(char *) "other", NULL
35661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
35662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
35663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35664 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSpan
,
35665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35668 result
= (bool)wxGBSpan___ne__(arg1
,(wxGBSpan
const *)arg2
);
35670 wxPyEndAllowThreads(__tstate
);
35671 if (PyErr_Occurred()) SWIG_fail
;
35673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35680 static PyObject
*_wrap_GBSpan_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35681 PyObject
*resultobj
;
35682 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35683 int arg2
= (int) 1 ;
35684 int arg3
= (int) 1 ;
35685 PyObject
* obj0
= 0 ;
35686 PyObject
* obj1
= 0 ;
35687 PyObject
* obj2
= 0 ;
35688 char *kwnames
[] = {
35689 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
35692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
35694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35696 arg2
= (int) SWIG_AsInt(obj1
);
35697 if (PyErr_Occurred()) SWIG_fail
;
35700 arg3
= (int) SWIG_AsInt(obj2
);
35701 if (PyErr_Occurred()) SWIG_fail
;
35704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35705 wxGBSpan_Set(arg1
,arg2
,arg3
);
35707 wxPyEndAllowThreads(__tstate
);
35708 if (PyErr_Occurred()) SWIG_fail
;
35710 Py_INCREF(Py_None
); resultobj
= Py_None
;
35717 static PyObject
*_wrap_GBSpan_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35718 PyObject
*resultobj
;
35719 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35721 PyObject
* obj0
= 0 ;
35722 char *kwnames
[] = {
35723 (char *) "self", NULL
35726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
35727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
35728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35731 result
= (PyObject
*)wxGBSpan_Get(arg1
);
35733 wxPyEndAllowThreads(__tstate
);
35734 if (PyErr_Occurred()) SWIG_fail
;
35736 resultobj
= result
;
35743 static PyObject
* GBSpan_swigregister(PyObject
*self
, PyObject
*args
) {
35745 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35746 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
35748 return Py_BuildValue((char *)"");
35750 static int _wrap_DefaultSpan_set(PyObject
*_val
) {
35751 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
35756 static PyObject
*_wrap_DefaultSpan_get() {
35759 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
35764 static PyObject
*_wrap_new_GBSizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35765 PyObject
*resultobj
;
35766 wxGBSizerItem
*result
;
35767 char *kwnames
[] = {
35771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
35773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35774 result
= (wxGBSizerItem
*)new wxGBSizerItem();
35776 wxPyEndAllowThreads(__tstate
);
35777 if (PyErr_Occurred()) SWIG_fail
;
35779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
35786 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35787 PyObject
*resultobj
;
35788 wxWindow
*arg1
= (wxWindow
*) 0 ;
35789 wxGBPosition
*arg2
= 0 ;
35790 wxGBSpan
*arg3
= 0 ;
35793 wxObject
*arg6
= (wxObject
*) 0 ;
35794 wxGBSizerItem
*result
;
35795 wxGBPosition temp2
;
35797 PyObject
* obj0
= 0 ;
35798 PyObject
* obj1
= 0 ;
35799 PyObject
* obj2
= 0 ;
35800 PyObject
* obj3
= 0 ;
35801 PyObject
* obj4
= 0 ;
35802 PyObject
* obj5
= 0 ;
35803 char *kwnames
[] = {
35804 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
35807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
35809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35812 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
35816 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
35818 arg4
= (int) SWIG_AsInt(obj3
);
35819 if (PyErr_Occurred()) SWIG_fail
;
35820 arg5
= (int) SWIG_AsInt(obj4
);
35821 if (PyErr_Occurred()) SWIG_fail
;
35822 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
35823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35826 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
35828 wxPyEndAllowThreads(__tstate
);
35829 if (PyErr_Occurred()) SWIG_fail
;
35831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
35838 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35839 PyObject
*resultobj
;
35840 wxSizer
*arg1
= (wxSizer
*) 0 ;
35841 wxGBPosition
*arg2
= 0 ;
35842 wxGBSpan
*arg3
= 0 ;
35845 wxObject
*arg6
= (wxObject
*) 0 ;
35846 wxGBSizerItem
*result
;
35847 wxGBPosition temp2
;
35849 PyObject
* obj0
= 0 ;
35850 PyObject
* obj1
= 0 ;
35851 PyObject
* obj2
= 0 ;
35852 PyObject
* obj3
= 0 ;
35853 PyObject
* obj4
= 0 ;
35854 PyObject
* obj5
= 0 ;
35855 char *kwnames
[] = {
35856 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
35859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35864 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
35868 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
35870 arg4
= (int) SWIG_AsInt(obj3
);
35871 if (PyErr_Occurred()) SWIG_fail
;
35872 arg5
= (int) SWIG_AsInt(obj4
);
35873 if (PyErr_Occurred()) SWIG_fail
;
35874 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
35875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35878 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
35880 wxPyEndAllowThreads(__tstate
);
35881 if (PyErr_Occurred()) SWIG_fail
;
35883 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
35890 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35891 PyObject
*resultobj
;
35894 wxGBPosition
*arg3
= 0 ;
35895 wxGBSpan
*arg4
= 0 ;
35898 wxObject
*arg7
= (wxObject
*) 0 ;
35899 wxGBSizerItem
*result
;
35900 wxGBPosition temp3
;
35902 PyObject
* obj0
= 0 ;
35903 PyObject
* obj1
= 0 ;
35904 PyObject
* obj2
= 0 ;
35905 PyObject
* obj3
= 0 ;
35906 PyObject
* obj4
= 0 ;
35907 PyObject
* obj5
= 0 ;
35908 PyObject
* obj6
= 0 ;
35909 char *kwnames
[] = {
35910 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
35913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
35914 arg1
= (int) SWIG_AsInt(obj0
);
35915 if (PyErr_Occurred()) SWIG_fail
;
35916 arg2
= (int) SWIG_AsInt(obj1
);
35917 if (PyErr_Occurred()) SWIG_fail
;
35920 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
35924 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
35926 arg5
= (int) SWIG_AsInt(obj4
);
35927 if (PyErr_Occurred()) SWIG_fail
;
35928 arg6
= (int) SWIG_AsInt(obj5
);
35929 if (PyErr_Occurred()) SWIG_fail
;
35930 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxObject
,
35931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35934 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
35936 wxPyEndAllowThreads(__tstate
);
35937 if (PyErr_Occurred()) SWIG_fail
;
35939 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
35946 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35947 PyObject
*resultobj
;
35948 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
35949 wxGBPosition result
;
35950 PyObject
* obj0
= 0 ;
35951 char *kwnames
[] = {
35952 (char *) "self", NULL
35955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
35956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
35957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35960 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
35962 wxPyEndAllowThreads(__tstate
);
35963 if (PyErr_Occurred()) SWIG_fail
;
35966 wxGBPosition
* resultptr
;
35967 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
35968 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
35976 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35977 PyObject
*resultobj
;
35978 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
35980 PyObject
* obj0
= 0 ;
35981 char *kwnames
[] = {
35982 (char *) "self", NULL
35985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
35986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
35987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35990 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
35992 wxPyEndAllowThreads(__tstate
);
35993 if (PyErr_Occurred()) SWIG_fail
;
35996 wxGBSpan
* resultptr
;
35997 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
35998 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
36006 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36007 PyObject
*resultobj
;
36008 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36009 wxGBPosition
*arg2
= 0 ;
36011 wxGBPosition temp2
;
36012 PyObject
* obj0
= 0 ;
36013 PyObject
* obj1
= 0 ;
36014 char *kwnames
[] = {
36015 (char *) "self",(char *) "pos", NULL
36018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
36019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36023 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36027 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
36029 wxPyEndAllowThreads(__tstate
);
36030 if (PyErr_Occurred()) SWIG_fail
;
36032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36039 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36040 PyObject
*resultobj
;
36041 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36042 wxGBSpan
*arg2
= 0 ;
36045 PyObject
* obj0
= 0 ;
36046 PyObject
* obj1
= 0 ;
36047 char *kwnames
[] = {
36048 (char *) "self",(char *) "span", NULL
36051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
36052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36056 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
36059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36060 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
36062 wxPyEndAllowThreads(__tstate
);
36063 if (PyErr_Occurred()) SWIG_fail
;
36065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36072 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_0(PyObject
*self
, PyObject
*args
) {
36073 PyObject
*resultobj
;
36074 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36075 wxGBSizerItem
*arg2
= 0 ;
36077 PyObject
* obj0
= 0 ;
36078 PyObject
* obj1
= 0 ;
36080 if(!PyArg_ParseTuple(args
,(char *)"OO:GBSizerItem_Intersects",&obj0
,&obj1
)) goto fail
;
36081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36083 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
36084 SWIG_POINTER_EXCEPTION
| 0)) == -1)
36086 if (arg2
== NULL
) {
36087 PyErr_SetString(PyExc_TypeError
,"null reference");
36091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36092 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
36094 wxPyEndAllowThreads(__tstate
);
36095 if (PyErr_Occurred()) SWIG_fail
;
36097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36104 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_1(PyObject
*self
, PyObject
*args
) {
36105 PyObject
*resultobj
;
36106 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36107 wxGBPosition
*arg2
= 0 ;
36108 wxGBSpan
*arg3
= 0 ;
36110 wxGBPosition temp2
;
36112 PyObject
* obj0
= 0 ;
36113 PyObject
* obj1
= 0 ;
36114 PyObject
* obj2
= 0 ;
36116 if(!PyArg_ParseTuple(args
,(char *)"OOO:GBSizerItem_Intersects",&obj0
,&obj1
,&obj2
)) goto fail
;
36117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36121 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36125 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
36128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36129 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
36131 wxPyEndAllowThreads(__tstate
);
36132 if (PyErr_Occurred()) SWIG_fail
;
36134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36141 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
) {
36146 argc
= PyObject_Length(args
);
36147 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
36148 argv
[ii
] = PyTuple_GetItem(args
,ii
);
36154 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
36164 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
36172 return _wrap_GBSizerItem_Intersects__SWIG_0(self
,args
);
36180 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
36189 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
36193 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
36196 return _wrap_GBSizerItem_Intersects__SWIG_1(self
,args
);
36202 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GBSizerItem_Intersects'");
36207 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36208 PyObject
*resultobj
;
36209 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36212 PyObject
* obj0
= 0 ;
36213 PyObject
* obj1
= 0 ;
36214 PyObject
* obj2
= 0 ;
36215 char *kwnames
[] = {
36216 (char *) "self",(char *) "row",(char *) "col", NULL
36219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_GetEndPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36222 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,
36223 SWIG_POINTER_EXCEPTION
| 0)) == -1)
36225 if (arg2
== NULL
) {
36226 PyErr_SetString(PyExc_TypeError
,"null reference");
36229 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,
36230 SWIG_POINTER_EXCEPTION
| 0)) == -1)
36232 if (arg3
== NULL
) {
36233 PyErr_SetString(PyExc_TypeError
,"null reference");
36237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36238 (arg1
)->GetEndPos(*arg2
,*arg3
);
36240 wxPyEndAllowThreads(__tstate
);
36241 if (PyErr_Occurred()) SWIG_fail
;
36243 Py_INCREF(Py_None
); resultobj
= Py_None
;
36250 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36251 PyObject
*resultobj
;
36252 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36253 wxGridBagSizer
*result
;
36254 PyObject
* obj0
= 0 ;
36255 char *kwnames
[] = {
36256 (char *) "self", NULL
36259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
36260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36264 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
36266 wxPyEndAllowThreads(__tstate
);
36267 if (PyErr_Occurred()) SWIG_fail
;
36269 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
36276 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36277 PyObject
*resultobj
;
36278 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36279 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
36280 PyObject
* obj0
= 0 ;
36281 PyObject
* obj1
= 0 ;
36282 char *kwnames
[] = {
36283 (char *) "self",(char *) "sizer", NULL
36286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
36287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36289 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
36290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36293 (arg1
)->SetGBSizer(arg2
);
36295 wxPyEndAllowThreads(__tstate
);
36296 if (PyErr_Occurred()) SWIG_fail
;
36298 Py_INCREF(Py_None
); resultobj
= Py_None
;
36305 static PyObject
* GBSizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
36307 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36308 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
36310 return Py_BuildValue((char *)"");
36312 static PyObject
*_wrap_new_GridBagSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36313 PyObject
*resultobj
;
36314 int arg1
= (int) 0 ;
36315 int arg2
= (int) 0 ;
36316 wxGridBagSizer
*result
;
36317 PyObject
* obj0
= 0 ;
36318 PyObject
* obj1
= 0 ;
36319 char *kwnames
[] = {
36320 (char *) "vgap",(char *) "hgap", NULL
36323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
36325 arg1
= (int) SWIG_AsInt(obj0
);
36326 if (PyErr_Occurred()) SWIG_fail
;
36329 arg2
= (int) SWIG_AsInt(obj1
);
36330 if (PyErr_Occurred()) SWIG_fail
;
36333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36334 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
36336 wxPyEndAllowThreads(__tstate
);
36337 if (PyErr_Occurred()) SWIG_fail
;
36339 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
36346 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36347 PyObject
*resultobj
;
36348 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36349 PyObject
*arg2
= (PyObject
*) 0 ;
36350 wxGBPosition
*arg3
= 0 ;
36351 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
36352 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
36353 int arg5
= (int) 0 ;
36354 int arg6
= (int) 0 ;
36355 PyObject
*arg7
= (PyObject
*) NULL
;
36357 wxGBPosition temp3
;
36359 PyObject
* obj0
= 0 ;
36360 PyObject
* obj1
= 0 ;
36361 PyObject
* obj2
= 0 ;
36362 PyObject
* obj3
= 0 ;
36363 PyObject
* obj4
= 0 ;
36364 PyObject
* obj5
= 0 ;
36365 PyObject
* obj6
= 0 ;
36366 char *kwnames
[] = {
36367 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
36370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
36371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36376 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
36381 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
36385 arg5
= (int) SWIG_AsInt(obj4
);
36386 if (PyErr_Occurred()) SWIG_fail
;
36389 arg6
= (int) SWIG_AsInt(obj5
);
36390 if (PyErr_Occurred()) SWIG_fail
;
36396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36397 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
36399 wxPyEndAllowThreads(__tstate
);
36400 if (PyErr_Occurred()) SWIG_fail
;
36402 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36409 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36410 PyObject
*resultobj
;
36411 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36412 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
36414 PyObject
* obj0
= 0 ;
36415 PyObject
* obj1
= 0 ;
36416 char *kwnames
[] = {
36417 (char *) "self",(char *) "item", NULL
36420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
36421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36423 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
36424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36427 result
= (bool)(arg1
)->Add(arg2
);
36429 wxPyEndAllowThreads(__tstate
);
36430 if (PyErr_Occurred()) SWIG_fail
;
36432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36439 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36440 PyObject
*resultobj
;
36441 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36443 PyObject
* obj0
= 0 ;
36444 char *kwnames
[] = {
36445 (char *) "self", NULL
36448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
36449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36453 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
36455 wxPyEndAllowThreads(__tstate
);
36456 if (PyErr_Occurred()) SWIG_fail
;
36459 wxSize
* resultptr
;
36460 resultptr
= new wxSize((wxSize
&) result
);
36461 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36469 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36470 PyObject
*resultobj
;
36471 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36474 PyObject
* obj0
= 0 ;
36475 PyObject
* obj1
= 0 ;
36476 char *kwnames
[] = {
36477 (char *) "self",(char *) "sz", NULL
36480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
36481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36485 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
36488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36489 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
36491 wxPyEndAllowThreads(__tstate
);
36492 if (PyErr_Occurred()) SWIG_fail
;
36494 Py_INCREF(Py_None
); resultobj
= Py_None
;
36501 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
36502 PyObject
*resultobj
;
36503 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36504 wxWindow
*arg2
= (wxWindow
*) 0 ;
36505 wxGBPosition result
;
36506 PyObject
* obj0
= 0 ;
36507 PyObject
* obj1
= 0 ;
36509 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
36510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36512 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36516 result
= (arg1
)->GetItemPosition(arg2
);
36518 wxPyEndAllowThreads(__tstate
);
36519 if (PyErr_Occurred()) SWIG_fail
;
36522 wxGBPosition
* resultptr
;
36523 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
36524 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
36532 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
36533 PyObject
*resultobj
;
36534 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36535 wxSizer
*arg2
= (wxSizer
*) 0 ;
36536 wxGBPosition result
;
36537 PyObject
* obj0
= 0 ;
36538 PyObject
* obj1
= 0 ;
36540 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
36541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36543 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
36544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36547 result
= (arg1
)->GetItemPosition(arg2
);
36549 wxPyEndAllowThreads(__tstate
);
36550 if (PyErr_Occurred()) SWIG_fail
;
36553 wxGBPosition
* resultptr
;
36554 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
36555 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
36563 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
36564 PyObject
*resultobj
;
36565 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36567 wxGBPosition result
;
36568 PyObject
* obj0
= 0 ;
36569 PyObject
* obj1
= 0 ;
36571 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
36572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36574 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36575 if (PyErr_Occurred()) SWIG_fail
;
36577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36578 result
= (arg1
)->GetItemPosition(arg2
);
36580 wxPyEndAllowThreads(__tstate
);
36581 if (PyErr_Occurred()) SWIG_fail
;
36584 wxGBPosition
* resultptr
;
36585 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
36586 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
36594 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
36599 argc
= PyObject_Length(args
);
36600 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
36601 argv
[ii
] = PyTuple_GetItem(args
,ii
);
36607 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36617 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
36625 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
36633 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36643 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
36651 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
36659 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36667 _v
= SWIG_CheckUnsignedLong(argv
[1]);
36669 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
36674 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
36679 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
36680 PyObject
*resultobj
;
36681 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36682 wxWindow
*arg2
= (wxWindow
*) 0 ;
36683 wxGBPosition
*arg3
= 0 ;
36685 wxGBPosition temp3
;
36686 PyObject
* obj0
= 0 ;
36687 PyObject
* obj1
= 0 ;
36688 PyObject
* obj2
= 0 ;
36690 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
36691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36693 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36697 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
36700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36701 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
36703 wxPyEndAllowThreads(__tstate
);
36704 if (PyErr_Occurred()) SWIG_fail
;
36706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36713 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
36714 PyObject
*resultobj
;
36715 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36716 wxSizer
*arg2
= (wxSizer
*) 0 ;
36717 wxGBPosition
*arg3
= 0 ;
36719 wxGBPosition temp3
;
36720 PyObject
* obj0
= 0 ;
36721 PyObject
* obj1
= 0 ;
36722 PyObject
* obj2
= 0 ;
36724 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
36725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36727 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
36728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36731 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
36734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36735 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
36737 wxPyEndAllowThreads(__tstate
);
36738 if (PyErr_Occurred()) SWIG_fail
;
36740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36747 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
36748 PyObject
*resultobj
;
36749 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36751 wxGBPosition
*arg3
= 0 ;
36753 wxGBPosition temp3
;
36754 PyObject
* obj0
= 0 ;
36755 PyObject
* obj1
= 0 ;
36756 PyObject
* obj2
= 0 ;
36758 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
36759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36761 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36762 if (PyErr_Occurred()) SWIG_fail
;
36765 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
36768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36769 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
36771 wxPyEndAllowThreads(__tstate
);
36772 if (PyErr_Occurred()) SWIG_fail
;
36774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36781 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
36786 argc
= PyObject_Length(args
);
36787 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
36788 argv
[ii
] = PyTuple_GetItem(args
,ii
);
36794 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36804 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
36813 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
36816 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
36825 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36835 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
36844 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
36847 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
36856 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36864 _v
= SWIG_CheckUnsignedLong(argv
[1]);
36867 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
36870 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
36876 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
36881 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
36882 PyObject
*resultobj
;
36883 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36884 wxWindow
*arg2
= (wxWindow
*) 0 ;
36886 PyObject
* obj0
= 0 ;
36887 PyObject
* obj1
= 0 ;
36889 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
36890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36892 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36896 result
= (arg1
)->GetItemSpan(arg2
);
36898 wxPyEndAllowThreads(__tstate
);
36899 if (PyErr_Occurred()) SWIG_fail
;
36902 wxGBSpan
* resultptr
;
36903 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
36904 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
36912 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
36913 PyObject
*resultobj
;
36914 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36915 wxSizer
*arg2
= (wxSizer
*) 0 ;
36917 PyObject
* obj0
= 0 ;
36918 PyObject
* obj1
= 0 ;
36920 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
36921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36923 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
36924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36927 result
= (arg1
)->GetItemSpan(arg2
);
36929 wxPyEndAllowThreads(__tstate
);
36930 if (PyErr_Occurred()) SWIG_fail
;
36933 wxGBSpan
* resultptr
;
36934 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
36935 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
36943 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
36944 PyObject
*resultobj
;
36945 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36948 PyObject
* obj0
= 0 ;
36949 PyObject
* obj1
= 0 ;
36951 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
36952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36954 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36955 if (PyErr_Occurred()) SWIG_fail
;
36957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36958 result
= (arg1
)->GetItemSpan(arg2
);
36960 wxPyEndAllowThreads(__tstate
);
36961 if (PyErr_Occurred()) SWIG_fail
;
36964 wxGBSpan
* resultptr
;
36965 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
36966 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
36974 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
36979 argc
= PyObject_Length(args
);
36980 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
36981 argv
[ii
] = PyTuple_GetItem(args
,ii
);
36987 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36997 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37005 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
37013 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37023 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
37031 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
37039 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37047 _v
= SWIG_CheckUnsignedLong(argv
[1]);
37049 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
37054 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
37059 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
37060 PyObject
*resultobj
;
37061 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37062 wxWindow
*arg2
= (wxWindow
*) 0 ;
37063 wxGBSpan
*arg3
= 0 ;
37066 PyObject
* obj0
= 0 ;
37067 PyObject
* obj1
= 0 ;
37068 PyObject
* obj2
= 0 ;
37070 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
37071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37073 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37077 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37081 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
37083 wxPyEndAllowThreads(__tstate
);
37084 if (PyErr_Occurred()) SWIG_fail
;
37086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37093 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
37094 PyObject
*resultobj
;
37095 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37096 wxSizer
*arg2
= (wxSizer
*) 0 ;
37097 wxGBSpan
*arg3
= 0 ;
37100 PyObject
* obj0
= 0 ;
37101 PyObject
* obj1
= 0 ;
37102 PyObject
* obj2
= 0 ;
37104 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
37105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37107 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
37108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37111 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37115 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
37117 wxPyEndAllowThreads(__tstate
);
37118 if (PyErr_Occurred()) SWIG_fail
;
37120 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37127 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
37128 PyObject
*resultobj
;
37129 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37131 wxGBSpan
*arg3
= 0 ;
37134 PyObject
* obj0
= 0 ;
37135 PyObject
* obj1
= 0 ;
37136 PyObject
* obj2
= 0 ;
37138 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
37139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37141 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
37142 if (PyErr_Occurred()) SWIG_fail
;
37145 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37149 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
37151 wxPyEndAllowThreads(__tstate
);
37152 if (PyErr_Occurred()) SWIG_fail
;
37154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37161 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
37166 argc
= PyObject_Length(args
);
37167 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
37168 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37174 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37184 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37193 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
37196 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
37205 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37215 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
37224 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
37227 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
37236 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37244 _v
= SWIG_CheckUnsignedLong(argv
[1]);
37247 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
37250 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
37256 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
37261 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*self
, PyObject
*args
) {
37262 PyObject
*resultobj
;
37263 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37264 wxWindow
*arg2
= (wxWindow
*) 0 ;
37265 wxGBSizerItem
*result
;
37266 PyObject
* obj0
= 0 ;
37267 PyObject
* obj1
= 0 ;
37269 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
37270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37272 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37276 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
37278 wxPyEndAllowThreads(__tstate
);
37279 if (PyErr_Occurred()) SWIG_fail
;
37281 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
37288 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*self
, PyObject
*args
) {
37289 PyObject
*resultobj
;
37290 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37291 wxSizer
*arg2
= (wxSizer
*) 0 ;
37292 wxGBSizerItem
*result
;
37293 PyObject
* obj0
= 0 ;
37294 PyObject
* obj1
= 0 ;
37296 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
37297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37299 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
37300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37303 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
37305 wxPyEndAllowThreads(__tstate
);
37306 if (PyErr_Occurred()) SWIG_fail
;
37308 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
37315 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
37320 argc
= PyObject_Length(args
);
37321 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
37322 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37328 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37338 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37346 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
37354 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37364 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
37372 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
37377 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
37382 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37383 PyObject
*resultobj
;
37384 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37385 wxGBPosition
*arg2
= 0 ;
37386 wxGBSizerItem
*result
;
37387 wxGBPosition temp2
;
37388 PyObject
* obj0
= 0 ;
37389 PyObject
* obj1
= 0 ;
37390 char *kwnames
[] = {
37391 (char *) "self",(char *) "pos", NULL
37394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
37395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37399 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37403 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
37405 wxPyEndAllowThreads(__tstate
);
37406 if (PyErr_Occurred()) SWIG_fail
;
37408 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
37415 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37416 PyObject
*resultobj
;
37417 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37418 wxPoint
*arg2
= 0 ;
37419 wxGBSizerItem
*result
;
37421 PyObject
* obj0
= 0 ;
37422 PyObject
* obj1
= 0 ;
37423 char *kwnames
[] = {
37424 (char *) "self",(char *) "pt", NULL
37427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
37428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37432 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37436 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
37438 wxPyEndAllowThreads(__tstate
);
37439 if (PyErr_Occurred()) SWIG_fail
;
37441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
37448 static PyObject
*_wrap_GridBagSizer_FindItemWithData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37449 PyObject
*resultobj
;
37450 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37451 wxObject
*arg2
= (wxObject
*) 0 ;
37452 wxGBSizerItem
*result
;
37453 PyObject
* obj0
= 0 ;
37454 PyObject
* obj1
= 0 ;
37455 char *kwnames
[] = {
37456 (char *) "self",(char *) "userData", NULL
37459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemWithData",kwnames
,&obj0
,&obj1
)) goto fail
;
37460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37462 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
37463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37466 result
= (wxGBSizerItem
*)(arg1
)->FindItemWithData((wxObject
const *)arg2
);
37468 wxPyEndAllowThreads(__tstate
);
37469 if (PyErr_Occurred()) SWIG_fail
;
37471 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
37478 static PyObject
*_wrap_GridBagSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37479 PyObject
*resultobj
;
37480 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37481 PyObject
* obj0
= 0 ;
37482 char *kwnames
[] = {
37483 (char *) "self", NULL
37486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
37487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37491 (arg1
)->RecalcSizes();
37493 wxPyEndAllowThreads(__tstate
);
37494 if (PyErr_Occurred()) SWIG_fail
;
37496 Py_INCREF(Py_None
); resultobj
= Py_None
;
37503 static PyObject
*_wrap_GridBagSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37504 PyObject
*resultobj
;
37505 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37507 PyObject
* obj0
= 0 ;
37508 char *kwnames
[] = {
37509 (char *) "self", NULL
37512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
37513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37517 result
= (arg1
)->CalcMin();
37519 wxPyEndAllowThreads(__tstate
);
37520 if (PyErr_Occurred()) SWIG_fail
;
37523 wxSize
* resultptr
;
37524 resultptr
= new wxSize((wxSize
&) result
);
37525 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37533 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject
*self
, PyObject
*args
) {
37534 PyObject
*resultobj
;
37535 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37536 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
37537 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
37539 PyObject
* obj0
= 0 ;
37540 PyObject
* obj1
= 0 ;
37541 PyObject
* obj2
= 0 ;
37543 if(!PyArg_ParseTuple(args
,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
)) goto fail
;
37544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37546 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
37547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37549 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
37550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37554 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
37556 wxPyEndAllowThreads(__tstate
);
37557 if (PyErr_Occurred()) SWIG_fail
;
37559 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37566 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject
*self
, PyObject
*args
) {
37567 PyObject
*resultobj
;
37568 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37569 wxGBPosition
*arg2
= 0 ;
37570 wxGBSpan
*arg3
= 0 ;
37571 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
37573 wxGBPosition temp2
;
37575 PyObject
* obj0
= 0 ;
37576 PyObject
* obj1
= 0 ;
37577 PyObject
* obj2
= 0 ;
37578 PyObject
* obj3
= 0 ;
37580 if(!PyArg_ParseTuple(args
,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37585 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37589 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37592 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
37593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37597 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
37599 wxPyEndAllowThreads(__tstate
);
37600 if (PyErr_Occurred()) SWIG_fail
;
37602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37609 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
) {
37614 argc
= PyObject_Length(args
);
37615 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
37616 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37618 if ((argc
>= 2) && (argc
<= 3)) {
37622 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37632 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37641 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
37645 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37653 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
37658 if ((argc
>= 3) && (argc
<= 4)) {
37662 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37671 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
37675 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
37679 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
37683 if (SWIG_ConvertPtr(argv
[3], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37691 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
37698 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
37703 static PyObject
* GridBagSizer_swigregister(PyObject
*self
, PyObject
*args
) {
37705 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37706 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
37708 return Py_BuildValue((char *)"");
37710 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37711 PyObject
*resultobj
;
37712 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37714 wxWindow
*arg3
= (wxWindow
*) 0 ;
37716 int arg5
= (int) 0 ;
37717 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
37718 PyObject
* obj0
= 0 ;
37719 PyObject
* obj1
= 0 ;
37720 PyObject
* obj2
= 0 ;
37721 PyObject
* obj3
= 0 ;
37722 PyObject
* obj4
= 0 ;
37723 PyObject
* obj5
= 0 ;
37724 char *kwnames
[] = {
37725 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
37728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
37730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37731 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
37732 if (PyErr_Occurred()) SWIG_fail
;
37733 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
37734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37735 arg4
= (wxEdge
) SWIG_AsInt(obj3
);
37736 if (PyErr_Occurred()) SWIG_fail
;
37738 arg5
= (int) SWIG_AsInt(obj4
);
37739 if (PyErr_Occurred()) SWIG_fail
;
37742 arg6
= (int) SWIG_AsInt(obj5
);
37743 if (PyErr_Occurred()) SWIG_fail
;
37746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37747 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
37749 wxPyEndAllowThreads(__tstate
);
37750 if (PyErr_Occurred()) SWIG_fail
;
37752 Py_INCREF(Py_None
); resultobj
= Py_None
;
37759 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37760 PyObject
*resultobj
;
37761 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37762 wxWindow
*arg2
= (wxWindow
*) 0 ;
37763 int arg3
= (int) 0 ;
37764 PyObject
* obj0
= 0 ;
37765 PyObject
* obj1
= 0 ;
37766 PyObject
* obj2
= 0 ;
37767 char *kwnames
[] = {
37768 (char *) "self",(char *) "sibling",(char *) "marg", NULL
37771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
37773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37774 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37777 arg3
= (int) SWIG_AsInt(obj2
);
37778 if (PyErr_Occurred()) SWIG_fail
;
37781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37782 (arg1
)->LeftOf(arg2
,arg3
);
37784 wxPyEndAllowThreads(__tstate
);
37785 if (PyErr_Occurred()) SWIG_fail
;
37787 Py_INCREF(Py_None
); resultobj
= Py_None
;
37794 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37795 PyObject
*resultobj
;
37796 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37797 wxWindow
*arg2
= (wxWindow
*) 0 ;
37798 int arg3
= (int) 0 ;
37799 PyObject
* obj0
= 0 ;
37800 PyObject
* obj1
= 0 ;
37801 PyObject
* obj2
= 0 ;
37802 char *kwnames
[] = {
37803 (char *) "self",(char *) "sibling",(char *) "marg", NULL
37806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
37808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37809 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37812 arg3
= (int) SWIG_AsInt(obj2
);
37813 if (PyErr_Occurred()) SWIG_fail
;
37816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37817 (arg1
)->RightOf(arg2
,arg3
);
37819 wxPyEndAllowThreads(__tstate
);
37820 if (PyErr_Occurred()) SWIG_fail
;
37822 Py_INCREF(Py_None
); resultobj
= Py_None
;
37829 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37830 PyObject
*resultobj
;
37831 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37832 wxWindow
*arg2
= (wxWindow
*) 0 ;
37833 int arg3
= (int) 0 ;
37834 PyObject
* obj0
= 0 ;
37835 PyObject
* obj1
= 0 ;
37836 PyObject
* obj2
= 0 ;
37837 char *kwnames
[] = {
37838 (char *) "self",(char *) "sibling",(char *) "marg", NULL
37841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
37843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37844 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37847 arg3
= (int) SWIG_AsInt(obj2
);
37848 if (PyErr_Occurred()) SWIG_fail
;
37851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37852 (arg1
)->Above(arg2
,arg3
);
37854 wxPyEndAllowThreads(__tstate
);
37855 if (PyErr_Occurred()) SWIG_fail
;
37857 Py_INCREF(Py_None
); resultobj
= Py_None
;
37864 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37865 PyObject
*resultobj
;
37866 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37867 wxWindow
*arg2
= (wxWindow
*) 0 ;
37868 int arg3
= (int) 0 ;
37869 PyObject
* obj0
= 0 ;
37870 PyObject
* obj1
= 0 ;
37871 PyObject
* obj2
= 0 ;
37872 char *kwnames
[] = {
37873 (char *) "self",(char *) "sibling",(char *) "marg", NULL
37876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
37878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37879 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37882 arg3
= (int) SWIG_AsInt(obj2
);
37883 if (PyErr_Occurred()) SWIG_fail
;
37886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37887 (arg1
)->Below(arg2
,arg3
);
37889 wxPyEndAllowThreads(__tstate
);
37890 if (PyErr_Occurred()) SWIG_fail
;
37892 Py_INCREF(Py_None
); resultobj
= Py_None
;
37899 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37900 PyObject
*resultobj
;
37901 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37902 wxWindow
*arg2
= (wxWindow
*) 0 ;
37904 int arg4
= (int) 0 ;
37905 PyObject
* obj0
= 0 ;
37906 PyObject
* obj1
= 0 ;
37907 PyObject
* obj2
= 0 ;
37908 PyObject
* obj3
= 0 ;
37909 char *kwnames
[] = {
37910 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
37913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
37915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37916 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37918 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
37919 if (PyErr_Occurred()) SWIG_fail
;
37921 arg4
= (int) SWIG_AsInt(obj3
);
37922 if (PyErr_Occurred()) SWIG_fail
;
37925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37926 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
37928 wxPyEndAllowThreads(__tstate
);
37929 if (PyErr_Occurred()) SWIG_fail
;
37931 Py_INCREF(Py_None
); resultobj
= Py_None
;
37938 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37939 PyObject
*resultobj
;
37940 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37941 wxWindow
*arg2
= (wxWindow
*) 0 ;
37944 PyObject
* obj0
= 0 ;
37945 PyObject
* obj1
= 0 ;
37946 PyObject
* obj2
= 0 ;
37947 PyObject
* obj3
= 0 ;
37948 char *kwnames
[] = {
37949 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
37952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
37954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37955 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37957 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
37958 if (PyErr_Occurred()) SWIG_fail
;
37959 arg4
= (int) SWIG_AsInt(obj3
);
37960 if (PyErr_Occurred()) SWIG_fail
;
37962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37963 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
37965 wxPyEndAllowThreads(__tstate
);
37966 if (PyErr_Occurred()) SWIG_fail
;
37968 Py_INCREF(Py_None
); resultobj
= Py_None
;
37975 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37976 PyObject
*resultobj
;
37977 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37979 PyObject
* obj0
= 0 ;
37980 PyObject
* obj1
= 0 ;
37981 char *kwnames
[] = {
37982 (char *) "self",(char *) "val", NULL
37985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
37986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
37987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37988 arg2
= (int) SWIG_AsInt(obj1
);
37989 if (PyErr_Occurred()) SWIG_fail
;
37991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37992 (arg1
)->Absolute(arg2
);
37994 wxPyEndAllowThreads(__tstate
);
37995 if (PyErr_Occurred()) SWIG_fail
;
37997 Py_INCREF(Py_None
); resultobj
= Py_None
;
38004 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38005 PyObject
*resultobj
;
38006 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38007 PyObject
* obj0
= 0 ;
38008 char *kwnames
[] = {
38009 (char *) "self", NULL
38012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
38013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38017 (arg1
)->Unconstrained();
38019 wxPyEndAllowThreads(__tstate
);
38020 if (PyErr_Occurred()) SWIG_fail
;
38022 Py_INCREF(Py_None
); resultobj
= Py_None
;
38029 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38030 PyObject
*resultobj
;
38031 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38032 PyObject
* obj0
= 0 ;
38033 char *kwnames
[] = {
38034 (char *) "self", NULL
38037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
38038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38044 wxPyEndAllowThreads(__tstate
);
38045 if (PyErr_Occurred()) SWIG_fail
;
38047 Py_INCREF(Py_None
); resultobj
= Py_None
;
38054 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38055 PyObject
*resultobj
;
38056 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38058 PyObject
* obj0
= 0 ;
38059 char *kwnames
[] = {
38060 (char *) "self", NULL
38063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
38064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38068 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
38070 wxPyEndAllowThreads(__tstate
);
38071 if (PyErr_Occurred()) SWIG_fail
;
38074 resultobj
= wxPyMake_wxObject(result
);
38082 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38083 PyObject
*resultobj
;
38084 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38086 PyObject
* obj0
= 0 ;
38087 char *kwnames
[] = {
38088 (char *) "self", NULL
38091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
38092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38096 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
38098 wxPyEndAllowThreads(__tstate
);
38099 if (PyErr_Occurred()) SWIG_fail
;
38101 resultobj
= SWIG_FromInt((int)result
);
38108 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38109 PyObject
*resultobj
;
38110 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38112 PyObject
* obj0
= 0 ;
38113 PyObject
* obj1
= 0 ;
38114 char *kwnames
[] = {
38115 (char *) "self",(char *) "which", NULL
38118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
38119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38121 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
38122 if (PyErr_Occurred()) SWIG_fail
;
38124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38125 (arg1
)->SetEdge((wxEdge
)arg2
);
38127 wxPyEndAllowThreads(__tstate
);
38128 if (PyErr_Occurred()) SWIG_fail
;
38130 Py_INCREF(Py_None
); resultobj
= Py_None
;
38137 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38138 PyObject
*resultobj
;
38139 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38141 PyObject
* obj0
= 0 ;
38142 PyObject
* obj1
= 0 ;
38143 char *kwnames
[] = {
38144 (char *) "self",(char *) "v", NULL
38147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
38148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38150 arg2
= (int) SWIG_AsInt(obj1
);
38151 if (PyErr_Occurred()) SWIG_fail
;
38153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38154 (arg1
)->SetValue(arg2
);
38156 wxPyEndAllowThreads(__tstate
);
38157 if (PyErr_Occurred()) SWIG_fail
;
38159 Py_INCREF(Py_None
); resultobj
= Py_None
;
38166 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38167 PyObject
*resultobj
;
38168 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38170 PyObject
* obj0
= 0 ;
38171 char *kwnames
[] = {
38172 (char *) "self", NULL
38175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
38176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38180 result
= (int)(arg1
)->GetMargin();
38182 wxPyEndAllowThreads(__tstate
);
38183 if (PyErr_Occurred()) SWIG_fail
;
38185 resultobj
= SWIG_FromInt((int)result
);
38192 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38193 PyObject
*resultobj
;
38194 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38196 PyObject
* obj0
= 0 ;
38197 PyObject
* obj1
= 0 ;
38198 char *kwnames
[] = {
38199 (char *) "self",(char *) "m", NULL
38202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
38203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38205 arg2
= (int) SWIG_AsInt(obj1
);
38206 if (PyErr_Occurred()) SWIG_fail
;
38208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38209 (arg1
)->SetMargin(arg2
);
38211 wxPyEndAllowThreads(__tstate
);
38212 if (PyErr_Occurred()) SWIG_fail
;
38214 Py_INCREF(Py_None
); resultobj
= Py_None
;
38221 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38222 PyObject
*resultobj
;
38223 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38225 PyObject
* obj0
= 0 ;
38226 char *kwnames
[] = {
38227 (char *) "self", NULL
38230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
38231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38235 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
38237 wxPyEndAllowThreads(__tstate
);
38238 if (PyErr_Occurred()) SWIG_fail
;
38240 resultobj
= SWIG_FromInt((int)result
);
38247 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38248 PyObject
*resultobj
;
38249 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38251 PyObject
* obj0
= 0 ;
38252 char *kwnames
[] = {
38253 (char *) "self", NULL
38256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
38257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38261 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
38263 wxPyEndAllowThreads(__tstate
);
38264 if (PyErr_Occurred()) SWIG_fail
;
38266 resultobj
= SWIG_FromInt((int)result
);
38273 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38274 PyObject
*resultobj
;
38275 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38277 PyObject
* obj0
= 0 ;
38278 char *kwnames
[] = {
38279 (char *) "self", NULL
38282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
38283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38287 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
38289 wxPyEndAllowThreads(__tstate
);
38290 if (PyErr_Occurred()) SWIG_fail
;
38292 resultobj
= SWIG_FromInt((int)result
);
38299 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38300 PyObject
*resultobj
;
38301 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38303 PyObject
* obj0
= 0 ;
38304 char *kwnames
[] = {
38305 (char *) "self", NULL
38308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
38309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38313 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
38315 wxPyEndAllowThreads(__tstate
);
38316 if (PyErr_Occurred()) SWIG_fail
;
38318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38325 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38326 PyObject
*resultobj
;
38327 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38329 PyObject
* obj0
= 0 ;
38330 PyObject
* obj1
= 0 ;
38331 char *kwnames
[] = {
38332 (char *) "self",(char *) "d", NULL
38335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
38336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38338 arg2
= (bool) SWIG_AsBool(obj1
);
38339 if (PyErr_Occurred()) SWIG_fail
;
38341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38342 (arg1
)->SetDone(arg2
);
38344 wxPyEndAllowThreads(__tstate
);
38345 if (PyErr_Occurred()) SWIG_fail
;
38347 Py_INCREF(Py_None
); resultobj
= Py_None
;
38354 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38355 PyObject
*resultobj
;
38356 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38358 PyObject
* obj0
= 0 ;
38359 char *kwnames
[] = {
38360 (char *) "self", NULL
38363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
38364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38368 result
= (int)(arg1
)->GetRelationship();
38370 wxPyEndAllowThreads(__tstate
);
38371 if (PyErr_Occurred()) SWIG_fail
;
38373 resultobj
= SWIG_FromInt((int)result
);
38380 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38381 PyObject
*resultobj
;
38382 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38384 PyObject
* obj0
= 0 ;
38385 PyObject
* obj1
= 0 ;
38386 char *kwnames
[] = {
38387 (char *) "self",(char *) "r", NULL
38390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
38391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38393 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
38394 if (PyErr_Occurred()) SWIG_fail
;
38396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38397 (arg1
)->SetRelationship((wxRelationship
)arg2
);
38399 wxPyEndAllowThreads(__tstate
);
38400 if (PyErr_Occurred()) SWIG_fail
;
38402 Py_INCREF(Py_None
); resultobj
= Py_None
;
38409 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38410 PyObject
*resultobj
;
38411 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38412 wxWindow
*arg2
= (wxWindow
*) 0 ;
38414 PyObject
* obj0
= 0 ;
38415 PyObject
* obj1
= 0 ;
38416 char *kwnames
[] = {
38417 (char *) "self",(char *) "otherW", NULL
38420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
38421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38423 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38427 result
= (bool)(arg1
)->ResetIfWin(arg2
);
38429 wxPyEndAllowThreads(__tstate
);
38430 if (PyErr_Occurred()) SWIG_fail
;
38432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38439 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38440 PyObject
*resultobj
;
38441 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38442 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
38443 wxWindow
*arg3
= (wxWindow
*) 0 ;
38445 PyObject
* obj0
= 0 ;
38446 PyObject
* obj1
= 0 ;
38447 PyObject
* obj2
= 0 ;
38448 char *kwnames
[] = {
38449 (char *) "self",(char *) "constraints",(char *) "win", NULL
38452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38455 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
38456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38457 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
38458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38461 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
38463 wxPyEndAllowThreads(__tstate
);
38464 if (PyErr_Occurred()) SWIG_fail
;
38466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38473 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38474 PyObject
*resultobj
;
38475 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38477 wxWindow
*arg3
= (wxWindow
*) 0 ;
38478 wxWindow
*arg4
= (wxWindow
*) 0 ;
38480 PyObject
* obj0
= 0 ;
38481 PyObject
* obj1
= 0 ;
38482 PyObject
* obj2
= 0 ;
38483 PyObject
* obj3
= 0 ;
38484 char *kwnames
[] = {
38485 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
38488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38491 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
38492 if (PyErr_Occurred()) SWIG_fail
;
38493 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
38494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38495 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
38496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38499 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
38501 wxPyEndAllowThreads(__tstate
);
38502 if (PyErr_Occurred()) SWIG_fail
;
38504 resultobj
= SWIG_FromInt((int)result
);
38511 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
38513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38514 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
38516 return Py_BuildValue((char *)"");
38518 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38519 PyObject
*resultobj
;
38520 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38521 wxIndividualLayoutConstraint
*result
;
38522 PyObject
* obj0
= 0 ;
38523 char *kwnames
[] = {
38524 (char *) "self", NULL
38527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
38528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
38529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38530 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
38532 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38539 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38540 PyObject
*resultobj
;
38541 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38542 wxIndividualLayoutConstraint
*result
;
38543 PyObject
* obj0
= 0 ;
38544 char *kwnames
[] = {
38545 (char *) "self", NULL
38548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
38549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
38550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38551 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
38553 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38560 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38561 PyObject
*resultobj
;
38562 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38563 wxIndividualLayoutConstraint
*result
;
38564 PyObject
* obj0
= 0 ;
38565 char *kwnames
[] = {
38566 (char *) "self", NULL
38569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
38570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
38571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38572 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
38574 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38581 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38582 PyObject
*resultobj
;
38583 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38584 wxIndividualLayoutConstraint
*result
;
38585 PyObject
* obj0
= 0 ;
38586 char *kwnames
[] = {
38587 (char *) "self", NULL
38590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
38591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
38592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38593 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
38595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38602 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38603 PyObject
*resultobj
;
38604 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38605 wxIndividualLayoutConstraint
*result
;
38606 PyObject
* obj0
= 0 ;
38607 char *kwnames
[] = {
38608 (char *) "self", NULL
38611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
38612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
38613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38614 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
38616 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38623 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38624 PyObject
*resultobj
;
38625 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38626 wxIndividualLayoutConstraint
*result
;
38627 PyObject
* obj0
= 0 ;
38628 char *kwnames
[] = {
38629 (char *) "self", NULL
38632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
38633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
38634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38635 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
38637 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38644 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38645 PyObject
*resultobj
;
38646 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38647 wxIndividualLayoutConstraint
*result
;
38648 PyObject
* obj0
= 0 ;
38649 char *kwnames
[] = {
38650 (char *) "self", NULL
38653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
38654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
38655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38656 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
38658 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38665 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38666 PyObject
*resultobj
;
38667 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38668 wxIndividualLayoutConstraint
*result
;
38669 PyObject
* obj0
= 0 ;
38670 char *kwnames
[] = {
38671 (char *) "self", NULL
38674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
38675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
38676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38677 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
38679 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38686 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38687 PyObject
*resultobj
;
38688 wxLayoutConstraints
*result
;
38689 char *kwnames
[] = {
38693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
38695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38696 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
38698 wxPyEndAllowThreads(__tstate
);
38699 if (PyErr_Occurred()) SWIG_fail
;
38701 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
38708 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38709 PyObject
*resultobj
;
38710 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38711 wxWindow
*arg2
= (wxWindow
*) 0 ;
38712 int *arg3
= (int *) 0 ;
38715 PyObject
* obj0
= 0 ;
38716 PyObject
* obj1
= 0 ;
38717 char *kwnames
[] = {
38718 (char *) "self",(char *) "win", NULL
38722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
38723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
38724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38725 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38729 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
38731 wxPyEndAllowThreads(__tstate
);
38732 if (PyErr_Occurred()) SWIG_fail
;
38734 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38736 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
38737 resultobj
= t_output_helper(resultobj
,o
);
38745 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38746 PyObject
*resultobj
;
38747 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38749 PyObject
* obj0
= 0 ;
38750 char *kwnames
[] = {
38751 (char *) "self", NULL
38754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
38755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
38756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38759 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
38761 wxPyEndAllowThreads(__tstate
);
38762 if (PyErr_Occurred()) SWIG_fail
;
38764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38771 static PyObject
* LayoutConstraints_swigregister(PyObject
*self
, PyObject
*args
) {
38773 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38774 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
38776 return Py_BuildValue((char *)"");
38778 static PyMethodDef SwigMethods
[] = {
38779 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
},
38780 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
},
38781 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
38782 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
38783 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
},
38784 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
},
38785 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
},
38786 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
},
38787 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
},
38788 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
},
38789 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
},
38790 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
},
38791 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
},
38792 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
},
38793 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
},
38794 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
38795 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
38796 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
},
38797 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
38798 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
38799 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
38800 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
38801 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
},
38802 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
},
38803 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
38804 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
38805 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
38806 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
38807 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
38808 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
38809 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
38810 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
38811 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
38812 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
38813 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
38814 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
},
38815 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
},
38816 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
},
38817 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
},
38818 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
},
38819 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
},
38820 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
},
38821 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
},
38822 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
},
38823 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
},
38824 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
},
38825 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
},
38826 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
38827 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
},
38828 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
},
38829 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
},
38830 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
38831 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
},
38832 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
},
38833 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
},
38834 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
},
38835 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
38836 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
38837 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
38838 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
38839 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
38840 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
38841 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
38842 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
38843 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
38844 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
38845 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
38846 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
38847 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
38848 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
38849 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
38850 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
38851 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
38852 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
38853 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
38854 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
38855 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
38856 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
38857 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
38858 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
38859 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
38860 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
38861 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
38862 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
38863 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
38864 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
},
38865 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
38866 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
38867 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
38868 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
38869 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
38870 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
38871 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
38872 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
38873 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
38874 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
38875 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
38876 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
38877 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
38878 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
38879 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
},
38880 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
},
38881 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
38882 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
38883 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
},
38884 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
},
38885 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
38886 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
38887 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
38888 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
38889 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
38890 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
38891 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
38892 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
38893 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
38894 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
38895 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
38896 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
},
38897 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
38898 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
},
38899 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
},
38900 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
38901 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
},
38902 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
},
38903 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
},
38904 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
},
38905 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
},
38906 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
},
38907 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
},
38908 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
},
38909 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
},
38910 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
},
38911 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
},
38912 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
},
38913 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
},
38914 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
},
38915 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
},
38916 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
},
38917 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
},
38918 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
},
38919 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
},
38920 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
},
38921 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
},
38922 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
38923 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
},
38924 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
},
38925 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
},
38926 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
},
38927 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
},
38928 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
},
38929 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
},
38930 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
38931 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
38932 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
38933 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
38934 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
38935 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
38936 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
38937 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
},
38938 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
},
38939 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
38940 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
38941 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
38942 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
38943 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
38944 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
38945 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
38946 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
38947 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
38948 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
38949 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
38950 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
},
38951 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
38952 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
38953 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
38954 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
38955 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
38956 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
38957 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
38958 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
38959 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
38960 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
},
38961 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
},
38962 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
},
38963 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
38964 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
38965 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
38966 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
},
38967 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
38968 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
38969 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
38970 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
38971 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
38972 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
},
38973 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
38974 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
38975 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
38976 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
38977 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
38978 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
38979 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
38980 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
38981 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
38982 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
},
38983 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
},
38984 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
},
38985 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
},
38986 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
38987 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
38988 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
},
38989 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
},
38990 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
},
38991 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
38992 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
},
38993 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
},
38994 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
},
38995 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
38996 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
},
38997 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
},
38998 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
},
38999 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
},
39000 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
},
39001 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
},
39002 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
},
39003 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
39004 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
},
39005 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
},
39006 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
39007 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
},
39008 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
},
39009 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
},
39010 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
39011 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
},
39012 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
},
39013 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
},
39014 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
39015 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
39016 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
},
39017 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
39018 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
},
39019 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
39020 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
39021 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
39022 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
39023 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
39024 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
39025 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
},
39026 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
39027 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
},
39028 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
},
39029 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
39030 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
39031 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
},
39032 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
},
39033 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
},
39034 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
},
39035 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
},
39036 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
39037 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
39038 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
39039 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
39040 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
39041 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
39042 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
39043 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
},
39044 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
},
39045 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
},
39046 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
39047 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
},
39048 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
39049 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
},
39050 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
},
39051 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
},
39052 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
},
39053 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
39054 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
39055 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
39056 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
39057 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
39058 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
},
39059 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
},
39060 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
39061 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
},
39062 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
},
39063 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
},
39064 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
39065 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
},
39066 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
},
39067 { (char *)"InitAllImageHandlers", (PyCFunction
) _wrap_InitAllImageHandlers
, METH_VARARGS
| METH_KEYWORDS
},
39068 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
},
39069 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
},
39070 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
},
39071 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
},
39072 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
},
39073 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
},
39074 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
},
39075 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
},
39076 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
},
39077 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
},
39078 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
},
39079 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
},
39080 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
},
39081 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
},
39082 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
},
39083 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
},
39084 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
},
39085 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
},
39086 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
},
39087 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
},
39088 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
},
39089 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
},
39090 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
39091 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
39092 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
39093 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
39094 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
39095 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39096 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39097 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
39098 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
39099 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
39100 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
39101 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
39102 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
39103 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
},
39104 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
},
39105 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
},
39106 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
39107 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
39108 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
39109 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
39110 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
39111 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
39112 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
},
39113 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
},
39114 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
39115 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
},
39116 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
39117 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
},
39118 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
},
39119 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
},
39120 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
},
39121 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
},
39122 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
39123 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
39124 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
},
39125 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
39126 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
39127 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
},
39128 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
39129 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
39130 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
39131 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
39132 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
39133 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
39134 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
39135 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
39136 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
39137 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
39138 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
39139 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
},
39140 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
39141 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
39142 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
39143 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
39144 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
},
39145 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
39146 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
39147 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39148 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
39149 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39150 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
},
39151 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
39152 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
39153 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39154 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
39155 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39156 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
},
39157 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
39158 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
39159 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
39160 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
39161 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
39162 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
39163 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
39164 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
},
39165 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
39166 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
39167 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
39168 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
39169 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
39170 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
39171 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
39172 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
39173 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
39174 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
39175 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
39176 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
39177 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
39178 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
39179 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
39180 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
39181 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
39182 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
39183 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
39184 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
39185 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39186 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
39187 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
39188 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
39189 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
39190 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
39191 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
39192 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
39193 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
},
39194 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
39195 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
39196 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
39197 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
39198 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39199 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39200 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39201 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39202 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39203 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39204 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39205 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39206 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39207 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39208 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39209 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39210 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39211 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39212 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
39213 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
39214 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
39215 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
39216 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
39217 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
39218 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
},
39219 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
},
39220 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
39221 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
39222 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
39223 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
39224 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
},
39225 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
},
39226 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
39227 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
39228 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
39229 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
39230 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
39231 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
39232 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
39233 { (char *)"KeyEvent_GetUniChar", (PyCFunction
) _wrap_KeyEvent_GetUniChar
, METH_VARARGS
| METH_KEYWORDS
},
39234 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
39235 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
},
39236 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39237 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
39238 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
39239 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
39240 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
39241 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
39242 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
39243 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
39244 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
39245 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
39246 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39247 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39248 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39249 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39250 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39251 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39252 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39253 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39254 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
39255 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
39256 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
},
39257 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
},
39258 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
},
39259 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
},
39260 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
},
39261 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
39262 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
39263 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
39264 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
39265 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
39266 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
},
39267 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
},
39268 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
39269 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
39270 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
},
39271 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
39272 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39273 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
39274 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
39275 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39276 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
39277 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
39278 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
39279 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
39280 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
},
39281 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
39282 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
},
39283 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
39284 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
},
39285 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
39286 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
39287 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
},
39288 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
39289 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39290 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39291 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
},
39292 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
39293 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39294 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
},
39295 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
39296 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
39297 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
},
39298 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
39299 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
},
39300 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
39301 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
39302 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
},
39303 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
39304 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
},
39305 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
39306 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
39307 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
39308 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
39309 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
39310 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
39311 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
39312 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
},
39313 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
39314 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
39315 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
39316 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
},
39317 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
39318 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
39319 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
},
39320 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
39321 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
},
39322 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39323 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
39324 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
39325 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
},
39326 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
39327 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
39328 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39329 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
39330 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
39331 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
39332 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39333 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
39334 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
39335 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
39336 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
39337 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
39338 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
},
39339 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
},
39340 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
39341 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
39342 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
},
39343 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
39344 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
},
39345 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
39346 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
},
39347 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
},
39348 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
39349 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
},
39350 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
39351 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
39352 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
39353 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
},
39354 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
39355 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
39356 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
39357 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
},
39358 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
39359 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
39360 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
39361 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
39362 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
39363 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
39364 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
39365 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
},
39366 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
39367 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39368 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
},
39369 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
39370 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39371 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
},
39372 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
39373 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39374 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39375 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
},
39376 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
39377 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
39378 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
39379 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
39380 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
39381 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
},
39382 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
},
39383 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
39384 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
39385 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
39386 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
39387 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
},
39388 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
39389 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
39390 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
39391 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
39392 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
},
39393 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
39394 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
39395 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
39396 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
39397 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
39398 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
39399 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
},
39400 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
39401 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
39402 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
},
39403 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
39404 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
},
39405 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
39406 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
},
39407 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
},
39408 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
},
39409 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
},
39410 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
},
39411 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
},
39412 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
},
39413 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
39414 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
39415 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
39416 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
39417 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
39418 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
39419 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
39420 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
39421 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
39422 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
39423 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
39424 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
39425 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39426 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39427 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39428 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
39429 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
39430 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39431 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39432 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39433 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
39434 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
},
39435 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
},
39436 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
},
39437 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
},
39438 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
},
39439 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
39440 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
},
39441 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
39442 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
},
39443 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
},
39444 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
},
39445 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
39446 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
39447 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
39448 { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_SetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
39449 { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_GetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
39450 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
39451 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
39452 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
39453 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
},
39454 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
39455 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
39456 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
},
39457 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
},
39458 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
39459 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
},
39460 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
},
39461 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
},
39462 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
},
39463 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
39464 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
39465 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
39466 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
39467 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
39468 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39469 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39470 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
},
39471 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
},
39472 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
39473 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
39474 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
},
39475 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
},
39476 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
39477 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
39478 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
39479 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
39480 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
39481 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
39482 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
39483 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
},
39484 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
39485 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
},
39486 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
},
39487 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
39488 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
39489 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
39490 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39491 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
39492 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
39493 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
39494 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
39495 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
39496 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
39497 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
39498 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
39499 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
39500 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
39501 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
39502 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
},
39503 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
39504 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
39505 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
},
39506 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
39507 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
39508 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
39509 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
},
39510 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
39511 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
},
39512 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
},
39513 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
39514 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
39515 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
39516 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
39517 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
39518 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
39519 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
},
39520 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
},
39521 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
},
39522 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
},
39523 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
39524 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39525 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
39526 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
39527 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
39528 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
39529 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
39530 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
39531 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
39532 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39533 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39534 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
39535 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
39536 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
39537 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
39538 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
39539 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
39540 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
39541 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
39542 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
39543 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
39544 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
39545 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
39546 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
39547 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
39548 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
39549 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
39550 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
39551 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39552 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39553 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39554 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39555 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39556 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
39557 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
39558 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
39559 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
39560 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
39561 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
39562 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
39563 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
39564 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
},
39565 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
},
39566 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
39567 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
39568 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
39569 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
39570 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
39571 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
39572 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
39573 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
39574 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
39575 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
},
39576 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
},
39577 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
39578 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
39579 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
39580 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
39581 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
},
39582 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
39583 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
39584 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
39585 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
39586 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
39587 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
39588 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
39589 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
39590 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
39591 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
39592 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
39593 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
39594 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
39595 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
39596 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
39597 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
39598 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
39599 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
39600 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
39601 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
39602 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
39603 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
39604 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
39605 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
},
39606 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
39607 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
39608 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
39609 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
39610 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
39611 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
39612 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
39613 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
39614 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
39615 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
39616 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
39617 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
39618 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
39619 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
39620 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
39621 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
39622 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
39623 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
39624 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
39625 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
39626 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
39627 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
39628 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
39629 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
39630 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
39631 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
39632 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
39633 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
39634 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
39635 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
},
39636 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
39637 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
39638 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
39639 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
39640 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
39641 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
},
39642 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
39643 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
39644 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
39645 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
39646 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
},
39647 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
39648 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
},
39649 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
},
39650 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
39651 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39652 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39653 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
39654 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
39655 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
},
39656 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
},
39657 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
39658 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
},
39659 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
},
39660 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
},
39661 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
39662 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
39663 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
39664 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
39665 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
39666 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
},
39667 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
39668 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
39669 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
39670 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
39671 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
39672 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
39673 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
39674 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
39675 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
39676 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
39677 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
39678 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
39679 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
39680 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
39681 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
39682 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
39683 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
39684 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
39685 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
39686 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
39687 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
39688 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
39689 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
39690 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
39691 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
39692 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39693 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
},
39694 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
39695 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39696 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39697 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
39698 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
39699 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
39700 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
39701 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39702 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39703 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
39704 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
39705 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
39706 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
39707 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
39708 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
},
39709 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
},
39710 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
39711 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
39712 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
39713 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
},
39714 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
},
39715 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
39716 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
39717 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
39718 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
39719 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
39720 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
39721 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
39722 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
39723 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
39724 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
39725 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
39726 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
39727 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
39728 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
39729 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
39730 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
39731 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39732 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39733 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39734 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
39735 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
39736 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
39737 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
39738 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
},
39739 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
},
39740 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
},
39741 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
},
39742 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
39743 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
39744 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
39745 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
39746 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
39747 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
39748 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39749 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
39750 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
39751 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
39752 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
39753 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
39754 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
39755 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
39756 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
39757 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
39758 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39759 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
39760 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
39761 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
39762 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
39763 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
39764 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
39765 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
39766 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
39767 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
39768 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
39769 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
},
39770 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
},
39771 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
},
39772 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
},
39773 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
},
39774 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39775 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39776 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
},
39777 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
},
39778 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
39779 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
39780 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
39781 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
},
39782 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
39783 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
39784 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
},
39785 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
39786 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
},
39787 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
},
39788 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
},
39789 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
39790 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
39791 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
39792 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
39793 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
},
39794 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
},
39795 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
},
39796 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
39797 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
39798 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
39799 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
39800 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
39801 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
39802 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
39803 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
39804 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
39805 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
39806 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
39807 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
39808 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
39809 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
39810 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
39811 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
39812 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
39813 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
},
39814 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
39815 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
39816 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
39817 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
39818 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
39819 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39820 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39821 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
39822 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
39823 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
39824 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
39825 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
},
39826 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
39827 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39828 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
39829 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
},
39830 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
39831 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
39832 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
39833 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
39834 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
},
39835 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
},
39836 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
39837 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
39838 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
39839 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
39840 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
39841 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
39842 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39843 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
39844 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
39845 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
39846 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
39847 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
39848 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
39849 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
39850 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
39851 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
39852 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
39853 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
39854 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
},
39855 { (char *)"Sizer_Hide", (PyCFunction
) _wrap_Sizer_Hide
, METH_VARARGS
| METH_KEYWORDS
},
39856 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
39857 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
},
39858 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
},
39859 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
},
39860 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
39861 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
},
39862 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
39863 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
39864 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
39865 { (char *)"BoxSizer_RecalcSizes", (PyCFunction
) _wrap_BoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
39866 { (char *)"BoxSizer_CalcMin", (PyCFunction
) _wrap_BoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
39867 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
},
39868 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
39869 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
39870 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_StaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
39871 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction
) _wrap_StaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
39872 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
},
39873 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
},
39874 { (char *)"GridSizer_RecalcSizes", (PyCFunction
) _wrap_GridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
39875 { (char *)"GridSizer_CalcMin", (PyCFunction
) _wrap_GridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
39876 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
39877 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
39878 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
39879 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
39880 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
39881 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
39882 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
39883 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
39884 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
},
39885 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
39886 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_FlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
39887 { (char *)"FlexGridSizer_CalcMin", (PyCFunction
) _wrap_FlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
39888 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
39889 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
39890 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
39891 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
39892 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
39893 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
39894 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
39895 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
39896 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
},
39897 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
},
39898 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
},
39899 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
},
39900 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
39901 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
39902 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
39903 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
39904 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
},
39905 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
},
39906 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
},
39907 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
},
39908 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
},
39909 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
},
39910 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
39911 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
},
39912 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
39913 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
},
39914 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
39915 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
39916 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
},
39917 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
},
39918 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
},
39919 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
},
39920 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
39921 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
39922 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
39923 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
},
39924 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
},
39925 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
39926 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
},
39927 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects
, METH_VARARGS
},
39928 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
},
39929 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
39930 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
39931 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
},
39932 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
},
39933 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
39934 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
39935 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
39936 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
39937 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
},
39938 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
},
39939 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
},
39940 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
},
39941 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
},
39942 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
39943 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
39944 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction
) _wrap_GridBagSizer_FindItemWithData
, METH_VARARGS
| METH_KEYWORDS
},
39945 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction
) _wrap_GridBagSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
39946 { (char *)"GridBagSizer_CalcMin", (PyCFunction
) _wrap_GridBagSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
39947 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
},
39948 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
},
39949 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
39950 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
39951 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
39952 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
39953 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
39954 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
39955 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
39956 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
39957 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
39958 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
39959 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
},
39960 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
},
39961 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
39962 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
39963 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
39964 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
39965 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
39966 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
},
39967 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
},
39968 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
},
39969 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
},
39970 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
39971 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
39972 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
},
39973 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
},
39974 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
39975 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
},
39976 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
39977 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
39978 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
39979 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
39980 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
39981 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
39982 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
39983 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
39984 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
39985 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
},
39986 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
},
39987 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
},
39992 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
39994 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
39995 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
39997 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
39998 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
40000 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
40001 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40003 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
40004 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40006 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
40007 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
40009 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
40010 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40012 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
40013 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
40015 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
40016 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40018 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
40019 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40021 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
40022 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
40024 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
40025 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
40027 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
40028 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
40030 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
40031 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
40033 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
40034 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
40036 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
40037 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
40039 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
40040 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
40042 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
40043 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
40045 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
40046 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40048 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
40049 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
40051 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
40052 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40054 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
40055 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40057 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
40058 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
40060 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
40061 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
40063 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
40064 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
40066 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
40067 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
40069 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
40070 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
40072 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
40073 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
40075 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
40076 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
40078 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
40079 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40081 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
40082 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40084 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
40085 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40087 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
40088 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40090 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
40091 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40093 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
40094 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
40096 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
40097 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
40099 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
40100 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40102 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
40103 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
40105 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
40106 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
40108 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
40109 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40111 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
40112 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40114 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
40115 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40117 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
40118 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
40120 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
40121 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
40123 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
40124 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40126 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
40127 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40129 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
40130 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40132 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
40133 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
40135 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
40136 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
40138 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
40139 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
40141 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
40142 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
40144 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
40145 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40147 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
40148 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
40150 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
40151 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
40153 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
40154 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
40156 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
40157 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
40159 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
40160 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
40162 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
40163 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
40165 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
40166 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
40168 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
40169 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
40171 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
40172 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
40174 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
40175 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
40177 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
40178 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40180 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
40181 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
40183 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
40184 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
40186 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
40187 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
40189 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
40190 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40192 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
40193 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
40195 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
40196 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
40198 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
40199 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
40201 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
40202 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
40204 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
40205 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
40207 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
40208 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
40210 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
40211 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
40213 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
40214 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
40216 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
40217 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
40219 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
40220 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
40222 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
40223 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
40225 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
40226 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
40228 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
40229 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
40231 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
40232 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40234 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
40235 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
40237 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
40238 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
40240 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
40241 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
40243 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
40244 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
40246 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
40247 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
40249 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
40250 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
40252 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
40253 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
40255 static void *_p_wxSizerTo_p_wxObject(void *x
) {
40256 return (void *)((wxObject
*) ((wxSizer
*) x
));
40258 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
40259 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
40261 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
40262 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40264 static void *_p_wxMenuTo_p_wxObject(void *x
) {
40265 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
40267 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
40268 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
40270 static void *_p_wxImageTo_p_wxObject(void *x
) {
40271 return (void *)((wxObject
*) ((wxImage
*) x
));
40273 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
40274 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
40276 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
40277 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40279 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
40280 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
40282 static void *_p_wxWindowTo_p_wxObject(void *x
) {
40283 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
40285 static void *_p_wxControlTo_p_wxObject(void *x
) {
40286 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
40288 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
40289 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
40291 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
40292 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
40294 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
40295 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40297 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
40298 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
40300 static void *_p_wxEventTo_p_wxObject(void *x
) {
40301 return (void *)((wxObject
*) ((wxEvent
*) x
));
40303 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
40304 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
40306 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
40307 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
40309 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
40310 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
40312 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
40313 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
40315 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
40316 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
40318 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
40319 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40321 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
40322 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40324 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
40325 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
40327 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
40328 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40330 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
40331 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
40333 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
40334 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
40336 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
40337 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
40339 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
40340 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
40342 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
40343 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
40345 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
40346 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
40348 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
40349 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40351 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
40352 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
40354 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
40355 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
40357 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
40358 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
40360 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
40361 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
40363 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
40364 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
40366 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
40367 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
40369 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
40370 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
40372 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
40373 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
40375 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
40376 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40378 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
40379 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40381 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
40382 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40384 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
40385 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40387 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
40388 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40390 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
40391 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
40393 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
40394 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
40396 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
40397 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40399 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
40400 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
40402 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
40403 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
40405 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
40406 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
40408 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
40409 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
40411 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
40412 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
40414 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
40415 return (void *)((wxObject
*) ((wxFSFile
*) x
));
40417 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
40418 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
40420 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
40421 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40423 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
40424 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
40426 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
40427 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40429 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
40430 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40432 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
40433 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40435 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
40436 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
40438 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
40439 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
40441 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
40442 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
40444 static void *_p_wxControlTo_p_wxWindow(void *x
) {
40445 return (void *)((wxWindow
*) ((wxControl
*) x
));
40447 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
40448 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
40450 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
40451 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
40453 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
40454 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40456 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
40457 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
40459 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
40460 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40462 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
40463 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40465 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
40466 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40468 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
40469 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40471 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
40472 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40474 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
40475 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40477 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
40478 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
40480 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}};
40481 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}};
40482 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}};
40483 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}};
40484 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}};
40485 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}};
40486 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}};
40487 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}};
40488 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}};
40489 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}};
40490 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}};
40491 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}};
40492 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}};
40493 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}};
40494 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}};
40495 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}};
40496 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}};
40497 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}};
40498 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}};
40499 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}};
40500 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}};
40501 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}};
40502 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}};
40503 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}};
40504 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}};
40505 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}};
40506 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}};
40507 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}};
40508 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}};
40509 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}};
40510 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}};
40511 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}};
40512 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}};
40513 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}};
40514 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}};
40515 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}};
40516 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}};
40517 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}};
40518 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}};
40519 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}};
40520 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}};
40521 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}};
40522 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}};
40523 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}};
40524 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}};
40525 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}};
40526 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}};
40527 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}};
40528 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}};
40529 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}};
40530 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}};
40531 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}};
40532 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}};
40533 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}};
40534 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}};
40535 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}};
40536 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}};
40537 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}};
40538 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}};
40539 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}};
40540 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}};
40541 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}};
40542 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}};
40543 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}};
40544 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}};
40545 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}};
40546 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}};
40547 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}};
40548 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}};
40549 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}};
40550 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}};
40551 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}};
40552 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}};
40553 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}};
40554 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}};
40555 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}};
40556 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}};
40557 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}};
40558 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}};
40559 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}};
40560 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}};
40561 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}};
40562 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}};
40563 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}};
40564 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}};
40565 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}};
40566 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}};
40567 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}};
40568 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}};
40569 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}};
40570 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}};
40571 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}};
40572 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}};
40573 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}};
40574 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}};
40575 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}};
40576 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}};
40577 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}};
40578 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}};
40579 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}};
40580 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}};
40581 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}};
40582 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}};
40583 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}};
40584 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}};
40585 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}};
40586 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}};
40587 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}};
40588 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}};
40589 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}};
40590 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}};
40591 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}};
40592 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}};
40593 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}};
40595 static swig_type_info
*swig_types_initial
[] = {
40596 _swigt__p_wxLayoutConstraints
,
40597 _swigt__p_wxRealPoint
,
40598 _swigt__p_wxSizerItem
,
40599 _swigt__p_wxGBSizerItem
,
40600 _swigt__p_wxScrollEvent
,
40601 _swigt__p_wxIndividualLayoutConstraint
,
40603 _swigt__p_wxBoxSizer
,
40604 _swigt__p_wxStaticBoxSizer
,
40605 _swigt__p_wxGridBagSizer
,
40606 _swigt__p_wxAcceleratorEntry
,
40607 _swigt__p_wxUpdateUIEvent
,
40610 _swigt__p_wxGridSizer
,
40611 _swigt__p_wxFlexGridSizer
,
40612 _swigt__p_wxInitDialogEvent
,
40613 _swigt__p_wxItemContainer
,
40614 _swigt__p_wxNcPaintEvent
,
40615 _swigt__p_wxPaintEvent
,
40616 _swigt__p_wxSysColourChangedEvent
,
40617 _swigt__p_wxMouseCaptureChangedEvent
,
40618 _swigt__p_wxDisplayChangedEvent
,
40619 _swigt__p_wxPaletteChangedEvent
,
40620 _swigt__p_wxControl
,
40622 _swigt__p_wxMenuBarBase
,
40623 _swigt__p_wxSetCursorEvent
,
40624 _swigt__p_wxFSFile
,
40626 _swigt__p_wxRegion
,
40627 _swigt__p_wxPoint2D
,
40631 _swigt__p_wxPySizer
,
40632 _swigt__p_wxNotifyEvent
,
40633 _swigt__p_wxPyEvent
,
40634 _swigt__p_wxPropagationDisabler
,
40635 _swigt__p_wxAppTraits
,
40636 _swigt__p_wxArrayString
,
40637 _swigt__p_wxShowEvent
,
40638 _swigt__p_wxToolTip
,
40639 _swigt__p_wxMaximizeEvent
,
40640 _swigt__p_wxIconizeEvent
,
40641 _swigt__p_wxActivateEvent
,
40642 _swigt__p_wxMoveEvent
,
40643 _swigt__p_wxSizeEvent
,
40644 _swigt__p_wxQueryNewPaletteEvent
,
40645 _swigt__p_wxWindowCreateEvent
,
40646 _swigt__p_wxIdleEvent
,
40647 _swigt__p_wxMenuItem
,
40648 _swigt__p_wxStaticBox
,
40650 _swigt__p_wxTIFFHandler
,
40651 _swigt__p_wxXPMHandler
,
40652 _swigt__p_wxPNMHandler
,
40653 _swigt__p_wxJPEGHandler
,
40654 _swigt__p_wxPCXHandler
,
40655 _swigt__p_wxGIFHandler
,
40656 _swigt__p_wxPNGHandler
,
40657 _swigt__p_wxANIHandler
,
40658 _swigt__p_wxMemoryFSHandler
,
40659 _swigt__p_wxEvtHandler
,
40660 _swigt__p_wxCURHandler
,
40661 _swigt__p_wxICOHandler
,
40662 _swigt__p_wxBMPHandler
,
40663 _swigt__p_wxImageHandler
,
40664 _swigt__p_wxFileSystemHandler
,
40665 _swigt__p_wxPyFileSystemHandler
,
40666 _swigt__p_wxInternetFSHandler
,
40667 _swigt__p_wxZipFSHandler
,
40669 _swigt__p_wxGBSpan
,
40670 _swigt__p_wxPropagateOnce
,
40671 _swigt__p_wxAcceleratorTable
,
40673 _swigt__p_wxGBPosition
,
40676 _swigt__p_wxScrollWinEvent
,
40677 _swigt__p_wxImageHistogram
,
40680 _swigt__p_wxCursor
,
40681 _swigt__p_wxObject
,
40682 _swigt__p_wxPyInputStream
,
40683 _swigt__p_wxOutputStream
,
40684 _swigt__p_wxInputStream
,
40685 _swigt__p_wxDateTime
,
40686 _swigt__p_wxKeyEvent
,
40687 _swigt__p_wxNavigationKeyEvent
,
40688 _swigt__p_wxWindowDestroyEvent
,
40689 _swigt__p_wxWindow
,
40690 _swigt__p_wxMenuBar
,
40691 _swigt__p_wxFileSystem
,
40692 _swigt__p_wxBitmap
,
40693 _swigt__p_wxMenuEvent
,
40694 _swigt__p_wxContextMenuEvent
,
40695 _swigt__p_unsigned_char
,
40696 _swigt__p_wxCloseEvent
,
40697 _swigt__p_wxEraseEvent
,
40698 _swigt__p_wxMouseEvent
,
40700 _swigt__p_wxCommandEvent
,
40701 _swigt__p_wxPyCommandEvent
,
40702 _swigt__p_wxPyDropTarget
,
40703 _swigt__p_wxChildFocusEvent
,
40704 _swigt__p_wxFocusEvent
,
40705 _swigt__p_wxDropFilesEvent
,
40706 _swigt__p_wxControlWithItems
,
40707 _swigt__p_wxColour
,
40708 _swigt__p_wxValidator
,
40709 _swigt__p_wxPyValidator
,
40714 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
40716 static swig_const_info swig_const_table
[] = {
40726 SWIGEXPORT(void) SWIG_init(void) {
40727 static PyObject
*SWIG_globals
= 0;
40728 static int typeinit
= 0;
40731 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
40732 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
40733 d
= PyModule_GetDict(m
);
40736 for (i
= 0; swig_types_initial
[i
]; i
++) {
40737 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
40741 SWIG_InstallConstants(d
,swig_const_table
);
40744 #ifndef wxPyUSE_EXPORT
40745 // Make our API structure a CObject so other modules can import it
40746 // from this module.
40747 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
40748 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
40752 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_FromInt((int)wxNOT_FOUND
));
40753 PyDict_SetItemString(d
,"VSCROLL", SWIG_FromInt((int)wxVSCROLL
));
40754 PyDict_SetItemString(d
,"HSCROLL", SWIG_FromInt((int)wxHSCROLL
));
40755 PyDict_SetItemString(d
,"CAPTION", SWIG_FromInt((int)wxCAPTION
));
40756 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_FromInt((int)wxDOUBLE_BORDER
));
40757 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_FromInt((int)wxSUNKEN_BORDER
));
40758 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_FromInt((int)wxRAISED_BORDER
));
40759 PyDict_SetItemString(d
,"BORDER", SWIG_FromInt((int)wxBORDER
));
40760 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_FromInt((int)wxSIMPLE_BORDER
));
40761 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_FromInt((int)wxSTATIC_BORDER
));
40762 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_FromInt((int)wxTRANSPARENT_WINDOW
));
40763 PyDict_SetItemString(d
,"NO_BORDER", SWIG_FromInt((int)wxNO_BORDER
));
40764 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS
));
40765 PyDict_SetItemString(d
,"NO_3D", SWIG_FromInt((int)wxNO_3D
));
40766 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_FromInt((int)wxTAB_TRAVERSAL
));
40767 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_FromInt((int)wxWANTS_CHARS
));
40768 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_FromInt((int)wxPOPUP_WINDOW
));
40769 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_FromInt((int)wxCENTER_FRAME
));
40770 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_FromInt((int)wxCENTRE_ON_SCREEN
));
40771 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_FromInt((int)wxCENTER_ON_SCREEN
));
40772 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP
));
40773 PyDict_SetItemString(d
,"ICONIZE", SWIG_FromInt((int)wxICONIZE
));
40774 PyDict_SetItemString(d
,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE
));
40775 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE
));
40776 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX
));
40777 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME
));
40778 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU
));
40779 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX
));
40780 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX
));
40781 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ
));
40782 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT
));
40783 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX
));
40784 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER
));
40785 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL
));
40786 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS
));
40787 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT
));
40788 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE
));
40789 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE
));
40790 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW
));
40791 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT
));
40792 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU
));
40793 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR
));
40794 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED
));
40795 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_FromInt((int)wxED_CLIENT_MARGIN
));
40796 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_FromInt((int)wxED_BUTTONS_BOTTOM
));
40797 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_FromInt((int)wxED_BUTTONS_RIGHT
));
40798 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_FromInt((int)wxED_STATIC_LINE
));
40799 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_FromInt((int)wxEXT_DIALOG_STYLE
));
40800 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_FromInt((int)wxCLIP_CHILDREN
));
40801 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_FromInt((int)wxCLIP_SIBLINGS
));
40802 PyDict_SetItemString(d
,"RETAINED", SWIG_FromInt((int)wxRETAINED
));
40803 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_FromInt((int)wxBACKINGSTORE
));
40804 PyDict_SetItemString(d
,"COLOURED", SWIG_FromInt((int)wxCOLOURED
));
40805 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_FromInt((int)wxFIXED_LENGTH
));
40806 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_FromInt((int)wxLB_NEEDED_SB
));
40807 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_FromInt((int)wxLB_ALWAYS_SB
));
40808 PyDict_SetItemString(d
,"LB_SORT", SWIG_FromInt((int)wxLB_SORT
));
40809 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_FromInt((int)wxLB_SINGLE
));
40810 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_FromInt((int)wxLB_MULTIPLE
));
40811 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_FromInt((int)wxLB_EXTENDED
));
40812 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_FromInt((int)wxLB_OWNERDRAW
));
40813 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_FromInt((int)wxLB_HSCROLL
));
40814 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_FromInt((int)wxPROCESS_ENTER
));
40815 PyDict_SetItemString(d
,"PASSWORD", SWIG_FromInt((int)wxPASSWORD
));
40816 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_FromInt((int)wxCB_SIMPLE
));
40817 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_FromInt((int)wxCB_DROPDOWN
));
40818 PyDict_SetItemString(d
,"CB_SORT", SWIG_FromInt((int)wxCB_SORT
));
40819 PyDict_SetItemString(d
,"CB_READONLY", SWIG_FromInt((int)wxCB_READONLY
));
40820 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_FromInt((int)wxRA_HORIZONTAL
));
40821 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_FromInt((int)wxRA_VERTICAL
));
40822 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_FromInt((int)wxRA_SPECIFY_ROWS
));
40823 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_FromInt((int)wxRA_SPECIFY_COLS
));
40824 PyDict_SetItemString(d
,"RB_GROUP", SWIG_FromInt((int)wxRB_GROUP
));
40825 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_FromInt((int)wxRB_SINGLE
));
40826 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_FromInt((int)wxSL_HORIZONTAL
));
40827 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_FromInt((int)wxSL_VERTICAL
));
40828 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_FromInt((int)wxSL_AUTOTICKS
));
40829 PyDict_SetItemString(d
,"SL_LABELS", SWIG_FromInt((int)wxSL_LABELS
));
40830 PyDict_SetItemString(d
,"SL_LEFT", SWIG_FromInt((int)wxSL_LEFT
));
40831 PyDict_SetItemString(d
,"SL_TOP", SWIG_FromInt((int)wxSL_TOP
));
40832 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_FromInt((int)wxSL_RIGHT
));
40833 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_FromInt((int)wxSL_BOTTOM
));
40834 PyDict_SetItemString(d
,"SL_BOTH", SWIG_FromInt((int)wxSL_BOTH
));
40835 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_FromInt((int)wxSL_SELRANGE
));
40836 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_FromInt((int)wxSB_HORIZONTAL
));
40837 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_FromInt((int)wxSB_VERTICAL
));
40838 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_FromInt((int)wxST_SIZEGRIP
));
40839 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_FromInt((int)wxST_NO_AUTORESIZE
));
40840 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_FromInt((int)wxFLOOD_SURFACE
));
40841 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_FromInt((int)wxFLOOD_BORDER
));
40842 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_FromInt((int)wxODDEVEN_RULE
));
40843 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_FromInt((int)wxWINDING_RULE
));
40844 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_FromInt((int)wxTOOL_TOP
));
40845 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_FromInt((int)wxTOOL_BOTTOM
));
40846 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_FromInt((int)wxTOOL_LEFT
));
40847 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_FromInt((int)wxTOOL_RIGHT
));
40848 PyDict_SetItemString(d
,"OK", SWIG_FromInt((int)wxOK
));
40849 PyDict_SetItemString(d
,"YES_NO", SWIG_FromInt((int)wxYES_NO
));
40850 PyDict_SetItemString(d
,"CANCEL", SWIG_FromInt((int)wxCANCEL
));
40851 PyDict_SetItemString(d
,"YES", SWIG_FromInt((int)wxYES
));
40852 PyDict_SetItemString(d
,"NO", SWIG_FromInt((int)wxNO
));
40853 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_FromInt((int)wxNO_DEFAULT
));
40854 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_FromInt((int)wxYES_DEFAULT
));
40855 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_FromInt((int)wxICON_EXCLAMATION
));
40856 PyDict_SetItemString(d
,"ICON_HAND", SWIG_FromInt((int)wxICON_HAND
));
40857 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_FromInt((int)wxICON_QUESTION
));
40858 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_FromInt((int)wxICON_INFORMATION
));
40859 PyDict_SetItemString(d
,"ICON_STOP", SWIG_FromInt((int)wxICON_STOP
));
40860 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_FromInt((int)wxICON_ASTERISK
));
40861 PyDict_SetItemString(d
,"ICON_MASK", SWIG_FromInt((int)wxICON_MASK
));
40862 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_FromInt((int)wxICON_WARNING
));
40863 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_FromInt((int)wxICON_ERROR
));
40864 PyDict_SetItemString(d
,"FORWARD", SWIG_FromInt((int)wxFORWARD
));
40865 PyDict_SetItemString(d
,"BACKWARD", SWIG_FromInt((int)wxBACKWARD
));
40866 PyDict_SetItemString(d
,"RESET", SWIG_FromInt((int)wxRESET
));
40867 PyDict_SetItemString(d
,"HELP", SWIG_FromInt((int)wxHELP
));
40868 PyDict_SetItemString(d
,"MORE", SWIG_FromInt((int)wxMORE
));
40869 PyDict_SetItemString(d
,"SETUP", SWIG_FromInt((int)wxSETUP
));
40870 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_FromInt((int)wxSIZE_AUTO_WIDTH
));
40871 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_FromInt((int)wxSIZE_AUTO_HEIGHT
));
40872 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_FromInt((int)wxSIZE_AUTO
));
40873 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_FromInt((int)wxSIZE_USE_EXISTING
));
40874 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_FromInt((int)wxSIZE_ALLOW_MINUS_ONE
));
40875 PyDict_SetItemString(d
,"PORTRAIT", SWIG_FromInt((int)wxPORTRAIT
));
40876 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_FromInt((int)wxLANDSCAPE
));
40877 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_FromInt((int)wxPRINT_QUALITY_HIGH
));
40878 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_FromInt((int)wxPRINT_QUALITY_MEDIUM
));
40879 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_FromInt((int)wxPRINT_QUALITY_LOW
));
40880 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_FromInt((int)wxPRINT_QUALITY_DRAFT
));
40881 PyDict_SetItemString(d
,"ID_ANY", SWIG_FromInt((int)wxID_ANY
));
40882 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_FromInt((int)wxID_SEPARATOR
));
40883 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_FromInt((int)wxID_LOWEST
));
40884 PyDict_SetItemString(d
,"ID_OPEN", SWIG_FromInt((int)wxID_OPEN
));
40885 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_FromInt((int)wxID_CLOSE
));
40886 PyDict_SetItemString(d
,"ID_NEW", SWIG_FromInt((int)wxID_NEW
));
40887 PyDict_SetItemString(d
,"ID_SAVE", SWIG_FromInt((int)wxID_SAVE
));
40888 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_FromInt((int)wxID_SAVEAS
));
40889 PyDict_SetItemString(d
,"ID_REVERT", SWIG_FromInt((int)wxID_REVERT
));
40890 PyDict_SetItemString(d
,"ID_EXIT", SWIG_FromInt((int)wxID_EXIT
));
40891 PyDict_SetItemString(d
,"ID_UNDO", SWIG_FromInt((int)wxID_UNDO
));
40892 PyDict_SetItemString(d
,"ID_REDO", SWIG_FromInt((int)wxID_REDO
));
40893 PyDict_SetItemString(d
,"ID_HELP", SWIG_FromInt((int)wxID_HELP
));
40894 PyDict_SetItemString(d
,"ID_PRINT", SWIG_FromInt((int)wxID_PRINT
));
40895 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_FromInt((int)wxID_PRINT_SETUP
));
40896 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_FromInt((int)wxID_PREVIEW
));
40897 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_FromInt((int)wxID_ABOUT
));
40898 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_FromInt((int)wxID_HELP_CONTENTS
));
40899 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_FromInt((int)wxID_HELP_COMMANDS
));
40900 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_FromInt((int)wxID_HELP_PROCEDURES
));
40901 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_FromInt((int)wxID_HELP_CONTEXT
));
40902 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_FromInt((int)wxID_CLOSE_ALL
));
40903 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_FromInt((int)wxID_PREFERENCES
));
40904 PyDict_SetItemString(d
,"ID_CUT", SWIG_FromInt((int)wxID_CUT
));
40905 PyDict_SetItemString(d
,"ID_COPY", SWIG_FromInt((int)wxID_COPY
));
40906 PyDict_SetItemString(d
,"ID_PASTE", SWIG_FromInt((int)wxID_PASTE
));
40907 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_FromInt((int)wxID_CLEAR
));
40908 PyDict_SetItemString(d
,"ID_FIND", SWIG_FromInt((int)wxID_FIND
));
40909 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_FromInt((int)wxID_DUPLICATE
));
40910 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_FromInt((int)wxID_SELECTALL
));
40911 PyDict_SetItemString(d
,"ID_DELETE", SWIG_FromInt((int)wxID_DELETE
));
40912 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_FromInt((int)wxID_REPLACE
));
40913 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_FromInt((int)wxID_REPLACE_ALL
));
40914 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_FromInt((int)wxID_PROPERTIES
));
40915 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_FromInt((int)wxID_VIEW_DETAILS
));
40916 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_FromInt((int)wxID_VIEW_LARGEICONS
));
40917 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_FromInt((int)wxID_VIEW_SMALLICONS
));
40918 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_FromInt((int)wxID_VIEW_LIST
));
40919 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_FromInt((int)wxID_VIEW_SORTDATE
));
40920 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_FromInt((int)wxID_VIEW_SORTNAME
));
40921 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_FromInt((int)wxID_VIEW_SORTSIZE
));
40922 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_FromInt((int)wxID_VIEW_SORTTYPE
));
40923 PyDict_SetItemString(d
,"ID_FILE1", SWIG_FromInt((int)wxID_FILE1
));
40924 PyDict_SetItemString(d
,"ID_FILE2", SWIG_FromInt((int)wxID_FILE2
));
40925 PyDict_SetItemString(d
,"ID_FILE3", SWIG_FromInt((int)wxID_FILE3
));
40926 PyDict_SetItemString(d
,"ID_FILE4", SWIG_FromInt((int)wxID_FILE4
));
40927 PyDict_SetItemString(d
,"ID_FILE5", SWIG_FromInt((int)wxID_FILE5
));
40928 PyDict_SetItemString(d
,"ID_FILE6", SWIG_FromInt((int)wxID_FILE6
));
40929 PyDict_SetItemString(d
,"ID_FILE7", SWIG_FromInt((int)wxID_FILE7
));
40930 PyDict_SetItemString(d
,"ID_FILE8", SWIG_FromInt((int)wxID_FILE8
));
40931 PyDict_SetItemString(d
,"ID_FILE9", SWIG_FromInt((int)wxID_FILE9
));
40932 PyDict_SetItemString(d
,"ID_OK", SWIG_FromInt((int)wxID_OK
));
40933 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_FromInt((int)wxID_CANCEL
));
40934 PyDict_SetItemString(d
,"ID_APPLY", SWIG_FromInt((int)wxID_APPLY
));
40935 PyDict_SetItemString(d
,"ID_YES", SWIG_FromInt((int)wxID_YES
));
40936 PyDict_SetItemString(d
,"ID_NO", SWIG_FromInt((int)wxID_NO
));
40937 PyDict_SetItemString(d
,"ID_STATIC", SWIG_FromInt((int)wxID_STATIC
));
40938 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_FromInt((int)wxID_FORWARD
));
40939 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_FromInt((int)wxID_BACKWARD
));
40940 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_FromInt((int)wxID_DEFAULT
));
40941 PyDict_SetItemString(d
,"ID_MORE", SWIG_FromInt((int)wxID_MORE
));
40942 PyDict_SetItemString(d
,"ID_SETUP", SWIG_FromInt((int)wxID_SETUP
));
40943 PyDict_SetItemString(d
,"ID_RESET", SWIG_FromInt((int)wxID_RESET
));
40944 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_FromInt((int)wxID_CONTEXT_HELP
));
40945 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_FromInt((int)wxID_YESTOALL
));
40946 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_FromInt((int)wxID_NOTOALL
));
40947 PyDict_SetItemString(d
,"ID_ABORT", SWIG_FromInt((int)wxID_ABORT
));
40948 PyDict_SetItemString(d
,"ID_RETRY", SWIG_FromInt((int)wxID_RETRY
));
40949 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_FromInt((int)wxID_IGNORE
));
40950 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_FromInt((int)wxID_HIGHEST
));
40951 PyDict_SetItemString(d
,"OPEN", SWIG_FromInt((int)wxOPEN
));
40952 PyDict_SetItemString(d
,"SAVE", SWIG_FromInt((int)wxSAVE
));
40953 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_FromInt((int)wxHIDE_READONLY
));
40954 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_FromInt((int)wxOVERWRITE_PROMPT
));
40955 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_FromInt((int)wxFILE_MUST_EXIST
));
40956 PyDict_SetItemString(d
,"MULTIPLE", SWIG_FromInt((int)wxMULTIPLE
));
40957 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_FromInt((int)wxCHANGE_DIR
));
40958 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_FromInt((int)wxACCEL_ALT
));
40959 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_FromInt((int)wxACCEL_CTRL
));
40960 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_FromInt((int)wxACCEL_SHIFT
));
40961 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_FromInt((int)wxACCEL_NORMAL
));
40962 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_FromInt((int)wxPD_AUTO_HIDE
));
40963 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_FromInt((int)wxPD_APP_MODAL
));
40964 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_FromInt((int)wxPD_CAN_ABORT
));
40965 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_FromInt((int)wxPD_ELAPSED_TIME
));
40966 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_FromInt((int)wxPD_ESTIMATED_TIME
));
40967 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_FromInt((int)wxPD_REMAINING_TIME
));
40968 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_FromInt((int)wxDD_NEW_DIR_BUTTON
));
40969 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_FromInt((int)wxDD_DEFAULT_STYLE
));
40970 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_FromInt((int)wxMENU_TEAROFF
));
40971 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_FromInt((int)wxMB_DOCKABLE
));
40972 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE
));
40973 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxFULL_REPAINT_ON_RESIZE
));
40974 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_FromInt((int)wxLI_HORIZONTAL
));
40975 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_FromInt((int)wxLI_VERTICAL
));
40976 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY
));
40977 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_FromInt((int)wxWS_EX_BLOCK_EVENTS
));
40978 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_FromInt((int)wxWS_EX_TRANSIENT
));
40979 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_FromInt((int)wxWS_EX_THEMED_BACKGROUND
));
40980 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_FromInt((int)wxWS_EX_PROCESS_IDLE
));
40981 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES
));
40982 PyDict_SetItemString(d
,"MM_TEXT", SWIG_FromInt((int)wxMM_TEXT
));
40983 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_FromInt((int)wxMM_LOMETRIC
));
40984 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_FromInt((int)wxMM_HIMETRIC
));
40985 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_FromInt((int)wxMM_LOENGLISH
));
40986 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_FromInt((int)wxMM_HIENGLISH
));
40987 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_FromInt((int)wxMM_TWIPS
));
40988 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_FromInt((int)wxMM_ISOTROPIC
));
40989 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_FromInt((int)wxMM_ANISOTROPIC
));
40990 PyDict_SetItemString(d
,"MM_POINTS", SWIG_FromInt((int)wxMM_POINTS
));
40991 PyDict_SetItemString(d
,"MM_METRIC", SWIG_FromInt((int)wxMM_METRIC
));
40992 PyDict_SetItemString(d
,"CENTRE", SWIG_FromInt((int)wxCENTRE
));
40993 PyDict_SetItemString(d
,"CENTER", SWIG_FromInt((int)wxCENTER
));
40994 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_FromInt((int)wxHORIZONTAL
));
40995 PyDict_SetItemString(d
,"VERTICAL", SWIG_FromInt((int)wxVERTICAL
));
40996 PyDict_SetItemString(d
,"BOTH", SWIG_FromInt((int)wxBOTH
));
40997 PyDict_SetItemString(d
,"LEFT", SWIG_FromInt((int)wxLEFT
));
40998 PyDict_SetItemString(d
,"RIGHT", SWIG_FromInt((int)wxRIGHT
));
40999 PyDict_SetItemString(d
,"UP", SWIG_FromInt((int)wxUP
));
41000 PyDict_SetItemString(d
,"DOWN", SWIG_FromInt((int)wxDOWN
));
41001 PyDict_SetItemString(d
,"TOP", SWIG_FromInt((int)wxTOP
));
41002 PyDict_SetItemString(d
,"BOTTOM", SWIG_FromInt((int)wxBOTTOM
));
41003 PyDict_SetItemString(d
,"NORTH", SWIG_FromInt((int)wxNORTH
));
41004 PyDict_SetItemString(d
,"SOUTH", SWIG_FromInt((int)wxSOUTH
));
41005 PyDict_SetItemString(d
,"WEST", SWIG_FromInt((int)wxWEST
));
41006 PyDict_SetItemString(d
,"EAST", SWIG_FromInt((int)wxEAST
));
41007 PyDict_SetItemString(d
,"ALL", SWIG_FromInt((int)wxALL
));
41008 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_FromInt((int)wxALIGN_NOT
));
41009 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTER_HORIZONTAL
));
41010 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTRE_HORIZONTAL
));
41011 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_FromInt((int)wxALIGN_LEFT
));
41012 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_FromInt((int)wxALIGN_TOP
));
41013 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_FromInt((int)wxALIGN_RIGHT
));
41014 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_FromInt((int)wxALIGN_BOTTOM
));
41015 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTER_VERTICAL
));
41016 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTRE_VERTICAL
));
41017 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_FromInt((int)wxALIGN_CENTER
));
41018 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_FromInt((int)wxALIGN_CENTRE
));
41019 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_FromInt((int)wxALIGN_MASK
));
41020 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_FromInt((int)wxSTRETCH_NOT
));
41021 PyDict_SetItemString(d
,"SHRINK", SWIG_FromInt((int)wxSHRINK
));
41022 PyDict_SetItemString(d
,"GROW", SWIG_FromInt((int)wxGROW
));
41023 PyDict_SetItemString(d
,"EXPAND", SWIG_FromInt((int)wxEXPAND
));
41024 PyDict_SetItemString(d
,"SHAPED", SWIG_FromInt((int)wxSHAPED
));
41025 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_FromInt((int)wxADJUST_MINSIZE
));
41026 PyDict_SetItemString(d
,"TILE", SWIG_FromInt((int)wxTILE
));
41027 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_FromInt((int)wxBORDER_DEFAULT
));
41028 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_FromInt((int)wxBORDER_NONE
));
41029 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_FromInt((int)wxBORDER_STATIC
));
41030 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_FromInt((int)wxBORDER_SIMPLE
));
41031 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_FromInt((int)wxBORDER_RAISED
));
41032 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_FromInt((int)wxBORDER_SUNKEN
));
41033 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_FromInt((int)wxBORDER_DOUBLE
));
41034 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_FromInt((int)wxBORDER_MASK
));
41035 PyDict_SetItemString(d
,"DEFAULT", SWIG_FromInt((int)wxDEFAULT
));
41036 PyDict_SetItemString(d
,"DECORATIVE", SWIG_FromInt((int)wxDECORATIVE
));
41037 PyDict_SetItemString(d
,"ROMAN", SWIG_FromInt((int)wxROMAN
));
41038 PyDict_SetItemString(d
,"SCRIPT", SWIG_FromInt((int)wxSCRIPT
));
41039 PyDict_SetItemString(d
,"SWISS", SWIG_FromInt((int)wxSWISS
));
41040 PyDict_SetItemString(d
,"MODERN", SWIG_FromInt((int)wxMODERN
));
41041 PyDict_SetItemString(d
,"TELETYPE", SWIG_FromInt((int)wxTELETYPE
));
41042 PyDict_SetItemString(d
,"VARIABLE", SWIG_FromInt((int)wxVARIABLE
));
41043 PyDict_SetItemString(d
,"FIXED", SWIG_FromInt((int)wxFIXED
));
41044 PyDict_SetItemString(d
,"NORMAL", SWIG_FromInt((int)wxNORMAL
));
41045 PyDict_SetItemString(d
,"LIGHT", SWIG_FromInt((int)wxLIGHT
));
41046 PyDict_SetItemString(d
,"BOLD", SWIG_FromInt((int)wxBOLD
));
41047 PyDict_SetItemString(d
,"ITALIC", SWIG_FromInt((int)wxITALIC
));
41048 PyDict_SetItemString(d
,"SLANT", SWIG_FromInt((int)wxSLANT
));
41049 PyDict_SetItemString(d
,"SOLID", SWIG_FromInt((int)wxSOLID
));
41050 PyDict_SetItemString(d
,"DOT", SWIG_FromInt((int)wxDOT
));
41051 PyDict_SetItemString(d
,"LONG_DASH", SWIG_FromInt((int)wxLONG_DASH
));
41052 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_FromInt((int)wxSHORT_DASH
));
41053 PyDict_SetItemString(d
,"DOT_DASH", SWIG_FromInt((int)wxDOT_DASH
));
41054 PyDict_SetItemString(d
,"USER_DASH", SWIG_FromInt((int)wxUSER_DASH
));
41055 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_FromInt((int)wxTRANSPARENT
));
41056 PyDict_SetItemString(d
,"STIPPLE", SWIG_FromInt((int)wxSTIPPLE
));
41057 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_FromInt((int)wxBDIAGONAL_HATCH
));
41058 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_FromInt((int)wxCROSSDIAG_HATCH
));
41059 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_FromInt((int)wxFDIAGONAL_HATCH
));
41060 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_FromInt((int)wxCROSS_HATCH
));
41061 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_FromInt((int)wxHORIZONTAL_HATCH
));
41062 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_FromInt((int)wxVERTICAL_HATCH
));
41063 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_FromInt((int)wxJOIN_BEVEL
));
41064 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_FromInt((int)wxJOIN_MITER
));
41065 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_FromInt((int)wxJOIN_ROUND
));
41066 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_FromInt((int)wxCAP_ROUND
));
41067 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_FromInt((int)wxCAP_PROJECTING
));
41068 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_FromInt((int)wxCAP_BUTT
));
41069 PyDict_SetItemString(d
,"CLEAR", SWIG_FromInt((int)wxCLEAR
));
41070 PyDict_SetItemString(d
,"XOR", SWIG_FromInt((int)wxXOR
));
41071 PyDict_SetItemString(d
,"INVERT", SWIG_FromInt((int)wxINVERT
));
41072 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_FromInt((int)wxOR_REVERSE
));
41073 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_FromInt((int)wxAND_REVERSE
));
41074 PyDict_SetItemString(d
,"COPY", SWIG_FromInt((int)wxCOPY
));
41075 PyDict_SetItemString(d
,"AND", SWIG_FromInt((int)wxAND
));
41076 PyDict_SetItemString(d
,"AND_INVERT", SWIG_FromInt((int)wxAND_INVERT
));
41077 PyDict_SetItemString(d
,"NO_OP", SWIG_FromInt((int)wxNO_OP
));
41078 PyDict_SetItemString(d
,"NOR", SWIG_FromInt((int)wxNOR
));
41079 PyDict_SetItemString(d
,"EQUIV", SWIG_FromInt((int)wxEQUIV
));
41080 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_FromInt((int)wxSRC_INVERT
));
41081 PyDict_SetItemString(d
,"OR_INVERT", SWIG_FromInt((int)wxOR_INVERT
));
41082 PyDict_SetItemString(d
,"NAND", SWIG_FromInt((int)wxNAND
));
41083 PyDict_SetItemString(d
,"OR", SWIG_FromInt((int)wxOR
));
41084 PyDict_SetItemString(d
,"SET", SWIG_FromInt((int)wxSET
));
41085 PyDict_SetItemString(d
,"WXK_BACK", SWIG_FromInt((int)WXK_BACK
));
41086 PyDict_SetItemString(d
,"WXK_TAB", SWIG_FromInt((int)WXK_TAB
));
41087 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_FromInt((int)WXK_RETURN
));
41088 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_FromInt((int)WXK_ESCAPE
));
41089 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_FromInt((int)WXK_SPACE
));
41090 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_FromInt((int)WXK_DELETE
));
41091 PyDict_SetItemString(d
,"WXK_START", SWIG_FromInt((int)WXK_START
));
41092 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_FromInt((int)WXK_LBUTTON
));
41093 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_FromInt((int)WXK_RBUTTON
));
41094 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_FromInt((int)WXK_CANCEL
));
41095 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_FromInt((int)WXK_MBUTTON
));
41096 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_FromInt((int)WXK_CLEAR
));
41097 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_FromInt((int)WXK_SHIFT
));
41098 PyDict_SetItemString(d
,"WXK_ALT", SWIG_FromInt((int)WXK_ALT
));
41099 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_FromInt((int)WXK_CONTROL
));
41100 PyDict_SetItemString(d
,"WXK_MENU", SWIG_FromInt((int)WXK_MENU
));
41101 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_FromInt((int)WXK_PAUSE
));
41102 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_FromInt((int)WXK_CAPITAL
));
41103 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_FromInt((int)WXK_PRIOR
));
41104 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_FromInt((int)WXK_NEXT
));
41105 PyDict_SetItemString(d
,"WXK_END", SWIG_FromInt((int)WXK_END
));
41106 PyDict_SetItemString(d
,"WXK_HOME", SWIG_FromInt((int)WXK_HOME
));
41107 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_FromInt((int)WXK_LEFT
));
41108 PyDict_SetItemString(d
,"WXK_UP", SWIG_FromInt((int)WXK_UP
));
41109 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_FromInt((int)WXK_RIGHT
));
41110 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_FromInt((int)WXK_DOWN
));
41111 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_FromInt((int)WXK_SELECT
));
41112 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_FromInt((int)WXK_PRINT
));
41113 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_FromInt((int)WXK_EXECUTE
));
41114 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_FromInt((int)WXK_SNAPSHOT
));
41115 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_FromInt((int)WXK_INSERT
));
41116 PyDict_SetItemString(d
,"WXK_HELP", SWIG_FromInt((int)WXK_HELP
));
41117 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_FromInt((int)WXK_NUMPAD0
));
41118 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_FromInt((int)WXK_NUMPAD1
));
41119 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_FromInt((int)WXK_NUMPAD2
));
41120 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_FromInt((int)WXK_NUMPAD3
));
41121 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_FromInt((int)WXK_NUMPAD4
));
41122 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_FromInt((int)WXK_NUMPAD5
));
41123 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_FromInt((int)WXK_NUMPAD6
));
41124 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_FromInt((int)WXK_NUMPAD7
));
41125 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_FromInt((int)WXK_NUMPAD8
));
41126 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_FromInt((int)WXK_NUMPAD9
));
41127 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_FromInt((int)WXK_MULTIPLY
));
41128 PyDict_SetItemString(d
,"WXK_ADD", SWIG_FromInt((int)WXK_ADD
));
41129 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_FromInt((int)WXK_SEPARATOR
));
41130 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_FromInt((int)WXK_SUBTRACT
));
41131 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_FromInt((int)WXK_DECIMAL
));
41132 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_FromInt((int)WXK_DIVIDE
));
41133 PyDict_SetItemString(d
,"WXK_F1", SWIG_FromInt((int)WXK_F1
));
41134 PyDict_SetItemString(d
,"WXK_F2", SWIG_FromInt((int)WXK_F2
));
41135 PyDict_SetItemString(d
,"WXK_F3", SWIG_FromInt((int)WXK_F3
));
41136 PyDict_SetItemString(d
,"WXK_F4", SWIG_FromInt((int)WXK_F4
));
41137 PyDict_SetItemString(d
,"WXK_F5", SWIG_FromInt((int)WXK_F5
));
41138 PyDict_SetItemString(d
,"WXK_F6", SWIG_FromInt((int)WXK_F6
));
41139 PyDict_SetItemString(d
,"WXK_F7", SWIG_FromInt((int)WXK_F7
));
41140 PyDict_SetItemString(d
,"WXK_F8", SWIG_FromInt((int)WXK_F8
));
41141 PyDict_SetItemString(d
,"WXK_F9", SWIG_FromInt((int)WXK_F9
));
41142 PyDict_SetItemString(d
,"WXK_F10", SWIG_FromInt((int)WXK_F10
));
41143 PyDict_SetItemString(d
,"WXK_F11", SWIG_FromInt((int)WXK_F11
));
41144 PyDict_SetItemString(d
,"WXK_F12", SWIG_FromInt((int)WXK_F12
));
41145 PyDict_SetItemString(d
,"WXK_F13", SWIG_FromInt((int)WXK_F13
));
41146 PyDict_SetItemString(d
,"WXK_F14", SWIG_FromInt((int)WXK_F14
));
41147 PyDict_SetItemString(d
,"WXK_F15", SWIG_FromInt((int)WXK_F15
));
41148 PyDict_SetItemString(d
,"WXK_F16", SWIG_FromInt((int)WXK_F16
));
41149 PyDict_SetItemString(d
,"WXK_F17", SWIG_FromInt((int)WXK_F17
));
41150 PyDict_SetItemString(d
,"WXK_F18", SWIG_FromInt((int)WXK_F18
));
41151 PyDict_SetItemString(d
,"WXK_F19", SWIG_FromInt((int)WXK_F19
));
41152 PyDict_SetItemString(d
,"WXK_F20", SWIG_FromInt((int)WXK_F20
));
41153 PyDict_SetItemString(d
,"WXK_F21", SWIG_FromInt((int)WXK_F21
));
41154 PyDict_SetItemString(d
,"WXK_F22", SWIG_FromInt((int)WXK_F22
));
41155 PyDict_SetItemString(d
,"WXK_F23", SWIG_FromInt((int)WXK_F23
));
41156 PyDict_SetItemString(d
,"WXK_F24", SWIG_FromInt((int)WXK_F24
));
41157 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_FromInt((int)WXK_NUMLOCK
));
41158 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_FromInt((int)WXK_SCROLL
));
41159 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_FromInt((int)WXK_PAGEUP
));
41160 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_FromInt((int)WXK_PAGEDOWN
));
41161 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_FromInt((int)WXK_NUMPAD_SPACE
));
41162 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_FromInt((int)WXK_NUMPAD_TAB
));
41163 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_FromInt((int)WXK_NUMPAD_ENTER
));
41164 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_FromInt((int)WXK_NUMPAD_F1
));
41165 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_FromInt((int)WXK_NUMPAD_F2
));
41166 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_FromInt((int)WXK_NUMPAD_F3
));
41167 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_FromInt((int)WXK_NUMPAD_F4
));
41168 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_FromInt((int)WXK_NUMPAD_HOME
));
41169 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_FromInt((int)WXK_NUMPAD_LEFT
));
41170 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_FromInt((int)WXK_NUMPAD_UP
));
41171 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_FromInt((int)WXK_NUMPAD_RIGHT
));
41172 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_FromInt((int)WXK_NUMPAD_DOWN
));
41173 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_FromInt((int)WXK_NUMPAD_PRIOR
));
41174 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_FromInt((int)WXK_NUMPAD_PAGEUP
));
41175 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_FromInt((int)WXK_NUMPAD_NEXT
));
41176 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_FromInt((int)WXK_NUMPAD_PAGEDOWN
));
41177 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_FromInt((int)WXK_NUMPAD_END
));
41178 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_FromInt((int)WXK_NUMPAD_BEGIN
));
41179 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_FromInt((int)WXK_NUMPAD_INSERT
));
41180 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_FromInt((int)WXK_NUMPAD_DELETE
));
41181 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_FromInt((int)WXK_NUMPAD_EQUAL
));
41182 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_FromInt((int)WXK_NUMPAD_MULTIPLY
));
41183 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_FromInt((int)WXK_NUMPAD_ADD
));
41184 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_FromInt((int)WXK_NUMPAD_SEPARATOR
));
41185 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_FromInt((int)WXK_NUMPAD_SUBTRACT
));
41186 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_FromInt((int)WXK_NUMPAD_DECIMAL
));
41187 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_FromInt((int)WXK_NUMPAD_DIVIDE
));
41188 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_FromInt((int)WXK_WINDOWS_LEFT
));
41189 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_FromInt((int)WXK_WINDOWS_RIGHT
));
41190 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_FromInt((int)WXK_WINDOWS_MENU
));
41191 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_FromInt((int)wxPAPER_NONE
));
41192 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_FromInt((int)wxPAPER_LETTER
));
41193 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_FromInt((int)wxPAPER_LEGAL
));
41194 PyDict_SetItemString(d
,"PAPER_A4", SWIG_FromInt((int)wxPAPER_A4
));
41195 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_FromInt((int)wxPAPER_CSHEET
));
41196 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_FromInt((int)wxPAPER_DSHEET
));
41197 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_FromInt((int)wxPAPER_ESHEET
));
41198 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_FromInt((int)wxPAPER_LETTERSMALL
));
41199 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_FromInt((int)wxPAPER_TABLOID
));
41200 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_FromInt((int)wxPAPER_LEDGER
));
41201 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_FromInt((int)wxPAPER_STATEMENT
));
41202 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_FromInt((int)wxPAPER_EXECUTIVE
));
41203 PyDict_SetItemString(d
,"PAPER_A3", SWIG_FromInt((int)wxPAPER_A3
));
41204 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_FromInt((int)wxPAPER_A4SMALL
));
41205 PyDict_SetItemString(d
,"PAPER_A5", SWIG_FromInt((int)wxPAPER_A5
));
41206 PyDict_SetItemString(d
,"PAPER_B4", SWIG_FromInt((int)wxPAPER_B4
));
41207 PyDict_SetItemString(d
,"PAPER_B5", SWIG_FromInt((int)wxPAPER_B5
));
41208 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_FromInt((int)wxPAPER_FOLIO
));
41209 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_FromInt((int)wxPAPER_QUARTO
));
41210 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_FromInt((int)wxPAPER_10X14
));
41211 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_FromInt((int)wxPAPER_11X17
));
41212 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_FromInt((int)wxPAPER_NOTE
));
41213 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_FromInt((int)wxPAPER_ENV_9
));
41214 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_FromInt((int)wxPAPER_ENV_10
));
41215 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_FromInt((int)wxPAPER_ENV_11
));
41216 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_FromInt((int)wxPAPER_ENV_12
));
41217 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_FromInt((int)wxPAPER_ENV_14
));
41218 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_FromInt((int)wxPAPER_ENV_DL
));
41219 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_FromInt((int)wxPAPER_ENV_C5
));
41220 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_FromInt((int)wxPAPER_ENV_C3
));
41221 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_FromInt((int)wxPAPER_ENV_C4
));
41222 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_FromInt((int)wxPAPER_ENV_C6
));
41223 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_FromInt((int)wxPAPER_ENV_C65
));
41224 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_FromInt((int)wxPAPER_ENV_B4
));
41225 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_FromInt((int)wxPAPER_ENV_B5
));
41226 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_FromInt((int)wxPAPER_ENV_B6
));
41227 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_FromInt((int)wxPAPER_ENV_ITALY
));
41228 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_FromInt((int)wxPAPER_ENV_MONARCH
));
41229 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_FromInt((int)wxPAPER_ENV_PERSONAL
));
41230 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_FromInt((int)wxPAPER_FANFOLD_US
));
41231 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN
));
41232 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN
));
41233 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_FromInt((int)wxPAPER_ISO_B4
));
41234 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_FromInt((int)wxPAPER_JAPANESE_POSTCARD
));
41235 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_FromInt((int)wxPAPER_9X11
));
41236 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_FromInt((int)wxPAPER_10X11
));
41237 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_FromInt((int)wxPAPER_15X11
));
41238 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_FromInt((int)wxPAPER_ENV_INVITE
));
41239 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA
));
41240 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_FromInt((int)wxPAPER_LEGAL_EXTRA
));
41241 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_FromInt((int)wxPAPER_TABLOID_EXTRA
));
41242 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_FromInt((int)wxPAPER_A4_EXTRA
));
41243 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_TRANSVERSE
));
41244 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A4_TRANSVERSE
));
41245 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
41246 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_FromInt((int)wxPAPER_A_PLUS
));
41247 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_FromInt((int)wxPAPER_B_PLUS
));
41248 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_FromInt((int)wxPAPER_LETTER_PLUS
));
41249 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_FromInt((int)wxPAPER_A4_PLUS
));
41250 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A5_TRANSVERSE
));
41251 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_B5_TRANSVERSE
));
41252 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_FromInt((int)wxPAPER_A3_EXTRA
));
41253 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_FromInt((int)wxPAPER_A5_EXTRA
));
41254 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_FromInt((int)wxPAPER_B5_EXTRA
));
41255 PyDict_SetItemString(d
,"PAPER_A2", SWIG_FromInt((int)wxPAPER_A2
));
41256 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_TRANSVERSE
));
41257 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
41258 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_FromInt((int)wxDUPLEX_SIMPLEX
));
41259 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_FromInt((int)wxDUPLEX_HORIZONTAL
));
41260 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_FromInt((int)wxDUPLEX_VERTICAL
));
41261 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_FromInt((int)wxITEM_SEPARATOR
));
41262 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_FromInt((int)wxITEM_NORMAL
));
41263 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_FromInt((int)wxITEM_CHECK
));
41264 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_FromInt((int)wxITEM_RADIO
));
41265 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_FromInt((int)wxITEM_MAX
));
41266 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_FromInt((int)wxHT_NOWHERE
));
41267 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_FromInt((int)wxHT_SCROLLBAR_FIRST
));
41268 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
41269 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
41270 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
41271 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
41272 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_FromInt((int)wxHT_SCROLLBAR_THUMB
));
41273 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_1
));
41274 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_2
));
41275 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_FromInt((int)wxHT_SCROLLBAR_LAST
));
41276 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_FromInt((int)wxHT_WINDOW_OUTSIDE
));
41277 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_FromInt((int)wxHT_WINDOW_INSIDE
));
41278 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR
));
41279 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
41280 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_FromInt((int)wxHT_WINDOW_CORNER
));
41281 PyDict_SetItemString(d
,"HT_MAX", SWIG_FromInt((int)wxHT_MAX
));
41282 PyDict_SetItemString(d
,"MOD_NONE", SWIG_FromInt((int)wxMOD_NONE
));
41283 PyDict_SetItemString(d
,"MOD_ALT", SWIG_FromInt((int)wxMOD_ALT
));
41284 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_FromInt((int)wxMOD_CONTROL
));
41285 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_FromInt((int)wxMOD_SHIFT
));
41286 PyDict_SetItemString(d
,"MOD_WIN", SWIG_FromInt((int)wxMOD_WIN
));
41287 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_FromInt((int)wxUPDATE_UI_NONE
));
41288 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_FromInt((int)wxUPDATE_UI_RECURSE
));
41289 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_FromInt((int)wxUPDATE_UI_FROMIDLE
));
41290 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
41291 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
41292 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_FromInt((int)wxBITMAP_TYPE_INVALID
));
41293 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_FromInt((int)wxBITMAP_TYPE_BMP
));
41294 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_FromInt((int)wxBITMAP_TYPE_ICO
));
41295 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_FromInt((int)wxBITMAP_TYPE_CUR
));
41296 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_FromInt((int)wxBITMAP_TYPE_XBM
));
41297 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XBM_DATA
));
41298 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_FromInt((int)wxBITMAP_TYPE_XPM
));
41299 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XPM_DATA
));
41300 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_FromInt((int)wxBITMAP_TYPE_TIF
));
41301 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_FromInt((int)wxBITMAP_TYPE_GIF
));
41302 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_FromInt((int)wxBITMAP_TYPE_PNG
));
41303 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_FromInt((int)wxBITMAP_TYPE_JPEG
));
41304 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_FromInt((int)wxBITMAP_TYPE_PNM
));
41305 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_FromInt((int)wxBITMAP_TYPE_PCX
));
41306 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_FromInt((int)wxBITMAP_TYPE_PICT
));
41307 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_FromInt((int)wxBITMAP_TYPE_ICON
));
41308 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_FromInt((int)wxBITMAP_TYPE_ANI
));
41309 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_FromInt((int)wxBITMAP_TYPE_IFF
));
41310 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_FromInt((int)wxBITMAP_TYPE_MACCURSOR
));
41311 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_FromInt((int)wxBITMAP_TYPE_ANY
));
41312 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_FromInt((int)wxCURSOR_NONE
));
41313 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_FromInt((int)wxCURSOR_ARROW
));
41314 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_FromInt((int)wxCURSOR_RIGHT_ARROW
));
41315 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_FromInt((int)wxCURSOR_BULLSEYE
));
41316 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_FromInt((int)wxCURSOR_CHAR
));
41317 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_FromInt((int)wxCURSOR_CROSS
));
41318 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_FromInt((int)wxCURSOR_HAND
));
41319 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_FromInt((int)wxCURSOR_IBEAM
));
41320 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_FromInt((int)wxCURSOR_LEFT_BUTTON
));
41321 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_FromInt((int)wxCURSOR_MAGNIFIER
));
41322 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_FromInt((int)wxCURSOR_MIDDLE_BUTTON
));
41323 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_FromInt((int)wxCURSOR_NO_ENTRY
));
41324 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_FromInt((int)wxCURSOR_PAINT_BRUSH
));
41325 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_FromInt((int)wxCURSOR_PENCIL
));
41326 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_FromInt((int)wxCURSOR_POINT_LEFT
));
41327 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_FromInt((int)wxCURSOR_POINT_RIGHT
));
41328 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_FromInt((int)wxCURSOR_QUESTION_ARROW
));
41329 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_FromInt((int)wxCURSOR_RIGHT_BUTTON
));
41330 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_FromInt((int)wxCURSOR_SIZENESW
));
41331 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_FromInt((int)wxCURSOR_SIZENS
));
41332 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_FromInt((int)wxCURSOR_SIZENWSE
));
41333 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_FromInt((int)wxCURSOR_SIZEWE
));
41334 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_FromInt((int)wxCURSOR_SIZING
));
41335 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_FromInt((int)wxCURSOR_SPRAYCAN
));
41336 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_FromInt((int)wxCURSOR_WAIT
));
41337 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_FromInt((int)wxCURSOR_WATCH
));
41338 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_FromInt((int)wxCURSOR_BLANK
));
41339 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_FromInt((int)wxCURSOR_DEFAULT
));
41340 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_FromInt((int)wxCURSOR_COPY_ARROW
));
41341 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_FromInt((int)wxCURSOR_ARROWWAIT
));
41342 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_FromInt((int)wxCURSOR_MAX
));
41343 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
41344 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
41345 PyDict_SetItemString(d
,"FromStart", SWIG_FromInt((int)wxFromStart
));
41346 PyDict_SetItemString(d
,"FromCurrent", SWIG_FromInt((int)wxFromCurrent
));
41347 PyDict_SetItemString(d
,"FromEnd", SWIG_FromInt((int)wxFromEnd
));
41349 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
41352 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
41354 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
41355 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
41356 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
41357 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
41358 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
41359 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
41360 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_FromInt((int)wxIMAGE_RESOLUTION_INCHES
));
41361 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_FromInt((int)wxIMAGE_RESOLUTION_CM
));
41362 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_FromInt((int)wxBMP_24BPP
));
41363 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_FromInt((int)wxBMP_8BPP
));
41364 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_FromInt((int)wxBMP_8BPP_GREY
));
41365 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_FromInt((int)wxBMP_8BPP_GRAY
));
41366 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_FromInt((int)wxBMP_8BPP_RED
));
41367 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_FromInt((int)wxBMP_8BPP_PALETTE
));
41368 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_FromInt((int)wxBMP_4BPP
));
41369 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_FromInt((int)wxBMP_1BPP
));
41370 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_FromInt((int)wxBMP_1BPP_BW
));
41371 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_FromInt((int)wxEVENT_PROPAGATE_NONE
));
41372 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_FromInt((int)wxEVENT_PROPAGATE_MAX
));
41373 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
41374 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
41375 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
41376 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
41377 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
41378 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
41379 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
41380 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
41381 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
41382 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
41383 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
41384 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
41385 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
41386 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
41387 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
41388 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
41389 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
41390 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
41391 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
41392 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
41393 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
41394 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
41395 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
41396 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
41397 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
41398 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
41399 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
41400 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
41401 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
41402 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
41403 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
41404 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
41405 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
41406 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
41407 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
41408 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
41409 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
41410 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
41411 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
41412 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
41413 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
41414 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
41415 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
41416 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
41417 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
41418 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
41419 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
41420 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
41421 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
41422 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
41423 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
41424 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
41425 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
41426 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
41427 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
41428 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
41429 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
41430 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
41431 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
41432 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
41433 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
41434 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
41435 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
41436 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
41437 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
41438 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
41439 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
41440 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
41441 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
41442 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
41443 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
41444 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
41445 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
41446 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
41447 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
41448 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
41449 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
41450 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
41451 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
41452 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
41453 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
41454 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
41455 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
41456 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
41457 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
41458 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
41459 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
41460 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
41461 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
41462 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
41463 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
41464 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
41465 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
41466 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
41467 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
41468 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
41469 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
41470 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
41471 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
41472 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
41473 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
41474 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
41475 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
41476 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
41477 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
41478 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
41479 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
41480 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
41481 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
41482 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
41483 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
41484 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
41485 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
41486 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
41487 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_FromInt((int)wxMOUSE_BTN_ANY
));
41488 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_FromInt((int)wxMOUSE_BTN_NONE
));
41489 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_FromInt((int)wxMOUSE_BTN_LEFT
));
41490 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_FromInt((int)wxMOUSE_BTN_MIDDLE
));
41491 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_FromInt((int)wxMOUSE_BTN_RIGHT
));
41492 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_ALL
));
41493 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
41494 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_FromInt((int)wxIDLE_PROCESS_ALL
));
41495 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_FromInt((int)wxIDLE_PROCESS_SPECIFIED
));
41496 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_FromInt((int)wxPYAPP_ASSERT_SUPPRESS
));
41497 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_FromInt((int)wxPYAPP_ASSERT_EXCEPTION
));
41498 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_FromInt((int)wxPYAPP_ASSERT_DIALOG
));
41499 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_FromInt((int)wxPYAPP_ASSERT_LOG
));
41500 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_FromInt((int)wxPRINT_WINDOWS
));
41501 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_FromInt((int)wxPRINT_POSTSCRIPT
));
41502 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
41503 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
41504 PyDict_SetItemString(d
,"WINDOW_VARIANT_DEFAULT", SWIG_FromInt((int)wxWINDOW_VARIANT_DEFAULT
));
41505 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_FromInt((int)wxWINDOW_VARIANT_NORMAL
));
41506 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_FromInt((int)wxWINDOW_VARIANT_SMALL
));
41507 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_FromInt((int)wxWINDOW_VARIANT_MINI
));
41508 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_FromInt((int)wxWINDOW_VARIANT_LARGE
));
41509 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
41510 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
41511 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_FromInt((int)wxFLEX_GROWMODE_NONE
));
41512 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_FromInt((int)wxFLEX_GROWMODE_SPECIFIED
));
41513 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_FromInt((int)wxFLEX_GROWMODE_ALL
));
41514 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
41515 PyDict_SetItemString(d
,"Left", SWIG_FromInt((int)wxLeft
));
41516 PyDict_SetItemString(d
,"Top", SWIG_FromInt((int)wxTop
));
41517 PyDict_SetItemString(d
,"Right", SWIG_FromInt((int)wxRight
));
41518 PyDict_SetItemString(d
,"Bottom", SWIG_FromInt((int)wxBottom
));
41519 PyDict_SetItemString(d
,"Width", SWIG_FromInt((int)wxWidth
));
41520 PyDict_SetItemString(d
,"Height", SWIG_FromInt((int)wxHeight
));
41521 PyDict_SetItemString(d
,"Centre", SWIG_FromInt((int)wxCentre
));
41522 PyDict_SetItemString(d
,"Center", SWIG_FromInt((int)wxCenter
));
41523 PyDict_SetItemString(d
,"CentreX", SWIG_FromInt((int)wxCentreX
));
41524 PyDict_SetItemString(d
,"CentreY", SWIG_FromInt((int)wxCentreY
));
41525 PyDict_SetItemString(d
,"Unconstrained", SWIG_FromInt((int)wxUnconstrained
));
41526 PyDict_SetItemString(d
,"AsIs", SWIG_FromInt((int)wxAsIs
));
41527 PyDict_SetItemString(d
,"PercentOf", SWIG_FromInt((int)wxPercentOf
));
41528 PyDict_SetItemString(d
,"Above", SWIG_FromInt((int)wxAbove
));
41529 PyDict_SetItemString(d
,"Below", SWIG_FromInt((int)wxBelow
));
41530 PyDict_SetItemString(d
,"LeftOf", SWIG_FromInt((int)wxLeftOf
));
41531 PyDict_SetItemString(d
,"RightOf", SWIG_FromInt((int)wxRightOf
));
41532 PyDict_SetItemString(d
,"SameAs", SWIG_FromInt((int)wxSameAs
));
41533 PyDict_SetItemString(d
,"Absolute", SWIG_FromInt((int)wxAbsolute
));
41535 // Initialize threading, some globals and such
41539 // Although these are defined in __version__ they need to be here too so
41540 // that an assert can be done to ensure that the wxPython and the wxWindows
41542 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
41543 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
41544 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));